Reputation: 4694
I am using amazons SimpleDB.
My question is simple. I have an array say [1,2,3,4]
. I need to query my domain in a manner so that if a particular column's value is in this array that row should be selected.
Is this possible or do I have to write multiple query and run a loop?
Upvotes: 1
Views: 53
Reputation: 389
Use IN Function
e.g.
SELECT * FROM [Table] WHERE [COLUMN_NAME] IN ('1','2','3','4')
Upvotes: 2