Demonstration for SQL Queries and Criteria queries.