Exploring standard SQL queries