id
stringlengths 36
36
| parent_id
float64 | role
stringclasses 1
value | question
stringlengths 18
215
| dsl
stringlengths 87
369
| context
stringclasses 452
values |
---|---|---|---|---|---|
a951f41e-8c5f-4884-a991-b93186ad3e92 | null | USER | What are the open dates and years for the shop named Apple? | {"transformations":[{"column":"Shop_Name","transformationType":"condition","operation":"=","value":"'Apple'"}]} | [{"columns":["Shop_ID","Shop_Name","Location","Open_Date","Open_Year"],"name":"shop","type":"grid"}] |
2c8c43cd-f25c-45b2-89b0-9c92c9711e9a | null | USER | What is the name of the school with smallest enrollment size per state? | {"transformations":[{"column":"enr","transformationType":"aggregations","aggregation":"min"},{"column":"state","transformationType":"grouping"}]} | [{"columns":["cName","state","enr"],"name":"College","type":"grid"}] |
b0dfc317-5642-4cdf-a1ab-e95fdf725f30 | null | USER | What are the names of airports in Aberdeen? | {"transformations":[{"column":"City","transformationType":"condition","operation":"=","value":"'Aberdeen'"}]} | [{"columns":["City","AirportCode","AirportName","Country","CountryAbbrev"],"name":"airports","type":"grid"}] |
b70ccda6-53c4-46aa-b349-ce405255ce11 | null | USER | What is the average price of clothes? | {"transformations":[{"column":"product_price","transformationType":"aggregations","aggregation":"avg"},{"column":"product_type_code","transformationType":"condition","operation":"=","value":"Clothes"}]} | [{"columns":["product_id","product_type_code","product_name","product_price"],"name":"Products","type":"grid"}] |
93b799da-4661-4726-925a-84847e1cb324 | null | USER | Find the grade studying in room 105. | {"transformations":[{"column":"classroom","transformationType":"condition","operation":"=","value":105}]} | [{"columns":["LastName","FirstName","Grade","Classroom"],"name":"list","type":"grid"}] |
a206e995-8917-4762-9bd1-03dd6a7f876b | null | USER | List the method, date and amount of all the payments, in ascending order of date. | {"transformations":[{"column":"Date_Payment_Made","transformationType":"sorting","direction":"asc"}]} | [{"columns":["Payment_ID","Settlement_ID","Payment_Method_Code","Date_Payment_Made","Amount_Payment"],"name":"Payments","type":"grid"}] |
4a59f0a0-5d21-4b9d-ab25-9c35f86f945b | null | USER | Count the number of customers who have an account. | {"transformations":[{"column":"customer_id","transformationType":"aggregations","aggregation":"count"}]} | [{"columns":["account_id","customer_id","date_account_opened","account_name","other_account_details"],"name":"Accounts","type":"grid"}] |
4acb54b9-1df4-4f43-96ce-1191402e242f | null | USER | List the event venues and names that have the top 2 most number of people attended. | {"transformations":[{"column":"Event_Attendance","limit":2,"transformationType":"topFilter","aggregation":"avg","direction":"desc"}]} | [{"columns":["Event_ID","Date","Venue","Name","Event_Attendance"],"name":"event","type":"grid"}] |
8bf2e0dd-c33d-4981-8c69-8d309afe5c13 | null | USER | When did the staff member with first name as Janessa and last name as Sawayn join the company? | {"transformations":[{"column":"first_name","transformationType":"condition","operation":"=","value":"'Janessa'"},{"column":"last_name","transformationType":"condition","operation":"=","value":"'Sawayn'"}]} | [{"columns":["staff_id","staff_address_id","nickname","first_name","middle_name","last_name","date_of_birth","date_joined_staff","date_left_staff"],"name":"Staff","type":"grid"}] |
b23b6bdc-4335-4d14-b659-7e73751865fb | null | USER | What is the id and name of the aircraft that can cover the maximum distance? | {"transformations":[{"column":"distance","limit":1,"transformationType":"topFilter","aggregation":"avg","direction":"desc"}]} | [{"columns":["aid","name","distance"],"name":"aircraft","type":"grid"}] |
60c7cd4e-7fe9-49fb-95ae-e0754d06a41c | null | USER | Show all main industry and total market value in each industry. | {"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"}] |
fd639483-de8b-448c-b868-87789cfaa708 | null | USER | What are the titles of the books whose writer is not "Elaine Lee"? | {"transformations":[{"column":"Writer","transformationType":"condition","operation":"!=","value":"'Elaine Lee'"}]} | [{"columns":["Book_ID","Title","Issues","Writer"],"name":"book","type":"grid"}] |
b44c5586-ff5f-4759-884e-c4ce86457a5e | null | USER | Calculate the average weight for each type of pet. | {"transformations":[{"column":"Ship_ID","transformationType":"aggregations","aggregation":"count"},{"column":"TYPE","transformationType":"grouping"}]} | [{"columns":["Ship_ID","Name","Type","Nationality","Tonnage"],"name":"ship","type":"grid"}] |
b777d068-cb0e-49a8-b2d5-2bb6f17c0915 | null | USER | Display the employee IDs for each employee and the final dates of employment at their last job. | {"transformations":[{"column":"end_date","transformationType":"aggregations","aggregation":"max"},{"column":"employee_id","transformationType":"grouping"}]} | [{"columns":["EMPLOYEE_ID","START_DATE","END_DATE","JOB_ID","DEPARTMENT_ID"],"name":"job_history","type":"grid"}] |
110844c9-782f-4636-bce1-dbb522ba06c1 | null | USER | How many different colleges do attend the tryout test? | {"transformations":[{"column":"cName","transformationType":"aggregations","aggregation":"count"}]} | [{"columns":["pID","cName","pPos","decision"],"name":"Tryout","type":"grid"}] |
44fd298a-de06-4b0f-b70c-0f66da415e89 | null | USER | Find the total revenue created by the companies whose headquarter is located at Austin. | {"transformations":[{"column":"revenue","transformationType":"aggregations","aggregation":"sum"},{"column":"headquarter","transformationType":"condition","operation":"=","value":"Austin"}]} | [{"columns":["Code","Name","Headquarter","Founder","Revenue"],"name":"Manufacturers","type":"grid"}] |
3d19ecd2-4017-48e5-a393-b9faca879254 | null | USER | Show the different countries and the number of members from each. | {"transformations":[{"column":"Member_ID","transformationType":"aggregations","aggregation":"count"},{"column":"Country","transformationType":"grouping"}]} | [{"columns":["Member_ID","Name","Country","College_ID"],"name":"member","type":"grid"}] |
a19a4323-b38a-4c57-b413-398fedfc307f | null | USER | Display all document ids and the paragraph count for each, ordered by document id. | {"transformations":[{"column":"Paragraph_ID","transformationType":"aggregations","aggregation":"count"},{"column":"document_id","transformationType":"grouping"},{"column":"document_id","transformationType":"sorting","direction":"asc"}]} | [{"columns":["Paragraph_ID","Document_ID","Paragraph_Text","Other_Details"],"name":"Paragraphs","type":"grid"}] |
5ac265c7-d91f-4462-8bfc-a32f5d5d6b62 | null | USER | What is the number of distinct languages used around the world? | {"transformations":[{"column":"LANGUAGE","transformationType":"aggregations","aggregation":"count"}]} | [{"columns":["CountryCode","Language","IsOfficial","Percentage"],"name":"countrylanguage","type":"grid"}] |
4548f099-2527-4fbf-a0da-0962aef2736c | null | USER | What is the average age for males in each job? | {"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"}] |
5feaccba-ee46-4ec4-b1fb-00967ab665a4 | null | USER | How many rooms with a capacity of over 50 are there in each building? | {"transformations":[{"column":"FacID","transformationType":"aggregations","aggregation":"count"},{"column":"rank","transformationType":"condition","operation":"=","value":"'AsstProf'"},{"column":"sex","transformationType":"grouping"}]} | [{"columns":["FacID","Lname","Fname","Rank","Sex","Phone","Room","Building"],"name":"Faculty","type":"grid"}] |
26e29532-209e-4ff6-9a30-8701f18ad0c5 | null | USER | List all department names ordered by their starting date. | {"transformations":[{"column":"mgr_start_date","transformationType":"sorting","direction":"asc"}]} | [{"columns":["Dname","Dnumber","Mgr_ssn","Mgr_start_date"],"name":"department","type":"grid"}] |
11c25f37-e8ed-4bf9-8534-0c0865691ac8 | null | USER | What are the airline names and abbreviations for airlines in the USA? | {"transformations":[{"column":"Country","transformationType":"condition","operation":"=","value":"'USA'"}]} | [{"columns":["uid","Airline","Abbreviation","Country"],"name":"airlines","type":"grid"}] |
e6f46475-2361-4871-8a8e-c58eb3f68f36 | null | USER | Find the average access count across all documents? | {"transformations":[{"column":"access_count","transformationType":"aggregations","aggregation":"avg"}]} | [{"columns":["document_code","document_structure_code","document_type_code","access_count","document_name"],"name":"Documents","type":"grid"}] |
643d429d-8390-4842-92d5-a909de723a82 | null | USER | How many markets have number of cities smaller 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"}] |
28ee37c2-deeb-4c8f-a81a-346f0c27895a | null | USER | How many adults stay in the room CONRAD SELBIG checked in on Oct 23, 2010? | {"transformations":[{"column":"CheckIn","transformationType":"condition","operation":"=","value":"'2010-10-23'"},{"column":"FirstName","transformationType":"condition","operation":"=","value":"'CONRAD'"},{"column":"LastName","transformationType":"condition","operation":"=","value":"'SELBIG'"}]} | [{"columns":["Code","Room","CheckIn","CheckOut","Rate","LastName","FirstName","Adults","Kids"],"name":"Reservations","type":"grid"}] |
e7861307-b3ba-438b-b239-5b49abdc566d | null | USER | How many different loser names are there? | {"transformations":[{"column":"loser_name","transformationType":"aggregations","aggregation":"count"}]} | [{"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"}] |
03eac378-fe73-4921-976e-878691c09f1e | null | USER | List the name of actors in ascending alphabetical order. | {"transformations":[{"column":"Name","transformationType":"sorting","direction":"asc"}]} | [{"columns":["Actor_ID","Name","Musical_ID","Character","Duration","age"],"name":"actor","type":"grid"}] |
962889e7-43cc-4ff7-834b-e3884ad8c19e | null | USER | What are the grapes, wineries and years for wines with price higher than 100, sorted by year? | {"transformations":[{"column":"Price","transformationType":"condition","operation":">","value":100},{"column":"YEAR","transformationType":"sorting","direction":"asc"}]} | [{"columns":["No","Grape","Winery","Appelation","State","Name","Year","Price","Score","Cases","Drink"],"name":"wine","type":"grid"}] |
f144bff0-fb17-4e0f-8ef1-4cc6a2ca872a | null | USER | What are the types of film market estimations in year 1995? | {"transformations":[{"column":"YEAR","transformationType":"condition","operation":"=","value":1995}]} | [{"columns":["Estimation_ID","Low_Estimate","High_Estimate","Film_ID","Type","Market_ID","Year"],"name":"film_market_estimation","type":"grid"}] |
8636f200-f06d-48f5-b4b8-1ec9428da8b7 | null | USER | Give me the payment Id, the date and the amount for all the payments processed with Visa. | {"transformations":[{"column":"Payment_Method_Code","transformationType":"condition","operation":"=","value":"Visa"}]} | [{"columns":["Payment_ID","Settlement_ID","Payment_Method_Code","Date_Payment_Made","Amount_Payment"],"name":"Payments","type":"grid"}] |
19baffc2-c4da-4285-b808-087ee5a8bcea | null | USER | How many books does each publisher have? | {"transformations":[{"column":"book_club_id","transformationType":"aggregations","aggregation":"count"},{"column":"publisher","transformationType":"grouping"}]} | [{"columns":["book_club_id","Year","Author_or_Editor","Book_Title","Publisher","Category","Result"],"name":"book_club","type":"grid"}] |
1b5f9418-1060-4da4-96f9-9013ba8172fb | null | USER | What are the numbers of constructors for different nationalities? | {"transformations":[{"column":"constructorId","transformationType":"aggregations","aggregation":"count"},{"column":"nationality","transformationType":"grouping"}]} | [{"columns":["constructorId","constructorRef","name","nationality","url"],"name":"constructors","type":"grid"}] |
0a17df35-c26b-451f-b418-e7395d261439 | null | USER | Find the last names of students studying in room 111. | {"transformations":[{"column":"classroom","transformationType":"condition","operation":"=","value":111}]} | [{"columns":["LastName","FirstName","Grade","Classroom"],"name":"list","type":"grid"}] |
3ed82e32-5348-41b7-b457-1c96911cf81f | null | USER | Show the student IDs and the number of friends for each student. | {"transformations":[{"column":"product_price","transformationType":"aggregations","aggregation":"avg"},{"column":"product_category_code","transformationType":"grouping"}]} | [{"columns":["product_id","parent_product_id","product_category_code","date_product_first_available","date_product_discontinued","product_name","product_description","product_price"],"name":"Products","type":"grid"}] |
31b1bc19-839e-4d9c-b75b-6e9f64fd3a19 | null | USER | What is the name and salary of the employee with the id 242518965? | {"transformations":[{"column":"eid","transformationType":"condition","operation":"=","value":242518965}]} | [{"columns":["eid","name","salary"],"name":"employee","type":"grid"}] |
09bfa756-4ff3-439d-bc4a-f45bb2896989 | null | USER | How many players are there? | {"transformations":[{"column":"player_id","transformationType":"aggregations","aggregation":"count"}]} | [{"columns":["player_id","first_name","last_name","hand","birth_date","country_code"],"name":"players","type":"grid"}] |
ea30c2a2-3665-4e80-a84a-10959f6b1c4a | null | USER | List the names of pilots in ascending order of rank. | {"transformations":[{"column":"Rank","transformationType":"sorting","direction":"asc"}]} | [{"columns":["Pilot_ID","Pilot_name","Rank","Age","Nationality","Position","Join_Year","Team"],"name":"pilot","type":"grid"}] |
e480a763-6b12-4631-b220-5e3238fe0e00 | null | USER | Count the number of friends for each student. | {"transformations":[{"column":"student_id","transformationType":"aggregations","aggregation":"count"},{"column":"student_id","transformationType":"grouping"}]} | [{"columns":["student_id","friend_id"],"name":"Friend","type":"grid"}] |
409a448b-bd72-4f21-8fb7-03e4e7c34c72 | null | USER | Count the number of employees | {"transformations":[{"column":"Employee_ID","transformationType":"aggregations","aggregation":"count"}]} | [{"columns":["Employee_ID","Name","Age","City"],"name":"employee","type":"grid"}] |
42cce528-62f7-465b-a469-e0d50babe6c7 | null | USER | What is the smallest weight of the car produced with 8 cylinders on 1974 ? | {"transformations":[{"column":"weight","transformationType":"aggregations","aggregation":"min"},{"column":"cylinders","transformationType":"condition","operation":"=","value":8},{"column":"year","transformationType":"condition","operation":"=","value":1974}]} | [{"columns":["Id","MPG","Cylinders","Edispl","Horsepower","Weight","Accelerate","Year"],"name":"cars_data","type":"grid"}] |
eaaa8fac-41f2-45a6-abac-f8d555a2df3b | null | USER | How many students are there for each major? | {"transformations":[{"column":"StuID","transformationType":"aggregations","aggregation":"count"},{"column":"major","transformationType":"grouping"}]} | [{"columns":["StuID","LName","Fname","Age","Sex","Major","Advisor","city_code"],"name":"Student","type":"grid"}] |
8f551385-2824-4999-8ff7-63822fe40522 | null | USER | Find the name of the dorm with the largest capacity. | {"transformations":[{"column":"student_capacity","limit":1,"transformationType":"topFilter","aggregation":"avg","direction":"desc"}]} | [{"columns":["dormid","dorm_name","student_capacity","gender"],"name":"Dorm","type":"grid"}] |
acda02e2-8388-4df7-a62d-653bc9fc652a | null | USER | What is the name of the highest mountain? | {"transformations":[{"column":"Height","limit":1,"transformationType":"topFilter","aggregation":"avg","direction":"desc"}]} | [{"columns":["Mountain_ID","Name","Height","Prominence","Range","Country"],"name":"mountain","type":"grid"}] |
9fa0b6ea-c264-40f4-8ce9-2141de059a2d | null | USER | Determine the number of different constructors for each nationality. | {"transformations":[{"column":"constructorId","transformationType":"aggregations","aggregation":"count"},{"column":"nationality","transformationType":"grouping"}]} | [{"columns":["constructorId","constructorRef","name","nationality","url"],"name":"constructors","type":"grid"}] |
63874e20-11d4-44c2-8758-1705dd6b2c04 | null | USER | What is the total credit does each department offer? | {"transformations":[{"column":"crs_credit","transformationType":"aggregations","aggregation":"sum"},{"column":"dept_code","transformationType":"grouping"}]} | [{"columns":["CRS_CODE","DEPT_CODE","CRS_DESCRIPTION","CRS_CREDIT"],"name":"COURSE","type":"grid"}] |
b7573927-77e5-4f9b-856c-0e229754bd97 | null | USER | Count the number of countries. | {"transformations":[{"column":"County_ID","transformationType":"aggregations","aggregation":"count"}]} | [{"columns":["County_ID","Name","Population","Police_officers","Residents_per_officer","Case_burden","Crime_rate","Police_force","Location"],"name":"county_public_safety","type":"grid"}] |
62d53bae-f9ab-4aea-8ba8-b2486ea1fa06 | null | USER | Show the order ids and the number of invoices for each order. | {"transformations":[{"column":"invoice_number","transformationType":"aggregations","aggregation":"count"},{"column":"order_id","transformationType":"grouping"}]} | [{"columns":["invoice_number","order_id","invoice_date"],"name":"Invoices","type":"grid"}] |
c5beddb8-ace0-4ff8-99b3-05d808f66992 | null | USER | Which head's name has the substring 'Ha'? List the id and name. | {"transformations":[{"column":"name","transformationType":"condition","operation":"contains","value":"Ha"}]} | [{"columns":["head_ID","name","born_state","age"],"name":"head","type":"grid"}] |
13fa3e95-e322-47a7-92a1-a5f2fdd3639a | null | USER | For each type, how many ships are there? | {"transformations":[{"column":"Ship_ID","transformationType":"aggregations","aggregation":"count"},{"column":"TYPE","transformationType":"grouping"}]} | [{"columns":["Ship_ID","Name","Type","Nationality","Tonnage"],"name":"ship","type":"grid"}] |
e1a16fa6-5447-4958-9f8a-398153ddeee0 | null | USER | Count the number of accounts for each customer ID. | {"transformations":[{"column":"product_price","transformationType":"aggregations","aggregation":"avg"},{"column":"product_category_code","transformationType":"grouping"}]} | [{"columns":["product_id","parent_product_id","product_category_code","date_product_first_available","date_product_discontinued","product_name","product_description","product_price"],"name":"Products","type":"grid"}] |
96cc93d9-6fdb-4857-b104-ea01aa5aceb2 | null | USER | Please list all songs in volumes in ascending alphabetical order. | {"transformations":[{"column":"Song","transformationType":"sorting","direction":"asc"}]} | [{"columns":["Volume_ID","Volume_Issue","Issue_Date","Weeks_on_Top","Song","Artist_ID"],"name":"volume","type":"grid"}] |
5287e438-3d31-4166-8ab9-537e9a9fc691 | null | USER | Count the number of distinct product types. | {"transformations":[{"column":"product_type_code","transformationType":"aggregations","aggregation":"count"}]} | [{"columns":["product_id","product_type_code","product_name","product_price"],"name":"Products","type":"grid"}] |
55445ae9-007e-4e5c-b165-f51508da49f4 | null | USER | What is the payment method code and party phone of the party with the email '[email protected]'? | {"transformations":[{"column":"party_email","transformationType":"condition","operation":"=","value":"'[email protected]'"}]} | [{"columns":["party_id","payment_method_code","party_phone","party_email"],"name":"Parties","type":"grid"}] |
a02240b8-f380-4f3c-ab7e-2cc90d53a6a9 | null | USER | Can you show all majors along with the corresponding number of students? | {"transformations":[{"column":"StuID","transformationType":"aggregations","aggregation":"count"},{"column":"major","transformationType":"grouping"}]} | [{"columns":["StuID","LName","Fname","Age","Sex","Major","Advisor","city_code"],"name":"Student","type":"grid"}] |
a6826bc9-b039-4607-aefd-d6113c7431eb | null | USER | How many regions do we have? | {"transformations":[{"column":"Region_id","transformationType":"aggregations","aggregation":"count"}]} | [{"columns":["Region_id","Region_code","Region_name"],"name":"region","type":"grid"}] |
fc1105c1-bf21-41a6-b421-731df1dbf57a | null | USER | How many songs were released for each format? | {"transformations":[{"column":"Price","transformationType":"aggregations","aggregation":"avg"},{"column":"Score","transformationType":"aggregations","aggregation":"avg"},{"column":"Appelation","transformationType":"grouping"}]} | [{"columns":["No","Grape","Winery","Appelation","State","Name","Year","Price","Score","Cases","Drink"],"name":"wine","type":"grid"}] |
aad37d41-a133-4d66-b3f5-b1ed61b79548 | null | USER | What is the first name, gpa and phone number of the top 5 students with highest gpa? | {"transformations":[{"column":"stu_gpa","limit":5,"transformationType":"topFilter","aggregation":"avg","direction":"desc"}]} | [{"columns":["STU_NUM","STU_LNAME","STU_FNAME","STU_INIT","STU_DOB","STU_HRS","STU_CLASS","STU_GPA","STU_TRANSFER","DEPT_CODE","STU_PHONE","PROF_NUM"],"name":"STUDENT","type":"grid"}] |
9e0a8ca5-bdbf-4133-a78b-fff7193f9793 | null | USER | Which year has the most degrees conferred? | {"transformations":[{"column":"YEAR","transformationType":"grouping"},{"column":"degrees","limit":1,"transformationType":"topFilter","aggregation":"sum","direction":"desc"}]} | [{"columns":["Year","Campus","Degrees"],"name":"degrees","type":"grid"}] |
ea3dc1c5-96bf-44c1-921e-24e93d718fcc | null | USER | What is the oldest log id and its corresponding problem id? | {"transformations":[{"column":"log_entry_date","limit":1,"transformationType":"topFilter","aggregation":"avg","direction":"asc"}]} | [{"columns":["problem_log_id","assigned_to_staff_id","problem_id","problem_category_code","problem_status_code","log_entry_date","log_entry_description","log_entry_fix","other_log_details"],"name":"Problem_Log","type":"grid"}] |
d4f01691-78a7-4003-beab-87ae6d47a2fb | null | USER | What is the total number of students? | {"transformations":[{"column":"StuID","transformationType":"aggregations","aggregation":"count"}]} | [{"columns":["StuID","LName","Fname","Age","Sex","Major","Advisor","city_code"],"name":"Student","type":"grid"}] |
808e1e8c-a410-40f2-ac48-e355921bda75 | null | USER | What are the district names and city populations for all districts that between 200,000 and 2,000,000 residents? | {"transformations":[{"column":"City_Population","transformationType":"condition","operation":">=","value":200000},{"column":"City_Population","transformationType":"condition","operation":"<=","value":2000000}]} | [{"columns":["District_ID","District_name","Headquartered_City","City_Population","City_Area"],"name":"district","type":"grid"}] |
9df7ce46-a50e-4a18-b7dc-9e7661ae2042 | null | USER | Determine the average base price of rooms, grouped by bed type. | {"transformations":[{"column":"basePrice","transformationType":"aggregations","aggregation":"avg"},{"column":"bedType","transformationType":"grouping"}]} | [{"columns":["RoomId","roomName","beds","bedType","maxOccupancy","basePrice","decor"],"name":"Rooms","type":"grid"}] |
b5fc201d-6df8-435f-9bdb-382131d07327 | null | USER | What are the birth dates of employees living in Edmonton? | {"transformations":[{"column":"City","transformationType":"condition","operation":"=","value":"'Edmonton'"}]} | [{"columns":["EmployeeId","LastName","FirstName","Title","ReportsTo","BirthDate","HireDate","Address","City","State","Country","PostalCode","Phone","Fax","Email"],"name":"Employee","type":"grid"}] |
1f403f5b-88dd-47d4-8902-450ae9b7f394 | null | USER | Show the average age for male and female students. | {"transformations":[{"column":"age","transformationType":"aggregations","aggregation":"avg"},{"column":"sex","transformationType":"grouping"}]} | [{"columns":["StuID","LName","Fname","Age","Sex","Major","Advisor","city_code"],"name":"Student","type":"grid"}] |
e6d63fad-fbaf-4cd6-84e1-57d9d0be59f9 | null | USER | Give the phones for departments in room 268. | {"transformations":[{"column":"Room","transformationType":"condition","operation":"=","value":268}]} | [{"columns":["DNO","Division","DName","Room","Building","DPhone"],"name":"Department","type":"grid"}] |
774381ad-c456-4277-ab15-5be9e8ec736c | null | USER | How many parks are there in Atlanta city? | {"transformations":[{"column":"park_id","transformationType":"aggregations","aggregation":"count"},{"column":"city","transformationType":"condition","operation":"=","value":"Atlanta"}]} | [{"columns":["park_id","park_name","park_alias","city","state","country"],"name":"park","type":"grid"}] |
7ad929e5-ade6-41d2-8484-16d7ff62c41b | null | USER | Find the city and state of the bank branch named morningside. | {"transformations":[{"column":"bname","transformationType":"condition","operation":"=","value":"morningside"}]} | [{"columns":["branch_ID","bname","no_of_customers","city","state"],"name":"bank","type":"grid"}] |
d8d91e37-23d3-470f-988e-6eb8b9617ee7 | null | USER | Find the name of rooms whose base price is between 120 and 150. | {"transformations":[{"column":"baseprice","transformationType":"condition","operation":">=","value":120},{"column":"baseprice","transformationType":"condition","operation":"<=","value":150}]} | [{"columns":["RoomId","roomName","beds","bedType","maxOccupancy","basePrice","decor"],"name":"Rooms","type":"grid"}] |
fc15ccd1-fd91-4bef-8805-8f0cc812ee8c | null | USER | What is the maximum number of final tables made among poker players with earnings less than 200000? | {"transformations":[{"column":"Final_Table_Made","transformationType":"aggregations","aggregation":"max"},{"column":"Earnings","transformationType":"condition","operation":"<","value":200000}]} | [{"columns":["Poker_Player_ID","People_ID","Final_Table_Made","Best_Finish","Money_Rank","Earnings"],"name":"poker_player","type":"grid"}] |
c56e9f19-fc7b-4752-a70f-ce83282aa396 | null | USER | Show all distinct region names ordered by their labels. | {"transformations":[{"column":"Label","transformationType":"sorting","direction":"asc"}]} | [{"columns":["Region_ID","Region_name","Date","Label","Format","Catalogue"],"name":"region","type":"grid"}] |
5f2bd708-a54d-4da2-9a09-e974f392fd29 | null | USER | For each grade 0 classroom, report the total number of students. | {"transformations":[{"column":"LastName","transformationType":"aggregations","aggregation":"count"},{"column":"grade","transformationType":"condition","operation":"=","value":"'0'"},{"column":"classroom","transformationType":"grouping"}]} | [{"columns":["LastName","FirstName","Grade","Classroom"],"name":"list","type":"grid"}] |
b2c06e32-5de9-4764-803d-5ec17987163b | null | USER | What are the codes and names of the cheapest products in each category? | {"transformations":[{"column":"price","transformationType":"aggregations","aggregation":"min"},{"column":"name","transformationType":"grouping"}]} | [{"columns":["Code","Name","Price","Manufacturer"],"name":"Products","type":"grid"}] |
47672c4a-39d6-4e7a-a6c0-c6f6744ccc2e | null | USER | What is the phone and email for customer with first name Aniyah and last name Feest? | {"transformations":[{"column":"customer_first_name","transformationType":"condition","operation":"=","value":"'Aniyah'"},{"column":"customer_last_name","transformationType":"condition","operation":"=","value":"'Feest'"}]} | [{"columns":["customer_id","customer_first_name","customer_last_name","customer_address","customer_phone","customer_email","other_customer_details"],"name":"Customers","type":"grid"}] |
c167ce42-0416-4de3-9df9-3f5de849d205 | null | USER | How many departments are present in each school? | {"transformations":[{"column":"dept_name","transformationType":"aggregations","aggregation":"count"},{"column":"school_code","transformationType":"grouping"}]} | [{"columns":["DEPT_CODE","DEPT_NAME","SCHOOL_CODE","EMP_NUM","DEPT_ADDRESS","DEPT_EXTENSION"],"name":"DEPARTMENT","type":"grid"}] |
346906e1-887b-4273-938b-5ee0a915d625 | null | USER | List the order id, customer id for orders in Cancelled status, ordered by their order dates. | {"transformations":[{"column":"order_status_code","transformationType":"condition","operation":"=","value":"'Cancelled'"},{"column":"order_date","transformationType":"sorting","direction":"asc"}]} | [{"columns":["order_id","customer_id","order_status_code","order_date"],"name":"Customer_Orders","type":"grid"}] |
e289f74e-51f1-4f9b-a666-18089d52e909 | null | USER | Count the number of schools. | {"transformations":[{"column":"School_ID","transformationType":"aggregations","aggregation":"count"}]} | [{"columns":["School_ID","School","Location","Enrollment","Founded","Denomination","Boys_or_Girls","Day_or_Boarding","Year_Entered_Competition","School_Colors"],"name":"school","type":"grid"}] |
9f4576f0-0f80-40a8-86d0-90d6a4346ffa | null | USER | Show different locations and the number of performances at each location. | {"transformations":[{"column":"Performance_ID","transformationType":"aggregations","aggregation":"count"},{"column":"LOCATION","transformationType":"grouping"}]} | [{"columns":["Performance_ID","Date","Host","Location","Attendance"],"name":"performance","type":"grid"}] |
0c68a884-973a-4d73-89b4-2893b34f5a97 | null | USER | Find the IDs of customers whose name contains "Diana". | {"transformations":[{"column":"customer_name","transformationType":"condition","operation":"contains","value":"Diana"}]} | [{"columns":["Customer_ID","Customer_name"],"name":"Customers","type":"grid"}] |
ffc04445-0e17-4232-9489-3d55eebaaa23 | null | USER | How many different students are involved in sports? | {"transformations":[{"column":"StuID","transformationType":"aggregations","aggregation":"count"}]} | [{"columns":["StuID","SportName","HoursPerWeek","GamesPlayed","OnScholarship"],"name":"SportsInfo","type":"grid"}] |
573175b6-3dd7-4e04-9808-006da00e14e7 | null | USER | List the campuses in Los Angeles county. | {"transformations":[{"column":"county","transformationType":"condition","operation":"=","value":"'Los Angeles'"}]} | [{"columns":["Id","Campus","Location","County","Year"],"name":"Campuses","type":"grid"}] |
341af66b-a7f2-42fb-80bc-07dd06c4edb0 | null | USER | What country does Roberto Almeida live? | {"transformations":[{"column":"first_name","transformationType":"condition","operation":"=","value":"'Roberto'"},{"column":"last_name","transformationType":"condition","operation":"=","value":"'Almeida'"}]} | [{"columns":["id","first_name","last_name","company","address","city","state","country","postal_code","phone","fax","email","support_rep_id"],"name":"customers","type":"grid"}] |
75bd3f00-c0da-4188-b975-3986efb16963 | null | USER | Display the different headquarters and the number of companies at each headquarter. | {"transformations":[{"column":"Company_ID","transformationType":"aggregations","aggregation":"count"},{"column":"Headquarters","transformationType":"grouping"}]} | [{"columns":["Company_ID","Name","Headquarters","Industry","Sales_in_Billion","Profits_in_Billion","Assets_in_Billion","Market_Value_in_Billion"],"name":"company","type":"grid"}] |
d3b42549-a356-4dd9-aa03-45a714b5caf4 | null | USER | Identify the school name with the lowest enrollment for every state. | {"transformations":[{"column":"enr","transformationType":"aggregations","aggregation":"min"},{"column":"state","transformationType":"grouping"}]} | [{"columns":["cName","state","enr"],"name":"College","type":"grid"}] |
e26e8d4f-872d-44df-9a5c-26e5531e8080 | null | USER | Count the number of different scientists assigned to any project. | {"transformations":[{"column":"scientist","transformationType":"aggregations","aggregation":"count"}]} | [{"columns":["Scientist","Project"],"name":"AssignedTo","type":"grid"}] |
a8ce0935-5edc-4249-8a1e-feda4585f248 | null | USER | What are the name, height and prominence of mountains which do not belong to the range 'Aberdare Range'? | {"transformations":[{"column":"range","transformationType":"condition","operation":"!=","value":"Aberdare Range"}]} | [{"columns":["id","name","Height","Prominence","Range","Country"],"name":"mountain","type":"grid"}] |
d2cc1871-9364-4db4-b9ef-1e3f667a5333 | null | USER | Show the name, role code, and date of birth for the employee with name 'Armani'. | {"transformations":[{"column":"employee_Name","transformationType":"condition","operation":"=","value":"Armani"}]} | [{"columns":["Employee_ID","Role_Code","Employee_Name","Gender_MFU","Date_of_Birth","Other_Details"],"name":"Employees","type":"grid"}] |
9ecfb276-abe5-401d-9910-c203527996b3 | null | USER | Show the countries and the number of climbers from each country. | {"transformations":[{"column":"Climber_ID","transformationType":"aggregations","aggregation":"count"},{"column":"Country","transformationType":"grouping"}]} | [{"columns":["Climber_ID","Name","Country","Time","Points","Mountain_ID"],"name":"climber","type":"grid"}] |
c7fba073-71fd-4dd8-af1a-c7e5437e1d01 | null | USER | Count the number of different statuses. | {"transformations":[{"column":"Status","transformationType":"aggregations","aggregation":"count"}]} | [{"columns":["City_ID","Official_Name","Status","Area_km_2","Population","Census_Ranking"],"name":"city","type":"grid"}] |
151c85ad-a125-429d-a007-b9d239a06d67 | null | USER | How many airports are in each country? | {"transformations":[{"column":"id","transformationType":"aggregations","aggregation":"count"},{"column":"country","transformationType":"grouping"}]} | [{"columns":["id","City","Country","IATA","ICAO","name"],"name":"airport","type":"grid"}] |
a8067523-f165-40c7-8933-4c9ba862ebc6 | null | USER | List the companies of entrepreneurs in descending order of money requested. | {"transformations":[{"column":"Money_Requested","transformationType":"sorting","direction":"desc"}]} | [{"columns":["Entrepreneur_ID","People_ID","Company","Money_Requested","Investor"],"name":"entrepreneur","type":"grid"}] |
9eff9dff-15ba-46d3-9416-38e3d37dc0aa | null | USER | How many invoices correspond to each order id? | {"transformations":[{"column":"invoice_number","transformationType":"aggregations","aggregation":"count"},{"column":"order_id","transformationType":"grouping"}]} | [{"columns":["invoice_number","order_id","invoice_date"],"name":"Invoices","type":"grid"}] |
b7e29443-e83b-4005-9e27-c2fd513aadca | null | USER | Show different types of ships and the number of ships of each type. | {"transformations":[{"column":"Ship_ID","transformationType":"aggregations","aggregation":"count"},{"column":"TYPE","transformationType":"grouping"}]} | [{"columns":["Ship_ID","Name","Type","Nationality","Tonnage"],"name":"ship","type":"grid"}] |
5d814680-09c5-4ddc-b0b0-5e3208105b7e | null | USER | Show the names of the three most recent festivals. | {"transformations":[{"column":"YEAR","limit":3,"transformationType":"topFilter","aggregation":"avg","direction":"desc"}]} | [{"columns":["Festival_ID","Festival_Name","Chair_Name","Location","Year","Num_of_Audience"],"name":"festival_detail","type":"grid"}] |
c9de3786-e439-470d-81e6-dfced987a8c2 | null | USER | How many phones belong to 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"}] |
dfa85a5c-2e8a-483a-97ec-06e493d40bf1 | null | USER | Return the titles of films that include 'Deleted Scenes' in their special feature section. | {"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"}] |
6f84a349-d72d-443e-9f4f-492a0df9d354 | null | USER | What are the different product names? What is the average product price for each of them? | {"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"}] |
f125294b-fa07-491c-a068-9bc858d072fe | null | USER | Count the number of individuals with a weight over 85 for each gender. | {"transformations":[{"column":"People_ID","transformationType":"aggregations","aggregation":"count"},{"column":"weight","transformationType":"condition","operation":">","value":85},{"column":"sex","transformationType":"grouping"}]} | [{"columns":["People_ID","Sex","Name","Date_of_Birth","Height","Weight"],"name":"people","type":"grid"}] |
20f8ae0a-b385-4615-bdbe-4f2b15a16abe | null | USER | Display all cities along with the corresponding number of students. | {"transformations":[{"column":"StuID","transformationType":"aggregations","aggregation":"count"},{"column":"city_code","transformationType":"grouping"}]} | [{"columns":["StuID","LName","Fname","Age","Sex","Major","Advisor","city_code"],"name":"Student","type":"grid"}] |
c6401855-f3d2-431d-b834-3f0af8833223 | null | USER | Which catalog contents has price above 700 dollars? Show their catalog entry names and capacities. | {"transformations":[{"column":"price_in_dollars","transformationType":"condition","operation":">","value":700}]} | [{"columns":["catalog_entry_id","catalog_level_number","parent_entry_id","previous_entry_id","next_entry_id","catalog_entry_name","product_stock_number","price_in_dollars","price_in_euros","price_in_pounds","capacity","length","height","width"],"name":"Catalog_Contents","type":"grid"}] |