Working with Queries in DynamoDB