Create demo1_query_ex

some of the example code I used in demo1 for inserting/querying a table.