id
stringlengths
36
36
parent_id
float64
role
stringclasses
1 value
question
stringlengths
18
215
dsl
stringlengths
87
369
context
stringclasses
452 values
b420d9c4-e7f6-4e70-82f7-20bdf933edd2
null
USER
What are the birthdays of people in ascending order of height?
{"transformations":[{"column":"Height","transformationType":"sorting","direction":"asc"}]}
[{"columns":["People_ID","Name","Height","Weight","Birth_Date","Birth_Place"],"name":"people","type":"grid"}]
61a5829a-4267-4213-a817-ca262e0a9698
null
USER
Compute the average age of all the dogs.
{"transformations":[{"column":"age","transformationType":"aggregations","aggregation":"avg"}]}
[{"columns":["dog_id","owner_id","abandoned_yn","breed_code","size_code","name","age","date_of_birth","gender","weight","date_arrived","date_adopted","date_departed"],"name":"Dogs","type":"grid"}]
39834323-3a67-4718-becf-53115134a468
null
USER
Return the average money requested across all entrepreneurs.
{"transformations":[{"column":"Money_Requested","transformationType":"aggregations","aggregation":"avg"}]}
[{"columns":["Entrepreneur_ID","People_ID","Company","Money_Requested","Investor"],"name":"entrepreneur","type":"grid"}]
6e2094be-edd1-4857-bb31-21899e93ef20
null
USER
What are the customer phone numbers under the policy "Life Insurance"?
{"transformations":[{"column":"policy_type_code","transformationType":"condition","operation":"=","value":"'Life Insurance'"}]}
[{"columns":["Policy_ID","policy_type_code","Customer_Phone"],"name":"Available_Policies","type":"grid"}]
db5ede65-d114-4394-96bb-df164d7369db
null
USER
What is the highest latitude of stations in each city?
{"transformations":[{"column":"lat","transformationType":"aggregations","aggregation":"max"},{"column":"city","transformationType":"grouping"}]}
[{"columns":["id","name","lat","long","dock_count","city","installation_date"],"name":"station","type":"grid"}]
f05815ba-9449-45ad-9142-fea93f7c22cd
null
USER
What are the names of wines, sorted by price ascending?
{"transformations":[{"column":"price","transformationType":"sorting","direction":"asc"}]}
[{"columns":["No","Grape","Winery","Appelation","State","Name","Year","Price","Score","Cases","Drink"],"name":"wine","type":"grid"}]
12d19d18-4e41-4f06-9533-9e829ef2a52f
null
USER
What is the average number of attendees for performances?
{"transformations":[{"column":"Attendance","transformationType":"aggregations","aggregation":"avg"}]}
[{"columns":["Performance_ID","Date","Host","Location","Attendance"],"name":"performance","type":"grid"}]
fad1a052-b04d-4a57-bc4a-56c5e451539f
null
USER
How many medicines are provided under each trade name?
{"transformations":[{"column":"id","transformationType":"aggregations","aggregation":"count"},{"column":"trade_name","transformationType":"grouping"}]}
[{"columns":["id","name","Trade_Name","FDA_approved"],"name":"medicine","type":"grid"}]
e67af068-8a72-43d9-909d-8b18206d8b93
null
USER
How many railways are there?
{"transformations":[{"column":"Railway_ID","transformationType":"aggregations","aggregation":"count"}]}
[{"columns":["Railway_ID","Railway","Builder","Built","Wheels","Location","ObjectNumber"],"name":"railway","type":"grid"}]
67832be0-a368-4f85-9438-01cb7fd6aa98
null
USER
Which tests have "Pass" results? Return the dates when the tests were taken.
{"transformations":[{"column":"test_result","transformationType":"condition","operation":"=","value":"'Pass'"}]}
[{"columns":["registration_id","date_test_taken","test_result"],"name":"Student_Tests_Taken","type":"grid"}]
9c27ba3e-5804-4cef-8037-4a18ba60731b
null
USER
What is the maximum accelerate for all the different cylinders?
{"transformations":[{"column":"Accelerate","transformationType":"aggregations","aggregation":"max"},{"column":"Cylinders","transformationType":"grouping"}]}
[{"columns":["Id","MPG","Cylinders","Edispl","Horsepower","Weight","Accelerate","Year"],"name":"cars_data","type":"grid"}]
eca3988a-8bb6-406d-93b5-369ecdbe7611
null
USER
What are the names of all stations with a latitude smaller than 37.5?
{"transformations":[{"column":"lat","transformationType":"condition","operation":"<","value":37.5}]}
[{"columns":["id","name","lat","long","dock_count","city","installation_date"],"name":"station","type":"grid"}]
0e58b457-93c6-4053-a443-2eab90ae6100
null
USER
Find the total number of tours for each ranking date.
{"transformations":[{"column":"tours","transformationType":"aggregations","aggregation":"sum"},{"column":"ranking_date","transformationType":"grouping"}]}
[{"columns":["ranking_date","ranking","player_id","ranking_points","tours"],"name":"rankings","type":"grid"}]
cc7aa5b5-2ffe-4db5-82bf-49cb8400e4a4
null
USER
What is average enrollment of colleges in the state FL?
{"transformations":[{"column":"enr","transformationType":"aggregations","aggregation":"avg"},{"column":"state","transformationType":"condition","operation":"=","value":"FL"}]}
[{"columns":["cName","state","enr"],"name":"College","type":"grid"}]
42af90f3-9e56-4ab1-9352-1d29d246842d
null
USER
What are the names and ids of customers whose address contains TN?
{"transformations":[{"column":"customer_address","transformationType":"condition","operation":"contains","value":"TN"}]}
[{"columns":["customer_id","payment_method_code","customer_code","customer_name","customer_address","customer_phone","customer_email"],"name":"Customers","type":"grid"}]
2e27f208-e58e-4f3d-a7b9-ac3193444e2f
null
USER
Enumerate the number of players inducted into the hall of fame annually.
{"transformations":[{"column":"player_id","transformationType":"aggregations","aggregation":"count"},{"column":"yearid","transformationType":"grouping"}]}
[{"columns":["player_id","yearid","votedby","ballots","needed","votes","inducted","category","needed_note"],"name":"hall_of_fame","type":"grid"}]
c4677ef7-c287-4c17-ad11-9ae6c6d83f7d
null
USER
Count the number of programs broadcast for each time section of a day.
{"transformations":[{"column":"Channel_ID","transformationType":"aggregations","aggregation":"count"},{"column":"time_of_day","transformationType":"grouping"}]}
[{"columns":["Channel_ID","Program_ID","Time_of_day"],"name":"broadcast","type":"grid"}]
234403ed-2617-4153-a44d-ba4320b9016b
null
USER
Find the address of the location named "UK Gallery".
{"transformations":[{"column":"Location_Name","transformationType":"condition","operation":"=","value":"'UK Gallery'"}]}
[{"columns":["Location_ID","Location_Name","Address","Other_Details"],"name":"Locations","type":"grid"}]
211b473f-3c08-40fe-95e4-ed93fee697da
null
USER
What is the duration of the oldest actor?
{"transformations":[{"column":"Age","limit":1,"transformationType":"topFilter","aggregation":"avg","direction":"desc"}]}
[{"columns":["Actor_ID","Name","Musical_ID","Character","Duration","age"],"name":"actor","type":"grid"}]
07261c36-5db6-4b9c-81ae-39ffe8074cc2
null
USER
What is the average life expectancy in African countries that are republics?
{"transformations":[{"column":"LifeExpectancy","transformationType":"aggregations","aggregation":"avg"},{"column":"Continent","transformationType":"condition","operation":"=","value":"'Africa'"},{"column":"GovernmentForm","transformationType":"condition","operation":"=","value":"'Republic'"}]}
[{"columns":["Code","Name","Continent","Region","SurfaceArea","IndepYear","Population","LifeExpectancy","GNP","GNPOld","LocalName","GovernmentForm","HeadOfState","Capital","Code2"],"name":"country","type":"grid"}]
37beb1c9-0c7d-4a0d-a5f4-cf19312e747b
null
USER
Find the name and rank of the 3 youngest winners across all matches.
{"transformations":[{"column":"winner_age","limit":3,"transformationType":"topFilter","aggregation":"avg","direction":"asc"}]}
[{"columns":["best_of","draw_size","loser_age","loser_entry","loser_hand","loser_ht","loser_id","loser_ioc","loser_name","loser_rank","loser_rank_points","loser_seed","match_num","minutes","round","score","surface","tourney_date","tourney_id","tourney_level","tourney_name","winner_age","winner_entry","winner_hand","winner_ht","winner_id","winner_ioc","winner_name","winner_rank","winner_rank_points","winner_seed","year"],"name":"matches","type":"grid"}]
871a3090-8639-46fd-868d-87895b147743
null
USER
Return the detail of the location named "UK Gallery".
{"transformations":[{"column":"Location_Name","transformationType":"condition","operation":"=","value":"'UK Gallery'"}]}
[{"columns":["Location_ID","Location_Name","Address","Other_Details"],"name":"Locations","type":"grid"}]
6f994930-e7dd-42b4-94c3-1eea59416693
null
USER
For each citizenship, how many singers are from that country?
{"transformations":[{"column":"Singer_ID","transformationType":"aggregations","aggregation":"count"},{"column":"Citizenship","transformationType":"grouping"}]}
[{"columns":["Singer_ID","Name","Birth_Year","Net_Worth_Millions","Citizenship"],"name":"singer","type":"grid"}]
6804173a-2bf2-423a-880f-7cd75d84888c
null
USER
What is the starting year for the oldest technician?
{"transformations":[{"column":"Age","limit":1,"transformationType":"topFilter","aggregation":"avg","direction":"desc"}]}
[{"columns":["technician_id","Name","Team","Starting_Year","Age"],"name":"technician","type":"grid"}]
78331dc0-05cd-40bd-8dcb-e21ce25050c0
null
USER
Which movies have 'Deleted Scenes' as a substring in the special feature?
{"transformations":[{"column":"special_features","transformationType":"condition","operation":"contains","value":"Deleted Scenes"}]}
[{"columns":["film_id","title","description","release_year","language_id","original_language_id","rental_duration","rental_rate","length","replacement_cost","rating","special_features","last_update"],"name":"film","type":"grid"}]
b0331b3e-233e-418f-a192-9e3b881ceeca
null
USER
How old is the average person for each job?
{"transformations":[{"column":"age","transformationType":"aggregations","aggregation":"avg"},{"column":"job","transformationType":"grouping"}]}
[{"columns":["name","age","city","gender","job"],"name":"Person","type":"grid"}]
59429aef-606b-4611-b5fc-a0ddbf83cc2c
null
USER
Determine the number of players for each type of hand.
{"transformations":[{"column":"player_id","transformationType":"aggregations","aggregation":"count"},{"column":"hand","transformationType":"grouping"}]}
[{"columns":["player_id","first_name","last_name","hand","birth_date","country_code"],"name":"players","type":"grid"}]
ddcd7c0a-cac9-4cc7-ab97-cd2163f4d2a2
null
USER
How many distinct hometowns did these people have?
{"transformations":[{"column":"Hometown","transformationType":"aggregations","aggregation":"count"}]}
[{"columns":["People_ID","Name","Age","Height","Hometown"],"name":"people","type":"grid"}]
2eb2bfde-6487-4290-b6cc-c608907afa9a
null
USER
Calculate the average hotel price for each star rating code.
{"transformations":[{"column":"price_range","transformationType":"aggregations","aggregation":"avg"},{"column":"star_rating_code","transformationType":"grouping"}]}
[{"columns":["hotel_id","star_rating_code","pets_allowed_yn","price_range","other_hotel_details"],"name":"Hotels","type":"grid"}]
28e876ff-aba4-4869-a2be-427ca61d358b
null
USER
What are the unique types of player positions in the tryout?
{"transformations":[{"column":"pPos","transformationType":"aggregations","aggregation":"count"}]}
[{"columns":["pID","cName","pPos","decision"],"name":"Tryout","type":"grid"}]
8b24436a-edc0-493a-b4bc-8d7f67ff905b
null
USER
Determine the number of shops in each location.
{"transformations":[{"column":"Shop_ID","transformationType":"aggregations","aggregation":"count"},{"column":"LOCATION","transformationType":"grouping"}]}
[{"columns":["Shop_ID","Name","Location","District","Number_products","Manager_name"],"name":"shop","type":"grid"}]
2942e072-e6f4-4376-b39f-d02a0881e51f
null
USER
Find the founded year of the newest non public school.
{"transformations":[{"column":"affiliation","transformationType":"condition","operation":"!=","value":"Public"},{"column":"founded","limit":1,"transformationType":"topFilter","aggregation":"avg","direction":"desc"}]}
[{"columns":["School_ID","School","Location","Founded","Affiliation","Enrollment","Nickname","Primary_conference"],"name":"university","type":"grid"}]
dcf4b259-e62d-4426-8348-767a938246fc
null
USER
What is the song in the volume with the maximum weeks on top?
{"transformations":[{"column":"Weeks_on_Top","limit":1,"transformationType":"topFilter","aggregation":"avg","direction":"desc"}]}
[{"columns":["Volume_ID","Volume_Issue","Issue_Date","Weeks_on_Top","Song","Artist_ID"],"name":"volume","type":"grid"}]
e6617795-d579-4397-9710-be6f0dd8afb6
null
USER
What are the names of musicals with nominee "Bob Fosse"?
{"transformations":[{"column":"Nominee","transformationType":"condition","operation":"=","value":"'Bob Fosse'"}]}
[{"columns":["Musical_ID","Name","Year","Award","Category","Nominee","Result"],"name":"musical","type":"grid"}]
1ccf206a-32bc-4223-b7a0-0ba1a65f7c01
null
USER
What are the codes and names for all regions, sorted by codes?
{"transformations":[{"column":"region_code","transformationType":"sorting","direction":"asc"}]}
[{"columns":["Region_id","Region_code","Region_name"],"name":"region","type":"grid"}]
8389e78f-592a-40df-a658-410ffeb98d6f
null
USER
What are the population, name and leader of the country with the largest area?
{"transformations":[{"column":"SurfaceArea","limit":1,"transformationType":"topFilter","aggregation":"avg","direction":"desc"}]}
[{"columns":["Code","Name","Continent","Region","SurfaceArea","IndepYear","Population","LifeExpectancy","GNP","GNPOld","LocalName","GovernmentForm","HeadOfState","Capital","Code2"],"name":"country","type":"grid"}]
b3eb3315-2e4f-49d6-a8d8-9bc4147c012b
null
USER
For each distinct product name, show its average product price.
{"transformations":[{"column":"Product_Price","transformationType":"aggregations","aggregation":"avg"},{"column":"Product_Name","transformationType":"grouping"}]}
[{"columns":["Product_ID","Product_Name","Product_Price","Product_Description","Other_Product_Service_Details"],"name":"Products","type":"grid"}]
eb305d4b-c80c-4b43-b1ab-70a139a3f9b2
null
USER
Find the settlement amount of the claim with the largest claim amount. Show both the settlement amount and claim amount.
{"transformations":[{"column":"Amount_Claimed","limit":1,"transformationType":"topFilter","aggregation":"avg","direction":"desc"}]}
[{"columns":["Claim_ID","Policy_ID","Date_Claim_Made","Date_Claim_Settled","Amount_Claimed","Amount_Settled"],"name":"Claims","type":"grid"}]
31aaf33a-1e33-42f7-84a0-f8d5de5a6657
null
USER
What is the count of singers?
{"transformations":[{"column":"Singer_ID","transformationType":"aggregations","aggregation":"count"}]}
[{"columns":["Singer_ID","Name","Birth_Year","Net_Worth_Millions","Citizenship"],"name":"singer","type":"grid"}]
67b0d7ba-5b2d-4570-8b78-ac107d2d51f0
null
USER
Find the number of followers for each user.
{"transformations":[{"column":"product_id","transformationType":"aggregations","aggregation":"count"},{"column":"order_id","transformationType":"grouping"}]}
[{"columns":["order_item_id","order_id","product_id","product_quantity","other_order_item_details"],"name":"Order_Items","type":"grid"}]
94864bd6-ec68-4b9a-9c39-367ffdba4581
null
USER
What are the emails and phone numbers of all customers, sorted by email address and phone number?
{"transformations":[{"column":"email_address","transformationType":"sorting","direction":"asc"},{"column":"phone_number","transformationType":"sorting","direction":"asc"}]}
[{"columns":["customer_id","customer_type_code","address_line_1","address_line_2","town_city","state","email_address","phone_number"],"name":"Customers","type":"grid"}]
affb2ca8-2895-4c86-89eb-63422e05687c
null
USER
What are the names and number of hours spent training for each player who trains for less than 1500 hours?
{"transformations":[{"column":"HS","transformationType":"condition","operation":"<","value":1500}]}
[{"columns":["pID","pName","yCard","HS"],"name":"Player","type":"grid"}]
23cfbc9c-3c79-4939-9878-141170b8ffd1
null
USER
Determine the room count for each bed type.
{"transformations":[{"column":"RoomId","transformationType":"aggregations","aggregation":"count"},{"column":"bedType","transformationType":"grouping"}]}
[{"columns":["RoomId","roomName","beds","bedType","maxOccupancy","basePrice","decor"],"name":"Rooms","type":"grid"}]
59409d75-5c26-4d9e-b5cb-dfebd351b324
null
USER
Present all primary industries and their total market values.
{"transformations":[{"column":"market_value","transformationType":"aggregations","aggregation":"sum"},{"column":"main_industry","transformationType":"grouping"}]}
[{"columns":["Company_ID","Rank","Company","Headquarters","Main_Industry","Sales_billion","Profits_billion","Assets_billion","Market_Value"],"name":"company","type":"grid"}]
658935c8-9250-4fba-bf08-7545961d7201
null
USER
What are the different software platforms for devices, and how many devices use each platform?
{"transformations":[{"column":"Device_ID","transformationType":"aggregations","aggregation":"count"},{"column":"Software_Platform","transformationType":"grouping"}]}
[{"columns":["Device_ID","Device","Carrier","Package_Version","Applications","Software_Platform"],"name":"device","type":"grid"}]
9bc2f16c-2943-4606-a4a5-ca5ed265d330
null
USER
Find the number of phones for each accreditation type.
{"transformations":[{"column":"Company_name","transformationType":"aggregations","aggregation":"count"},{"column":"Accreditation_type","transformationType":"grouping"}]}
[{"columns":["Company_name","Hardware_Model_name","Accreditation_type","Accreditation_level","Date","chip_model","screen_mode"],"name":"phone","type":"grid"}]
ffa9b8a4-9bc0-40c9-b7f6-5e0b1cdcb794
null
USER
Which tourist attractions can we get to by bus? Tell me the names of the attractions.
{"transformations":[{"column":"How_to_Get_There","transformationType":"condition","operation":"=","value":"'bus'"}]}
[{"columns":["Tourist_Attraction_ID","Attraction_Type_Code","Location_ID","How_to_Get_There","Name","Description","Opening_Hours","Other_Details"],"name":"Tourist_Attractions","type":"grid"}]
44ea400f-cab6-419e-9bbc-06651e38b37c
null
USER
How many counties are there in total?
{"transformations":[{"column":"County_Id","transformationType":"aggregations","aggregation":"count"}]}
[{"columns":["County_Id","County_name","Population","Zip_code"],"name":"county","type":"grid"}]
7fba15aa-3144-4713-8db9-0c69ff031a92
null
USER
What is the average latitude and longitude of stations located in San Jose city?
{"transformations":[{"column":"lat","transformationType":"aggregations","aggregation":"avg"},{"column":"long","transformationType":"aggregations","aggregation":"avg"},{"column":"city","transformationType":"condition","operation":"=","value":"'San Jose'"}]}
[{"columns":["id","name","lat","long","dock_count","city","installation_date"],"name":"station","type":"grid"}]
b415d73e-dd32-4185-bc19-d7a2434c6ca4
null
USER
What is id of the city that hosted events in the most recent year?
{"transformations":[{"column":"YEAR","limit":1,"transformationType":"topFilter","aggregation":"avg","direction":"desc"}]}
[{"columns":["Year","Match_ID","Host_City"],"name":"hosting_city","type":"grid"}]
0a202395-0cba-4d64-9769-a59c5104f33e
null
USER
Find the average height and weight for all males (sex is M).
{"transformations":[{"column":"height","transformationType":"aggregations","aggregation":"avg"},{"column":"weight","transformationType":"aggregations","aggregation":"avg"},{"column":"sex","transformationType":"condition","operation":"=","value":"M"}]}
[{"columns":["People_ID","Sex","Name","Date_of_Birth","Height","Weight"],"name":"people","type":"grid"}]
94e8f8aa-0f38-4b53-8b86-dedad47fe622
null
USER
How many different majors are there and how many different city codes are there for each student?
{"transformations":[{"column":"major","transformationType":"aggregations","aggregation":"count"},{"column":"city_code","transformationType":"aggregations","aggregation":"count"}]}
[{"columns":["StuID","LName","Fname","Age","Sex","Major","Advisor","city_code"],"name":"Student","type":"grid"}]
7539cf8c-6492-49ea-979c-8a91b84fbf07
null
USER
What are the phone numbers of customers using the policy with the code "Life Insurance"?
{"transformations":[{"column":"policy_type_code","transformationType":"condition","operation":"=","value":"'Life Insurance'"}]}
[{"columns":["Policy_ID","policy_type_code","Customer_Phone"],"name":"Available_Policies","type":"grid"}]
53a36a42-c75f-4c18-aca1-d7546ee08b29
null
USER
What is the apartment number of the apartment with the most beds?
{"transformations":[{"column":"bedroom_count","limit":1,"transformationType":"topFilter","aggregation":"avg","direction":"desc"}]}
[{"columns":["apt_id","building_id","apt_type_code","apt_number","bathroom_count","bedroom_count","room_count"],"name":"Apartments","type":"grid"}]
f27afda8-937a-43e4-9a05-909df1a42cc6
null
USER
What are the names of wines, sorted in alphabetical order?
{"transformations":[{"column":"Name","transformationType":"sorting","direction":"asc"}]}
[{"columns":["No","Grape","Winery","Appelation","State","Name","Year","Price","Score","Cases","Drink"],"name":"wine","type":"grid"}]
8285e43d-e4aa-41df-8f71-e6348f44c5f6
null
USER
How many TV Channels use the English language?
{"transformations":[{"column":"id","transformationType":"aggregations","aggregation":"count"},{"column":"LANGUAGE","transformationType":"condition","operation":"=","value":"'English'"}]}
[{"columns":["id","series_name","Country","Language","Content","Pixel_aspect_ratio_PAR","Hight_definition_TV","Pay_per_view_PPV","Package_Option"],"name":"TV_Channel","type":"grid"}]
710e2149-dc90-40e6-b720-ee058775c9e0
null
USER
Count the number of documents with the type code BK that correspond to each product id.
{"transformations":[{"column":"Document_ID","transformationType":"aggregations","aggregation":"count"},{"column":"document_type_code","transformationType":"condition","operation":"=","value":"'BK'"},{"column":"project_id","transformationType":"grouping"}]}
[{"columns":["Document_ID","Document_Type_Code","Project_ID","Document_Date","Document_Name","Document_Description","Other_Details"],"name":"Documents","type":"grid"}]
9897369e-ee53-4437-b3c2-be2402bdba3d
null
USER
What are the names of people who are not from Russia?
{"transformations":[{"column":"Nationality","transformationType":"condition","operation":"!=","value":"'Russia'"}]}
[{"columns":["People_ID","Nationality","Name","Birth_Date","Height"],"name":"people","type":"grid"}]
775c879e-9243-48c0-8e72-78ec341fb0ba
null
USER
What is the total population and average area of countries in the continent of North America whose area is bigger than 3000 ?
{"transformations":[{"column":"population","transformationType":"aggregations","aggregation":"sum"},{"column":"surfacearea","transformationType":"aggregations","aggregation":"avg"},{"column":"continent","transformationType":"condition","operation":"=","value":"'north america'"},{"column":"surfacearea","transformationType":"condition","operation":">","value":3000}]}
[{"columns":["Code","Name","Continent","Region","SurfaceArea","IndepYear","Population","LifeExpectancy","GNP","GNPOld","LocalName","GovernmentForm","HeadOfState","Capital","Code2"],"name":"country","type":"grid"}]
9ab549ab-265c-4c94-aa0d-e7b62a7b799e
null
USER
What is the complete description of the job of a researcher?
{"transformations":[{"column":"role_code","transformationType":"condition","operation":"=","value":"researcher"}]}
[{"columns":["role_code","role_description"],"name":"Staff_Roles","type":"grid"}]
cb38afb3-6cdf-4a8d-9704-588a14ca34bc
null
USER
Provide the count of people for every nationality.
{"transformations":[{"column":"People_ID","transformationType":"aggregations","aggregation":"count"},{"column":"Nationality","transformationType":"grouping"}]}
[{"columns":["People_ID","Nationality","Name","Birth_Date","Height"],"name":"people","type":"grid"}]
3f7a0d51-dc68-4c6f-85a9-ff3534709fce
null
USER
What are the names of actors, ordered alphabetically?
{"transformations":[{"column":"Name","transformationType":"sorting","direction":"asc"}]}
[{"columns":["Actor_ID","Name","Musical_ID","Character","Duration","age"],"name":"actor","type":"grid"}]
67f582b4-6925-4897-878a-3092ececd085
null
USER
Give the city and country for the Alton airport.
{"transformations":[{"column":"AirportName","transformationType":"condition","operation":"=","value":"'Alton'"}]}
[{"columns":["City","AirportCode","AirportName","Country","CountryAbbrev"],"name":"airports","type":"grid"}]
7f446991-9793-464d-8f48-89412ab3364d
null
USER
How many distinct students have been in detention?
{"transformations":[{"column":"student_id","transformationType":"aggregations","aggregation":"count"}]}
[{"columns":["student_id","detention_id","incident_id"],"name":"Students_in_Detention","type":"grid"}]
84e57732-fd53-4410-9598-ec892ea280f9
null
USER
Display the number of TV channels for each language.
{"transformations":[{"column":"id","transformationType":"aggregations","aggregation":"count"},{"column":"LANGUAGE","transformationType":"grouping"}]}
[{"columns":["id","series_name","Country","Language","Content","Pixel_aspect_ratio_PAR","Hight_definition_TV","Pay_per_view_PPV","Package_Option"],"name":"TV_Channel","type":"grid"}]
baf3dcc3-38da-4219-91b7-1aecebd58fd3
null
USER
What are the names of the sections in reverse alphabetical order?
{"transformations":[{"column":"section_name","transformationType":"sorting","direction":"desc"}]}
[{"columns":["section_id","course_id","section_name","section_description","other_details"],"name":"Sections","type":"grid"}]
10dbd9f3-0f3a-441d-aa02-0c09031706d5
null
USER
How many debates are there?
{"transformations":[{"column":"Debate_ID","transformationType":"aggregations","aggregation":"count"}]}
[{"columns":["Debate_ID","Date","Venue","Num_of_Audience"],"name":"debate","type":"grid"}]
aee93268-6bd9-4f23-a6e8-45533b4b7147
null
USER
What is the id of the candidate with the lowest oppose rate?
{"transformations":[{"column":"oppose_rate","limit":1,"transformationType":"topFilter","aggregation":"avg","direction":"asc"}]}
[{"columns":["Candidate_ID","People_ID","Poll_Source","Date","Support_rate","Consider_rate","Oppose_rate","Unsure_rate"],"name":"candidate","type":"grid"}]
1d88bf97-5e58-465b-98af-c3a44de42cd0
null
USER
What are the different region names, ordered by labels?
{"transformations":[{"column":"Label","transformationType":"sorting","direction":"asc"}]}
[{"columns":["Region_ID","Region_name","Date","Label","Format","Catalogue"],"name":"region","type":"grid"}]
107f8150-e4ed-477d-b492-2bca973bf829
null
USER
List the name and number of followers for each user, and sort the results by the number of followers in descending order.
{"transformations":[{"column":"followers","transformationType":"sorting","direction":"desc"}]}
[{"columns":["uid","name","email","partitionid","followers"],"name":"user_profiles","type":"grid"}]
a69d8e63-99cd-40ef-b7e0-02ced5d0c003
null
USER
How many films are produced by each movie studio?
{"transformations":[{"column":"Film_ID","transformationType":"aggregations","aggregation":"count"},{"column":"Studio","transformationType":"grouping"}]}
[{"columns":["Film_ID","Title","Studio","Director","Gross_in_dollar"],"name":"film","type":"grid"}]
b23fb9ec-ecfe-4b0d-b74c-8238a025d12b
null
USER
Enumerate document type codes and their corresponding document counts.
{"transformations":[{"column":"Document_ID","transformationType":"aggregations","aggregation":"count"},{"column":"document_type_code","transformationType":"grouping"}]}
[{"columns":["Document_ID","Document_Type_Code","Project_ID","Document_Date","Document_Name","Document_Description","Other_Details"],"name":"Documents","type":"grid"}]
79f31e9c-7447-4c74-a091-716cb36d374d
null
USER
Count the number of accounts corresponding to each customer ID.
{"transformations":[{"column":"account_id","transformationType":"aggregations","aggregation":"count"},{"column":"customer_id","transformationType":"grouping"}]}
[{"columns":["account_id","customer_id","date_account_opened","account_name","other_account_details"],"name":"Accounts","type":"grid"}]
ffe7fa20-d963-4eb2-921d-02d85cbca4c1
null
USER
Which authors have last name "Ueno"? List their first names.
{"transformations":[{"column":"lname","transformationType":"condition","operation":"=","value":"'Ueno'"}]}
[{"columns":["authID","lname","fname"],"name":"Authors","type":"grid"}]
a572f98c-7094-46e2-9817-66b32a628ff4
null
USER
Find the number of rooms with a price higher than 120 for each type of decor.
{"transformations":[{"column":"RoomId","transformationType":"aggregations","aggregation":"count"},{"column":"basePrice","transformationType":"condition","operation":">","value":120},{"column":"decor","transformationType":"grouping"}]}
[{"columns":["RoomId","roomName","beds","bedType","maxOccupancy","basePrice","decor"],"name":"Rooms","type":"grid"}]
2b7065b1-fa00-47b5-8e74-c90330a2ff27
null
USER
What is the name and salary for employee with id 242518965?
{"transformations":[{"column":"eid","transformationType":"condition","operation":"=","value":242518965}]}
[{"columns":["eid","name","salary"],"name":"employee","type":"grid"}]
419f56ea-9d72-4492-a5af-4018b1fb167c
null
USER
Count the number of likes for each student id.
{"transformations":[{"column":"student_id","transformationType":"aggregations","aggregation":"count"},{"column":"student_id","transformationType":"grouping"}]}
[{"columns":["student_id","liked_id"],"name":"Likes","type":"grid"}]
70652215-0b38-4506-8caf-30f75fbd8ac5
null
USER
Find the total rating ratio for each channel owner.
{"transformations":[{"column":"Rating_in_percent","transformationType":"aggregations","aggregation":"sum"},{"column":"OWNER","transformationType":"grouping"}]}
[{"columns":["Channel_ID","Name","Owner","Share_in_percent","Rating_in_percent"],"name":"channel","type":"grid"}]
eb9d3a3b-6f1e-4241-a004-e27166711f84
null
USER
What are the name, latitude, and city of the station with the lowest latitude?
{"transformations":[{"column":"lat","limit":1,"transformationType":"topFilter","aggregation":"avg","direction":"asc"}]}
[{"columns":["id","name","lat","long","dock_count","city","installation_date"],"name":"station","type":"grid"}]
70b7d0ec-0e91-43eb-a636-f0df71020c0b
null
USER
What is the total number of singers?
{"transformations":[{"column":"Singer_ID","transformationType":"aggregations","aggregation":"count"}]}
[{"columns":["Singer_ID","Name","Country","Song_Name","Song_release_year","Age","Is_male"],"name":"singer","type":"grid"}]
56c463e8-f8e8-4e94-a184-02a16afe4df0
null
USER
How many females are in the network?
{"transformations":[{"column":"name","transformationType":"aggregations","aggregation":"count"},{"column":"gender","transformationType":"condition","operation":"=","value":"female"}]}
[{"columns":["name","age","city","gender","job"],"name":"Person","type":"grid"}]
6b22942b-2140-48f4-ad96-585c388ca834
null
USER
Find the id and weight of all pets whose age is older than 1.
{"transformations":[{"column":"pet_age","transformationType":"condition","operation":">","value":1}]}
[{"columns":["PetID","PetType","pet_age","weight"],"name":"Pets","type":"grid"}]
bd82d9f8-3406-48f1-be85-3a34e54eaa3c
null
USER
List the snatch score and clean jerk score of body builders in ascending order of snatch score.
{"transformations":[{"column":"Snatch","transformationType":"sorting","direction":"asc"}]}
[{"columns":["Body_Builder_ID","People_ID","Snatch","Clean_Jerk","Total"],"name":"body_builder","type":"grid"}]
29957f06-c040-473f-bd13-6479ba4c49e6
null
USER
How many teachers are there in each hometown?
{"transformations":[{"column":"Teacher_ID","transformationType":"aggregations","aggregation":"count"},{"column":"Hometown","transformationType":"grouping"}]}
[{"columns":["Teacher_ID","Name","Age","Hometown"],"name":"teacher","type":"grid"}]
f8bee76b-cfe7-49e5-bc83-af5345475b4f
null
USER
Provide the college name and the number of authors submitting from each college.
{"transformations":[{"column":"Submission_ID","transformationType":"aggregations","aggregation":"count"},{"column":"College","transformationType":"grouping"}]}
[{"columns":["Submission_ID","Scores","Author","College"],"name":"submission","type":"grid"}]
db07851c-ce79-4640-88e7-a0c15b4d5354
null
USER
List the names and decor of rooms that have a king bed. Sort the list by their price.
{"transformations":[{"column":"bedtype","transformationType":"condition","operation":"=","value":"King"},{"column":"basePrice","transformationType":"sorting","direction":"asc"}]}
[{"columns":["RoomId","roomName","beds","bedType","maxOccupancy","basePrice","decor"],"name":"Rooms","type":"grid"}]
6c4d95ae-573b-458b-876b-b6385d32b50a
null
USER
Give the phone and postal code corresponding to the address '1031 Daugavpils Parkway'.
{"transformations":[{"column":"address","transformationType":"condition","operation":"=","value":"1031 Daugavpils Parkway"}]}
[{"columns":["address_id","address","address2","district","city_id","postal_code","phone","last_update"],"name":"address","type":"grid"}]
5506983f-1111-436b-bf8b-f95e1afa4f1a
null
USER
What is the maximum point for climbers whose country is United Kingdom?
{"transformations":[{"column":"Points","transformationType":"aggregations","aggregation":"max"},{"column":"Country","transformationType":"condition","operation":"=","value":"'United Kingdom'"}]}
[{"columns":["Climber_ID","Name","Country","Time","Points","Mountain_ID"],"name":"climber","type":"grid"}]
1fac5bd0-84ed-4a84-844b-8576ec757153
null
USER
Return the lowest version number, along with its corresponding template type code.
{"transformations":[{"column":"Version_Number","transformationType":"aggregations","aggregation":"min"}]}
[{"columns":["Template_ID","Version_Number","Template_Type_Code","Date_Effective_From","Date_Effective_To","Template_Details"],"name":"Templates","type":"grid"}]
75793ef9-1115-49ef-a9f6-66bd1ce3724e
null
USER
For each classroom, report the classroom number and the number of grades using it.
{"transformations":[{"column":"grade","transformationType":"aggregations","aggregation":"count"},{"column":"classroom","transformationType":"grouping"}]}
[{"columns":["LastName","FirstName","Grade","Classroom"],"name":"list","type":"grid"}]
2444f04d-5245-4a91-ac07-418c0cd06570
null
USER
What is the type of allergy Cat?
{"transformations":[{"column":"allergy","transformationType":"condition","operation":"=","value":"'Cat'"}]}
[{"columns":["Allergy","AllergyType"],"name":"Allergy_Type","type":"grid"}]
ed7467f5-c058-4f1a-9c51-dc45d8cd21a5
null
USER
How many players exist for every hand preference?
{"transformations":[{"column":"player_id","transformationType":"aggregations","aggregation":"count"},{"column":"hand","transformationType":"grouping"}]}
[{"columns":["player_id","first_name","last_name","hand","birth_date","country_code"],"name":"players","type":"grid"}]
afbb1c54-92fe-424a-bbb7-da00157e393c
null
USER
What is the id and name of the employee with the highest salary?
{"transformations":[{"column":"salary","limit":1,"transformationType":"topFilter","aggregation":"avg","direction":"desc"}]}
[{"columns":["eid","name","salary"],"name":"employee","type":"grid"}]
ddcf36c5-f5f0-4efc-b86a-dac6cb2d5a66
null
USER
Count the number of different complaint type codes.
{"transformations":[{"column":"complaint_type_code","transformationType":"aggregations","aggregation":"count"}]}
[{"columns":["complaint_id","product_id","customer_id","complaint_outcome_code","complaint_status_code","complaint_type_code","date_complaint_raised","date_complaint_closed","staff_id"],"name":"Complaints","type":"grid"}]
575c8413-2bda-4717-af20-8108a7dd429f
null
USER
What are the types of video games and how many games are in each type?
{"transformations":[{"column":"FacID","transformationType":"aggregations","aggregation":"count"},{"column":"rank","transformationType":"grouping"}]}
[{"columns":["FacID","Lname","Fname","Rank","Sex","Phone","Room","Building"],"name":"Faculty","type":"grid"}]
7ff287ee-aaa0-450b-8d2d-afb25d536924
null
USER
List the names of all the distinct product names in alphabetical order?
{"transformations":[{"column":"product_name","transformationType":"sorting","direction":"asc"}]}
[{"columns":["product_id","product_name","product_details"],"name":"Product","type":"grid"}]
78eb4b6e-9911-4c2d-ad70-4ffa4a7b1cfd
null
USER
How many females does this network has?
{"transformations":[{"column":"name","transformationType":"aggregations","aggregation":"count"},{"column":"gender","transformationType":"condition","operation":"=","value":"female"}]}
[{"columns":["name","age","city","gender","job"],"name":"Person","type":"grid"}]
dc6d6101-5f0a-443e-b0c4-c0590ebf6423
null
USER
Count the number of likes per student ID.
{"transformations":[{"column":"student_id","transformationType":"aggregations","aggregation":"count"},{"column":"student_id","transformationType":"grouping"}]}
[{"columns":["student_id","liked_id"],"name":"Likes","type":"grid"}]
f3bf0843-85df-4b3c-a62a-187945e100f6
null
USER
What are the names of the chairs of festivals, sorted in ascending order of the year held?
{"transformations":[{"column":"YEAR","transformationType":"sorting","direction":"asc"}]}
[{"columns":["Festival_ID","Festival_Name","Chair_Name","Location","Year","Num_of_Audience"],"name":"festival_detail","type":"grid"}]
8a72ba32-00bf-45fc-a69f-e26561dbadd9
null
USER
Who are the ministers, when did they take office, and when did they leave office, ordered by when they left office?
{"transformations":[{"column":"left_office","transformationType":"sorting","direction":"asc"}]}
[{"columns":["Party_ID","Minister","Took_office","Left_office","Region_ID","Party_name"],"name":"party","type":"grid"}]