I'm very new to DynamoDB, in SQL we could have done the below:
select * from Table where Section = 10 and Percentage between "90" and "100"
Need to the same with DynamoDB using Python Filter Expression. Below is the query which I have written.
fe = Key('Percentage').between("90", "100")
Need to add where Clause for the above as SQL query. How to do this?
EDIT 1 :
The date values are stored like this in the image below.
The Query Which @LeeHannigan sent is selecting some random values and not between the dates.
response = table.scan(
FilterExpression=Attr('Section').eq(10) & Attr('Percentage').between(90,100)
)
Any Suggestions on the to query on this date format? Or Whats the best way to store the date format?