id
stringlengths
36
36
parent_id
float64
role
stringclasses
1 value
question
stringlengths
18
215
dsl
stringlengths
87
369
context
stringclasses
452 values
1c35500c-1a72-4891-9a45-7e9c348ce88c
null
USER
Determine the average high temperature for each day of the week.
{"transformations":[{"column":"Product_ID","transformationType":"aggregations","aggregation":"count"},{"column":"Product_Type_Code","transformationType":"grouping"}]}
[{"columns":["Product_ID","Product_Type_Code","Product_Name","Product_Price"],"name":"Products","type":"grid"}]
bbe8422d-5b71-41e1-8973-bf30540cd016
null
USER
Count the number of markets that have a number of cities lower than 300.
{"transformations":[{"column":"Market_ID","transformationType":"aggregations","aggregation":"count"},{"column":"Number_cities","transformationType":"condition","operation":"<","value":300}]}
[{"columns":["Market_ID","Country","Number_cities"],"name":"market","type":"grid"}]
5d0aacc8-c2d9-45c6-9b0f-092bad8a0c42
null
USER
Show the id and salary of Mark Young.
{"transformations":[{"column":"name","transformationType":"condition","operation":"=","value":"Mark Young"}]}
[{"columns":["eid","name","salary"],"name":"employee","type":"grid"}]
c24fb1f5-3140-4e51-b2e9-9966dad56e7c
null
USER
How many bands are there?
{"transformations":[{"column":"Id","transformationType":"aggregations","aggregation":"count"}]}
[{"columns":["Id","Firstname","Lastname"],"name":"Band","type":"grid"}]
db956c4e-a255-4046-bdd8-cc78242baa9c
null
USER
How many players come from each country?
{"transformations":[{"column":"player_id","transformationType":"aggregations","aggregation":"count"},{"column":"country_code","transformationType":"grouping"}]}
[{"columns":["player_id","first_name","last_name","hand","birth_date","country_code"],"name":"players","type":"grid"}]
1b38e65d-b1cd-4b65-ae51-798c7a370c04
null
USER
Display unique railway locations and the number of railways in each location.
{"transformations":[{"column":"Railway_ID","transformationType":"aggregations","aggregation":"count"},{"column":"LOCATION","transformationType":"grouping"}]}
[{"columns":["Railway_ID","Railway","Builder","Built","Wheels","Location","ObjectNumber"],"name":"railway","type":"grid"}]
54dbd303-edba-464c-b175-5c83f37286f8
null
USER
How many movie ratings have more than 3 stars?
{"transformations":[{"column":"rID","transformationType":"aggregations","aggregation":"count"},{"column":"stars","transformationType":"condition","operation":">","value":3}]}
[{"columns":["rID","mID","stars","ratingDate"],"name":"Rating","type":"grid"}]
8cc62fcd-78c6-4aac-903e-39e380fac342
null
USER
Find the total balance across checking accounts.
{"transformations":[{"column":"balance","transformationType":"aggregations","aggregation":"sum"}]}
[{"columns":["custid","balance"],"name":"CHECKING","type":"grid"}]
025ef019-519d-4de3-ac0e-c570f5f9cff0
null
USER
What is the total amount of payment?
{"transformations":[{"column":"Amount_Payment","transformationType":"aggregations","aggregation":"sum"}]}
[{"columns":["Payment_ID","Settlement_ID","Payment_Method_Code","Date_Payment_Made","Amount_Payment"],"name":"Payments","type":"grid"}]
b7f39704-5d52-4cf3-bd77-bad5a0121f11
null
USER
Display unique affiliations and the count of schools with over 20,000 enrollees for each.
{"transformations":[{"column":"School_ID","transformationType":"aggregations","aggregation":"count"},{"column":"enrollment","transformationType":"condition","operation":">","value":20000},{"column":"affiliation","transformationType":"grouping"}]}
[{"columns":["School_ID","School","Location","Founded","Affiliation","Enrollment","Nickname","Primary_conference"],"name":"university","type":"grid"}]
d898afda-7d29-420b-8cb5-c6a2c6fc345f
null
USER
Find the phone number of performer "Ashley".
{"transformations":[{"column":"Customer_Name","transformationType":"condition","operation":"=","value":"'Ashley'"}]}
[{"columns":["Performer_ID","Address_ID","Customer_Name","Customer_Phone","Customer_Email_Address","Other_Details"],"name":"Performers","type":"grid"}]
6008ffc1-5725-43f9-a547-50378eae53ed
null
USER
Select the code of the cheapest product in each product category.
{"transformations":[{"column":"price","transformationType":"aggregations","aggregation":"min"},{"column":"name","transformationType":"grouping"}]}
[{"columns":["Code","Name","Price","Manufacturer"],"name":"Products","type":"grid"}]
10aa2ed7-3197-45c1-967c-1bf05a8c9bb6
null
USER
find all dependent names who have a spouse relation with some employee.
{"transformations":[{"column":"relationship","transformationType":"condition","operation":"=","value":"Spouse"}]}
[{"columns":["Essn","Dependent_name","Sex","Bdate","Relationship"],"name":"dependent","type":"grid"}]
7261a1f8-6f8a-41bf-a78b-92df7f54c424
null
USER
What are the names and release years for all the songs of the youngest singer?
{"transformations":[{"column":"age","limit":1,"transformationType":"topFilter","aggregation":"avg","direction":"asc"}]}
[{"columns":["Singer_ID","Name","Country","Song_Name","Song_release_year","Age","Is_male"],"name":"singer","type":"grid"}]
fdbe10a9-2245-4cca-bafa-a0efed04f199
null
USER
What is the average price of wine for each category?
{"transformations":[{"column":"Price","transformationType":"aggregations","aggregation":"avg"},{"column":"YEAR","transformationType":"grouping"}]}
[{"columns":["No","Grape","Winery","Appelation","State","Name","Year","Price","Score","Cases","Drink"],"name":"wine","type":"grid"}]
ff4dfbd4-0e08-4c50-9b76-cc075f22b91a
null
USER
How many dogs went through any treatments?
{"transformations":[{"column":"dog_id","transformationType":"aggregations","aggregation":"count"}]}
[{"columns":["treatment_id","dog_id","professional_id","treatment_type_code","date_of_treatment","cost_of_treatment"],"name":"Treatments","type":"grid"}]
0df51d70-f3b4-49d5-bc19-32e1b11ababc
null
USER
What are the names of enzymes that include the string 'ALA'?
{"transformations":[{"column":"name","transformationType":"condition","operation":"contains","value":"ALA"}]}
[{"columns":["id","name","Location","Product","Chromosome","OMIM","Porphyria"],"name":"enzyme","type":"grid"}]
9c57aae4-b3c1-4571-a831-b3d7d497b086
null
USER
Give me a list of all the service names sorted alphabetically.
{"transformations":[{"column":"service_name","transformationType":"sorting","direction":"asc"}]}
[{"columns":["Service_ID","Service_name"],"name":"Services","type":"grid"}]
380d2c7c-1e37-4fc4-8089-2d997b4c09b1
null
USER
What is the name, city, and country of the airport with the highest elevation?
{"transformations":[{"column":"elevation","limit":1,"transformationType":"topFilter","aggregation":"avg","direction":"desc"}]}
[{"columns":["apid","name","city","country","x","y","elevation","iata","icao"],"name":"airports","type":"grid"}]
8317ecde-52ba-4425-9496-4064ca38573a
null
USER
Which student's age is older than 18 and is majoring in 600? List each student's first and last name.
{"transformations":[{"column":"Age","transformationType":"condition","operation":">","value":18},{"column":"Major","transformationType":"condition","operation":"=","value":600}]}
[{"columns":["StuID","LName","Fname","Age","Sex","Major","Advisor","city_code"],"name":"Student","type":"grid"}]
49691e96-9bc5-47c9-80bd-54cf3667f0e2
null
USER
How many rooms in each building have a capacity of over 50?
{"transformations":[{"column":"building","transformationType":"aggregations","aggregation":"count"},{"column":"capacity","transformationType":"condition","operation":">","value":50},{"column":"building","transformationType":"grouping"}]}
[{"columns":["building","room_number","capacity"],"name":"classroom","type":"grid"}]
100b5de3-b12f-4a52-8b7d-7edcb0710a09
null
USER
How many medicines are offered by 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"}]
5e64fad4-d235-4424-b57a-8e744a9bf165
null
USER
What are all the movies rated as R? List the titles.
{"transformations":[{"column":"rating","transformationType":"condition","operation":"=","value":"R"}]}
[{"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"}]
5e31b9a9-b98d-4f33-b95c-3c6729184d16
null
USER
How many people in total can stay in the modern rooms of this inn?
{"transformations":[{"column":"maxOccupancy","transformationType":"aggregations","aggregation":"sum"},{"column":"decor","transformationType":"condition","operation":"=","value":"modern"}]}
[{"columns":["RoomId","roomName","beds","bedType","maxOccupancy","basePrice","decor"],"name":"Rooms","type":"grid"}]
66db2b77-7a60-4847-9e4f-b43e159dfe7c
null
USER
How many captains under 50 years old are in each rank?
{"transformations":[{"column":"RoomId","transformationType":"aggregations","aggregation":"count"},{"column":"bedType","transformationType":"condition","operation":"=","value":"'King'"},{"column":"decor","transformationType":"grouping"}]}
[{"columns":["RoomId","roomName","beds","bedType","maxOccupancy","basePrice","decor"],"name":"Rooms","type":"grid"}]
decc36d0-3f45-4ad0-8228-8ca3b258534d
null
USER
List the 3 highest salaries of the players in 2001?
{"transformations":[{"column":"YEAR","transformationType":"condition","operation":"=","value":2001},{"column":"salary","limit":3,"transformationType":"topFilter","aggregation":"avg","direction":"desc"}]}
[{"columns":["year","team_id","league_id","player_id","salary"],"name":"salary","type":"grid"}]
13c31e9f-5c29-4aba-94cd-9331e46a53a6
null
USER
How many accounts does each customer have, and what is their corresponding 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"}]
f186d3ae-ae1d-468d-93bb-4a82cfeda757
null
USER
List official names of cities in descending order of population.
{"transformations":[{"column":"Population","transformationType":"sorting","direction":"desc"}]}
[{"columns":["City_ID","Official_Name","Status","Area_km_2","Population","Census_Ranking"],"name":"city","type":"grid"}]
19ad439e-af56-44ad-bba9-2f215b891c6c
null
USER
Find the last names of faculties in building Barton in alphabetic order.
{"transformations":[{"column":"Building","transformationType":"condition","operation":"=","value":"'Barton'"},{"column":"Lname","transformationType":"sorting","direction":"asc"}]}
[{"columns":["FacID","Lname","Fname","Rank","Sex","Phone","Room","Building"],"name":"Faculty","type":"grid"}]
b591d366-ab75-43e7-b9f4-3fdcad28d0bf
null
USER
Compute the average score of submissions.
{"transformations":[{"column":"Scores","transformationType":"aggregations","aggregation":"avg"}]}
[{"columns":["Submission_ID","Scores","Author","College"],"name":"submission","type":"grid"}]
a0f07c5e-9ab4-4095-8eb2-96e8977375f4
null
USER
How many different types of pet are there?
{"transformations":[{"column":"pettype","transformationType":"aggregations","aggregation":"count"}]}
[{"columns":["PetID","PetType","pet_age","weight"],"name":"Pets","type":"grid"}]
0614dfc7-75c2-4324-9a05-2c0c6abcec30
null
USER
Find the number of dorms that have some amenity.
{"transformations":[{"column":"dormid","transformationType":"aggregations","aggregation":"count"}]}
[{"columns":["dormid","amenid"],"name":"Has_amenity","type":"grid"}]
8aa05d8a-a197-40c6-b2c7-ef9483367f39
null
USER
Show all advisors and corresponding number of students.
{"transformations":[{"column":"StuID","transformationType":"aggregations","aggregation":"count"},{"column":"advisor","transformationType":"grouping"}]}
[{"columns":["StuID","LName","Fname","Age","Sex","Major","Advisor","city_code"],"name":"Student","type":"grid"}]
f59ed09b-5d43-4955-a251-57e7eb489d77
null
USER
How many high schoolers are there?
{"transformations":[{"column":"ID","transformationType":"aggregations","aggregation":"count"}]}
[{"columns":["ID","name","grade"],"name":"Highschooler","type":"grid"}]
9c949cec-fbef-414e-951e-7edd5b935225
null
USER
What is the language spoken by the largest percentage of people in each country?
{"transformations":[{"column":"Percentage","transformationType":"aggregations","aggregation":"max"},{"column":"CountryCode","transformationType":"grouping"}]}
[{"columns":["CountryCode","Language","IsOfficial","Percentage"],"name":"countrylanguage","type":"grid"}]
ccd659ae-c429-42a1-b98c-e3f63fae3157
null
USER
What is the age of student Linda Smith?
{"transformations":[{"column":"Fname","transformationType":"condition","operation":"=","value":"'Linda'"},{"column":"Lname","transformationType":"condition","operation":"=","value":"'Smith'"}]}
[{"columns":["StuID","LName","Fname","Age","Sex","Major","Advisor","city_code"],"name":"Student","type":"grid"}]
50dd9159-ce3e-47de-8ee1-ae78a3a8d165
null
USER
What is the author of the submission with the highest score?
{"transformations":[{"column":"Scores","limit":1,"transformationType":"topFilter","aggregation":"avg","direction":"desc"}]}
[{"columns":["Submission_ID","Scores","Author","College"],"name":"submission","type":"grid"}]
f62e3134-5d48-4c04-9238-b30ab3ef9d63
null
USER
Find the number of different cities that employees live in.
{"transformations":[{"column":"city","transformationType":"aggregations","aggregation":"count"}]}
[{"columns":["EmployeeId","LastName","FirstName","Title","ReportsTo","BirthDate","HireDate","Address","City","State","Country","PostalCode","Phone","Fax","Email"],"name":"Employee","type":"grid"}]
ed6650b2-fe0a-439f-9981-2d96a0dadd66
null
USER
What are the names of the schools with the top 3 largest class sizes?
{"transformations":[{"column":"enr","limit":3,"transformationType":"topFilter","aggregation":"avg","direction":"desc"}]}
[{"columns":["cName","state","enr"],"name":"College","type":"grid"}]
cd348bde-da13-42ff-842d-a89d1ef48f4b
null
USER
List the studios of each film and the number of films produced by that 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"}]
b6f43335-5b24-41bd-83b0-dbb6d12c5953
null
USER
Count the number of universities with over 20,000 enrollees for each affiliation type.
{"transformations":[{"column":"School_ID","transformationType":"aggregations","aggregation":"count"},{"column":"enrollment","transformationType":"condition","operation":">","value":20000},{"column":"affiliation","transformationType":"grouping"}]}
[{"columns":["School_ID","School","Location","Founded","Affiliation","Enrollment","Nickname","Primary_conference"],"name":"university","type":"grid"}]
8dafdef6-2024-4f7f-be93-344cdb6ad916
null
USER
How many different students play games?
{"transformations":[{"column":"StuID","transformationType":"aggregations","aggregation":"count"}]}
[{"columns":["StuID","GameID","Hours_Played"],"name":"Plays_Games","type":"grid"}]
69b434e4-51d1-4d9b-aa6c-2b1c8ad53c34
null
USER
How many different types of transactions are there?
{"transformations":[{"column":"transaction_type","transformationType":"aggregations","aggregation":"count"}]}
[{"columns":["transaction_id","previous_transaction_id","account_id","card_id","transaction_type","transaction_date","transaction_amount","transaction_comment","other_transaction_details"],"name":"Financial_Transactions","type":"grid"}]
3d61d5da-399c-4afb-b491-dd991c770451
null
USER
What is the version number and template type code for the template with version number later than 5?
{"transformations":[{"column":"version_number","transformationType":"condition","operation":">","value":5}]}
[{"columns":["Template_ID","Version_Number","Template_Type_Code","Date_Effective_From","Date_Effective_To","Template_Details"],"name":"Templates","type":"grid"}]
251bab00-cc46-4b2c-aa24-f1ba47407ece
null
USER
List investors of entrepreneurs and the number of entrepreneurs each investor supports.
{"transformations":[{"column":"Entrepreneur_ID","transformationType":"aggregations","aggregation":"count"},{"column":"Investor","transformationType":"grouping"}]}
[{"columns":["Entrepreneur_ID","People_ID","Company","Money_Requested","Investor"],"name":"entrepreneur","type":"grid"}]
0a339c02-c5b0-4ee4-a5c4-15aa562bed02
null
USER
List all customers’ names in the alphabetical order.
{"transformations":[{"column":"name","transformationType":"sorting","direction":"asc"}]}
[{"columns":["custid","name"],"name":"ACCOUNTS","type":"grid"}]
6c1aec24-eca4-406b-8c39-586862d68667
null
USER
What is the highest elevation of an airport in the country of Iceland?
{"transformations":[{"column":"elevation","transformationType":"aggregations","aggregation":"max"},{"column":"country","transformationType":"condition","operation":"=","value":"Iceland"}]}
[{"columns":["apid","name","city","country","x","y","elevation","iata","icao"],"name":"airports","type":"grid"}]
2182636f-135d-4d0f-8147-8be7c1b599fc
null
USER
Calculate the average age for each city and display those cities.
{"transformations":[{"column":"age","transformationType":"aggregations","aggregation":"avg"},{"column":"city_code","transformationType":"grouping"}]}
[{"columns":["StuID","LName","Fname","Age","Sex","Major","Advisor","city_code"],"name":"Student","type":"grid"}]
fe3242f1-3157-47a3-b243-0b9baa4f87b5
null
USER
Find the names of all person sorted in the descending order using age.
{"transformations":[{"column":"age","transformationType":"sorting","direction":"desc"}]}
[{"columns":["name","age","city","gender","job"],"name":"Person","type":"grid"}]
6c629ba1-6bad-43b0-8e2a-0fed37a17c24
null
USER
For each account type, find the average account balance of customers with credit score lower than 50.
{"transformations":[{"column":"acc_bal","transformationType":"aggregations","aggregation":"avg"},{"column":"credit_score","transformationType":"condition","operation":"<","value":50},{"column":"acc_type","transformationType":"grouping"}]}
[{"columns":["cust_ID","cust_name","acc_type","acc_bal","no_of_loans","credit_score","branch_ID","state"],"name":"customer","type":"grid"}]
7afcd9c0-3273-4b41-a4fa-77c4ca10396b
null
USER
List the name of the county with the largest population.
{"transformations":[{"column":"Population","limit":1,"transformationType":"topFilter","aggregation":"avg","direction":"desc"}]}
[{"columns":["County_ID","Name","Population","Police_officers","Residents_per_officer","Case_burden","Crime_rate","Police_force","Location"],"name":"county_public_safety","type":"grid"}]
161f44ce-86fe-4b45-9612-da5b51d02a1a
null
USER
Count the number of songs released for each format.
{"transformations":[{"column":"f_id","transformationType":"aggregations","aggregation":"count"},{"column":"formats","transformationType":"grouping"}]}
[{"columns":["f_id","artist_name","file_size","duration","formats"],"name":"files","type":"grid"}]
3b51460b-45d5-45ba-9bf4-d05b7fa015e0
null
USER
Return the average enrollment of universities founded before 1850.
{"transformations":[{"column":"enrollment","transformationType":"aggregations","aggregation":"avg"},{"column":"founded","transformationType":"condition","operation":"<","value":1850}]}
[{"columns":["School_ID","School","Location","Founded","Affiliation","Enrollment","Nickname","Primary_conference"],"name":"university","type":"grid"}]
4128f675-1d43-477e-b402-a6aa50346b81
null
USER
Find the salary and manager number for those employees who is working under a manager.
{"transformations":[{"column":"manager_id","transformationType":"condition","operation":"!=","value":"'null'"}]}
[{"columns":["EMPLOYEE_ID","FIRST_NAME","LAST_NAME","EMAIL","PHONE_NUMBER","HIRE_DATE","JOB_ID","SALARY","COMMISSION_PCT","MANAGER_ID","DEPARTMENT_ID"],"name":"employees","type":"grid"}]
c08c588e-b04c-494f-81c2-ba0d1d48016a
null
USER
How many singers are from each country?
{"transformations":[{"column":"Singer_ID","transformationType":"aggregations","aggregation":"count"},{"column":"country","transformationType":"grouping"}]}
[{"columns":["Singer_ID","Name","Country","Song_Name","Song_release_year","Age","Is_male"],"name":"singer","type":"grid"}]
81bb6175-318d-4db0-86e0-47a8ad9aa064
null
USER
What is the average age for each gender?
{"transformations":[{"column":"age","transformationType":"aggregations","aggregation":"avg"},{"column":"gender","transformationType":"grouping"}]}
[{"columns":["name","age","city","gender","job"],"name":"Person","type":"grid"}]
ebe4f860-1d80-4098-8f1c-9ccd58c96f80
null
USER
Given the titles of all courses, in order of titles and credits.
{"transformations":[{"column":"title","transformationType":"sorting","direction":"asc"},{"column":"credits","transformationType":"sorting","direction":"asc"}]}
[{"columns":["course_id","title","dept_name","credits"],"name":"course","type":"grid"}]
7cc4a9c0-93a3-43b3-8e43-86bda2d66fc1
null
USER
How many templates do we have?
{"transformations":[{"column":"Template_ID","transformationType":"aggregations","aggregation":"count"}]}
[{"columns":["Template_ID","Version_Number","Template_Type_Code","Date_Effective_From","Date_Effective_To","Template_Details"],"name":"Templates","type":"grid"}]
8068ee6c-256d-4042-b545-d9a24692bc98
null
USER
How many Professors are in building NEB?
{"transformations":[{"column":"FacID","transformationType":"aggregations","aggregation":"count"},{"column":"Rank","transformationType":"condition","operation":"=","value":"'Professor'"},{"column":"building","transformationType":"condition","operation":"=","value":"'NEB'"}]}
[{"columns":["FacID","Lname","Fname","Rank","Sex","Phone","Room","Building"],"name":"Faculty","type":"grid"}]
c448c3de-fbb1-4ef0-918a-71dc832627ba
null
USER
How old is each gender, on average?
{"transformations":[{"column":"age","transformationType":"aggregations","aggregation":"avg"},{"column":"gender","transformationType":"grouping"}]}
[{"columns":["name","age","city","gender","job"],"name":"Person","type":"grid"}]
d30550e5-b46a-4174-b84b-bc81c9f05518
null
USER
Find all the rooms that have a price higher than 160 and can accommodate more than 2 people. Report room names and ids.
{"transformations":[{"column":"basePrice","transformationType":"condition","operation":">","value":160},{"column":"maxOccupancy","transformationType":"condition","operation":">","value":2}]}
[{"columns":["RoomId","roomName","beds","bedType","maxOccupancy","basePrice","decor"],"name":"Rooms","type":"grid"}]
4a365eef-cb31-46ed-a352-1db115afadec
null
USER
What are the names of ships, ordered by year they were built and their class?
{"transformations":[{"column":"built_year","transformationType":"sorting","direction":"asc"},{"column":"CLASS","transformationType":"sorting","direction":"asc"}]}
[{"columns":["Ship_ID","Name","Type","Built_Year","Class","Flag"],"name":"Ship","type":"grid"}]
c0caf00a-4374-4515-8bb3-b9b917ffe9bd
null
USER
List the dates of games by the home team name in descending order.
{"transformations":[{"column":"home_team","transformationType":"sorting","direction":"desc"}]}
[{"columns":["stadium_id","id","Season","Date","Home_team","Away_team","Score","Competition"],"name":"game","type":"grid"}]
26593a6e-6d18-462e-8c35-245cbe2acfa2
null
USER
How many allergies are there?
{"transformations":[{"column":"allergy","transformationType":"aggregations","aggregation":"count"}]}
[{"columns":["Allergy","AllergyType"],"name":"Allergy_Type","type":"grid"}]
43225164-6d15-4173-9e59-af5ed40f905d
null
USER
What is the partition id of the user named "Iron Man".
{"transformations":[{"column":"name","transformationType":"condition","operation":"=","value":"Iron Man"}]}
[{"columns":["uid","name","email","partitionid","followers"],"name":"user_profiles","type":"grid"}]
6fa67505-0bcb-406d-bf02-a04ce5e7808b
null
USER
What is the average money requested by all entrepreneurs?
{"transformations":[{"column":"Money_Requested","transformationType":"aggregations","aggregation":"avg"}]}
[{"columns":["Entrepreneur_ID","People_ID","Company","Money_Requested","Investor"],"name":"entrepreneur","type":"grid"}]
50fbd301-e3ee-48c4-a21f-51b4610883b5
null
USER
What are the names, dates active, and number of deaths for storms that had 1 or more death?
{"transformations":[{"column":"number_deaths","transformationType":"condition","operation":">=","value":1}]}
[{"columns":["Storm_ID","Name","Dates_active","Max_speed","Damage_millions_USD","Number_Deaths"],"name":"storm","type":"grid"}]
e57c018c-84b7-44ad-af63-3dc71c4b85f0
null
USER
Identify the maximum weight for each type of pet and list the pet type alongside its maximum weight.
{"transformations":[{"column":"weight","transformationType":"aggregations","aggregation":"max"},{"column":"petType","transformationType":"grouping"}]}
[{"columns":["PetID","PetType","pet_age","weight"],"name":"Pets","type":"grid"}]
720bc873-b02e-4713-807a-559e166fd6bc
null
USER
What are the different names of all the races in reverse alphabetical order?
{"transformations":[{"column":"name","transformationType":"sorting","direction":"desc"}]}
[{"columns":["raceId","year","round","circuitId","name","date","time","url"],"name":"races","type":"grid"}]
59e5b8ec-5578-47e9-a004-69dea34df943
null
USER
Determine the total count of countries where Spanish is the most spoken language.
{"transformations":[{"column":"CountryCode","transformationType":"aggregations","aggregation":"count"},{"column":"Percentage","transformationType":"aggregations","aggregation":"max"},{"column":"LANGUAGE","transformationType":"condition","operation":"=","value":"'Spanish'"},{"column":"CountryCode","transformationType":"grouping"}]}
[{"columns":["CountryCode","Language","IsOfficial","Percentage"],"name":"countrylanguage","type":"grid"}]
81e04a85-067a-4516-9a3d-12c21282526f
null
USER
Which classrooms are used by grade 5?
{"transformations":[{"column":"grade","transformationType":"condition","operation":"=","value":5}]}
[{"columns":["LastName","FirstName","Grade","Classroom"],"name":"list","type":"grid"}]
e0a84298-636f-4528-a84c-c00ff321d0be
null
USER
What is the total surface area of the countries in the Caribbean region?
{"transformations":[{"column":"SurfaceArea","transformationType":"aggregations","aggregation":"sum"},{"column":"Region","transformationType":"condition","operation":"=","value":"'Caribbean'"}]}
[{"columns":["Code","Name","Continent","Region","SurfaceArea","IndepYear","Population","LifeExpectancy","GNP","GNPOld","LocalName","GovernmentForm","HeadOfState","Capital","Code2"],"name":"country","type":"grid"}]
3a3b7d23-63f4-48af-ab66-57b72363500a
null
USER
How old is each student, and how many students are of each age?
{"transformations":[{"column":"StuID","transformationType":"aggregations","aggregation":"count"},{"column":"age","transformationType":"grouping"}]}
[{"columns":["StuID","LName","Fname","Age","Sex","Major","Advisor","city_code"],"name":"Student","type":"grid"}]
bd57f448-c43c-4e49-8570-80014f4dae68
null
USER
What are the names of the winner and loser who played in the longest match?
{"transformations":[{"column":"minutes","limit":1,"transformationType":"topFilter","aggregation":"avg","direction":"desc"}]}
[{"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"}]
6dbad628-7be1-4009-969e-d0a88e879072
null
USER
Which Advisor has most of students? List advisor and the number of students.
{"transformations":[{"column":"StuID","transformationType":"aggregations","aggregation":"count"},{"column":"Advisor","transformationType":"grouping"},{"column":"Advisor","limit":1,"transformationType":"topFilter","aggregation":"count","direction":"desc"}]}
[{"columns":["StuID","LName","Fname","Age","Sex","Major","Advisor","city_code"],"name":"Student","type":"grid"}]
a5587240-af56-49a0-9443-57a2931ed37c
null
USER
find the number of players whose points are lower than 30 in each position.
{"transformations":[{"column":"Player_ID","transformationType":"aggregations","aggregation":"count"},{"column":"points","transformationType":"condition","operation":"<","value":30},{"column":"POSITION","transformationType":"grouping"}]}
[{"columns":["Player_ID","name","Position","Club_ID","Apps","Tries","Goals","Points"],"name":"player","type":"grid"}]
c4516d30-0156-4c05-8f79-c3bae1a685c1
null
USER
Show the id of each employee and the number of authorized document destructions for each employee.
{"transformations":[{"column":"hours_played","transformationType":"aggregations","aggregation":"sum"},{"column":"gameid","transformationType":"grouping"}]}
[{"columns":["StuID","GameID","Hours_Played"],"name":"Plays_Games","type":"grid"}]
1166def5-53c3-4ab2-bec0-fd461c9eeae5
null
USER
Find the type and weight of the youngest pet.
{"transformations":[{"column":"pet_age","limit":1,"transformationType":"topFilter","aggregation":"avg","direction":"asc"}]}
[{"columns":["PetID","PetType","pet_age","weight"],"name":"Pets","type":"grid"}]
447f5269-9220-4ad3-be41-2c6dfe113e89
null
USER
What are the name and assets of each company, sorted in ascending order of company name?
{"transformations":[{"column":"name","transformationType":"sorting","direction":"asc"}]}
[{"columns":["id","name","Headquarters","Industry","Sales_billion","Profits_billion","Assets_billion","Market_Value_billion"],"name":"Companies","type":"grid"}]
68e0f50b-a8a6-4e66-8a30-148bb20a4fb5
null
USER
Show the id and name of the aircraft with the maximum distance.
{"transformations":[{"column":"distance","limit":1,"transformationType":"topFilter","aggregation":"avg","direction":"desc"}]}
[{"columns":["aid","name","distance"],"name":"aircraft","type":"grid"}]
c0ef7574-fc9d-4522-a507-ab372b69c196
null
USER
Find the description of the club "Pen and Paper Gaming".
{"transformations":[{"column":"clubname","transformationType":"condition","operation":"=","value":"'Pen and Paper Gaming'"}]}
[{"columns":["ClubID","ClubName","ClubDesc","ClubLocation"],"name":"Club","type":"grid"}]
14ef5cf4-f2ac-41dd-b73c-8695c9d70fc4
null
USER
What are the locations and names of all stations with capacity between 5000 and 10000?
{"transformations":[{"column":"capacity","transformationType":"condition","operation":">=","value":5000},{"column":"capacity","transformationType":"condition","operation":"<=","value":10000}]}
[{"columns":["Stadium_ID","Location","Name","Capacity","Highest","Lowest","Average"],"name":"stadium","type":"grid"}]
7eb1cdee-0add-4099-b52e-e4b44a2f4ee9
null
USER
When did the first payment happen?
{"transformations":[{"column":"payment_date","limit":1,"transformationType":"topFilter","aggregation":"avg","direction":"asc"}]}
[{"columns":["payment_id","customer_id","staff_id","rental_id","amount","payment_date","last_update"],"name":"payment","type":"grid"}]
1fc35e3f-da18-4d7d-8984-61402e694298
null
USER
Show the transaction types and the total amount of transactions.
{"transformations":[{"column":"transaction_amount","transformationType":"aggregations","aggregation":"sum"},{"column":"transaction_type","transformationType":"grouping"}]}
[{"columns":["transaction_id","account_id","invoice_number","transaction_type","transaction_date","transaction_amount","transaction_comment","other_transaction_details"],"name":"Financial_Transactions","type":"grid"}]
ac010a81-5057-4fbb-87d9-be031ddee72b
null
USER
What is the description for the CIS-220 and how many credits does it have?
{"transformations":[{"column":"crs_code","transformationType":"condition","operation":"=","value":"CIS-220"}]}
[{"columns":["CRS_CODE","DEPT_CODE","CRS_DESCRIPTION","CRS_CREDIT"],"name":"COURSE","type":"grid"}]
7b075963-6c75-4dde-8c91-016461346ded
null
USER
A list of the top 8 countries by gross/total invoice size. List country name and gross invoice size.
{"transformations":[{"column":"total","transformationType":"aggregations","aggregation":"sum"},{"column":"billing_country","transformationType":"grouping"},{"column":"total","limit":8,"transformationType":"topFilter","aggregation":"sum","direction":"desc"}]}
[{"columns":["id","customer_id","invoice_date","billing_address","billing_city","billing_state","billing_country","billing_postal_code","total"],"name":"invoices","type":"grid"}]
b250cdff-d7b4-4905-91a1-719d8be28603
null
USER
What are the region and population of Angola?
{"transformations":[{"column":"Name","transformationType":"condition","operation":"=","value":"'Angola'"}]}
[{"columns":["Code","Name","Continent","Region","SurfaceArea","IndepYear","Population","LifeExpectancy","GNP","GNPOld","LocalName","GovernmentForm","HeadOfState","Capital","Code2"],"name":"country","type":"grid"}]
70650e4d-b536-42a8-8c22-4d004e36cfc4
null
USER
What is the average number of rooms of apartments with type code "Studio"?
{"transformations":[{"column":"room_count","transformationType":"aggregations","aggregation":"avg"},{"column":"apt_type_code","transformationType":"condition","operation":"=","value":"'Studio'"}]}
[{"columns":["apt_id","building_id","apt_type_code","apt_number","bathroom_count","bedroom_count","room_count"],"name":"Apartments","type":"grid"}]
087c3ece-e4f5-4360-88d2-a1a5bbc88b88
null
USER
What are the states, account types, and credit scores for customers who have 0 loans?
{"transformations":[{"column":"no_of_loans","transformationType":"condition","operation":"=","value":0}]}
[{"columns":["cust_ID","cust_name","acc_type","acc_bal","no_of_loans","credit_score","branch_ID","state"],"name":"customer","type":"grid"}]
17695249-38f8-4ba6-b7d7-c45a388bc93c
null
USER
Display the order IDs and the number of products in each order.
{"transformations":[{"column":"Percentage","transformationType":"aggregations","aggregation":"max"},{"column":"LANGUAGE","transformationType":"condition","operation":"=","value":"'Spanish'"},{"column":"CountryCode","transformationType":"grouping"}]}
[{"columns":["CountryCode","Language","IsOfficial","Percentage"],"name":"countrylanguage","type":"grid"}]
5c42c873-88b3-41fd-9373-33cdd4ce924b
null
USER
What is the total number of games played?
{"transformations":[{"column":"gamesplayed","transformationType":"aggregations","aggregation":"sum"}]}
[{"columns":["StuID","SportName","HoursPerWeek","GamesPlayed","OnScholarship"],"name":"SportsInfo","type":"grid"}]
a0959843-4103-4f1b-8dcf-25d8ca86dbd9
null
USER
List the types of competition and the number of competitions for each type.
{"transformations":[{"column":"Competition_ID","transformationType":"aggregations","aggregation":"count"},{"column":"Competition_type","transformationType":"grouping"}]}
[{"columns":["Competition_ID","Year","Competition_type","Country"],"name":"competition","type":"grid"}]
2172c383-1308-41cd-8055-5a214af95b4d
null
USER
Find the first name of students in the descending order of age.
{"transformations":[{"column":"Age","transformationType":"sorting","direction":"desc"}]}
[{"columns":["StuID","LName","Fname","Age","Sex","Major","Advisor","city_code"],"name":"Student","type":"grid"}]
9be22570-261f-4352-9185-c66115e866ba
null
USER
What is average age of male for different job title?
{"transformations":[{"column":"age","transformationType":"aggregations","aggregation":"avg"},{"column":"gender","transformationType":"condition","operation":"=","value":"male"},{"column":"job","transformationType":"grouping"}]}
[{"columns":["name","age","city","gender","job"],"name":"Person","type":"grid"}]
0238d664-0f2f-4aa0-87e9-d343089f375f
null
USER
Show the party and the number of drivers in each party.
{"transformations":[{"column":"Driver_ID","transformationType":"aggregations","aggregation":"count"},{"column":"party","transformationType":"grouping"}]}
[{"columns":["Driver_ID","Name","Party","Home_city","Age"],"name":"driver","type":"grid"}]
19357dbd-7acb-4813-808c-da431fad6134
null
USER
What is the reviewer id of Daniel Lewis?
{"transformations":[{"column":"name","transformationType":"condition","operation":"=","value":"'Daniel Lewis'"}]}
[{"columns":["rID","name"],"name":"Reviewer","type":"grid"}]
d58838db-df92-4df6-9374-24b5ac7d0369
null
USER
Show all template type codes and number of templates for each.
{"transformations":[{"column":"Template_ID","transformationType":"aggregations","aggregation":"count"},{"column":"template_type_code","transformationType":"grouping"}]}
[{"columns":["Template_ID","Version_Number","Template_Type_Code","Date_Effective_From","Date_Effective_To","Template_Details"],"name":"Templates","type":"grid"}]
8839aaad-dd32-46a5-95a4-09482c2a2175
null
USER
What is the first name of the author with last name "Ueno"?
{"transformations":[{"column":"lname","transformationType":"condition","operation":"=","value":"'Ueno'"}]}
[{"columns":["authID","lname","fname"],"name":"Authors","type":"grid"}]
1252a5d9-9903-4233-bdd1-19c5b6c04cb5
null
USER
Give the flight numbers of flights landing at APG.
{"transformations":[{"column":"DestAirport","transformationType":"condition","operation":"=","value":"'APG'"}]}
[{"columns":["Airline","FlightNo","SourceAirport","DestAirport"],"name":"flights","type":"grid"}]
0c4bf9a5-d308-43c5-9bcd-668aa8188ba9
null
USER
List the distinct positions of pilots older than 30.
{"transformations":[{"column":"Age","transformationType":"condition","operation":">","value":30}]}
[{"columns":["Pilot_ID","Pilot_name","Rank","Age","Nationality","Position","Join_Year","Team"],"name":"pilot","type":"grid"}]