db_id
stringclasses
140 values
question
stringlengths
16
224
schema
stringclasses
140 values
summarized-schema
stringlengths
18
304
shrink-score
float64
0
1
coffee_shop
What are the average score and average staff number of all shops?
shop : shop_id (number) , address (text) , num_of_staff (text) , score (number) , open_year (text) | member : member_id (number) , name (text) , membership_card (text) , age (number) , time_of_purchase (number) , level_of_membership (number) , address (text) | happy_hour : hh_id (number) , shop_id (number) , month (text) , num_of_shaff_in_charge (number) | happy_hour_member : hh_id (number) , member_id (number) , total_amount (number)
shop : num_of_staff (text) , score (number)
0.894737
coffee_shop
Find the id and address of the shops whose score is below the average score.
shop : shop_id (number) , address (text) , num_of_staff (text) , score (number) , open_year (text) | member : member_id (number) , name (text) , membership_card (text) , age (number) , time_of_purchase (number) , level_of_membership (number) , address (text) | happy_hour : hh_id (number) , shop_id (number) , month (text) , num_of_shaff_in_charge (number) | happy_hour_member : hh_id (number) , member_id (number) , total_amount (number)
shop : shop_id (number) , address (text) , score (number)
0.842105
coffee_shop
Find the address and staff number of the shops that do not have any happy hour.
shop : shop_id (number) , address (text) , num_of_staff (text) , score (number) , open_year (text) | member : member_id (number) , name (text) , membership_card (text) , age (number) , time_of_purchase (number) , level_of_membership (number) , address (text) | happy_hour : hh_id (number) , shop_id (number) , month (text) , num_of_shaff_in_charge (number) | happy_hour_member : hh_id (number) , member_id (number) , total_amount (number)
shop : address (text) , num_of_staff (text) , shop_id (number) | happy_hour : shop_id (number)
0.789474
coffee_shop
What are the id and address of the shops which have a happy hour in May?
shop : shop_id (number) , address (text) , num_of_staff (text) , score (number) , open_year (text) | member : member_id (number) , name (text) , membership_card (text) , age (number) , time_of_purchase (number) , level_of_membership (number) , address (text) | happy_hour : hh_id (number) , shop_id (number) , month (text) , num_of_shaff_in_charge (number) | happy_hour_member : hh_id (number) , member_id (number) , total_amount (number)
shop : address (text) , shop_id (number) | happy_hour : shop_id (number) , month (text)
0.789474
coffee_shop
which shop has happy hour most frequently? List its id and number of happy hours.
shop : shop_id (number) , address (text) , num_of_staff (text) , score (number) , open_year (text) | member : member_id (number) , name (text) , membership_card (text) , age (number) , time_of_purchase (number) , level_of_membership (number) , address (text) | happy_hour : hh_id (number) , shop_id (number) , month (text) , num_of_shaff_in_charge (number) | happy_hour_member : hh_id (number) , member_id (number) , total_amount (number)
happy_hour : shop_id (number) , hh_id (number)
0.894737
coffee_shop
Which month has the most happy hours?
shop : shop_id (number) , address (text) , num_of_staff (text) , score (number) , open_year (text) | member : member_id (number) , name (text) , membership_card (text) , age (number) , time_of_purchase (number) , level_of_membership (number) , address (text) | happy_hour : hh_id (number) , shop_id (number) , month (text) , num_of_shaff_in_charge (number) | happy_hour_member : hh_id (number) , member_id (number) , total_amount (number)
happy_hour : month (text) , hh_id (number)
0.894737
coffee_shop
Which months have more than 2 happy hours?
shop : shop_id (number) , address (text) , num_of_staff (text) , score (number) , open_year (text) | member : member_id (number) , name (text) , membership_card (text) , age (number) , time_of_purchase (number) , level_of_membership (number) , address (text) | happy_hour : hh_id (number) , shop_id (number) , month (text) , num_of_shaff_in_charge (number) | happy_hour_member : hh_id (number) , member_id (number) , total_amount (number)
happy_hour : month (text) , hh_id (number)
0.894737
chinook_1
How many albums are there?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
album : albumid (number)
0.984375
chinook_1
Find the number of albums.
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
album : albumid (number)
0.984375
chinook_1
List the names of all music genres.
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
genre : name (text)
0.984375
chinook_1
What are the names of different music genres?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
genre : name (text)
0.984375
chinook_1
Find all the customer information in state NY.
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
customer : state (text) , customerid (number)
0.96875
chinook_1
What is all the customer information for customers in NY state?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
customer : state (text) , customerid (number)
0.96875
chinook_1
What are the first names and last names of the employees who live in Calgary city.
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
employee : firstname (text) , lastname (text) , city (text)
0.953125
chinook_1
Find the full names of employees living in the city of Calgary.
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
employee : firstname (text) , lastname (text) , city (text)
0.953125
chinook_1
What are the distinct billing countries of the invoices?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
invoice : billingcountry (text)
0.984375
chinook_1
Find the different billing countries for all invoices.
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
invoice : billingcountry (text)
0.984375
chinook_1
Find the names of all artists that have "a" in their names.
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
artist : name (text)
0.984375
chinook_1
What are the names of artist who have the letter 'a' in their names?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
artist : name (text)
0.984375
chinook_1
Find the title of all the albums of the artist "AC/DC".
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
album : title (text) , artistid (number) | artist : artistid (number) , name (text)
0.9375
chinook_1
What are the titles of albums by the artist "AC/DC"?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
album : title (text) , artistid (number) | artist : artistid (number) , name (text)
0.9375
chinook_1
Hom many albums does the artist "Metallica" have?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
album : artistid (number) , albumid (number) | artist : artistid (number) , name (text)
0.9375
chinook_1
Find the number of albums by the artist "Metallica".
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
album : artistid (number) , albumid (number) | artist : artistid (number) , name (text)
0.9375
chinook_1
Which artist does the album "Balls to the Wall" belong to?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
artist : name (text) , artistid (number) | album : artistid (number) , title (text)
0.9375
chinook_1
Find the name of the artist who made the album "Balls to the Wall".
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
artist : name (text) , artistid (number) | album : artistid (number) , title (text)
0.9375
chinook_1
Which artist has the most albums?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
artist : name (text) , artistid (number) | album : artistid (number) , albumid (number)
0.9375
chinook_1
What is the name of the artist with the greatest number of albums?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
artist : name (text) , artistid (number) | album : artistid (number) , albumid (number)
0.9375
chinook_1
Find the names of all the tracks that contain the word "you".
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
track : name (text)
0.984375
chinook_1
What are the names of tracks that contain the the word you in them?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
track : name (text)
0.984375
chinook_1
What is the average unit price of all the tracks?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
track : unitprice (number)
0.984375
chinook_1
Find the average unit price for a track.
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
track : unitprice (number)
0.984375
chinook_1
What are the durations of the longest and the shortest tracks in milliseconds?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
track : milliseconds (number)
0.984375
chinook_1
Find the maximum and minimum durations of tracks in milliseconds.
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
track : milliseconds (number)
0.984375
chinook_1
Show the album names, ids and the number of tracks for each album.
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
album : title (text) , albumid (number) | track : albumid (number) , trackid (number)
0.9375
chinook_1
What are the names and ids of the different albums, and how many tracks are on each?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
album : title (text) , albumid (number) | track : albumid (number) , trackid (number)
0.9375
chinook_1
What is the name of the most common genre in all tracks?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
genre : name (text) , genreid (number) | track : name (text) , genreid (number) , trackid (number)
0.921875
chinook_1
Find the name of the genre that is most frequent across all tracks.
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
genre : name (text) , genreid (number) | track : name (text) , genreid (number) , trackid (number)
0.921875
chinook_1
What is the least common media type in all tracks?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
mediatype : name (text) , mediatypeid (number) | track : name (text) , mediatypeid (number) , trackid (number)
0.921875
chinook_1
What is the name of the media type that is least common across all tracks?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
mediatype : name (text) , mediatypeid (number) | track : name (text) , mediatypeid (number) , trackid (number)
0.921875
chinook_1
Show the album names and ids for albums that contain tracks with unit price bigger than 1.
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
album : title (text) , albumid (number) | track : albumid (number) , unitprice (number)
0.9375
chinook_1
What are the titles and ids for albums containing tracks with unit price greater than 1?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
album : title (text) , albumid (number) | track : albumid (number) , unitprice (number)
0.9375
chinook_1
How many tracks belong to rock genre?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
genre : genreid (number) , name (text) | track : genreid (number) , name (text) , trackid (number)
0.921875
chinook_1
Count the number of tracks that are part of the rock genre.
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
genre : genreid (number) , name (text) | track : genreid (number) , name (text) , trackid (number)
0.921875
chinook_1
What is the average unit price of tracks that belong to Jazz genre?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
track : unitprice (number) , genreid (number) , name (text) | genre : genreid (number) , name (text)
0.921875
chinook_1
Find the average unit price of jazz tracks.
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
track : unitprice (number) , genreid (number) , name (text) | genre : genreid (number) , name (text)
0.921875
chinook_1
What is the first name and last name of the customer that has email "luisg@embraer.com.br"?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
customer : firstname (text) , lastname (text) , email (text)
0.953125
chinook_1
Find the full name of the customer with the email "luisg@embraer.com.br".
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
customer : firstname (text) , lastname (text) , email (text)
0.953125
chinook_1
How many customers have email that contains "gmail.com"?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
customer : email (text) , customerid (number)
0.96875
chinook_1
Count the number of customers that have an email containing "gmail.com".
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
customer : email (text) , customerid (number)
0.96875
chinook_1
What is the first name and last name employee helps the customer with first name Leonie?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
customer : firstname (text) , lastname (text) , supportrepid (number) | employee : firstname (text) , lastname (text) , employeeid (number)
0.90625
chinook_1
Find the full names of employees who help customers with the first name Leonie.
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
customer : firstname (text) , lastname (text) , supportrepid (number) | employee : firstname (text) , lastname (text) , employeeid (number)
0.90625
chinook_1
What city does the employee who helps the customer with postal code 70174 live in?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
customer : city (text) , supportrepid (number) , postalcode (text) | employee : city (text) , employeeid (number) , postalcode (text)
0.90625
chinook_1
Find the cities corresponding to employees who help customers with the postal code 70174.
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
customer : city (text) , supportrepid (number) , postalcode (text) | employee : city (text) , employeeid (number) , postalcode (text)
0.90625
chinook_1
How many distinct cities does the employees live in?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
employee : city (text)
0.984375
chinook_1
Find the number of different cities that employees live in.
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
employee : city (text)
0.984375
chinook_1
Find all invoice dates corresponding to customers with first name Astrid and last name Gruber.
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
invoice : invoicedate (time) , customerid (number) | customer : customerid (number) , firstname (text) , lastname (text)
0.921875
chinook_1
What are the invoice dates for customers with the first name Astrid and the last name Gruber?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
invoice : invoicedate (time) , customerid (number) | customer : customerid (number) , firstname (text) , lastname (text)
0.921875
chinook_1
Find all the customer last names that do not have invoice totals larger than 20.
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
customer : lastname (text) , customerid (number) | invoice : customerid (number) , total (number)
0.9375
chinook_1
What are the last names of customers without invoice totals exceeding 20?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
customer : lastname (text) , customerid (number) | invoice : customerid (number) , total (number)
0.9375
chinook_1
Find the first names of all customers that live in Brazil and have an invoice.
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
customer : firstname (text) , customerid (number) , country (text) | invoice : customerid (number)
0.9375
chinook_1
What are the different first names for customers from Brazil who have also had an invoice?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
customer : firstname (text) , customerid (number) , country (text) | invoice : customerid (number)
0.9375
chinook_1
Find the address of all customers that live in Germany and have invoice.
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
customer : address (text) , customerid (number) , country (text) | invoice : customerid (number)
0.9375
chinook_1
What are the addresses of customers living in Germany who have had an invoice?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
customer : address (text) , customerid (number) , country (text) | invoice : customerid (number)
0.9375
chinook_1
List the phone numbers of all employees.
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
employee : phone (text)
0.984375
chinook_1
What are the phone numbers for each employee?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
employee : phone (text)
0.984375
chinook_1
How many tracks are in the AAC audio file media type?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
mediatype : mediatypeid (number) , name (text) | track : mediatypeid (number) , name (text) , trackid (number)
0.921875
chinook_1
Count the number of tracks that are of the media type "AAC audio file".
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
mediatype : mediatypeid (number) , name (text) | track : mediatypeid (number) , name (text) , trackid (number)
0.921875
chinook_1
What is the average duration in milliseconds of tracks that belong to Latin or Pop genre?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
track : milliseconds (number) , genreid (number) , name (text) | genre : genreid (number) , name (text)
0.921875
chinook_1
Find the average millisecond length of Latin and Pop tracks.
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
track : milliseconds (number) , genreid (number) , name (text) | genre : genreid (number) , name (text)
0.921875
chinook_1
Please show the employee first names and ids of employees who serve at least 10 customers.
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
customer : firstname (text) , supportrepid (number) , customerid (number) | employee : firstname (text) , employeeid (number)
0.921875
chinook_1
What are the first names and support rep ids for employees serving 10 or more customers?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
customer : firstname (text) , supportrepid (number) , customerid (number) | employee : firstname (text) , employeeid (number)
0.921875
chinook_1
Please show the employee last names that serves no more than 20 customers.
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
customer : lastname (text) , supportrepid (number) , customerid (number) | employee : lastname (text) , employeeid (number)
0.921875
chinook_1
What are the last names of employees who serve at most 20 customers?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
customer : lastname (text) , supportrepid (number) , customerid (number) | employee : lastname (text) , employeeid (number)
0.921875
chinook_1
Please list all album titles in alphabetical order.
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
album : title (text)
0.984375
chinook_1
What are all the album titles, in alphabetical order?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
album : title (text)
0.984375
chinook_1
Please list the name and id of all artists that have at least 3 albums in alphabetical order.
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
artist : name (text) , artistid (number) | album : artistid (number) , albumid (number)
0.9375
chinook_1
What are the names and ids of artists with 3 or more albums, listed in alphabetical order?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
artist : name (text) , artistid (number) | album : artistid (number) , albumid (number)
0.9375
chinook_1
Find the names of artists that do not have any albums.
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
artist : name (text) , artistid (number) | album : artistid (number)
0.953125
chinook_1
What are the names of artists who have not released any albums?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
artist : name (text) , artistid (number) | album : artistid (number)
0.953125
chinook_1
What is the average unit price of rock tracks?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
track : unitprice (number) , genreid (number) , name (text) | genre : genreid (number) , name (text)
0.921875
chinook_1
Find the average unit price of tracks from the Rock genre.
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
track : unitprice (number) , genreid (number) , name (text) | genre : genreid (number) , name (text)
0.921875
chinook_1
What are the duration of the longest and shortest pop tracks in milliseconds?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
track : milliseconds (number) , genreid (number) , name (text) | genre : genreid (number) , name (text)
0.921875
chinook_1
Find the maximum and minimum millisecond lengths of pop tracks.
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
track : milliseconds (number) , genreid (number) , name (text) | genre : genreid (number) , name (text)
0.921875
chinook_1
What are the birth dates of employees living in Edmonton?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
employee : birthdate (time) , city (text)
0.96875
chinook_1
Find the birth dates corresponding to employees who live in the city of Edmonton.
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
employee : birthdate (time) , city (text)
0.96875
chinook_1
What are the distinct unit prices of all tracks?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
track : unitprice (number)
0.984375
chinook_1
Find the distinct unit prices for tracks.
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
track : unitprice (number)
0.984375
chinook_1
How many artists do not have any album?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
album : artistid (number) , albumid (number) | artist : artistid (number)
0.953125
chinook_1
Cound the number of artists who have not released an album.
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
album : artistid (number) , albumid (number) | artist : artistid (number)
0.953125
chinook_1
What are the album titles for albums containing both 'Reggae' and 'Rock' genre tracks?
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
album : title (text) , albumid (number) | track : albumid (number) , genreid (number) , name (text) | genre : genreid (number) , name (text)
0.890625
chinook_1
Find the titles of albums that contain tracks of both the Reggae and Rock genres.
album : albumid (number) , title (text) , artistid (number) | artist : artistid (number) , name (text) | customer : customerid (number) , firstname (text) , lastname (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) , supportrepid (number) | employee : employeeid (number) , lastname (text) , firstname (text) , title (text) , reportsto (number) , birthdate (time) , hiredate (time) , address (text) , city (text) , state (text) , country (text) , postalcode (text) , phone (text) , fax (text) , email (text) | genre : genreid (number) , name (text) | invoice : invoiceid (number) , customerid (number) , invoicedate (time) , billingaddress (text) , billingcity (text) , billingstate (text) , billingcountry (text) , billingpostalcode (text) , total (number) | invoiceline : invoicelineid (number) , invoiceid (number) , trackid (number) , unitprice (number) , quantity (number) | mediatype : mediatypeid (number) , name (text) | playlist : playlistid (number) , name (text) | playlisttrack : playlistid (number) , trackid (number) | track : trackid (number) , name (text) , albumid (number) , mediatypeid (number) , genreid (number) , composer (text) , milliseconds (number) , bytes (number) , unitprice (number)
album : title (text) , albumid (number) | track : albumid (number) , genreid (number) , name (text) | genre : genreid (number) , name (text)
0.890625
insurance_fnol
Find all the phone numbers.
customers : customer_id (number) , customer_name (text) | services : service_id (number) , service_name (text) | available_policies : policy_id (number) , policy_type_code (text) , customer_phone (text) | customers_policies : customer_id (number) , policy_id (number) , date_opened (time) , date_closed (time) | first_notification_of_loss : fnol_id (number) , customer_id (number) , policy_id (number) , service_id (number) | claims : claim_id (number) , fnol_id (number) , effective_date (time) | settlements : settlement_id (number) , claim_id (number) , effective_date (time) , settlement_amount (number)
available_policies : customer_phone (text)
0.954545
insurance_fnol
What are all the phone numbers?
customers : customer_id (number) , customer_name (text) | services : service_id (number) , service_name (text) | available_policies : policy_id (number) , policy_type_code (text) , customer_phone (text) | customers_policies : customer_id (number) , policy_id (number) , date_opened (time) , date_closed (time) | first_notification_of_loss : fnol_id (number) , customer_id (number) , policy_id (number) , service_id (number) | claims : claim_id (number) , fnol_id (number) , effective_date (time) | settlements : settlement_id (number) , claim_id (number) , effective_date (time) , settlement_amount (number)
available_policies : customer_phone (text)
0.954545
insurance_fnol
What are the customer phone numbers under the policy "Life Insurance"?
customers : customer_id (number) , customer_name (text) | services : service_id (number) , service_name (text) | available_policies : policy_id (number) , policy_type_code (text) , customer_phone (text) | customers_policies : customer_id (number) , policy_id (number) , date_opened (time) , date_closed (time) | first_notification_of_loss : fnol_id (number) , customer_id (number) , policy_id (number) , service_id (number) | claims : claim_id (number) , fnol_id (number) , effective_date (time) | settlements : settlement_id (number) , claim_id (number) , effective_date (time) , settlement_amount (number)
available_policies : customer_phone (text) , policy_type_code (text)
0.909091
insurance_fnol
What are the phone numbers of customers using the policy with the code "Life Insurance"?
customers : customer_id (number) , customer_name (text) | services : service_id (number) , service_name (text) | available_policies : policy_id (number) , policy_type_code (text) , customer_phone (text) | customers_policies : customer_id (number) , policy_id (number) , date_opened (time) , date_closed (time) | first_notification_of_loss : fnol_id (number) , customer_id (number) , policy_id (number) , service_id (number) | claims : claim_id (number) , fnol_id (number) , effective_date (time) | settlements : settlement_id (number) , claim_id (number) , effective_date (time) , settlement_amount (number)
available_policies : customer_phone (text) , policy_type_code (text)
0.909091
insurance_fnol
Which policy type has the most records in the database?
customers : customer_id (number) , customer_name (text) | services : service_id (number) , service_name (text) | available_policies : policy_id (number) , policy_type_code (text) , customer_phone (text) | customers_policies : customer_id (number) , policy_id (number) , date_opened (time) , date_closed (time) | first_notification_of_loss : fnol_id (number) , customer_id (number) , policy_id (number) , service_id (number) | claims : claim_id (number) , fnol_id (number) , effective_date (time) | settlements : settlement_id (number) , claim_id (number) , effective_date (time) , settlement_amount (number)
available_policies : policy_type_code (text) , policy_id (number)
0.909091
insurance_fnol
Which policy type appears most frequently in the available policies?
customers : customer_id (number) , customer_name (text) | services : service_id (number) , service_name (text) | available_policies : policy_id (number) , policy_type_code (text) , customer_phone (text) | customers_policies : customer_id (number) , policy_id (number) , date_opened (time) , date_closed (time) | first_notification_of_loss : fnol_id (number) , customer_id (number) , policy_id (number) , service_id (number) | claims : claim_id (number) , fnol_id (number) , effective_date (time) | settlements : settlement_id (number) , claim_id (number) , effective_date (time) , settlement_amount (number)
available_policies : policy_type_code (text) , policy_id (number)
0.909091
insurance_fnol
What are all the customer phone numbers under the most popular policy type?
customers : customer_id (number) , customer_name (text) | services : service_id (number) , service_name (text) | available_policies : policy_id (number) , policy_type_code (text) , customer_phone (text) | customers_policies : customer_id (number) , policy_id (number) , date_opened (time) , date_closed (time) | first_notification_of_loss : fnol_id (number) , customer_id (number) , policy_id (number) , service_id (number) | claims : claim_id (number) , fnol_id (number) , effective_date (time) | settlements : settlement_id (number) , claim_id (number) , effective_date (time) , settlement_amount (number)
available_policies : customer_phone (text) , policy_type_code (text) , policy_id (number)
0.863636
insurance_fnol
Find the phone numbers of customers using the most common policy type among the available policies.
customers : customer_id (number) , customer_name (text) | services : service_id (number) , service_name (text) | available_policies : policy_id (number) , policy_type_code (text) , customer_phone (text) | customers_policies : customer_id (number) , policy_id (number) , date_opened (time) , date_closed (time) | first_notification_of_loss : fnol_id (number) , customer_id (number) , policy_id (number) , service_id (number) | claims : claim_id (number) , fnol_id (number) , effective_date (time) | settlements : settlement_id (number) , claim_id (number) , effective_date (time) , settlement_amount (number)
available_policies : customer_phone (text) , policy_type_code (text) , policy_id (number)
0.863636
insurance_fnol
Find the policy type used by more than 4 customers.
customers : customer_id (number) , customer_name (text) | services : service_id (number) , service_name (text) | available_policies : policy_id (number) , policy_type_code (text) , customer_phone (text) | customers_policies : customer_id (number) , policy_id (number) , date_opened (time) , date_closed (time) | first_notification_of_loss : fnol_id (number) , customer_id (number) , policy_id (number) , service_id (number) | claims : claim_id (number) , fnol_id (number) , effective_date (time) | settlements : settlement_id (number) , claim_id (number) , effective_date (time) , settlement_amount (number)
available_policies : policy_type_code (text) , policy_id (number)
0.909091