demo for SQL queries form based on object with IN() clause