cnatale/presto-athena-txt-2-sql huggingface dataset:
Which colleges does each player with a name that starts with the letter D  who tried out go to?
Additional table information: table: soccer_2
SQL: SELECT T1.cName FROM tryout AS T1 JOIN player AS T2 ON T1.pID = T2.pID WHERE T2.pName LIKE 'D%'
Which college has any student who is a goalie and succeeded in the tryout.
Additional table information: table: soccer_2
SQL: SELECT cName FROM tryout WHERE decision = 'yes' AND pPos = 'goalie'
What college has a student who successfully made the team in the role of a goalie?
Additional table information: table: soccer_2
SQL: SELECT cName FROM tryout WHERE decision = 'yes' AND pPos = 'goalie'
Find the name of the tryout players who are from the college with largest size.
Additional table information: table: soccer_2
SQL: SELECT T2.pName FROM tryout AS T1 JOIN player AS T2 ON T1.pID = T2.pID WHERE T1.cName = (SELECT cName FROM college ORDER BY enr DESC LIMIT 1)
What are the names of all tryout participants who are from the largest college?
Additional table information: table: soccer_2
SQL: SELECT T2.pName FROM tryout AS T1 JOIN player AS T2 ON T1.pID = T2.pID WHERE T1.cName = (SELECT cName FROM college ORDER BY enr DESC LIMIT 1)
What is the state and enrollment of the colleges where have any students who got accepted in the tryout decision.
Additional table information: table: soccer_2
SQL: SELECT DISTINCT T1.state, T1.enr FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.decision = 'yes'
How many students are enrolled in colleges that have student accepted during tryouts, and in which states are those colleges?
Additional table information: table: soccer_2
SQL: SELECT DISTINCT T1.state, T1.enr FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.decision = 'yes'
Find the names of either colleges in LA with greater than 15000 size or in state AZ with less than 13000 enrollment.
Additional table information: table: soccer_2
SQL: SELECT cName FROM College WHERE enr < 13000 AND state = 'AZ' UNION SELECT cName FROM College WHERE enr > 15000 AND state = 'LA'
What are the names of colleges in LA that have more than 15,000 students and of colleges in AZ with less than 13,000 students?
Additional table information: table: soccer_2
SQL: SELECT cName FROM College WHERE enr < 13000 AND state = 'AZ' UNION SELECT cName FROM College WHERE enr > 15000 AND state = 'LA'
Find the names of schools that have some students playing in goalie and mid positions.
Additional table information: table: soccer_2
SQL: SELECT cName FROM tryout WHERE pPos = 'goalie' INTERSECT SELECT cName FROM tryout WHERE pPos = 'mid'
What are the names of all schools that have students trying out for the position of goal and 'mid'-field.
Additional table information: table: soccer_2
SQL: SELECT cName FROM tryout WHERE pPos = 'goalie' INTERSECT SELECT cName FROM tryout WHERE pPos = 'mid'
Find the names of states that have some college students playing in goalie and mid positions.
Additional table information: table: soccer_2
SQL: SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'goalie' INTERSECT SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'mid'
What are the names of the states that have some college students playing in the positions of goalie and mid-field?
Additional table information: table: soccer_2
SQL: SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'goalie' INTERSECT SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'mid'
How many schools have some students playing in goalie and mid positions.
Additional table information: table: soccer_2
SQL: SELECT COUNT(*) FROM (SELECT cName FROM tryout WHERE pPos = 'goalie' INTERSECT SELECT cName FROM tryout WHERE pPos = 'mid')
How many schools have students playing in goalie and mid-field positions?
Additional table information: table: soccer_2
SQL: SELECT COUNT(*) FROM (SELECT cName FROM tryout WHERE pPos = 'goalie' INTERSECT SELECT cName FROM tryout WHERE pPos = 'mid')
Find the names of schools that have some players in the mid position but not in the goalie position.
Additional table information: table: soccer_2
SQL: SELECT cName FROM tryout WHERE pPos = 'mid' EXCEPT SELECT cName FROM tryout WHERE pPos = 'goalie'
What are the names of the schools with some players in the mid position but no goalies?
Additional table information: table: soccer_2
SQL: SELECT cName FROM tryout WHERE pPos = 'mid' EXCEPT SELECT cName FROM tryout WHERE pPos = 'goalie'
Find the names of states that have some college students playing in the mid position but not in the goalie position.
Additional table information: table: soccer_2
SQL: SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'mid' EXCEPT SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'goalie'
What are the names of all the states with college students playing in the mid position but no goalies?
Additional table information: table: soccer_2
SQL: SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'mid' EXCEPT SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'goalie'
How many states that have some college students playing in the mid position but not in the goalie position.
Additional table information: table: soccer_2
SQL: SELECT COUNT(*) FROM (SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'mid' EXCEPT SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'goalie')
What is the count of states with college students playing in the mid position but not as goalies?
Additional table information: table: soccer_2
SQL: SELECT COUNT(*) FROM (SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'mid' EXCEPT SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'goalie')
Find the states where have the colleges whose enrollments are less than the largest size.
Additional table information: table: soccer_2
SQL: SELECT DISTINCT state FROM college WHERE enr < (SELECT MAX(enr) FROM college)
What are the states with colleges that have enrollments less than the some other college?
Additional table information: table: soccer_2
SQL: SELECT DISTINCT state FROM college WHERE enr < (SELECT MAX(enr) FROM college)
Find names of colleges with enrollment greater than that of some (at least one) college in the FL state.
Additional table information: table: soccer_2
SQL: SELECT DISTINCT cName FROM college WHERE enr > (SELECT MIN(enr) FROM college WHERE state = 'FL')
What are the names of the colleges that are larger than at least one college in Florida?
Additional table information: table: soccer_2
SQL: SELECT DISTINCT cName FROM college WHERE enr > (SELECT MIN(enr) FROM college WHERE state = 'FL')
Find names of all colleges whose enrollment is greater than that of all colleges in the FL state.
Additional table information: table: soccer_2
SQL: SELECT cName FROM college WHERE enr > (SELECT MAX(enr) FROM college WHERE state = 'FL')
What are the names of all colleges with a larger enrollment than the largest college in Florida?
Additional table information: table: soccer_2
SQL: SELECT cName FROM college WHERE enr > (SELECT MAX(enr) FROM college WHERE state = 'FL')
What is the total number of enrollment of schools that do not have any goalie player?
Additional table information: table: soccer_2
SQL: SELECT SUM(enr) FROM college WHERE NOT cName IN (SELECT cName FROM tryout WHERE pPos = 'goalie')
What is the total number of students enrolled in schools without any goalies?
Additional table information: table: soccer_2
SQL: SELECT SUM(enr) FROM college WHERE NOT cName IN (SELECT cName FROM tryout WHERE pPos = 'goalie')
What is the number of states that has some college whose enrollment is larger than the average enrollment?
Additional table information: table: soccer_2
SQL: SELECT COUNT(DISTINCT state) FROM college WHERE enr > (SELECT AVG(enr) FROM college)
How many states have a college with more students than average?
Additional table information: table: soccer_2
SQL: SELECT COUNT(DISTINCT state) FROM college WHERE enr > (SELECT AVG(enr) FROM college)
What is the number of states that has some colleges whose enrollment is smaller than the average enrollment?
Additional table information: table: soccer_2
SQL: SELECT COUNT(DISTINCT state) FROM college WHERE enr < (SELECT AVG(enr) FROM college)
How many states have smaller colleges than average?
Additional table information: table: soccer_2
SQL: SELECT COUNT(DISTINCT state) FROM college WHERE enr < (SELECT AVG(enr) FROM college)
How many devices are there?
Additional table information: table: device
SQL: SELECT COUNT(*) FROM device
Count the number of devices.
Additional table information: table: device
SQL: SELECT COUNT(*) FROM device
List the carriers of devices in ascending alphabetical order.
Additional table information: table: device
SQL: SELECT Carrier FROM device ORDER BY Carrier ASC NULLS FIRST
What are the different carriers for devices, listed in alphabetical order?
Additional table information: table: device
SQL: SELECT Carrier FROM device ORDER BY Carrier ASC NULLS FIRST
What are the carriers of devices whose software platforms are not 'Android'?
Additional table information: table: device
SQL: SELECT Carrier FROM device WHERE Software_Platform <> 'Android'
Return the device carriers that do not have Android as their software platform.
Additional table information: table: device
SQL: SELECT Carrier FROM device WHERE Software_Platform <> 'Android'
What are the names of shops in ascending order of open year?
Additional table information: table: device
SQL: SELECT Shop_Name FROM shop ORDER BY Open_Year ASC NULLS FIRST
Return the names of shops, ordered by year of opening ascending.
Additional table information: table: device
SQL: SELECT Shop_Name FROM shop ORDER BY Open_Year ASC NULLS FIRST
What is the average quantity of stocks?
Additional table information: table: device
SQL: SELECT AVG(Quantity) FROM stock
Give the average quantity of stocks.
Additional table information: table: device
SQL: SELECT AVG(Quantity) FROM stock
What are the names and location of the shops in ascending alphabetical order of name.
Additional table information: table: device
SQL: SELECT Shop_Name, LOCATION FROM shop ORDER BY Shop_Name ASC NULLS FIRST
Return the names and locations of shops, ordered by name in alphabetical order.
Additional table information: table: device
SQL: SELECT Shop_Name, LOCATION FROM shop ORDER BY Shop_Name ASC NULLS FIRST
How many different software platforms are there for devices?
Additional table information: table: device
SQL: SELECT COUNT(DISTINCT Software_Platform) FROM device
Count the number of different software platforms.
Additional table information: table: device
SQL: SELECT COUNT(DISTINCT Software_Platform) FROM device
List the open date of open year of the shop named 'Apple'.
Additional table information: table: device
SQL: SELECT Open_Date, Open_Year FROM shop WHERE Shop_Name = 'Apple'
What are the open dates and years for the shop named Apple?
Additional table information: table: device
SQL: SELECT Open_Date, Open_Year FROM shop WHERE Shop_Name = 'Apple'
List the name of the shop with the latest open year.
Additional table information: table: device
SQL: SELECT Shop_Name FROM shop ORDER BY Open_Year DESC LIMIT 1
What is the shop name corresponding to the shop that opened in the most recent year?
Additional table information: table: device
SQL: SELECT Shop_Name FROM shop ORDER BY Open_Year DESC LIMIT 1
Show names of shops and the carriers of devices they have in stock.
Additional table information: table: device
SQL: SELECT T3.Shop_Name, T2.Carrier FROM stock AS T1 JOIN device AS T2 ON T1.Device_ID = T2.Device_ID JOIN shop AS T3 ON T1.Shop_ID = T3.Shop_ID
What are the names of device shops, and what are the carriers that they carry devices in stock for?
Additional table information: table: device
SQL: SELECT T3.Shop_Name, T2.Carrier FROM stock AS T1 JOIN device AS T2 ON T1.Device_ID = T2.Device_ID JOIN shop AS T3 ON T1.Shop_ID = T3.Shop_ID
Show names of shops that have more than one kind of device in stock.
Additional table information: table: device
SQL: SELECT T2.Shop_Name FROM stock AS T1 JOIN shop AS T2 ON T1.Shop_ID = T2.Shop_ID GROUP BY T1.Shop_ID HAVING COUNT(*) > 1
What are the names of shops that have more than a single kind of device in stock?
Additional table information: table: device
SQL: SELECT T2.Shop_Name FROM stock AS T1 JOIN shop AS T2 ON T1.Shop_ID = T2.Shop_ID GROUP BY T1.Shop_ID HAVING COUNT(*) > 1
Show the name of the shop that has the most kind of devices in stock.
Additional table information: table: device
SQL: SELECT T2.Shop_Name FROM stock AS T1 JOIN shop AS T2 ON T1.Shop_ID = T2.Shop_ID GROUP BY T1.Shop_ID ORDER BY COUNT(*) DESC LIMIT 1
What is the name of the shop that has the most different kinds of devices in stock?
Additional table information: table: device
SQL: SELECT T2.Shop_Name FROM stock AS T1 JOIN shop AS T2 ON T1.Shop_ID = T2.Shop_ID GROUP BY T1.Shop_ID ORDER BY COUNT(*) DESC LIMIT 1
Show the name of the shop that have the largest quantity of devices in stock.
Additional table information: table: device
SQL: SELECT T2.Shop_Name FROM stock AS T1 JOIN shop AS T2 ON T1.Shop_ID = T2.Shop_ID GROUP BY T1.Shop_ID ORDER BY SUM(T1.quantity) DESC LIMIT 1
What is the name of the shop that has the greatest quantity of devices in stock?
Additional table information: table: device
SQL: SELECT T2.Shop_Name FROM stock AS T1 JOIN shop AS T2 ON T1.Shop_ID = T2.Shop_ID GROUP BY T1.Shop_ID ORDER BY SUM(T1.quantity) DESC LIMIT 1
Please show different software platforms and the corresponding number of devices using each.
Additional table information: table: device
SQL: SELECT Software_Platform, COUNT(*) FROM device GROUP BY Software_Platform
What are the different software platforms for devices, and how many devices have each?
Additional table information: table: device
SQL: SELECT Software_Platform, COUNT(*) FROM device GROUP BY Software_Platform
Please show the software platforms of devices in descending order of the count.
Additional table information: table: device
SQL: SELECT Software_Platform FROM device GROUP BY Software_Platform ORDER BY COUNT(*) DESC
What are the different software platforms for devices, ordered by frequency descending?
Additional table information: table: device
SQL: SELECT Software_Platform FROM device GROUP BY Software_Platform ORDER BY COUNT(*) DESC
List the software platform shared by the greatest number of devices.
Additional table information: table: device
SQL: SELECT Software_Platform FROM device GROUP BY Software_Platform ORDER BY COUNT(*) DESC LIMIT 1
What is the software platform that is most common amongst all devices?
Additional table information: table: device
SQL: SELECT Software_Platform FROM device GROUP BY Software_Platform ORDER BY COUNT(*) DESC LIMIT 1
List the names of shops that have no devices in stock.
Additional table information: table: device
SQL: SELECT Shop_Name FROM shop WHERE NOT Shop_ID IN (SELECT Shop_ID FROM stock)
What are the names of shops that do not have any devices in stock?
Additional table information: table: device
SQL: SELECT Shop_Name FROM shop WHERE NOT Shop_ID IN (SELECT Shop_ID FROM stock)
Show the locations shared by shops with open year later than 2012 and shops with open year before 2008.
Additional table information: table: device
SQL: SELECT LOCATION FROM shop WHERE Open_Year > 2012 INTERSECT SELECT LOCATION FROM shop WHERE Open_Year < 2008
Which locations contains both shops that opened after the year 2012 and shops that opened before 2008?
Additional table information: table: device
SQL: SELECT LOCATION FROM shop WHERE Open_Year > 2012 INTERSECT SELECT LOCATION FROM shop WHERE Open_Year < 2008
List the carriers of devices that have no devices in stock.
Additional table information: table: device
SQL: SELECT Carrier FROM device WHERE NOT Device_ID IN (SELECT Device_ID FROM stock)
What are the carriers of devices that are not in stock anywhere?
Additional table information: table: device
SQL: SELECT Carrier FROM device WHERE NOT Device_ID IN (SELECT Device_ID FROM stock)
Show the carriers of devices in stock at more than one shop.
Additional table information: table: device
SQL: SELECT T2.Carrier FROM stock AS T1 JOIN device AS T2 ON T1.Device_ID = T2.Device_ID GROUP BY T1.Device_ID HAVING COUNT(*) > 1
What are the carriers of devices that are in stock in more than a single shop?
Additional table information: table: device
SQL: SELECT T2.Carrier FROM stock AS T1 JOIN device AS T2 ON T1.Device_ID = T2.Device_ID GROUP BY T1.Device_ID HAVING COUNT(*) > 1
How many bookings do we have?
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT COUNT(*) FROM BOOKINGS
Count the total number of bookings made.
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT COUNT(*) FROM BOOKINGS
List the order dates of all the bookings.
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT Order_Date FROM BOOKINGS
What is the order date of each booking?
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT Order_Date FROM BOOKINGS
Show all the planned delivery dates and actual delivery dates of bookings.
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT Planned_Delivery_Date, Actual_Delivery_Date FROM BOOKINGS
What are the planned delivery date and actual delivery date for each booking?
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT Planned_Delivery_Date, Actual_Delivery_Date FROM BOOKINGS
How many customers do we have?
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT COUNT(*) FROM CUSTOMERS
Count the number of customers recorded.
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT COUNT(*) FROM CUSTOMERS
What are the phone and email for customer Harold?
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT Customer_Phone, Customer_Email_Address FROM CUSTOMERS WHERE Customer_Name = 'Harold'
Find the phone number and email address of customer 'Harold'.
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT Customer_Phone, Customer_Email_Address FROM CUSTOMERS WHERE Customer_Name = 'Harold'
Show all the Store_Name of drama workshop groups.
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT Store_Name FROM Drama_Workshop_Groups
What are the store names of drama workshop groups?
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT Store_Name FROM Drama_Workshop_Groups
Show the minimum, average, maximum order quantity of all invoices.
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT MIN(Order_Quantity), AVG(Order_Quantity), MAX(Order_Quantity) FROM INVOICES
What are the minimum, average, and maximum quantities ordered? Check all the invoices.
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT MIN(Order_Quantity), AVG(Order_Quantity), MAX(Order_Quantity) FROM INVOICES
What are the distinct payment method codes in all the invoices?
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT DISTINCT payment_method_code FROM INVOICES
Show me the distinct payment method codes from the invoice record.
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT DISTINCT payment_method_code FROM INVOICES
What is the description of the marketing region China?
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT Marketing_Region_Descriptrion FROM Marketing_Regions WHERE Marketing_Region_Name = 'China'
Find the marketing region description of China?
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT Marketing_Region_Descriptrion FROM Marketing_Regions WHERE Marketing_Region_Name = 'China'
Show all the distinct product names with price higher than the average.
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT DISTINCT Product_Name FROM PRODUCTS WHERE Product_Price > (SELECT AVG(Product_Price) FROM PRODUCTS)
What are the distinct names of the products that cost more than the average?
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT DISTINCT Product_Name FROM PRODUCTS WHERE Product_Price > (SELECT AVG(Product_Price) FROM PRODUCTS)
What is the name of the most expensive product?
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT Product_Name FROM PRODUCTS ORDER BY Product_Price DESC LIMIT 1
Tell me the name of the most pricy product.
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT Product_Name FROM PRODUCTS ORDER BY Product_Price DESC LIMIT 1
List all product names in ascending order of price.
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT Product_Name FROM Products ORDER BY Product_Price ASC NULLS FIRST
Sort the names of products in ascending order of their price.
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT Product_Name FROM Products ORDER BY Product_Price ASC NULLS FIRST
What is the phone number of the performer Ashley?
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT Customer_Phone FROM PERFORMERS WHERE Customer_Name = 'Ashley'
Find the phone number of performer 'Ashley'.
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT Customer_Phone FROM PERFORMERS WHERE Customer_Name = 'Ashley'
Show all payment method codes and the number of orders for each code.
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT payment_method_code, COUNT(*) FROM INVOICES GROUP BY payment_method_code
List the distinct payment method codes with the number of orders made
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT payment_method_code, COUNT(*) FROM INVOICES GROUP BY payment_method_code
What is the payment method code used by the most orders?
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT payment_method_code FROM INVOICES GROUP BY payment_method_code ORDER BY COUNT(*) DESC LIMIT 1
Find the payment method that is used the most often in all the invoices. Give me its code.
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT payment_method_code FROM INVOICES GROUP BY payment_method_code ORDER BY COUNT(*) DESC LIMIT 1
Which city is the address of the store named 'FJA Filming' located in?
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT T1.City_Town FROM Addresses AS T1 JOIN Stores AS T2 ON T1.Address_ID = T2.Address_ID WHERE T2.Store_Name = 'FJA Filming'
Find the city the store named 'FJA Filming' is in.
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT T1.City_Town FROM Addresses AS T1 JOIN Stores AS T2 ON T1.Address_ID = T2.Address_ID WHERE T2.Store_Name = 'FJA Filming'
What are the states or counties of the address of the stores with marketing region code 'CA'?
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT T1.State_County FROM Addresses AS T1 JOIN Stores AS T2 ON T1.Address_ID = T2.Address_ID WHERE T2.Marketing_Region_Code = 'CA'
Find the states or counties where the stores with marketing region code 'CA' are located.
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT T1.State_County FROM Addresses AS T1 JOIN Stores AS T2 ON T1.Address_ID = T2.Address_ID WHERE T2.Marketing_Region_Code = 'CA'
What is the name of the marketing region that the store Rob Dinning belongs to?
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT T1.Marketing_Region_Name FROM Marketing_Regions AS T1 JOIN Stores AS T2 ON T1.Marketing_Region_Code = T2.Marketing_Region_Code WHERE T2.Store_Name = 'Rob Dinning'
Return the name of the marketing region the store Rob Dinning is located in.
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT T1.Marketing_Region_Name FROM Marketing_Regions AS T1 JOIN Stores AS T2 ON T1.Marketing_Region_Code = T2.Marketing_Region_Code WHERE T2.Store_Name = 'Rob Dinning'
What are the descriptions of the service types with product price above 100?
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT T1.Service_Type_Description FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code = T2.Service_Type_Code WHERE T2.Product_Price > 100
Give me the descriptions of the service types that cost more than 100.
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT T1.Service_Type_Description FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code = T2.Service_Type_Code WHERE T2.Product_Price > 100
What is the description, code and the corresponding count of each service type?
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT T1.Service_Type_Description, T2.Service_Type_Code, COUNT(*) FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code = T2.Service_Type_Code GROUP BY T2.Service_Type_Code
List the description, code and the number of services for each service type.
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT T1.Service_Type_Description, T2.Service_Type_Code, COUNT(*) FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code = T2.Service_Type_Code GROUP BY T2.Service_Type_Code
What is the description and code of the type of service that is performed the most often?
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT T1.Service_Type_Description, T1.Service_Type_Code FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code = T2.Service_Type_Code GROUP BY T1.Service_Type_Code ORDER BY COUNT(*) DESC LIMIT 1
Find the description and code of the service type that is performed the most times.
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT T1.Service_Type_Description, T1.Service_Type_Code FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code = T2.Service_Type_Code GROUP BY T1.Service_Type_Code ORDER BY COUNT(*) DESC LIMIT 1
What are the phones and emails of workshop groups in which services are performed?
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT T1.Store_Phone, T1.Store_Email_Address FROM Drama_Workshop_Groups AS T1 JOIN Services AS T2 ON T1.Workshop_Group_ID = T2.Workshop_Group_ID
Give me all the phone numbers and email addresses of the workshop groups where services are performed.
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT T1.Store_Phone, T1.Store_Email_Address FROM Drama_Workshop_Groups AS T1 JOIN Services AS T2 ON T1.Workshop_Group_ID = T2.Workshop_Group_ID
What are the names of workshop groups in which services with product name 'film' are performed?
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT T1.Store_Phone, T1.Store_Email_Address FROM Drama_Workshop_Groups AS T1 JOIN Services AS T2 ON T1.Workshop_Group_ID = T2.Workshop_Group_ID WHERE T2.Product_Name = 'film'
Find the names of the workshop groups where services with product name 'film' are performed.
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT T1.Store_Phone, T1.Store_Email_Address FROM Drama_Workshop_Groups AS T1 JOIN Services AS T2 ON T1.Workshop_Group_ID = T2.Workshop_Group_ID WHERE T2.Product_Name = 'film'
What are the different product names? What is the average product price for each of them?
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT Product_Name, AVG(Product_Price) FROM PRODUCTS GROUP BY Product_Name
For each distinct product name, show its average product price.
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT Product_Name, AVG(Product_Price) FROM PRODUCTS GROUP BY Product_Name
What are the product names with average product price smaller than 1000000?
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT Product_Name FROM PRODUCTS GROUP BY Product_Name HAVING AVG(Product_Price) < 1000000
Find the product names whose average product price is below 1000000.
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT Product_Name FROM PRODUCTS GROUP BY Product_Name HAVING AVG(Product_Price) < 1000000
What are the total order quantities of photo products?
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT SUM(T1.Order_Quantity) FROM ORDER_ITEMS AS T1 JOIN Products AS T2 ON T1.Product_ID = T2.Product_ID WHERE T2.Product_Name = 'photo'
Compute the total order quantities of the product 'photo'.
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT SUM(T1.Order_Quantity) FROM ORDER_ITEMS AS T1 JOIN Products AS T2 ON T1.Product_ID = T2.Product_ID WHERE T2.Product_Name = 'photo'
What are the order details of the products with price higher than 2000?
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT T1.Other_Item_Details FROM ORDER_ITEMS AS T1 JOIN Products AS T2 ON T1.Product_ID = T2.Product_ID WHERE T2.Product_price > 2000
Find the order detail for the products with price above 2000.
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT T1.Other_Item_Details FROM ORDER_ITEMS AS T1 JOIN Products AS T2 ON T1.Product_ID = T2.Product_ID WHERE T2.Product_price > 2000
What are the actual delivery dates of orders with quantity 1?
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT T1.Actual_Delivery_Date FROM Customer_Orders AS T1 JOIN ORDER_ITEMS AS T2 ON T1.Order_ID = T2.Order_ID WHERE T2.Order_Quantity = 1
List the actual delivery date for all the orders with quantity 1
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT T1.Actual_Delivery_Date FROM Customer_Orders AS T1 JOIN ORDER_ITEMS AS T2 ON T1.Order_ID = T2.Order_ID WHERE T2.Order_Quantity = 1
What are the order dates of orders with price higher than 1000?
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT T1.Order_Date FROM Customer_Orders AS T1 JOIN ORDER_ITEMS AS T2 ON T1.Order_ID = T2.Order_ID JOIN Products AS T3 ON T2.Product_ID = T3.Product_ID WHERE T3.Product_price > 1000
Find the order dates of the orders with price above 1000.
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT T1.Order_Date FROM Customer_Orders AS T1 JOIN ORDER_ITEMS AS T2 ON T1.Order_ID = T2.Order_ID JOIN Products AS T3 ON T2.Product_ID = T3.Product_ID WHERE T3.Product_price > 1000
How many distinct currency codes are there for all drama workshop groups?
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT COUNT(DISTINCT Currency_Code) FROM Drama_Workshop_Groups
Find the number of distinct currency codes used in drama workshop groups.
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT COUNT(DISTINCT Currency_Code) FROM Drama_Workshop_Groups
What are the names of the drama workshop groups with address in Feliciaberg city?
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT T2.Store_Name FROM Addresses AS T1 JOIN Drama_Workshop_Groups AS T2 ON T1.Address_ID = T2.Address_ID WHERE T1.City_Town = 'Feliciaberg'
Return the the names of the drama workshop groups that are located in Feliciaberg city.
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT T2.Store_Name FROM Addresses AS T1 JOIN Drama_Workshop_Groups AS T2 ON T1.Address_ID = T2.Address_ID WHERE T1.City_Town = 'Feliciaberg'
What are the email addresses of the drama workshop groups with address in Alaska state?
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT T2.Store_Email_Address FROM Addresses AS T1 JOIN Drama_Workshop_Groups AS T2 ON T1.Address_ID = T2.Address_ID WHERE T1.State_County = 'Alaska'
List the email addresses of the drama workshop groups located in Alaska state.
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT T2.Store_Email_Address FROM Addresses AS T1 JOIN Drama_Workshop_Groups AS T2 ON T1.Address_ID = T2.Address_ID WHERE T1.State_County = 'Alaska'
Show all cities along with the number of drama workshop groups in each city.
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT T1.City_Town, COUNT(*) FROM Addresses AS T1 JOIN Drama_Workshop_Groups AS T2 ON T1.Address_ID = T2.Address_ID GROUP BY T1.City_Town
How many drama workshop groups are there in each city? Return both the city and the count.
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT T1.City_Town, COUNT(*) FROM Addresses AS T1 JOIN Drama_Workshop_Groups AS T2 ON T1.Address_ID = T2.Address_ID GROUP BY T1.City_Town
What is the marketing region code that has the most drama workshop groups?
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT Marketing_Region_Code FROM Drama_Workshop_Groups GROUP BY Marketing_Region_Code ORDER BY COUNT(*) DESC LIMIT 1
Which marketing region has the most drama workshop groups? Give me the region code.
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT Marketing_Region_Code FROM Drama_Workshop_Groups GROUP BY Marketing_Region_Code ORDER BY COUNT(*) DESC LIMIT 1
Show all cities where at least one customer lives in but no performer lives in.
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT T1.City_Town FROM Addresses AS T1 JOIN Customers AS T2 ON T1.Address_ID = T2.Address_ID EXCEPT SELECT T1.City_Town FROM Addresses AS T1 JOIN Performers AS T2 ON T1.Address_ID = T2.Address_ID
Which cities have at least one customer but no performer?
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT T1.City_Town FROM Addresses AS T1 JOIN Customers AS T2 ON T1.Address_ID = T2.Address_ID EXCEPT SELECT T1.City_Town FROM Addresses AS T1 JOIN Performers AS T2 ON T1.Address_ID = T2.Address_ID
What is the most frequent status of bookings?
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT Status_Code FROM BOOKINGS GROUP BY Status_Code ORDER BY COUNT(*) DESC LIMIT 1
Which status code is the most common of all the bookings?
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT Status_Code FROM BOOKINGS GROUP BY Status_Code ORDER BY COUNT(*) DESC LIMIT 1
What are the names of the workshop groups that have bookings with status code 'stop'?
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT T2.Store_Name FROM Bookings AS T1 JOIN Drama_Workshop_Groups AS T2 ON T1.Workshop_Group_ID = T2.Workshop_Group_ID WHERE T1.Status_Code = 'stop'
Which workshop groups have bookings with status code 'stop'? Give me the names.
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT T2.Store_Name FROM Bookings AS T1 JOIN Drama_Workshop_Groups AS T2 ON T1.Workshop_Group_ID = T2.Workshop_Group_ID WHERE T1.Status_Code = 'stop'
Show the names of all the clients with no booking.
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT Customer_Name FROM Clients EXCEPT SELECT T2.Customer_Name FROM Bookings AS T1 JOIN Clients AS T2 ON T1.Customer_ID = T2.Client_ID
What are the names of the clients who do not have any booking?
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT Customer_Name FROM Clients EXCEPT SELECT T2.Customer_Name FROM Bookings AS T1 JOIN Clients AS T2 ON T1.Customer_ID = T2.Client_ID
What is the average quantities ordered with payment method code 'MasterCard' on invoices?
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT AVG(Order_Quantity) FROM Invoices WHERE payment_method_code = 'MasterCard'
Check the invoices record and compute the average quantities ordered with the payment method 'MasterCard'.
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT AVG(Order_Quantity) FROM Invoices WHERE payment_method_code = 'MasterCard'
What is the product ID of the most frequently ordered item on invoices?
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT Product_ID FROM INVOICES GROUP BY Product_ID ORDER BY COUNT(*) DESC LIMIT 1
Find the id of the product ordered the most often on invoices.
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT Product_ID FROM INVOICES GROUP BY Product_ID ORDER BY COUNT(*) DESC LIMIT 1
What is the description of the service type which offers both the photo product and the film product?
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT T1.Service_Type_Description FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code = T2.Service_Type_Code WHERE T2.Product_Name = 'photo' INTERSECT SELECT T1.Service_Type_Description FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code = T2.Service_Type_Code WHERE T2.Product_Name = 'film'
Give me the description of the service type that offers not only the photo product but also the film product.
Additional table information: table: cre_Drama_Workshop_Groups
SQL: SELECT T1.Service_Type_Description FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code = T2.Service_Type_Code WHERE T2.Product_Name = 'photo' INTERSECT SELECT T1.Service_Type_Description FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code = T2.Service_Type_Code WHERE T2.Product_Name = 'film'
How many bands are there?
Additional table information: table: music_2
SQL: SELECT COUNT(*) FROM Band
Find the number of bands.
Additional table information: table: music_2
SQL: SELECT COUNT(*) FROM Band
What are all the labels?
Additional table information: table: music_2
SQL: SELECT DISTINCT label FROM Albums
What are the different album labels listed?
Additional table information: table: music_2
SQL: SELECT DISTINCT label FROM Albums
Find all the albums in 2012.
Additional table information: table: music_2
SQL: SELECT * FROM Albums WHERE YEAR = 2012
return all columns of the albums created in the year of 2012.
Additional table information: table: music_2
SQL: SELECT * FROM Albums WHERE YEAR = 2012
Find all the stage positions of the musicians with first name 'Solveig'
Additional table information: table: music_2
SQL: SELECT DISTINCT T1.stageposition FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id WHERE Firstname = 'Solveig'
What are the different stage positions for all musicians whose first name is 'Solveig'?
Additional table information: table: music_2
SQL: SELECT DISTINCT T1.stageposition FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id WHERE Firstname = 'Solveig'
How many songs are there?
Additional table information: table: music_2
SQL: SELECT COUNT(*) FROM Songs
Count the number of songs.
Additional table information: table: music_2
SQL: SELECT COUNT(*) FROM Songs
Find all the songs performed by artist with last name 'Heilo'
Additional table information: table: music_2
SQL: SELECT T3.Title FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId WHERE T2.Lastname = 'Heilo'
What are the names of the songs by the artist whose last name is 'Heilo'?
Additional table information: table: music_2
SQL: SELECT T3.Title FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId WHERE T2.Lastname = 'Heilo'
Hom many musicians performed in the song 'Flash'?
Additional table information: table: music_2
SQL: SELECT COUNT(*) FROM performance AS T1 JOIN band AS T2 ON T1.bandmate = T2.id JOIN songs AS T3 ON T3.songid = T1.songid WHERE T3.Title = 'Flash'
How many musicians play in the song 'Flash'?
Additional table information: table: music_2
SQL: SELECT COUNT(*) FROM performance AS T1 JOIN band AS T2 ON T1.bandmate = T2.id JOIN songs AS T3 ON T3.songid = T1.songid WHERE T3.Title = 'Flash'
Find all the songs produced by artists with first name 'Marianne'.
Additional table information: table: music_2
SQL: SELECT T3.Title FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId WHERE T2.firstname = 'Marianne'
What are the names of all songs produced by the artist with the first name 'Marianne'?
Additional table information: table: music_2
SQL: SELECT T3.Title FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId WHERE T2.firstname = 'Marianne'
Who performed the song named 'Badlands'? Show the first name and the last name.
Additional table information: table: music_2
SQL: SELECT T2.firstname, T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId WHERE T3.Title = 'Badlands'
What are the first and last names of the artist who perfomed the song 'Badlands'?
Additional table information: table: music_2
SQL: SELECT T2.firstname, T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId WHERE T3.Title = 'Badlands'
Who is performing in the back stage position for the song 'Badlands'? Show the first name and the last name.
Additional table information: table: music_2
SQL: SELECT T2.firstname, T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId WHERE T3.Title = 'Badlands' AND T1.StagePosition = 'back'
What are the first and last names of the performer who was in the back stage position for the song 'Badlands'?
Additional table information: table: music_2
SQL: SELECT T2.firstname, T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId WHERE T3.Title = 'Badlands' AND T1.StagePosition = 'back'
How many unique labels are there for albums?
Additional table information: table: music_2
SQL: SELECT COUNT(DISTINCT label) FROM albums
What are the unique labels for the albums?
Additional table information: table: music_2
SQL: SELECT COUNT(DISTINCT label) FROM albums
What is the label that has the most albums?
Additional table information: table: music_2
SQL: SELECT label FROM albums GROUP BY label ORDER BY COUNT(*) DESC LIMIT 1
What is the label with the most albums?
Additional table information: table: music_2
SQL: SELECT label FROM albums GROUP BY label ORDER BY COUNT(*) DESC LIMIT 1
What is the last name of the musician that have produced the most number of songs?
Additional table information: table: music_2
SQL: SELECT T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId GROUP BY lastname ORDER BY COUNT(*) DESC LIMIT 1
What is the last name of the musician who was in the most songs?
Additional table information: table: music_2
SQL: SELECT T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId GROUP BY lastname ORDER BY COUNT(*) DESC LIMIT 1
What is the last name of the musician that has been at the back position the most?
Additional table information: table: music_2
SQL: SELECT T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id WHERE stageposition = 'back' GROUP BY lastname ORDER BY COUNT(*) DESC LIMIT 1
What is the last name of the musicians who has played back position the most?
Additional table information: table: music_2
SQL: SELECT T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id WHERE stageposition = 'back' GROUP BY lastname ORDER BY COUNT(*) DESC LIMIT 1
Find all the songs whose name contains the word 'the'.
Additional table information: table: music_2
SQL: SELECT title FROM songs WHERE title LIKE '% the %'
What are the names of the songs whose title has the word 'the'?
Additional table information: table: music_2
SQL: SELECT title FROM songs WHERE title LIKE '% the %'
What are all the instruments used?
Additional table information: table: music_2
SQL: SELECT DISTINCT instrument FROM Instruments
What are the different instruments listed in the database?
Additional table information: table: music_2
SQL: SELECT DISTINCT instrument FROM Instruments
What instrument did the musician with last name 'Heilo' use in the song 'Le Pop'?
Additional table information: table: music_2
SQL: SELECT T4.instrument FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId JOIN Instruments AS T4 ON T4.songid = T3.songid AND T4.bandmateid = T2.id WHERE T2.lastname = 'Heilo' AND T3.title = 'Le Pop'
What instruments did the musician with the last name 'Heilo' play in the song 'Le Pop'?
Additional table information: table: music_2
SQL: SELECT T4.instrument FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId JOIN Instruments AS T4 ON T4.songid = T3.songid AND T4.bandmateid = T2.id WHERE T2.lastname = 'Heilo' AND T3.title = 'Le Pop'
What is the most used instrument?
Additional table information: table: music_2
SQL: SELECT instrument FROM instruments GROUP BY instrument ORDER BY COUNT(*) DESC LIMIT 1
What instrument is used the most?
Additional table information: table: music_2
SQL: SELECT instrument FROM instruments GROUP BY instrument ORDER BY COUNT(*) DESC LIMIT 1
How many songs have used the instrument 'drums'?
Additional table information: table: music_2
SQL: SELECT COUNT(*) FROM instruments WHERE instrument = 'drums'
How many songs use drums as an instrument?
Additional table information: table: music_2
SQL: SELECT COUNT(*) FROM instruments WHERE instrument = 'drums'
What instruments does the the song 'Le Pop' use?
Additional table information: table: music_2
SQL: SELECT instrument FROM instruments AS T1 JOIN songs AS T2 ON T1.songid = T2.songid WHERE title = 'Le Pop'
What are the instruments are used in the song 'Le Pop'?
Additional table information: table: music_2
SQL: SELECT instrument FROM instruments AS T1 JOIN songs AS T2 ON T1.songid = T2.songid WHERE title = 'Le Pop'
How many instruments does the song 'Le Pop' use?
Additional table information: table: music_2
SQL: SELECT COUNT(DISTINCT instrument) FROM instruments AS T1 JOIN songs AS T2 ON T1.songid = T2.songid WHERE title = 'Le Pop'
How many different instruments are used in the song 'Le Pop'?
Additional table information: table: music_2
SQL: SELECT COUNT(DISTINCT instrument) FROM instruments AS T1 JOIN songs AS T2 ON T1.songid = T2.songid WHERE title = 'Le Pop'
How many instrument does the musician with last name 'Heilo' use?
Additional table information: table: music_2
SQL: SELECT COUNT(DISTINCT instrument) FROM instruments AS T1 JOIN Band AS T2 ON T1.bandmateid = T2.id WHERE T2.lastname = 'Heilo'
How many different instruments does the musician with the last name 'Heilo' use?
Additional table information: table: music_2
SQL: SELECT COUNT(DISTINCT instrument) FROM instruments AS T1 JOIN Band AS T2 ON T1.bandmateid = T2.id WHERE T2.lastname = 'Heilo'
Find all the instruments ever used by the musician with last name 'Heilo'?
Additional table information: table: music_2
SQL: SELECT instrument FROM instruments AS T1 JOIN Band AS T2 ON T1.bandmateid = T2.id WHERE T2.lastname = 'Heilo'
What are all the instruments used by the musician with the last name 'Heilo'?
Additional table information: table: music_2
SQL: SELECT instrument FROM instruments AS T1 JOIN Band AS T2 ON T1.bandmateid = T2.id WHERE T2.lastname = 'Heilo'
Which song has the most vocals?
Additional table information: table: music_2
SQL: SELECT title FROM vocals AS T1 JOIN songs AS T2 ON T1.songid = T2.songid GROUP BY T1.songid ORDER BY COUNT(*) DESC LIMIT 1
What is the song with the most vocals?
Additional table information: table: music_2
SQL: SELECT title FROM vocals AS T1 JOIN songs AS T2 ON T1.songid = T2.songid GROUP BY T1.songid ORDER BY COUNT(*) DESC LIMIT 1
Which vocal type is the most frequently appearring type?
Additional table information: table: music_2
SQL: SELECT TYPE FROM vocals GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 1
What is the type of vocables that appears most frequently?
Additional table information: table: music_2
SQL: SELECT TYPE FROM vocals GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 1
Which vocal type has the band mate with last name 'Heilo' played the most?
Additional table information: table: music_2
SQL: SELECT TYPE FROM vocals AS T1 JOIN band AS T2 ON T1.bandmate = T2.id WHERE lastname = 'Heilo' GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 1
What is the type of vocals that the band member with the last name 'Heilo' played the most?
Additional table information: table: music_2
SQL: SELECT TYPE FROM vocals AS T1 JOIN band AS T2 ON T1.bandmate = T2.id WHERE lastname = 'Heilo' GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 1