SalesTable st; container statuses = [SalesStatus::Delivered, SalesStatus::Invoiced]; select from st where st.SalesStatus in statuses;
SELECT * FROM SALESTABLE T1 WHERE (((PARTITION=123) AND (DATAAREAID=N'dat')) AND ((SALESSTATUS=3) OR (SALESSTATUS=2)))
select count(RecId) from st where st.SalesStatus in [SalesStatus::Delivered, SalesStatus::Invoiced];
container ids = ["S01", "S02", "S03"]; select st where st.SalesId in ids;

if (highestStatus in statuses)