instruction
stringlengths 241
15.9k
| source
stringclasses 2
values |
---|---|
<|context|>[{"columns":["Device_ID","Device","Carrier","Package_Version","Applications","Software_Platform"],"name":"device","type":"grid"}]<|endoftext|><|prompter|>List the carriers of devices in ascending alphabetical order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Carrier","direction":"ask"}]}}<|endoftext|><|prompter|>What are the different carriers for devices, listed in alphabetical order?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Carrier","direction":"ask"}]}}<|endoftext|><|prompter|>What are the carriers of devices whose software platforms are not "Android"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Software_Platform","operation":"!=","value":"Android"}]}}<|endoftext|><|prompter|>Return the device carriers that do not have Android as their software platform.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Software_Platform","operation":"!=","value":"Android"}]}}<|endoftext|><|prompter|>How many different software platforms are there for devices?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Software_Platform","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different software platforms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Software_Platform","aggregation":"count"}]}}<|endoftext|><|prompter|>Provide a breakdown of the number of devices using each software platform.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Software_Platform"}]}}<|endoftext|><|prompter|>What are the different software platforms for devices, and how many devices have each?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Software_Platform"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Device_ID","Device","Carrier","Package_Version","Applications","Software_Platform"],"name":"device","type":"grid"}]<|endoftext|><|prompter|>List the carriers of devices in ascending alphabetical order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Carrier","direction":"ask"}]}}<|endoftext|><|prompter|>What are the different carriers for devices, listed in alphabetical order?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Carrier","direction":"ask"}]}}<|endoftext|><|prompter|>What are the carriers of devices whose software platforms are not "Android"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Software_Platform","operation":"!=","value":"Android"}]}}<|endoftext|><|prompter|>Return the device carriers that do not have Android as their software platform.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Software_Platform","operation":"!=","value":"Android"}]}}<|endoftext|><|prompter|>How many different software platforms are there for devices?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Software_Platform","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different software platforms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Software_Platform","aggregation":"count"}]}}<|endoftext|><|prompter|>Please show different software platforms and the corresponding number of devices using each.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Software_Platform"}]}}<|endoftext|><|prompter|>List distinct software platforms for devices and the device count for each platform.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Software_Platform"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Device_ID","Device","Carrier","Package_Version","Applications","Software_Platform"],"name":"device","type":"grid"}]<|endoftext|><|prompter|>List the carriers of devices in ascending alphabetical order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Carrier","direction":"ask"}]}}<|endoftext|><|prompter|>What are the different carriers for devices, listed in alphabetical order?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Carrier","direction":"ask"}]}}<|endoftext|><|prompter|>What are the carriers of devices whose software platforms are not "Android"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Software_Platform","operation":"!=","value":"Android"}]}}<|endoftext|><|prompter|>Return the device carriers that do not have Android as their software platform.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Software_Platform","operation":"!=","value":"Android"}]}}<|endoftext|><|prompter|>How many different software platforms are there for devices?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Software_Platform","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different software platforms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Software_Platform","aggregation":"count"}]}}<|endoftext|><|prompter|>Please show different software platforms and the corresponding number of devices using each.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Software_Platform"}]}}<|endoftext|><|prompter|>What are the different software platforms for devices, and how many devices use each platform?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Software_Platform"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Device_ID","Device","Carrier","Package_Version","Applications","Software_Platform"],"name":"device","type":"grid"}]<|endoftext|><|prompter|>List the carriers of devices in ascending alphabetical order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Carrier","direction":"ask"}]}}<|endoftext|><|prompter|>What are the different carriers for devices, listed in alphabetical order?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Carrier","direction":"ask"}]}}<|endoftext|><|prompter|>What are the carriers of devices whose software platforms are not "Android"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Software_Platform","operation":"!=","value":"Android"}]}}<|endoftext|><|prompter|>Return the device carriers that do not have Android as their software platform.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Software_Platform","operation":"!=","value":"Android"}]}}<|endoftext|><|prompter|>How many different software platforms are there for devices?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Software_Platform","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different software platforms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Software_Platform","aggregation":"count"}]}}<|endoftext|><|prompter|>Please show different software platforms and the corresponding number of devices using each.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Software_Platform"}]}}<|endoftext|><|prompter|>What are the different software platforms for devices, and how many devices have each?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Software_Platform"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["keyword","kid"],"name":"keyword","type":"grid"}]<|endoftext|><|prompter|>return me the number of keywords .<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"keyword","aggregation":"COUNT"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["stadium_id","id","Season","Date","Home_team","Away_team","Score","Competition"],"name":"game","type":"grid"}]<|endoftext|><|prompter|>How many games are held after season 2007?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"season","operation":">","value":2007}]}}<|endoftext|><|prompter|>List the dates of games by the home team name in descending order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"home_team","direction":"desk"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["cid","homepage","name"],"name":"conference","type":"grid"}]<|endoftext|><|prompter|>return me the homepage of the VLDB conference .<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'VLDB'"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["vehicle_id","vehicle_details"],"name":"Vehicles","type":"grid"}]<|endoftext|><|prompter|>Show the detail of vehicle with id 1.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"vehicle_id","operation":"=","value":1}]}}<|endoftext|><|prompter|>What are the details of the car with id 1?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"vehicle_id","operation":"=","value":1}]}}<|endoftext|> | SPIDER |
<|context|>[{"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"}]<|endoftext|><|prompter|>Show the number of transaction types.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"transaction_type","aggregation":"count"}]}}<|endoftext|><|prompter|>How many different types of transactions are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"transaction_type","aggregation":"count"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["payment_id","customer_id","staff_id","rental_id","amount","payment_date","last_update"],"name":"payment","type":"grid"}]<|endoftext|><|prompter|>What is the total amount of all payments?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"amount","aggregation":"sum"}]}}<|endoftext|><|prompter|>Return the sum of all payment amounts.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"amount","aggregation":"sum"}]}}<|endoftext|><|prompter|>When did the first payment happen?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"payment_date","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What was the date of the earliest payment?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"payment_date","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the largest payment amount?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"amount","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Return the amount of the largest payment.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"amount","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Manager_ID","Name","Country","Working_year_starts","Age","Level"],"name":"manager","type":"grid"}]<|endoftext|><|prompter|>Can you find the name and age of the oldest manager?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Age","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What year did Todd Hamilton start working?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'Todd Hamilton'"}]}}<|endoftext|><|prompter|>What is the name and country of the second youngest manager?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"ask"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Bye!","dsl":{}}<|endoftext|> | COSQL |
<|context|>[{"columns":["Player_ID","Sponsor_name","Player_name","Gender","Residence","Occupation","Votes","Rank"],"name":"player","type":"grid"}]<|endoftext|><|prompter|>List the names of players in ascending order of votes.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Votes","direction":"ask"}]}}<|endoftext|><|prompter|>List the name and residence for players whose occupation is not "Researcher".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Occupation","operation":"!=","value":"'Researcher'"}]}}<|endoftext|><|prompter|>What is the name of the player with the largest number of votes?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Votes","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Present distinct occupations and their corresponding player counts.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Occupation"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Player_ID","Sponsor_name","Player_name","Gender","Residence","Occupation","Votes","Rank"],"name":"player","type":"grid"}]<|endoftext|><|prompter|>List the names of players in ascending order of votes.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Votes","direction":"ask"}]}}<|endoftext|><|prompter|>List the name and residence for players whose occupation is not "Researcher".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Occupation","operation":"!=","value":"'Researcher'"}]}}<|endoftext|><|prompter|>What is the name of the player with the largest number of votes?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Votes","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Display the number of players for each occupation.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Occupation"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Player_ID","Sponsor_name","Player_name","Gender","Residence","Occupation","Votes","Rank"],"name":"player","type":"grid"}]<|endoftext|><|prompter|>List the names of players in ascending order of votes.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Votes","direction":"ask"}]}}<|endoftext|><|prompter|>List the name and residence for players whose occupation is not "Researcher".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Occupation","operation":"!=","value":"'Researcher'"}]}}<|endoftext|><|prompter|>What is the name of the player with the largest number of votes?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Votes","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Show different occupations along with the number of players in each occupation.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Occupation"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Workshop_Group_ID","Address_ID","Currency_Code","Marketing_Region_Code","Store_Name","Store_Phone","Store_Email_Address","Other_Details"],"name":"Drama_Workshop_Groups","type":"grid"}]<|endoftext|><|prompter|>How many distinct currency codes are there for all drama workshop groups?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Currency_Code","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the number of distinct currency codes used in drama workshop groups.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Currency_Code","aggregation":"count"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Station_ID","Name","Annual_entry_exit","Annual_interchanges","Total_Passengers","Location","Main_Services","Number_of_Platforms"],"name":"station","type":"grid"}]<|endoftext|><|prompter|>Show the names and total passengers for all train stations not in London.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"LOCATION","operation":"!=","value":"London"}]}}<|endoftext|><|prompter|>Show the names and main services for train stations that have the top three total number of passengers.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"total_passengers","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Display locations with total platform and passenger counts for all train stations.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"number_of_platforms","aggregation":"sum"},{"actionType":"ChangeAggregations","column":"total_passengers","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"LOCATION"}]}}<|endoftext|><|prompter|>Show all locations that have train stations with at least 15 platforms and train stations with more than 25 total passengers.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"number_of_platforms","operation":">=","value":15},{"actionType":"ChangeCondition","column":"total_passengers","operation":">","value":25}]}}<|endoftext|><|prompter|>List the names and locations of all stations ordered by their yearly entry exit and interchange amounts.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Annual_entry_exit","direction":"ask"},{"actionType":"ChangeSorting","column":"Annual_interchanges","direction":"ask"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Station_ID","Name","Annual_entry_exit","Annual_interchanges","Total_Passengers","Location","Main_Services","Number_of_Platforms"],"name":"station","type":"grid"}]<|endoftext|><|prompter|>Show the names and total passengers for all train stations not in London.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"LOCATION","operation":"!=","value":"London"}]}}<|endoftext|><|prompter|>Show the names and main services for train stations that have the top three total number of passengers.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"total_passengers","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Display the total number of platforms and passengers for all train stations in each location.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"number_of_platforms","aggregation":"sum"},{"actionType":"ChangeAggregations","column":"total_passengers","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"LOCATION"}]}}<|endoftext|><|prompter|>Show all locations that have train stations with at least 15 platforms and train stations with more than 25 total passengers.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"number_of_platforms","operation":">=","value":15},{"actionType":"ChangeCondition","column":"total_passengers","operation":">","value":25}]}}<|endoftext|><|prompter|>List the names and locations of all stations ordered by their yearly entry exit and interchange amounts.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Annual_entry_exit","direction":"ask"},{"actionType":"ChangeSorting","column":"Annual_interchanges","direction":"ask"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Station_ID","Name","Annual_entry_exit","Annual_interchanges","Total_Passengers","Location","Main_Services","Number_of_Platforms"],"name":"station","type":"grid"}]<|endoftext|><|prompter|>Show the names and total passengers for all train stations not in London.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"LOCATION","operation":"!=","value":"London"}]}}<|endoftext|><|prompter|>Show the names and main services for train stations that have the top three total number of passengers.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"total_passengers","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Show all locations and the total number of platforms and passengers for all train stations in each location.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"number_of_platforms","aggregation":"sum"},{"actionType":"ChangeAggregations","column":"total_passengers","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"LOCATION"}]}}<|endoftext|><|prompter|>Show all locations that have train stations with at least 15 platforms and train stations with more than 25 total passengers.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"number_of_platforms","operation":">=","value":15},{"actionType":"ChangeCondition","column":"total_passengers","operation":">","value":25}]}}<|endoftext|><|prompter|>List the names and locations of all stations ordered by their yearly entry exit and interchange amounts.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Annual_entry_exit","direction":"ask"},{"actionType":"ChangeSorting","column":"Annual_interchanges","direction":"ask"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["id","network_name","services","local_authority"],"name":"station","type":"grid"}]<|endoftext|><|prompter|>How many different services are provided by all stations?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"services","aggregation":"count"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Essn","Dependent_name","Sex","Bdate","Relationship"],"name":"dependent","type":"grid"}]<|endoftext|><|prompter|>find all dependent names who have a spouse relation with some employee.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"relationship","operation":"=","value":"Spouse"}]}}<|endoftext|><|prompter|>how many female dependents are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"sex","operation":"=","value":"F"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Artist_ID","Name","Country","Year_Join","Age"],"name":"artist","type":"grid"}]<|endoftext|><|prompter|>What is the highest age of the the Artists from the United States?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"age","aggregation":"max"},{"actionType":"ChangeCondition","column":"country","operation":"=","value":"United States"}]}}<|endoftext|><|prompter|>How many artists from the USA joined after 1993?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Artist_ID","aggregation":"count"},{"actionType":"ChangeCondition","column":"country","operation":"=","value":"United States"},{"actionType":"ChangeCondition","column":"Year_Join","operation":">","value":1993}]}}<|endoftext|><|prompter|>When did Vijay Singh join?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Name","operation":"=","value":"Vijay Singh"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"you are welcome,goodbye","dsl":{}}<|endoftext|> | COSQL |
<|context|>[{"columns":["lost_in_battle","id","name","tonnage","ship_type","location","disposition_of_ship"],"name":"ship","type":"grid"}]<|endoftext|><|prompter|>How many ships ended up being 'Captured'?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"disposition_of_ship","operation":"=","value":"Captured"}]}}<|endoftext|><|prompter|>List the name and tonnage ordered by in descending alphaetical order for the names.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"name","direction":"desk"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["qualifyId","raceId","driverId","constructorId","number","position","q1","q2","q3"],"name":"circuits","type":"grid"}]<|endoftext|><|prompter|>Hello, how many circuits belong to France?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"=","value":"'France'"}]}}<|endoftext|><|prompter|>Can you please provide their circuit IDs?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"=","value":"'France'"}]}}<|endoftext|><|prompter|>Can you also include the location of these circuits? <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"=","value":"'France'"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Thanks. Bye","dsl":{}}<|endoftext|> | COSQL |
<|context|>[{"columns":["attribute_id","attribute_name","attribute_data_type"],"name":"Attribute_Definitions","type":"grid"}]<|endoftext|><|prompter|>What is the attribute data type of the attribute with name "Green"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"attribute_name","operation":"=","value":"'Green'"}]}}<|endoftext|><|prompter|>Find the attribute data type for the attribute named "Green".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"attribute_name","operation":"=","value":"'Green'"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Track_ID","Name","Location","Seating","Year_Opened"],"name":"track","type":"grid"}]<|endoftext|><|prompter|>Show names and seatings, ordered by seating for all tracks opened after 2000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"year_opened","operation":">","value":2000},{"actionType":"ChangeSorting","column":"seating","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names and seatings for all tracks opened after 2000, ordered by seating?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"year_opened","operation":">","value":2000},{"actionType":"ChangeSorting","column":"seating","direction":"ask"}]}}<|endoftext|><|prompter|>What is the name, location and seating for the most recently opened track?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"year_opened","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Return the name, location, and seating of the track that was opened in the most recent year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"year_opened","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Show year where a track with a seating at least 5000 opened and a track with seating no more than 4000 opened.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"seating","operation":">=","value":4000},{"actionType":"ChangeCondition","column":"seating","operation":"<=","value":5000}]}}<|endoftext|><|prompter|>What are the years of opening for tracks with seating between 4000 and 5000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"seating","operation":">=","value":4000},{"actionType":"ChangeCondition","column":"seating","operation":"<=","value":5000}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Publication_ID","Book_ID","Publisher","Publication_Date","Price"],"name":"publication","type":"grid"}]<|endoftext|><|prompter|>What are the dates of publications in descending order of price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Price","direction":"desk"}]}}<|endoftext|><|prompter|>What are the distinct publishers of publications with price higher than 5000000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Price","operation":">","value":5000000}]}}<|endoftext|><|prompter|>List the publisher of the publication with the highest price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Price","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>List the publication dates of publications with 3 lowest prices.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Price","limit":3,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Display publishers and the count of their publications.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Publisher"}]}}<|endoftext|><|prompter|>What is the number of distinct publication dates?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Publication_Date","aggregation":"COUNT"}]}}<|endoftext|><|prompter|>How many distinct publication dates are there in our record?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Publication_Date","aggregation":"COUNT"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Publication_ID","Book_ID","Publisher","Publication_Date","Price"],"name":"publication","type":"grid"}]<|endoftext|><|prompter|>What are the dates of publications in descending order of price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Price","direction":"desk"}]}}<|endoftext|><|prompter|>What are the distinct publishers of publications with price higher than 5000000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Price","operation":">","value":5000000}]}}<|endoftext|><|prompter|>List the publisher of the publication with the highest price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Price","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>List the publication dates of publications with 3 lowest prices.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Price","limit":3,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Show different publishers together with the number of publications they have.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Publisher"}]}}<|endoftext|><|prompter|>What is the number of distinct publication dates?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Publication_Date","aggregation":"COUNT"}]}}<|endoftext|><|prompter|>How many distinct publication dates are there in our record?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Publication_Date","aggregation":"COUNT"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Publication_ID","Book_ID","Publisher","Publication_Date","Price"],"name":"publication","type":"grid"}]<|endoftext|><|prompter|>What are the dates of publications in descending order of price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Price","direction":"desk"}]}}<|endoftext|><|prompter|>What are the distinct publishers of publications with price higher than 5000000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Price","operation":">","value":5000000}]}}<|endoftext|><|prompter|>List the publisher of the publication with the highest price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Price","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>List the publication dates of publications with 3 lowest prices.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Price","limit":3,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Show different publishers together with the number of publications they have.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Publisher"}]}}<|endoftext|><|prompter|>What is the number of distinct publication dates?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Publication_Date","aggregation":"COUNT"}]}}<|endoftext|><|prompter|>How many distinct publication dates are there in our record?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Publication_Date","aggregation":"COUNT"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["County_Id","County_name","Population","Zip_code"],"name":"county","type":"grid"}]<|endoftext|><|prompter|>Show the average population of all counties.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Population","aggregation":"avg"}]}}<|endoftext|><|prompter|>On average how large is the population of the counties?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Population","aggregation":"avg"}]}}<|endoftext|><|prompter|>Show the zip code of the county with name "Howard".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"County_name","operation":"=","value":"'Howard'"}]}}<|endoftext|><|prompter|>What is the zip code the county named "Howard" is located in?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"County_name","operation":"=","value":"'Howard'"}]}}<|endoftext|><|prompter|>Return the names of all counties sorted by population in ascending order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Population","direction":"ask"}]}}<|endoftext|><|prompter|>Sort the names of all counties in ascending order of population.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Population","direction":"ask"}]}}<|endoftext|><|prompter|>Return the names of all counties sorted by county name in descending alphabetical order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"County_name","direction":"desk"}]}}<|endoftext|><|prompter|>Sort the names of all counties in descending alphabetical order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"County_name","direction":"desk"}]}}<|endoftext|><|prompter|>Show the name of the county with the biggest population.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Population","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Which county has the largest population? Give me the name of the county.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Population","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Show the 3 counties with the smallest population.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Population","limit":3,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the 3 counties that have the smallest population? Give me the county names.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Population","limit":3,"aggregation":"avg","direction":"ask"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Player_ID","Player","Team","Age","Position","School_ID"],"name":"player","type":"grid"}]<|endoftext|><|prompter|>What are the teams of the players, sorted in ascending alphabetical order?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Team","direction":"ask"}]}}<|endoftext|><|prompter|>Find the team of each player and sort them in ascending alphabetical order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Team","direction":"ask"}]}}<|endoftext|><|prompter|>How many different positions of players are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"POSITION","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of distinct player positions.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"POSITION","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the team of the player of the highest age.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Age","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Which team has the oldest player?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Age","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>List the teams of the players with the top 5 largest ages.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Age","limit":5,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the teams that have the 5 oldest players?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Age","limit":5,"aggregation":"avg","direction":"desk"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["School_ID","School","Location","Founded","Affiliation","Enrollment","Nickname","Primary_conference"],"name":"university","type":"grid"}]<|endoftext|><|prompter|>Yes<|endoftext|><|assistant|>{"text":"which is the oldest college in the table","dsl":{}}<|endoftext|><|prompter|>which is the oldest college in the table<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>is there any primary-conference held in the university of delaware<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"school","operation":"=","value":"'University of Delaware'"}]}}<|endoftext|><|prompter|>what is the enrollment of the conference<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>list the enrollment and primary-conference of the oldest college<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>thanks
<|endoftext|><|assistant|>{"text":"Bye.","dsl":{}}<|endoftext|> | COSQL |
<|context|>[{"columns":["Climber_ID","Name","Country","Time","Points","Mountain_ID"],"name":"climber","type":"grid"}]<|endoftext|><|prompter|>List the names of climbers in descending order of points.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Points","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of the climbers, ordered by points descending?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Points","direction":"desk"}]}}<|endoftext|><|prompter|>List the names of climbers whose country is not Switzerland.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Country","operation":"!=","value":"'Switzerland'"}]}}<|endoftext|><|prompter|>What are the names of climbers who are not from the country of Switzerland?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Country","operation":"!=","value":"'Switzerland'"}]}}<|endoftext|><|prompter|>What is the maximum point for climbers whose country is United Kingdom?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"max"},{"actionType":"ChangeCondition","column":"Country","operation":"=","value":"'United Kingdom'"}]}}<|endoftext|><|prompter|>Return the maximum number of points for climbers from the United Kingdom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"max"},{"actionType":"ChangeCondition","column":"Country","operation":"=","value":"'United Kingdom'"}]}}<|endoftext|><|prompter|>How many distinct countries are the climbers from?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Country","aggregation":"COUNT"}]}}<|endoftext|><|prompter|>Count the number of different countries that climbers are from.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Country","aggregation":"COUNT"}]}}<|endoftext|><|prompter|>List countries and the number of climbers originating from them.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Country"}]}}<|endoftext|><|prompter|>How many climbers are from each country?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Country"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Climber_ID","Name","Country","Time","Points","Mountain_ID"],"name":"climber","type":"grid"}]<|endoftext|><|prompter|>List the names of climbers in descending order of points.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Points","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of the climbers, ordered by points descending?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Points","direction":"desk"}]}}<|endoftext|><|prompter|>List the names of climbers whose country is not Switzerland.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Country","operation":"!=","value":"'Switzerland'"}]}}<|endoftext|><|prompter|>What are the names of climbers who are not from the country of Switzerland?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Country","operation":"!=","value":"'Switzerland'"}]}}<|endoftext|><|prompter|>What is the maximum point for climbers whose country is United Kingdom?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"max"},{"actionType":"ChangeCondition","column":"Country","operation":"=","value":"'United Kingdom'"}]}}<|endoftext|><|prompter|>Return the maximum number of points for climbers from the United Kingdom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"max"},{"actionType":"ChangeCondition","column":"Country","operation":"=","value":"'United Kingdom'"}]}}<|endoftext|><|prompter|>How many distinct countries are the climbers from?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Country","aggregation":"COUNT"}]}}<|endoftext|><|prompter|>Count the number of different countries that climbers are from.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Country","aggregation":"COUNT"}]}}<|endoftext|><|prompter|>Show the countries and the number of climbers from each country.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Country"}]}}<|endoftext|><|prompter|>How many climbers are from each country?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Country"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Climber_ID","Name","Country","Time","Points","Mountain_ID"],"name":"climber","type":"grid"}]<|endoftext|><|prompter|>List the names of climbers in descending order of points.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Points","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of the climbers, ordered by points descending?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Points","direction":"desk"}]}}<|endoftext|><|prompter|>List the names of climbers whose country is not Switzerland.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Country","operation":"!=","value":"'Switzerland'"}]}}<|endoftext|><|prompter|>What are the names of climbers who are not from the country of Switzerland?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Country","operation":"!=","value":"'Switzerland'"}]}}<|endoftext|><|prompter|>What is the maximum point for climbers whose country is United Kingdom?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"max"},{"actionType":"ChangeCondition","column":"Country","operation":"=","value":"'United Kingdom'"}]}}<|endoftext|><|prompter|>Return the maximum number of points for climbers from the United Kingdom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"max"},{"actionType":"ChangeCondition","column":"Country","operation":"=","value":"'United Kingdom'"}]}}<|endoftext|><|prompter|>How many distinct countries are the climbers from?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Country","aggregation":"COUNT"}]}}<|endoftext|><|prompter|>Count the number of different countries that climbers are from.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Country","aggregation":"COUNT"}]}}<|endoftext|><|prompter|>Please show the countries and the number of climbers from each country.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Country"}]}}<|endoftext|><|prompter|>What is the count of climbers from each country?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Country"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Climber_ID","Name","Country","Time","Points","Mountain_ID"],"name":"climber","type":"grid"}]<|endoftext|><|prompter|>List the names of climbers in descending order of points.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Points","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of the climbers, ordered by points descending?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Points","direction":"desk"}]}}<|endoftext|><|prompter|>List the names of climbers whose country is not Switzerland.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Country","operation":"!=","value":"'Switzerland'"}]}}<|endoftext|><|prompter|>What are the names of climbers who are not from the country of Switzerland?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Country","operation":"!=","value":"'Switzerland'"}]}}<|endoftext|><|prompter|>What is the maximum point for climbers whose country is United Kingdom?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"max"},{"actionType":"ChangeCondition","column":"Country","operation":"=","value":"'United Kingdom'"}]}}<|endoftext|><|prompter|>Return the maximum number of points for climbers from the United Kingdom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"max"},{"actionType":"ChangeCondition","column":"Country","operation":"=","value":"'United Kingdom'"}]}}<|endoftext|><|prompter|>How many distinct countries are the climbers from?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Country","aggregation":"COUNT"}]}}<|endoftext|><|prompter|>Count the number of different countries that climbers are from.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Country","aggregation":"COUNT"}]}}<|endoftext|><|prompter|>Please show the countries and the number of climbers from each country.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Country"}]}}<|endoftext|><|prompter|>How many climbers are from each country?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Country"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Climber_ID","Name","Country","Time","Points","Mountain_ID"],"name":"climber","type":"grid"}]<|endoftext|><|prompter|>List the names of climbers in descending order of points.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Points","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of the climbers, ordered by points descending?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Points","direction":"desk"}]}}<|endoftext|><|prompter|>List the names of climbers whose country is not Switzerland.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Country","operation":"!=","value":"'Switzerland'"}]}}<|endoftext|><|prompter|>What are the names of climbers who are not from the country of Switzerland?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Country","operation":"!=","value":"'Switzerland'"}]}}<|endoftext|><|prompter|>What is the maximum point for climbers whose country is United Kingdom?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"max"},{"actionType":"ChangeCondition","column":"Country","operation":"=","value":"'United Kingdom'"}]}}<|endoftext|><|prompter|>Return the maximum number of points for climbers from the United Kingdom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"max"},{"actionType":"ChangeCondition","column":"Country","operation":"=","value":"'United Kingdom'"}]}}<|endoftext|><|prompter|>How many distinct countries are the climbers from?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Country","aggregation":"COUNT"}]}}<|endoftext|><|prompter|>Count the number of different countries that climbers are from.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Country","aggregation":"COUNT"}]}}<|endoftext|><|prompter|>Please show the countries and the number of climbers from each country.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Country"}]}}<|endoftext|><|prompter|>How many climbers are from each country?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Country"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["document_type_code","document_type_description"],"name":"Ref_Document_Types","type":"grid"}]<|endoftext|><|prompter|>What is the description of document type 'Paper'?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'Paper'"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["id","train_number","name","origin","destination","time","interval"],"name":"train","type":"grid"}]<|endoftext|><|prompter|>Give me the times of all trains that go to Chennai<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"destination","operation":"=","value":"Chennai"}]}}<|endoftext|><|prompter|>Show me the numbers of all trains that go to Chennai<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"destination","operation":"=","value":"Chennai"}]}}<|endoftext|><|prompter|>Show me the train number of all trains that go to Chennai<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"destination","operation":"=","value":"Chennai"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"You are welcome.","dsl":{}}<|endoftext|> | COSQL |
<|context|>[{"columns":["cust_ID","cust_name","acc_type","acc_bal","no_of_loans","credit_score","branch_ID","state"],"name":"customer","type":"grid"}]<|endoftext|><|prompter|>List the name of all customers sorted by their account balance in ascending order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"acc_bal","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of all customers, ordered by account balance?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"acc_bal","direction":"ask"}]}}<|endoftext|><|prompter|>Find the state, account type, and credit score of the customer whose number of loan is 0.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"no_of_loans","operation":"=","value":0}]}}<|endoftext|><|prompter|>What are the states, account types, and credit scores for customers who have 0 loans?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"no_of_loans","operation":"=","value":0}]}}<|endoftext|><|prompter|>How many distinct types of accounts are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_type","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different account types.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_type","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the name of customer who has the lowest credit score.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"credit_score","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the name of the customer with the worst credit score?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"credit_score","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Find the name, account type, and account balance of the customer who has the highest credit score.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"credit_score","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name, account type, and account balance corresponding to the customer with the highest credit score?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"credit_score","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>For each account type, find the average balance for customers with a credit score below 50.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_bal","aggregation":"avg"},{"actionType":"ChangeCondition","column":"credit_score","operation":"<","value":50},{"actionType":"ChangeGrouping","column":"acc_type"}]}}<|endoftext|><|prompter|>What is the average account balance of customers with credit score below 50 for the different account types?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_bal","aggregation":"avg"},{"actionType":"ChangeCondition","column":"credit_score","operation":"<","value":50},{"actionType":"ChangeGrouping","column":"acc_type"}]}}<|endoftext|><|prompter|>For each state, find the total account balance of customers whose credit score is above 100.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_bal","aggregation":"sum"},{"actionType":"ChangeCondition","column":"credit_score","operation":">","value":100},{"actionType":"ChangeGrouping","column":"state"}]}}<|endoftext|><|prompter|>What is the total account balance for customers with a credit score of above 100 for the different states?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_bal","aggregation":"sum"},{"actionType":"ChangeCondition","column":"credit_score","operation":">","value":100},{"actionType":"ChangeGrouping","column":"state"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["cust_ID","cust_name","acc_type","acc_bal","no_of_loans","credit_score","branch_ID","state"],"name":"customer","type":"grid"}]<|endoftext|><|prompter|>List the name of all customers sorted by their account balance in ascending order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"acc_bal","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of all customers, ordered by account balance?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"acc_bal","direction":"ask"}]}}<|endoftext|><|prompter|>Find the state, account type, and credit score of the customer whose number of loan is 0.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"no_of_loans","operation":"=","value":0}]}}<|endoftext|><|prompter|>What are the states, account types, and credit scores for customers who have 0 loans?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"no_of_loans","operation":"=","value":0}]}}<|endoftext|><|prompter|>How many distinct types of accounts are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_type","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different account types.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_type","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the name of customer who has the lowest credit score.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"credit_score","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the name of the customer with the worst credit score?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"credit_score","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Find the name, account type, and account balance of the customer who has the highest credit score.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"credit_score","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name, account type, and account balance corresponding to the customer with the highest credit score?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"credit_score","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the average account balance of customers with a credit score lower than 50 for each account type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_bal","aggregation":"avg"},{"actionType":"ChangeCondition","column":"credit_score","operation":"<","value":50},{"actionType":"ChangeGrouping","column":"acc_type"}]}}<|endoftext|><|prompter|>What is the average account balance of customers with credit score below 50 for the different account types?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_bal","aggregation":"avg"},{"actionType":"ChangeCondition","column":"credit_score","operation":"<","value":50},{"actionType":"ChangeGrouping","column":"acc_type"}]}}<|endoftext|><|prompter|>For each state, find the total account balance of customers whose credit score is above 100.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_bal","aggregation":"sum"},{"actionType":"ChangeCondition","column":"credit_score","operation":">","value":100},{"actionType":"ChangeGrouping","column":"state"}]}}<|endoftext|><|prompter|>What is the total account balance for customers with a credit score of above 100 for the different states?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_bal","aggregation":"sum"},{"actionType":"ChangeCondition","column":"credit_score","operation":">","value":100},{"actionType":"ChangeGrouping","column":"state"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["cust_ID","cust_name","acc_type","acc_bal","no_of_loans","credit_score","branch_ID","state"],"name":"customer","type":"grid"}]<|endoftext|><|prompter|>List the name of all customers sorted by their account balance in ascending order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"acc_bal","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of all customers, ordered by account balance?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"acc_bal","direction":"ask"}]}}<|endoftext|><|prompter|>Find the state, account type, and credit score of the customer whose number of loan is 0.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"no_of_loans","operation":"=","value":0}]}}<|endoftext|><|prompter|>What are the states, account types, and credit scores for customers who have 0 loans?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"no_of_loans","operation":"=","value":0}]}}<|endoftext|><|prompter|>How many distinct types of accounts are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_type","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different account types.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_type","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the name of customer who has the lowest credit score.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"credit_score","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the name of the customer with the worst credit score?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"credit_score","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Find the name, account type, and account balance of the customer who has the highest credit score.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"credit_score","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name, account type, and account balance corresponding to the customer with the highest credit score?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"credit_score","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>For each account type, find the average account balance of customers with credit score lower than 50.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_bal","aggregation":"avg"},{"actionType":"ChangeCondition","column":"credit_score","operation":"<","value":50},{"actionType":"ChangeGrouping","column":"acc_type"}]}}<|endoftext|><|prompter|>Calculate the average account balance for customers with credit scores below 50, grouped by account type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_bal","aggregation":"avg"},{"actionType":"ChangeCondition","column":"credit_score","operation":"<","value":50},{"actionType":"ChangeGrouping","column":"acc_type"}]}}<|endoftext|><|prompter|>For each state, find the total account balance of customers whose credit score is above 100.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_bal","aggregation":"sum"},{"actionType":"ChangeCondition","column":"credit_score","operation":">","value":100},{"actionType":"ChangeGrouping","column":"state"}]}}<|endoftext|><|prompter|>What is the total account balance for customers with a credit score of above 100 for the different states?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_bal","aggregation":"sum"},{"actionType":"ChangeCondition","column":"credit_score","operation":">","value":100},{"actionType":"ChangeGrouping","column":"state"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["cust_ID","cust_name","acc_type","acc_bal","no_of_loans","credit_score","branch_ID","state"],"name":"customer","type":"grid"}]<|endoftext|><|prompter|>List the name of all customers sorted by their account balance in ascending order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"acc_bal","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of all customers, ordered by account balance?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"acc_bal","direction":"ask"}]}}<|endoftext|><|prompter|>Find the state, account type, and credit score of the customer whose number of loan is 0.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"no_of_loans","operation":"=","value":0}]}}<|endoftext|><|prompter|>What are the states, account types, and credit scores for customers who have 0 loans?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"no_of_loans","operation":"=","value":0}]}}<|endoftext|><|prompter|>How many distinct types of accounts are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_type","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different account types.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_type","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the name of customer who has the lowest credit score.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"credit_score","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the name of the customer with the worst credit score?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"credit_score","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Find the name, account type, and account balance of the customer who has the highest credit score.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"credit_score","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name, account type, and account balance corresponding to the customer with the highest credit score?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"credit_score","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>For each account type, find the average account balance of customers with credit score lower than 50.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_bal","aggregation":"avg"},{"actionType":"ChangeCondition","column":"credit_score","operation":"<","value":50},{"actionType":"ChangeGrouping","column":"acc_type"}]}}<|endoftext|><|prompter|>What is the average account balance for different account types of customers with a credit score below 50?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_bal","aggregation":"avg"},{"actionType":"ChangeCondition","column":"credit_score","operation":"<","value":50},{"actionType":"ChangeGrouping","column":"acc_type"}]}}<|endoftext|><|prompter|>For each state, find the total account balance of customers whose credit score is above 100.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_bal","aggregation":"sum"},{"actionType":"ChangeCondition","column":"credit_score","operation":">","value":100},{"actionType":"ChangeGrouping","column":"state"}]}}<|endoftext|><|prompter|>What is the total account balance for customers with a credit score of above 100 for the different states?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_bal","aggregation":"sum"},{"actionType":"ChangeCondition","column":"credit_score","operation":">","value":100},{"actionType":"ChangeGrouping","column":"state"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["cust_ID","cust_name","acc_type","acc_bal","no_of_loans","credit_score","branch_ID","state"],"name":"customer","type":"grid"}]<|endoftext|><|prompter|>List the name of all customers sorted by their account balance in ascending order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"acc_bal","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of all customers, ordered by account balance?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"acc_bal","direction":"ask"}]}}<|endoftext|><|prompter|>Find the state, account type, and credit score of the customer whose number of loan is 0.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"no_of_loans","operation":"=","value":0}]}}<|endoftext|><|prompter|>What are the states, account types, and credit scores for customers who have 0 loans?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"no_of_loans","operation":"=","value":0}]}}<|endoftext|><|prompter|>How many distinct types of accounts are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_type","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different account types.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_type","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the name of customer who has the lowest credit score.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"credit_score","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the name of the customer with the worst credit score?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"credit_score","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Find the name, account type, and account balance of the customer who has the highest credit score.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"credit_score","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name, account type, and account balance corresponding to the customer with the highest credit score?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"credit_score","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>For each account type, find the average account balance of customers with credit score lower than 50.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_bal","aggregation":"avg"},{"actionType":"ChangeCondition","column":"credit_score","operation":"<","value":50},{"actionType":"ChangeGrouping","column":"acc_type"}]}}<|endoftext|><|prompter|>What is the average account balance of customers with credit score below 50 for the different account types?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_bal","aggregation":"avg"},{"actionType":"ChangeCondition","column":"credit_score","operation":"<","value":50},{"actionType":"ChangeGrouping","column":"acc_type"}]}}<|endoftext|><|prompter|>For every state, calculate the total account balance of customers with a credit score above 100.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_bal","aggregation":"sum"},{"actionType":"ChangeCondition","column":"credit_score","operation":">","value":100},{"actionType":"ChangeGrouping","column":"state"}]}}<|endoftext|><|prompter|>What is the total account balance for customers with a credit score of above 100 for the different states?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_bal","aggregation":"sum"},{"actionType":"ChangeCondition","column":"credit_score","operation":">","value":100},{"actionType":"ChangeGrouping","column":"state"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["cust_ID","cust_name","acc_type","acc_bal","no_of_loans","credit_score","branch_ID","state"],"name":"customer","type":"grid"}]<|endoftext|><|prompter|>List the name of all customers sorted by their account balance in ascending order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"acc_bal","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of all customers, ordered by account balance?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"acc_bal","direction":"ask"}]}}<|endoftext|><|prompter|>Find the state, account type, and credit score of the customer whose number of loan is 0.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"no_of_loans","operation":"=","value":0}]}}<|endoftext|><|prompter|>What are the states, account types, and credit scores for customers who have 0 loans?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"no_of_loans","operation":"=","value":0}]}}<|endoftext|><|prompter|>How many distinct types of accounts are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_type","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different account types.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_type","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the name of customer who has the lowest credit score.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"credit_score","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the name of the customer with the worst credit score?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"credit_score","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Find the name, account type, and account balance of the customer who has the highest credit score.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"credit_score","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name, account type, and account balance corresponding to the customer with the highest credit score?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"credit_score","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>For each account type, find the average account balance of customers with credit score lower than 50.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_bal","aggregation":"avg"},{"actionType":"ChangeCondition","column":"credit_score","operation":"<","value":50},{"actionType":"ChangeGrouping","column":"acc_type"}]}}<|endoftext|><|prompter|>What is the average account balance of customers with credit score below 50 for the different account types?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_bal","aggregation":"avg"},{"actionType":"ChangeCondition","column":"credit_score","operation":"<","value":50},{"actionType":"ChangeGrouping","column":"acc_type"}]}}<|endoftext|><|prompter|>Find the total account balance for customers whose credit score is above 100 for each state.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_bal","aggregation":"sum"},{"actionType":"ChangeCondition","column":"credit_score","operation":">","value":100},{"actionType":"ChangeGrouping","column":"state"}]}}<|endoftext|><|prompter|>What is the total account balance for customers with a credit score of above 100 for the different states?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_bal","aggregation":"sum"},{"actionType":"ChangeCondition","column":"credit_score","operation":">","value":100},{"actionType":"ChangeGrouping","column":"state"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["cust_ID","cust_name","acc_type","acc_bal","no_of_loans","credit_score","branch_ID","state"],"name":"customer","type":"grid"}]<|endoftext|><|prompter|>List the name of all customers sorted by their account balance in ascending order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"acc_bal","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of all customers, ordered by account balance?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"acc_bal","direction":"ask"}]}}<|endoftext|><|prompter|>Find the state, account type, and credit score of the customer whose number of loan is 0.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"no_of_loans","operation":"=","value":0}]}}<|endoftext|><|prompter|>What are the states, account types, and credit scores for customers who have 0 loans?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"no_of_loans","operation":"=","value":0}]}}<|endoftext|><|prompter|>How many distinct types of accounts are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_type","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different account types.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_type","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the name of customer who has the lowest credit score.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"credit_score","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the name of the customer with the worst credit score?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"credit_score","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Find the name, account type, and account balance of the customer who has the highest credit score.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"credit_score","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name, account type, and account balance corresponding to the customer with the highest credit score?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"credit_score","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>For each account type, find the average account balance of customers with credit score lower than 50.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_bal","aggregation":"avg"},{"actionType":"ChangeCondition","column":"credit_score","operation":"<","value":50},{"actionType":"ChangeGrouping","column":"acc_type"}]}}<|endoftext|><|prompter|>What is the average account balance of customers with credit score below 50 for the different account types?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_bal","aggregation":"avg"},{"actionType":"ChangeCondition","column":"credit_score","operation":"<","value":50},{"actionType":"ChangeGrouping","column":"acc_type"}]}}<|endoftext|><|prompter|>For each state, find the total account balance of customers whose credit score is above 100.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_bal","aggregation":"sum"},{"actionType":"ChangeCondition","column":"credit_score","operation":">","value":100},{"actionType":"ChangeGrouping","column":"state"}]}}<|endoftext|><|prompter|>Compute the total account balance for customers with a credit score over 100 by state.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_bal","aggregation":"sum"},{"actionType":"ChangeCondition","column":"credit_score","operation":">","value":100},{"actionType":"ChangeGrouping","column":"state"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["cust_ID","cust_name","acc_type","acc_bal","no_of_loans","credit_score","branch_ID","state"],"name":"customer","type":"grid"}]<|endoftext|><|prompter|>List the name of all customers sorted by their account balance in ascending order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"acc_bal","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of all customers, ordered by account balance?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"acc_bal","direction":"ask"}]}}<|endoftext|><|prompter|>Find the state, account type, and credit score of the customer whose number of loan is 0.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"no_of_loans","operation":"=","value":0}]}}<|endoftext|><|prompter|>What are the states, account types, and credit scores for customers who have 0 loans?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"no_of_loans","operation":"=","value":0}]}}<|endoftext|><|prompter|>How many distinct types of accounts are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_type","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different account types.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_type","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the name of customer who has the lowest credit score.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"credit_score","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the name of the customer with the worst credit score?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"credit_score","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Find the name, account type, and account balance of the customer who has the highest credit score.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"credit_score","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name, account type, and account balance corresponding to the customer with the highest credit score?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"credit_score","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>For each account type, find the average account balance of customers with credit score lower than 50.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_bal","aggregation":"avg"},{"actionType":"ChangeCondition","column":"credit_score","operation":"<","value":50},{"actionType":"ChangeGrouping","column":"acc_type"}]}}<|endoftext|><|prompter|>What is the average account balance of customers with credit score below 50 for the different account types?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_bal","aggregation":"avg"},{"actionType":"ChangeCondition","column":"credit_score","operation":"<","value":50},{"actionType":"ChangeGrouping","column":"acc_type"}]}}<|endoftext|><|prompter|>For each state, find the total account balance of customers whose credit score is above 100.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_bal","aggregation":"sum"},{"actionType":"ChangeCondition","column":"credit_score","operation":">","value":100},{"actionType":"ChangeGrouping","column":"state"}]}}<|endoftext|><|prompter|>Determine the total account balance for customers with a credit score above 100 for different states.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_bal","aggregation":"sum"},{"actionType":"ChangeCondition","column":"credit_score","operation":">","value":100},{"actionType":"ChangeGrouping","column":"state"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["cust_ID","cust_name","acc_type","acc_bal","no_of_loans","credit_score","branch_ID","state"],"name":"customer","type":"grid"}]<|endoftext|><|prompter|>List the name of all customers sorted by their account balance in ascending order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"acc_bal","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of all customers, ordered by account balance?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"acc_bal","direction":"ask"}]}}<|endoftext|><|prompter|>Find the state, account type, and credit score of the customer whose number of loan is 0.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"no_of_loans","operation":"=","value":0}]}}<|endoftext|><|prompter|>What are the states, account types, and credit scores for customers who have 0 loans?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"no_of_loans","operation":"=","value":0}]}}<|endoftext|><|prompter|>How many distinct types of accounts are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_type","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different account types.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_type","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the name of customer who has the lowest credit score.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"credit_score","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the name of the customer with the worst credit score?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"credit_score","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Find the name, account type, and account balance of the customer who has the highest credit score.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"credit_score","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name, account type, and account balance corresponding to the customer with the highest credit score?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"credit_score","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>For each account type, find the average account balance of customers with credit score lower than 50.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_bal","aggregation":"avg"},{"actionType":"ChangeCondition","column":"credit_score","operation":"<","value":50},{"actionType":"ChangeGrouping","column":"acc_type"}]}}<|endoftext|><|prompter|>What is the average account balance of customers with credit score below 50 for the different account types?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_bal","aggregation":"avg"},{"actionType":"ChangeCondition","column":"credit_score","operation":"<","value":50},{"actionType":"ChangeGrouping","column":"acc_type"}]}}<|endoftext|><|prompter|>For each state, find the total account balance of customers whose credit score is above 100.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_bal","aggregation":"sum"},{"actionType":"ChangeCondition","column":"credit_score","operation":">","value":100},{"actionType":"ChangeGrouping","column":"state"}]}}<|endoftext|><|prompter|>What is the total account balance for customers with a credit score of above 100 for the different states?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_bal","aggregation":"sum"},{"actionType":"ChangeCondition","column":"credit_score","operation":">","value":100},{"actionType":"ChangeGrouping","column":"state"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["staff_id","employer_organisation_id","staff_details"],"name":"Research_Staff","type":"grid"}]<|endoftext|><|prompter|>List the research staff details, and order in ascending order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"staff_details","direction":"ask"}]}}<|endoftext|><|prompter|>What details are there on the research staff? List the result in ascending alphabetical order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"staff_details","direction":"ask"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["aid","gender","name","nationality","birth_city","birth_year"],"name":"actor","type":"grid"}]<|endoftext|><|prompter|>What year was " Benedict Cumberbatch " born ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'Benedict Cumberbatch'"}]}}<|endoftext|><|prompter|>In what year was " Benedict Cumberbatch " born<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'Benedict Cumberbatch'"}]}}<|endoftext|><|prompter|>What is the nationality of the actress " Christoph Waltz " ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'Christoph Waltz'"}]}}<|endoftext|><|prompter|>What is the nationality of the actor " Christoph Waltz " ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'Christoph Waltz'"}]}}<|endoftext|><|prompter|>Find all actors born in " Tehran "<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"birth_city","operation":"=","value":"'Tehran'"}]}}<|endoftext|><|prompter|>Find all actors born in Tehran<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"birth_city","operation":"=","value":"'Tehran'"}]}}<|endoftext|><|prompter|>Which actors were born in Tehran<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"birth_city","operation":"=","value":"'Tehran'"}]}}<|endoftext|><|prompter|>Find all actors who are from Afghanistan<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"nationality","operation":"=","value":"'Afghanistan'"}]}}<|endoftext|><|prompter|>Find all actors from Afghanistan<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"nationality","operation":"=","value":"'Afghanistan'"}]}}<|endoftext|><|prompter|>Give me the name of all the actors from Afghanistan<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"nationality","operation":"=","value":"'Afghanistan'"}]}}<|endoftext|><|prompter|>Find all actors who were born in 1984<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"birth_year","operation":"=","value":1984}]}}<|endoftext|><|prompter|>When was " Kevin Spacey " born ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'actor_name0'"}]}}<|endoftext|><|prompter|>In what year was " Kevin Spacey " born ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'actor_name0'"}]}}<|endoftext|><|prompter|>Find all actors born in " Austin " after 1980<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"birth_city","operation":"=","value":"'Austin'"},{"actionType":"ChangeCondition","column":"birth_year","operation":">","value":1980}]}}<|endoftext|><|prompter|>Who are the actors born in " Austin " after 1980 ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"birth_city","operation":"=","value":"'Austin'"},{"actionType":"ChangeCondition","column":"birth_year","operation":">","value":1980}]}}<|endoftext|><|prompter|>Find all actors from Austin born after 1980<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"birth_city","operation":"=","value":"'Austin'"},{"actionType":"ChangeCondition","column":"birth_year","operation":">","value":1980}]}}<|endoftext|><|prompter|>Find all actors who were born in " New York City " in 1984<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"birth_city","operation":"=","value":"'New York City'"},{"actionType":"ChangeCondition","column":"birth_year","operation":"=","value":1984}]}}<|endoftext|><|prompter|>Find all the female actors from Austin<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"birth_city","operation":"=","value":"'Austin'"},{"actionType":"ChangeCondition","column":"gender","operation":"=","value":"'female'"}]}}<|endoftext|><|prompter|>Find all actors from Italy born after 1980<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"birth_year","operation":">","value":1980},{"actionType":"ChangeCondition","column":"nationality","operation":"=","value":"'Italy'"}]}}<|endoftext|><|prompter|>Find all the female actors born in " New York City " after 1980<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"birth_city","operation":"=","value":"'New York City'"},{"actionType":"ChangeCondition","column":"birth_year","operation":">","value":1980},{"actionType":"ChangeCondition","column":"gender","operation":"=","value":"'female'"}]}}<|endoftext|><|prompter|>How many actors were born in " Los Angeles " after 2000 ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"name","aggregation":"COUNT"},{"actionType":"ChangeCondition","column":"birth_city","operation":"=","value":"'Los Angeles'"},{"actionType":"ChangeCondition","column":"birth_year","operation":">","value":2000}]}}<|endoftext|><|prompter|>How many female actors were born in " New York City " after 1980 ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"name","aggregation":"COUNT"},{"actionType":"ChangeCondition","column":"birth_city","operation":"=","value":"'New York City'"},{"actionType":"ChangeCondition","column":"birth_year","operation":">","value":1980},{"actionType":"ChangeCondition","column":"gender","operation":"=","value":"'female'"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Region_id","Storm_ID","Number_city_affected"],"name":"affected_region","type":"grid"}]<|endoftext|><|prompter|>How many regions are affected?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"region_id","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different affected regions.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"region_id","aggregation":"count"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["f_id","artist_name","file_size","duration","formats"],"name":"files","type":"grid"}]<|endoftext|><|prompter|>What is the ID of the longest song, please?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"duration","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the artist name of that song?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"duration","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the duration of that song?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"duration","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What about the shortest song?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"duration","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the average duration of all songs?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"duration","aggregation":"avg"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Thanks. bye.","dsl":{}}<|endoftext|> | COSQL |
<|context|>[{"columns":["Company_ID","Rank","Company","Headquarters","Main_Industry","Sales_billion","Profits_billion","Assets_billion","Market_Value"],"name":"company","type":"grid"}]<|endoftext|><|prompter|>What is the profits billion of Company ExonMobil?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"company","operation":"=","value":"'ExxonMobil'"}]}}<|endoftext|><|prompter|>What is the name of the company which has market value 213.7?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Market_Value","operation":"=","value":213.7}]}}<|endoftext|><|prompter|>Where is the headquarters of the company general electric?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Company","operation":"=","value":"'General Electric'"}]}}<|endoftext|><|prompter|>What is the assets billion of Royal Dutch shell?<|endoftext|><|assistant|>{"text":"* I have left the chat *","dsl":{}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"goodbye","dsl":{}}<|endoftext|> | COSQL |
<|context|>[{"columns":["id","name","Home_Games","Average_Attendance","Total_Attendance","Capacity_Percentage"],"name":"stadium","type":"grid"}]<|endoftext|><|prompter|>What is the average attendance of stadiums with capacity percentage higher than 100%?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"capacity_percentage","operation":">","value":100}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["City_ID","County_ID","Name","White","Black","Amerindian","Asian","Multiracial","Hispanic"],"name":"city","type":"grid"}]<|endoftext|><|prompter|>What are the names of cities in ascending alphabetical order?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Name","direction":"ask"}]}}<|endoftext|><|prompter|>Return the names of cities, ordered alphabetically.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Name","direction":"ask"}]}}<|endoftext|><|prompter|>What are the percentage of hispanics in cities with the black percentage higher than 10?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Black","operation":">","value":10}]}}<|endoftext|><|prompter|>Return the hispanic percentage for cities in which the black percentage is greater than 10.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Black","operation":">","value":10}]}}<|endoftext|><|prompter|>List the names of the city with the top 5 white percentages.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"White","limit":5,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of the five cities with the greatest proportion of white people?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"White","limit":5,"aggregation":"avg","direction":"desk"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["ID","name","Nationality","meter_100","meter_200","meter_300","meter_400","meter_500","meter_600","meter_700","Time"],"name":"swimmer","type":"grid"}]<|endoftext|><|prompter|>Find the names of all swimmers, sorted by their 100 meter scores in ascending order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"meter_100","direction":"ask"}]}}<|endoftext|><|prompter|>How many different countries are all the swimmers from?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"nationality","aggregation":"count"}]}}<|endoftext|><|prompter|>Find all 200 meter and 300 meter results of swimmers with nationality "Australia".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"nationality","operation":"=","value":"Australia"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Museum_ID","Name","Num_of_Staff","Open_Year"],"name":"museum","type":"grid"}]<|endoftext|><|prompter|>how many museum id in the list?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Museum_ID","aggregation":"count"}]}}<|endoftext|><|prompter|>find the staff count in the museum with an id 3?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Museum_ID","operation":"=","value":3}]}}<|endoftext|><|prompter|>which year open the capital plaza museum?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Name","operation":"=","value":"Capital Plaza Museum"}]}}<|endoftext|><|prompter|>Thanks<|endoftext|><|assistant|>{"text":"Bye!","dsl":{}}<|endoftext|> | COSQL |
<|context|>[{"columns":["Farm_ID","Year","Total_Horses","Working_Horses","Total_Cattle","Oxen","Bulls","Cows","Pigs","Sheep_and_Goats"],"name":"farm","type":"grid"}]<|endoftext|><|prompter|>List the total number of horses on farms in ascending order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Total_Horses","direction":"ask"}]}}<|endoftext|><|prompter|>What is the total horses record for each farm, sorted ascending?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Total_Horses","direction":"ask"}]}}<|endoftext|><|prompter|>What is the average number of working horses of farms with more than 5000 total number of horses?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Working_Horses","aggregation":"avg"},{"actionType":"ChangeCondition","column":"Total_Horses","operation":">","value":5000}]}}<|endoftext|><|prompter|>Give the average number of working horses on farms with more than 5000 total horses.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Working_Horses","aggregation":"avg"},{"actionType":"ChangeCondition","column":"Total_Horses","operation":">","value":5000}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Shop_ID","Name","Location","District","Number_products","Manager_name"],"name":"shop","type":"grid"}]<|endoftext|><|prompter|>Which district has the largest number of products?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"number_products","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the manager's name of that shop?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"number_products","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>How many products did he produce at that shop?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"number_products","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Where is the location of that district?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"number_products","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the shop ID number?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"number_products","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Bye.","dsl":{}}<|endoftext|> | COSQL |
<|context|>[{"columns":["technician_id","Name","Team","Starting_Year","Age"],"name":"technician","type":"grid"}]<|endoftext|><|prompter|>List the names of technicians in ascending order of age.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Age","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of the technicians by ascending order of age?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Age","direction":"ask"}]}}<|endoftext|><|prompter|>List the name of technicians whose team is not "NYY".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Team","operation":"!=","value":"'NYY'"}]}}<|endoftext|><|prompter|>What is the name of the technician whose team is not 'NYY'?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Team","operation":"!=","value":"'NYY'"}]}}<|endoftext|><|prompter|>What is the starting year of the oldest technicians?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Age","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the starting year for the oldest technician?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Age","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Display technician teams and their respective technician counts.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Team"}]}}<|endoftext|><|prompter|>For each team, how many technicians are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Team"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["technician_id","Name","Team","Starting_Year","Age"],"name":"technician","type":"grid"}]<|endoftext|><|prompter|>List the names of technicians in ascending order of age.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Age","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of the technicians by ascending order of age?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Age","direction":"ask"}]}}<|endoftext|><|prompter|>List the name of technicians whose team is not "NYY".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Team","operation":"!=","value":"'NYY'"}]}}<|endoftext|><|prompter|>What is the name of the technician whose team is not 'NYY'?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Team","operation":"!=","value":"'NYY'"}]}}<|endoftext|><|prompter|>What is the starting year of the oldest technicians?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Age","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the starting year for the oldest technician?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Age","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Show the number of technicians in each team of technicians.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Team"}]}}<|endoftext|><|prompter|>For each team, how many technicians are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Team"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["technician_id","Name","Team","Starting_Year","Age"],"name":"technician","type":"grid"}]<|endoftext|><|prompter|>List the names of technicians in ascending order of age.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Age","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of the technicians by ascending order of age?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Age","direction":"ask"}]}}<|endoftext|><|prompter|>List the name of technicians whose team is not "NYY".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Team","operation":"!=","value":"'NYY'"}]}}<|endoftext|><|prompter|>What is the name of the technician whose team is not 'NYY'?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Team","operation":"!=","value":"'NYY'"}]}}<|endoftext|><|prompter|>What is the starting year of the oldest technicians?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Age","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the starting year for the oldest technician?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Age","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Show different teams of technicians and the number of technicians in each team.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Team"}]}}<|endoftext|><|prompter|>Sort the gender codes in descending order of their corresponding number of guests. Please return both the gender codes and counts.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Team"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["technician_id","Name","Team","Starting_Year","Age"],"name":"technician","type":"grid"}]<|endoftext|><|prompter|>List the names of technicians in ascending order of age.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Age","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of the technicians by ascending order of age?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Age","direction":"ask"}]}}<|endoftext|><|prompter|>List the name of technicians whose team is not "NYY".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Team","operation":"!=","value":"'NYY'"}]}}<|endoftext|><|prompter|>What is the name of the technician whose team is not 'NYY'?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Team","operation":"!=","value":"'NYY'"}]}}<|endoftext|><|prompter|>What is the starting year of the oldest technicians?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Age","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the starting year for the oldest technician?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Age","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Show different teams of technicians and the number of technicians in each team.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Team"}]}}<|endoftext|><|prompter|>For each team, how many technicians are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Team"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["technician_id","Name","Team","Starting_Year","Age"],"name":"technician","type":"grid"}]<|endoftext|><|prompter|>List the names of technicians in ascending order of age.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Age","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of the technicians by ascending order of age?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Age","direction":"ask"}]}}<|endoftext|><|prompter|>List the name of technicians whose team is not "NYY".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Team","operation":"!=","value":"'NYY'"}]}}<|endoftext|><|prompter|>What is the name of the technician whose team is not 'NYY'?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Team","operation":"!=","value":"'NYY'"}]}}<|endoftext|><|prompter|>What is the starting year of the oldest technicians?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Age","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the starting year for the oldest technician?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Age","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Show different teams of technicians and the number of technicians in each team.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Team"}]}}<|endoftext|><|prompter|>For each team, how many technicians are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Team"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["id","name","Home_Games","Average_Attendance","Total_Attendance","Capacity_Percentage"],"name":"stadium","type":"grid"}]<|endoftext|><|prompter|>what is the average attendance of Cowboys Stadium?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'Cowboys Stadium'"}]}}<|endoftext|><|prompter|>give the total attendance Cowboys Stadium <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'Cowboys Stadium'"}]}}<|endoftext|><|prompter|>what is the capacity percentage of New Meadowlands Stadium
<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'New Meadowlands Stadium'"}]}}<|endoftext|><|prompter|>thanks<|endoftext|><|assistant|>{"text":"Bye.","dsl":{}}<|endoftext|> | COSQL |
<|context|>[{"columns":["Year","Match_ID","Host_City"],"name":"hosting_city","type":"grid"}]<|endoftext|><|prompter|>What is id of the city that hosted events in the most recent year?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"YEAR","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the city that hosted some events in the most recent year. What is the id of this city?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"YEAR","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Airport_ID","Airport_Name","Total_Passengers","%_Change_2007","International_Passengers","Domestic_Passengers","Transit_Passengers","Aircraft_Movements","Freight_Metric_Tonnes"],"name":"airport","type":"grid"}]<|endoftext|><|prompter|>What is the average number of international passengers of all airports?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"International_Passengers","aggregation":"avg"}]}}<|endoftext|><|prompter|>What is the average number of international passengers for an airport?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"International_Passengers","aggregation":"avg"}]}}<|endoftext|><|prompter|>What are the number of international and domestic passengers of the airport named London "Heathrow"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Airport_Name","operation":"=","value":"'London Heathrow'"}]}}<|endoftext|><|prompter|>How many international and domestic passengers are there in the airport London Heathrow?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Airport_Name","operation":"=","value":"'London Heathrow'"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Marketing_Region_Code","Marketing_Region_Name","Marketing_Region_Descriptrion","Other_Details"],"name":"Marketing_Regions","type":"grid"}]<|endoftext|><|prompter|>What is the description of the marketing region China?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Marketing_Region_Name","operation":"=","value":"'China'"}]}}<|endoftext|><|prompter|>Find the marketing region description of China?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Marketing_Region_Name","operation":"=","value":"'China'"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Claim_ID","Policy_ID","Date_Claim_Made","Date_Claim_Settled","Amount_Claimed","Amount_Settled"],"name":"Claims","type":"grid"}]<|endoftext|><|prompter|>Among all the claims, what is the settlement amount of the claim with the largest claim amount? List both the settlement amount and claim amount.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Amount_Claimed","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the settlement amount of the claim with the largest claim amount. Show both the settlement amount and claim amount.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Amount_Claimed","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Among all the claims, what is the amount claimed in the claim with the least amount settled? List both the settlement amount and claim amount.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Amount_Settled","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Find the claimed amount in the claim with the least amount settled. Show both the settlement amount and claim amount.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Amount_Settled","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Of all the claims, what was the earliest date when any claim was made?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Date_Claim_Made","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Tell me the the date when the first claim was made.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Date_Claim_Made","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Find the total claimed amount of all the claims.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Amount_Claimed","aggregation":"sum"}]}}<|endoftext|><|prompter|>What is total amount claimed summed across all the claims?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Amount_Claimed","aggregation":"sum"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Code","Name","Price","Manufacturer"],"name":"Products","type":"grid"}]<|endoftext|><|prompter|>Select the average product price per manufacturer code.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Price","aggregation":"AVG"},{"actionType":"ChangeGrouping","column":"Manufacturer"}]}}<|endoftext|><|prompter|>What are the average prices of products, grouped by manufacturer code?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Price","aggregation":"AVG"},{"actionType":"ChangeGrouping","column":"Manufacturer"}]}}<|endoftext|><|prompter|>Select the name and price of the cheapest product.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"price","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the name and price of the cheapest product?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"price","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Code","Name","Price","Manufacturer"],"name":"Products","type":"grid"}]<|endoftext|><|prompter|>Retrieve the average price of products for each manufacturer, displaying only the manufacturer's code.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Price","aggregation":"AVG"},{"actionType":"ChangeGrouping","column":"Manufacturer"}]}}<|endoftext|><|prompter|>What are the average prices of products, grouped by manufacturer code?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Price","aggregation":"AVG"},{"actionType":"ChangeGrouping","column":"Manufacturer"}]}}<|endoftext|><|prompter|>Select the name and price of the cheapest product.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"price","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the name and price of the cheapest product?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"price","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Code","Name","Price","Manufacturer"],"name":"Products","type":"grid"}]<|endoftext|><|prompter|>Select the average price of each manufacturer's products, showing only the manufacturer's code.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Price","aggregation":"AVG"},{"actionType":"ChangeGrouping","column":"Manufacturer"}]}}<|endoftext|><|prompter|>Determine average product prices, grouped by manufacturer code.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Price","aggregation":"AVG"},{"actionType":"ChangeGrouping","column":"Manufacturer"}]}}<|endoftext|><|prompter|>Select the name and price of the cheapest product.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"price","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the name and price of the cheapest product?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"price","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Code","Name","Price","Manufacturer"],"name":"Products","type":"grid"}]<|endoftext|><|prompter|>Select the average price of each manufacturer's products, showing only the manufacturer's code.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Price","aggregation":"AVG"},{"actionType":"ChangeGrouping","column":"Manufacturer"}]}}<|endoftext|><|prompter|>What is the average price of products grouped by manufacturer code?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Price","aggregation":"AVG"},{"actionType":"ChangeGrouping","column":"Manufacturer"}]}}<|endoftext|><|prompter|>Select the name and price of the cheapest product.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"price","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the name and price of the cheapest product?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"price","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Code","Name","Price","Manufacturer"],"name":"Products","type":"grid"}]<|endoftext|><|prompter|>Select the average price of each manufacturer's products, showing only the manufacturer's code.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Price","aggregation":"AVG"},{"actionType":"ChangeGrouping","column":"Manufacturer"}]}}<|endoftext|><|prompter|>What are the average prices of products, grouped by manufacturer code?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Price","aggregation":"AVG"},{"actionType":"ChangeGrouping","column":"Manufacturer"}]}}<|endoftext|><|prompter|>Select the name and price of the cheapest product.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"price","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the name and price of the cheapest product?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"price","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Festival_ID","Festival_Name","Chair_Name","Location","Year","Num_of_Audience"],"name":"festival_detail","type":"grid"}]<|endoftext|><|prompter|>What are the names of the chairs of festivals, sorted in ascending order of the year held?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"YEAR","direction":"ask"}]}}<|endoftext|><|prompter|>What is the location of the festival with the largest number of audience?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Num_of_Audience","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of festivals held in year 2007?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"YEAR","operation":"=","value":2007}]}}<|endoftext|><|prompter|>What is the average number of audience for festivals?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Num_of_Audience","aggregation":"avg"}]}}<|endoftext|><|prompter|>Show the names of the three most recent festivals.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"YEAR","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the total number of the audiences who visited any of the festivals?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Num_of_Audience","aggregation":"sum"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["id","name","market_share"],"name":"browser","type":"grid"}]<|endoftext|><|prompter|>How many main stream browsers whose market share is at least 5 exist?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"market_share","operation":">=","value":5}]}}<|endoftext|><|prompter|>List the name of browsers in descending order by market share.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"market_share","direction":"desk"}]}}<|endoftext|><|prompter|>What is the id and market share of the browser Safari?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"Safari"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Code","Name","Headquarter","Founder","Revenue"],"name":"manufacturers","type":"grid"}]<|endoftext|><|prompter|>What manufacturer has the highest revenue?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"revenue","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Where is Iomega located?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"Iomega"}]}}<|endoftext|><|prompter|>Are there manufacturers on the list located in the United States?
<|endoftext|><|assistant|>{"text":"Sorry, I cannot answer this.","dsl":{}}<|endoftext|><|prompter|>What manufacturers on the list are located in Austin?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Headquarter","operation":"=","value":"Austin"}]}}<|endoftext|><|prompter|>What is Creative labs revenue?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Name","operation":"=","value":"Creative Labs"}]}}<|endoftext|><|prompter|>How many companies have a revenue greater than 100.0?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"revenue","operation":">","value":100}]}}<|endoftext|><|prompter|>What is the total revue of those 3 companies?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"revenue","aggregation":"sum"},{"actionType":"ChangeCondition","column":"revenue","operation":">","value":100}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"You are welcome. Bye!","dsl":{}}<|endoftext|> | COSQL |
<|context|>[{"columns":["Workshop_ID","Date","Venue","Name"],"name":"workshop","type":"grid"}]<|endoftext|><|prompter|>Show the date and venue of each workshop in ascending alphabetical order of the venue.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Venue","direction":"ask"}]}}<|endoftext|><|prompter|>Sort the each workshop in alphabetical order of the venue. Return the date and venue of each workshop.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Venue","direction":"ask"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Id","Campus","Location","County","Year"],"name":"campuses","type":"grid"}]<|endoftext|><|prompter|>How many campuses opened between 1935 and 1939?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"campus","aggregation":"count"},{"actionType":"ChangeCondition","column":"YEAR","operation":">=","value":1935},{"actionType":"ChangeCondition","column":"YEAR","operation":"<=","value":1939}]}}<|endoftext|><|prompter|>Which county is the campus in?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"YEAR","operation":">=","value":1935},{"actionType":"ChangeCondition","column":"YEAR","operation":"<=","value":1939}]}}<|endoftext|><|prompter|>What is the full name of that campus?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"YEAR","operation":">=","value":1935},{"actionType":"ChangeCondition","column":"YEAR","operation":"<=","value":1939}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Bye","dsl":{}}<|endoftext|> | COSQL |
<|context|>[{"columns":["School_ID","School","Location","Enrollment","Founded","Denomination","Boys_or_Girls","Day_or_Boarding","Year_Entered_Competition","School_Colors"],"name":"school","type":"grid"}]<|endoftext|><|prompter|>List the locations of schools in ascending order of enrollment.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Enrollment","direction":"ask"}]}}<|endoftext|><|prompter|>What is the list of school locations sorted in ascending order of school enrollment?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Enrollment","direction":"ask"}]}}<|endoftext|><|prompter|>List the locations of schools in descending order of founded year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Founded","direction":"desk"}]}}<|endoftext|><|prompter|>What is the list of school locations sorted in descending order of school foundation year?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Founded","direction":"desk"}]}}<|endoftext|><|prompter|>What are the enrollments of schools whose denomination is not "Catholic"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Denomination","operation":"!=","value":"'Catholic'"}]}}<|endoftext|><|prompter|>List the enrollment for each school that does not have "Catholic" as denomination.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Denomination","operation":"!=","value":"'Catholic'"}]}}<|endoftext|><|prompter|>What is the average enrollment of schools?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"avg"}]}}<|endoftext|><|prompter|>Take the average of the school enrollment.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"avg"}]}}<|endoftext|><|prompter|>Display various denominations alongside the number of associated schools.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Denomination"}]}}<|endoftext|><|prompter|>For each denomination, return the denomination and the count of schools with that denomination.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Denomination"}]}}<|endoftext|><|prompter|>List the school color of the school that has the largest enrollment.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Enrollment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the school color of the school with the largest enrollment?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Enrollment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["School_ID","School","Location","Enrollment","Founded","Denomination","Boys_or_Girls","Day_or_Boarding","Year_Entered_Competition","School_Colors"],"name":"school","type":"grid"}]<|endoftext|><|prompter|>List the locations of schools in ascending order of enrollment.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Enrollment","direction":"ask"}]}}<|endoftext|><|prompter|>What is the list of school locations sorted in ascending order of school enrollment?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Enrollment","direction":"ask"}]}}<|endoftext|><|prompter|>List the locations of schools in descending order of founded year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Founded","direction":"desk"}]}}<|endoftext|><|prompter|>What is the list of school locations sorted in descending order of school foundation year?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Founded","direction":"desk"}]}}<|endoftext|><|prompter|>What are the enrollments of schools whose denomination is not "Catholic"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Denomination","operation":"!=","value":"'Catholic'"}]}}<|endoftext|><|prompter|>List the enrollment for each school that does not have "Catholic" as denomination.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Denomination","operation":"!=","value":"'Catholic'"}]}}<|endoftext|><|prompter|>What is the average enrollment of schools?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"avg"}]}}<|endoftext|><|prompter|>Take the average of the school enrollment.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"avg"}]}}<|endoftext|><|prompter|>Calculate the average age and the number of male students in each city.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Denomination"}]}}<|endoftext|><|prompter|>For each denomination, return the denomination and the count of schools with that denomination.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Denomination"}]}}<|endoftext|><|prompter|>List the school color of the school that has the largest enrollment.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Enrollment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the school color of the school with the largest enrollment?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Enrollment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["School_ID","School","Location","Enrollment","Founded","Denomination","Boys_or_Girls","Day_or_Boarding","Year_Entered_Competition","School_Colors"],"name":"school","type":"grid"}]<|endoftext|><|prompter|>List the locations of schools in ascending order of enrollment.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Enrollment","direction":"ask"}]}}<|endoftext|><|prompter|>What is the list of school locations sorted in ascending order of school enrollment?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Enrollment","direction":"ask"}]}}<|endoftext|><|prompter|>List the locations of schools in descending order of founded year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Founded","direction":"desk"}]}}<|endoftext|><|prompter|>What is the list of school locations sorted in descending order of school foundation year?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Founded","direction":"desk"}]}}<|endoftext|><|prompter|>What are the enrollments of schools whose denomination is not "Catholic"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Denomination","operation":"!=","value":"'Catholic'"}]}}<|endoftext|><|prompter|>List the enrollment for each school that does not have "Catholic" as denomination.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Denomination","operation":"!=","value":"'Catholic'"}]}}<|endoftext|><|prompter|>What is the average enrollment of schools?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"avg"}]}}<|endoftext|><|prompter|>Take the average of the school enrollment.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"avg"}]}}<|endoftext|><|prompter|>Please show different denominations and the corresponding number of schools.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Denomination"}]}}<|endoftext|><|prompter|>Display denominations along with the count of schools with that denomination.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Denomination"}]}}<|endoftext|><|prompter|>List the school color of the school that has the largest enrollment.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Enrollment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the school color of the school with the largest enrollment?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Enrollment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["School_ID","School","Location","Enrollment","Founded","Denomination","Boys_or_Girls","Day_or_Boarding","Year_Entered_Competition","School_Colors"],"name":"school","type":"grid"}]<|endoftext|><|prompter|>List the locations of schools in ascending order of enrollment.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Enrollment","direction":"ask"}]}}<|endoftext|><|prompter|>What is the list of school locations sorted in ascending order of school enrollment?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Enrollment","direction":"ask"}]}}<|endoftext|><|prompter|>List the locations of schools in descending order of founded year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Founded","direction":"desk"}]}}<|endoftext|><|prompter|>What is the list of school locations sorted in descending order of school foundation year?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Founded","direction":"desk"}]}}<|endoftext|><|prompter|>What are the enrollments of schools whose denomination is not "Catholic"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Denomination","operation":"!=","value":"'Catholic'"}]}}<|endoftext|><|prompter|>List the enrollment for each school that does not have "Catholic" as denomination.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Denomination","operation":"!=","value":"'Catholic'"}]}}<|endoftext|><|prompter|>What is the average enrollment of schools?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"avg"}]}}<|endoftext|><|prompter|>Take the average of the school enrollment.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"avg"}]}}<|endoftext|><|prompter|>Please show different denominations and the corresponding number of schools.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Denomination"}]}}<|endoftext|><|prompter|>Return the denomination and number of schools for each denomination.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Denomination"}]}}<|endoftext|><|prompter|>List the school color of the school that has the largest enrollment.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Enrollment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the school color of the school with the largest enrollment?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Enrollment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["School_ID","School","Location","Enrollment","Founded","Denomination","Boys_or_Girls","Day_or_Boarding","Year_Entered_Competition","School_Colors"],"name":"school","type":"grid"}]<|endoftext|><|prompter|>List the locations of schools in ascending order of enrollment.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Enrollment","direction":"ask"}]}}<|endoftext|><|prompter|>What is the list of school locations sorted in ascending order of school enrollment?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Enrollment","direction":"ask"}]}}<|endoftext|><|prompter|>List the locations of schools in descending order of founded year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Founded","direction":"desk"}]}}<|endoftext|><|prompter|>What is the list of school locations sorted in descending order of school foundation year?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Founded","direction":"desk"}]}}<|endoftext|><|prompter|>What are the enrollments of schools whose denomination is not "Catholic"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Denomination","operation":"!=","value":"'Catholic'"}]}}<|endoftext|><|prompter|>List the enrollment for each school that does not have "Catholic" as denomination.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Denomination","operation":"!=","value":"'Catholic'"}]}}<|endoftext|><|prompter|>What is the average enrollment of schools?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"avg"}]}}<|endoftext|><|prompter|>Take the average of the school enrollment.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"avg"}]}}<|endoftext|><|prompter|>Please show different denominations and the corresponding number of schools.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Denomination"}]}}<|endoftext|><|prompter|>For each denomination, return the denomination and the count of schools with that denomination.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Denomination"}]}}<|endoftext|><|prompter|>List the school color of the school that has the largest enrollment.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Enrollment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the school color of the school with the largest enrollment?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Enrollment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["id","train_number","name","origin","destination","time","interval"],"name":"train","type":"grid"}]<|endoftext|><|prompter|>how many origin in the train table<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"origin","aggregation":"count"}]}}<|endoftext|><|prompter|>what highest time in the train table<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"time","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>how many train number in the train table<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"train_number","aggregation":"count"}]}}<|endoftext|><|prompter|>how many interval in the trail table<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"interval","aggregation":"count"}]}}<|endoftext|><|prompter|>thnaks<|endoftext|><|assistant|>{"text":"goodbye","dsl":{}}<|endoftext|> | COSQL |
<|context|>[{"columns":["County_Id","County_name","Population","Zip_code"],"name":"county","type":"grid"}]<|endoftext|><|prompter|>how many zip codes in the county table<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Zip_code","aggregation":"count"}]}}<|endoftext|><|prompter|>thanks<|endoftext|><|assistant|>{"text":"Do you have other question","dsl":{}}<|endoftext|><|prompter|>how many county id in the county table<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"County_Id","aggregation":"count"}]}}<|endoftext|><|prompter|>thanks<|endoftext|><|assistant|>{"text":"Welcome and goodbye","dsl":{}}<|endoftext|><|prompter|>goodbye<|endoftext|><|assistant|>{"text":"goodbye","dsl":{}}<|endoftext|> | COSQL |
<|context|>[{"columns":["Artist_ID","Name","Country","Year_Join","Age"],"name":"artist","type":"grid"}]<|endoftext|><|prompter|>Can you list the ages of all the artists from United States?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"=","value":"'United States'"}]}}<|endoftext|><|prompter|>What is the average age of all the artists from United States?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"age","aggregation":"avg"},{"actionType":"ChangeCondition","column":"country","operation":"=","value":"United States"}]}}<|endoftext|><|prompter|>Hmm, I also want to know the minimum age of all the artists from United States please.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"age","aggregation":"min"},{"actionType":"ChangeCondition","column":"country","operation":"=","value":"United States"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Bye","dsl":{}}<|endoftext|><|prompter|>Bye<|endoftext|><|assistant|> | COSQL |
<|context|>[{"columns":["Shop_ID","Shop_Name","Location","Open_Date","Open_Year"],"name":"shop","type":"grid"}]<|endoftext|><|prompter|>What are the names of shops in ascending order of open year?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Open_Year","direction":"ask"}]}}<|endoftext|><|prompter|>Return the names of shops, ordered by year of opening ascending.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Open_Year","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names and location of the shops in ascending alphabetical order of name.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Shop_Name","direction":"ask"}]}}<|endoftext|><|prompter|>Return the names and locations of shops, ordered by name in alphabetical order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Shop_Name","direction":"ask"}]}}<|endoftext|><|prompter|>List the open date of open year of the shop named "Apple".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Shop_Name","operation":"=","value":"'Apple'"}]}}<|endoftext|><|prompter|>What are the open dates and years for the shop named Apple?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Shop_Name","operation":"=","value":"'Apple'"}]}}<|endoftext|><|prompter|>List the name of the shop with the latest open year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Open_Year","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the shop name corresponding to the shop that opened in the most recent year?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Open_Year","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Team_ID","School_ID","Team_Name","ACC_Regular_Season","ACC_Percent","ACC_Home","ACC_Road","All_Games","All_Games_Percent","All_Home","All_Road","All_Neutral"],"name":"basketball_match","type":"grid"}]<|endoftext|><|prompter|>How many schools are in the basketball match?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"school_id","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of schools that have had basketball matches.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"school_id","aggregation":"count"}]}}<|endoftext|><|prompter|>What is the highest acc percent score in the competition?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"acc_percent","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Return the highest acc percent across all basketball matches.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"acc_percent","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>List names of all teams in the basketball competition, ordered by all home scores in descending order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"All_Home","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of all the teams in the basketball competition, sorted by all home scores in descending order?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"All_Home","direction":"desk"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Performance_ID","Date","Host","Location","Attendance"],"name":"performance","type":"grid"}]<|endoftext|><|prompter|>List the hosts of performances in ascending order of attendance.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Attendance","direction":"ask"}]}}<|endoftext|><|prompter|>What is the average number of attendees for performances?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Attendance","aggregation":"avg"}]}}<|endoftext|><|prompter|>What is the date of the performance with the highest number of attendees?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Attendance","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>List distinct locations and their corresponding performance counts.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"LOCATION"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Performance_ID","Date","Host","Location","Attendance"],"name":"performance","type":"grid"}]<|endoftext|><|prompter|>List the hosts of performances in ascending order of attendance.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Attendance","direction":"ask"}]}}<|endoftext|><|prompter|>What is the average number of attendees for performances?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Attendance","aggregation":"avg"}]}}<|endoftext|><|prompter|>What is the date of the performance with the highest number of attendees?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Attendance","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Display the number of performances at each location.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"LOCATION"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Performance_ID","Date","Host","Location","Attendance"],"name":"performance","type":"grid"}]<|endoftext|><|prompter|>List the hosts of performances in ascending order of attendance.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Attendance","direction":"ask"}]}}<|endoftext|><|prompter|>What is the average number of attendees for performances?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Attendance","aggregation":"avg"}]}}<|endoftext|><|prompter|>What is the date of the performance with the highest number of attendees?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Attendance","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Show different locations and the number of performances at each location.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"LOCATION"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["song_name","artist_name","country","f_id","genre_is","rating","languages","releasedate","resolution"],"name":"song","type":"grid"}]<|endoftext|><|prompter|>What is the name of the newest song?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"releasedate","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>And the oldest song?
<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"releasedate","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of the artists that released the oldest song on the list?
<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"releasedate","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Thank you, would you like to know anything else? ","dsl":{}}<|endoftext|><|prompter|>No that's all thanks!<|endoftext|><|assistant|>{"text":"Thank you, good bye. ","dsl":{}}<|endoftext|> | COSQL |
<|context|>[{"columns":["student_id","date_of_registration","date_of_latest_logon","login_name","password","personal_name","middle_name","family_name"],"name":"Students","type":"grid"}]<|endoftext|><|prompter|>What are the login names of the students with family name "Ward"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"family_name","operation":"=","value":"'Ward'"}]}}<|endoftext|><|prompter|>Return the login names of the students whose family name is "Ward".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"family_name","operation":"=","value":"'Ward'"}]}}<|endoftext|><|prompter|>List the personal names and family names of all the students in alphabetical order of family name.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"family_name","direction":"ask"}]}}<|endoftext|><|prompter|>What are the personal names and family names of the students? Sort the result in alphabetical order of the family name.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"family_name","direction":"ask"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Wrestler_ID","Name","Reign","Days_held","Location","Event"],"name":"wrestler","type":"grid"}]<|endoftext|><|prompter|>List the names of wrestlers in descending order of days held.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Days_held","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of the wrestlers, ordered descending by days held?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Days_held","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the wrestler with the fewest days held?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Days_held","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Return the name of the wrestler who had the lowest number of days held.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Days_held","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the distinct reigns of wrestlers whose location is not "Tokyo,Japan" ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"LOCATION","operation":"!=","value":"'Tokyo , Japan'"}]}}<|endoftext|><|prompter|>Give the different reigns of wrestlers who are not located in Tokyo, Japan.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"LOCATION","operation":"!=","value":"'Tokyo , Japan'"}]}}<|endoftext|><|prompter|>What are the names of wrestlers days held less than 100?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Days_held","operation":"<","value":100}]}}<|endoftext|><|prompter|>Return the names of wrestlers with fewer than 100 days held.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Days_held","operation":"<","value":100}]}}<|endoftext|> | SPIDER |
<|context|>[{"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"}]<|endoftext|><|prompter|>How many employees first names contain the letter M?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"contains","value":"M"}]}}<|endoftext|><|prompter|>What are the names of those employees?<|endoftext|><|assistant|>{"text":"Do you mean the first name and last name of those employees?","dsl":{}}<|endoftext|><|prompter|>Yes.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"contains","value":"M"}]}}<|endoftext|><|prompter|>How many employees first names do not contain the letter M?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"not contains","value":"M"}]}}<|endoftext|><|prompter|>What are their full names?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"not contains","value":"M"}]}}<|endoftext|><|prompter|>When were they hired?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"not contains","value":"M"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"You are welcome.","dsl":{}}<|endoftext|> | COSQL |
<|context|>[{"columns":["RoomId","roomName","beds","bedType","maxOccupancy","basePrice","decor"],"name":"Rooms","type":"grid"}]<|endoftext|><|prompter|>Find the names of all modern rooms with a base price below $160 and two beds.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":"<","value":160},{"actionType":"ChangeCondition","column":"beds","operation":"=","value":2},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>What are the names of modern rooms that have a base price lower than $160 and two beds.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":"<","value":160},{"actionType":"ChangeCondition","column":"beds","operation":"=","value":2},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>Find all the rooms that have a price higher than 160 and can accommodate more than 2 people. Report room names and ids.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":160},{"actionType":"ChangeCondition","column":"maxOccupancy","operation":">","value":2}]}}<|endoftext|><|prompter|>What are the room names and ids of all the rooms that cost more than 160 and can accommodate more than two people.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":160},{"actionType":"ChangeCondition","column":"maxOccupancy","operation":">","value":2}]}}<|endoftext|><|prompter|>How many king beds are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"beds","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"}]}}<|endoftext|><|prompter|>Find the total number of king beds available.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"beds","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"}]}}<|endoftext|><|prompter|>List the names and decor of rooms that have a king bed. Sort the list by their price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"},{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names and decor of rooms with a king bed? Sort them by their price<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"},{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Which room has cheapest base price? List the room's name and the base price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the room name and base price of the room with the lowest base price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the decor of room Recluse and defiance?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"roomName","operation":"=","value":"'Recluse and defiance'"}]}}<|endoftext|><|prompter|>Return the decor of the room named "Recluse and defiance".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"roomName","operation":"=","value":"'Recluse and defiance'"}]}}<|endoftext|><|prompter|>What is the average base cost for each bed type? List the bed types and their average prices.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>For each bed type, find the average base price of different bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What is the total number of people who could stay in the modern rooms in this inn?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"maxOccupancy","aggregation":"sum"},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>How many people in total can stay in the modern rooms of this inn?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"maxOccupancy","aggregation":"sum"},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>Find the number of rooms with a king bed.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"}]}}<|endoftext|><|prompter|>How many rooms have a king bed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"}]}}<|endoftext|><|prompter|>Find the number of rooms for each bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What are the number of rooms for each bed type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>Find the name of the room with the maximum occupancy.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"maxOccupancy","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the room that can accommodate the most people?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"maxOccupancy","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the id and name of the most expensive base price room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Which room has the highest base price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>List the type of bed and name of all traditional rooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"'traditional'"}]}}<|endoftext|><|prompter|>What are the bed type and name of all the rooms with traditional decor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"'traditional'"}]}}<|endoftext|><|prompter|>Find the number of rooms with king bed for each decor type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>How many rooms have king beds? Report the number for each decor type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>List the name of all rooms sorted by their prices.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Sort all the rooms according to the price. Just report the room names.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Find the number of rooms with price higher than 120 for different decor.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":120},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>How many rooms cost more than 120, for each different decor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":120},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>For each bed type, find the average room price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What is the average base price of rooms, for each bed type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>How many different types of beds are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedType","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the number of distinct bed types available in this inn.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedType","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the name and id of the top 3 expensive rooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the name and id of the three highest priced rooms?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["RoomId","roomName","beds","bedType","maxOccupancy","basePrice","decor"],"name":"Rooms","type":"grid"}]<|endoftext|><|prompter|>Find the names of all modern rooms with a base price below $160 and two beds.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":"<","value":160},{"actionType":"ChangeCondition","column":"beds","operation":"=","value":2},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>What are the names of modern rooms that have a base price lower than $160 and two beds.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":"<","value":160},{"actionType":"ChangeCondition","column":"beds","operation":"=","value":2},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>Find all the rooms that have a price higher than 160 and can accommodate more than 2 people. Report room names and ids.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":160},{"actionType":"ChangeCondition","column":"maxOccupancy","operation":">","value":2}]}}<|endoftext|><|prompter|>What are the room names and ids of all the rooms that cost more than 160 and can accommodate more than two people.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":160},{"actionType":"ChangeCondition","column":"maxOccupancy","operation":">","value":2}]}}<|endoftext|><|prompter|>How many king beds are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"beds","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"}]}}<|endoftext|><|prompter|>Find the total number of king beds available.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"beds","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"}]}}<|endoftext|><|prompter|>List the names and decor of rooms that have a king bed. Sort the list by their price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"},{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names and decor of rooms with a king bed? Sort them by their price<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"},{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Which room has cheapest base price? List the room's name and the base price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the room name and base price of the room with the lowest base price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the decor of room Recluse and defiance?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"roomName","operation":"=","value":"'Recluse and defiance'"}]}}<|endoftext|><|prompter|>Return the decor of the room named "Recluse and defiance".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"roomName","operation":"=","value":"'Recluse and defiance'"}]}}<|endoftext|><|prompter|>List the average base price for each bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>For each bed type, find the average base price of different bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What is the total number of people who could stay in the modern rooms in this inn?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"maxOccupancy","aggregation":"sum"},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>How many people in total can stay in the modern rooms of this inn?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"maxOccupancy","aggregation":"sum"},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>Find the number of rooms with a king bed.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"}]}}<|endoftext|><|prompter|>How many rooms have a king bed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"}]}}<|endoftext|><|prompter|>Find the number of rooms for each bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What are the number of rooms for each bed type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>Find the name of the room with the maximum occupancy.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"maxOccupancy","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the room that can accommodate the most people?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"maxOccupancy","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the id and name of the most expensive base price room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Which room has the highest base price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>List the type of bed and name of all traditional rooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"'traditional'"}]}}<|endoftext|><|prompter|>What are the bed type and name of all the rooms with traditional decor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"'traditional'"}]}}<|endoftext|><|prompter|>Find the number of rooms with king bed for each decor type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>How many rooms have king beds? Report the number for each decor type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>List the name of all rooms sorted by their prices.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Sort all the rooms according to the price. Just report the room names.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Find the number of rooms with price higher than 120 for different decor.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":120},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>How many rooms cost more than 120, for each different decor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":120},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>For each bed type, find the average room price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What is the average base price of rooms, for each bed type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>How many different types of beds are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedType","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the number of distinct bed types available in this inn.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedType","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the name and id of the top 3 expensive rooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the name and id of the three highest priced rooms?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["RoomId","roomName","beds","bedType","maxOccupancy","basePrice","decor"],"name":"Rooms","type":"grid"}]<|endoftext|><|prompter|>Find the names of all modern rooms with a base price below $160 and two beds.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":"<","value":160},{"actionType":"ChangeCondition","column":"beds","operation":"=","value":2},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>What are the names of modern rooms that have a base price lower than $160 and two beds.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":"<","value":160},{"actionType":"ChangeCondition","column":"beds","operation":"=","value":2},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>Find all the rooms that have a price higher than 160 and can accommodate more than 2 people. Report room names and ids.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":160},{"actionType":"ChangeCondition","column":"maxOccupancy","operation":">","value":2}]}}<|endoftext|><|prompter|>What are the room names and ids of all the rooms that cost more than 160 and can accommodate more than two people.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":160},{"actionType":"ChangeCondition","column":"maxOccupancy","operation":">","value":2}]}}<|endoftext|><|prompter|>How many king beds are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"beds","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"}]}}<|endoftext|><|prompter|>Find the total number of king beds available.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"beds","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"}]}}<|endoftext|><|prompter|>List the names and decor of rooms that have a king bed. Sort the list by their price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"},{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names and decor of rooms with a king bed? Sort them by their price<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"},{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Which room has cheapest base price? List the room's name and the base price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the room name and base price of the room with the lowest base price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the decor of room Recluse and defiance?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"roomName","operation":"=","value":"'Recluse and defiance'"}]}}<|endoftext|><|prompter|>Return the decor of the room named "Recluse and defiance".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"roomName","operation":"=","value":"'Recluse and defiance'"}]}}<|endoftext|><|prompter|>What is the average base price of different bed type? List bed type and average base price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>Find the average base price for each bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What is the total number of people who could stay in the modern rooms in this inn?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"maxOccupancy","aggregation":"sum"},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>How many people in total can stay in the modern rooms of this inn?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"maxOccupancy","aggregation":"sum"},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>Find the number of rooms with a king bed.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"}]}}<|endoftext|><|prompter|>How many rooms have a king bed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"}]}}<|endoftext|><|prompter|>Find the number of rooms for each bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What are the number of rooms for each bed type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>Find the name of the room with the maximum occupancy.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"maxOccupancy","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the room that can accommodate the most people?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"maxOccupancy","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the id and name of the most expensive base price room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Which room has the highest base price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>List the type of bed and name of all traditional rooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"'traditional'"}]}}<|endoftext|><|prompter|>What are the bed type and name of all the rooms with traditional decor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"'traditional'"}]}}<|endoftext|><|prompter|>Find the number of rooms with king bed for each decor type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>How many rooms have king beds? Report the number for each decor type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>List the name of all rooms sorted by their prices.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Sort all the rooms according to the price. Just report the room names.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Find the number of rooms with price higher than 120 for different decor.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":120},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>How many rooms cost more than 120, for each different decor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":120},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>For each bed type, find the average room price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What is the average base price of rooms, for each bed type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>How many different types of beds are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedType","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the number of distinct bed types available in this inn.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedType","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the name and id of the top 3 expensive rooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the name and id of the three highest priced rooms?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["RoomId","roomName","beds","bedType","maxOccupancy","basePrice","decor"],"name":"Rooms","type":"grid"}]<|endoftext|><|prompter|>Find the names of all modern rooms with a base price below $160 and two beds.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":"<","value":160},{"actionType":"ChangeCondition","column":"beds","operation":"=","value":2},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>What are the names of modern rooms that have a base price lower than $160 and two beds.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":"<","value":160},{"actionType":"ChangeCondition","column":"beds","operation":"=","value":2},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>Find all the rooms that have a price higher than 160 and can accommodate more than 2 people. Report room names and ids.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":160},{"actionType":"ChangeCondition","column":"maxOccupancy","operation":">","value":2}]}}<|endoftext|><|prompter|>What are the room names and ids of all the rooms that cost more than 160 and can accommodate more than two people.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":160},{"actionType":"ChangeCondition","column":"maxOccupancy","operation":">","value":2}]}}<|endoftext|><|prompter|>How many king beds are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"beds","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"}]}}<|endoftext|><|prompter|>Find the total number of king beds available.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"beds","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"}]}}<|endoftext|><|prompter|>List the names and decor of rooms that have a king bed. Sort the list by their price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"},{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names and decor of rooms with a king bed? Sort them by their price<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"},{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Which room has cheapest base price? List the room's name and the base price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the room name and base price of the room with the lowest base price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the decor of room Recluse and defiance?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"roomName","operation":"=","value":"'Recluse and defiance'"}]}}<|endoftext|><|prompter|>Return the decor of the room named "Recluse and defiance".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"roomName","operation":"=","value":"'Recluse and defiance'"}]}}<|endoftext|><|prompter|>What is the average base price of different bed type? List bed type and average base price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>Calculate the total number of hours done by all students in each department.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What is the total number of people who could stay in the modern rooms in this inn?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"maxOccupancy","aggregation":"sum"},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>How many people in total can stay in the modern rooms of this inn?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"maxOccupancy","aggregation":"sum"},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>Find the number of rooms with a king bed.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"}]}}<|endoftext|><|prompter|>How many rooms have a king bed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"}]}}<|endoftext|><|prompter|>Find the number of rooms for each bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What are the number of rooms for each bed type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>Find the name of the room with the maximum occupancy.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"maxOccupancy","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the room that can accommodate the most people?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"maxOccupancy","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the id and name of the most expensive base price room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Which room has the highest base price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>List the type of bed and name of all traditional rooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"'traditional'"}]}}<|endoftext|><|prompter|>What are the bed type and name of all the rooms with traditional decor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"'traditional'"}]}}<|endoftext|><|prompter|>Find the number of rooms with king bed for each decor type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>How many rooms have king beds? Report the number for each decor type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>List the name of all rooms sorted by their prices.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Sort all the rooms according to the price. Just report the room names.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Find the number of rooms with price higher than 120 for different decor.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":120},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>How many rooms cost more than 120, for each different decor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":120},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>For each bed type, find the average room price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What is the average base price of rooms, for each bed type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>How many different types of beds are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedType","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the number of distinct bed types available in this inn.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedType","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the name and id of the top 3 expensive rooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the name and id of the three highest priced rooms?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["RoomId","roomName","beds","bedType","maxOccupancy","basePrice","decor"],"name":"Rooms","type":"grid"}]<|endoftext|><|prompter|>Find the names of all modern rooms with a base price below $160 and two beds.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":"<","value":160},{"actionType":"ChangeCondition","column":"beds","operation":"=","value":2},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>What are the names of modern rooms that have a base price lower than $160 and two beds.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":"<","value":160},{"actionType":"ChangeCondition","column":"beds","operation":"=","value":2},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>Find all the rooms that have a price higher than 160 and can accommodate more than 2 people. Report room names and ids.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":160},{"actionType":"ChangeCondition","column":"maxOccupancy","operation":">","value":2}]}}<|endoftext|><|prompter|>What are the room names and ids of all the rooms that cost more than 160 and can accommodate more than two people.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":160},{"actionType":"ChangeCondition","column":"maxOccupancy","operation":">","value":2}]}}<|endoftext|><|prompter|>How many king beds are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"beds","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"}]}}<|endoftext|><|prompter|>Find the total number of king beds available.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"beds","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"}]}}<|endoftext|><|prompter|>List the names and decor of rooms that have a king bed. Sort the list by their price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"},{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names and decor of rooms with a king bed? Sort them by their price<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"},{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Which room has cheapest base price? List the room's name and the base price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the room name and base price of the room with the lowest base price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the decor of room Recluse and defiance?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"roomName","operation":"=","value":"'Recluse and defiance'"}]}}<|endoftext|><|prompter|>Return the decor of the room named "Recluse and defiance".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"roomName","operation":"=","value":"'Recluse and defiance'"}]}}<|endoftext|><|prompter|>What is the average base price of different bed type? List bed type and average base price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>For each bed type, find the average base price of different bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What is the total number of people who could stay in the modern rooms in this inn?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"maxOccupancy","aggregation":"sum"},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>How many people in total can stay in the modern rooms of this inn?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"maxOccupancy","aggregation":"sum"},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>Find the number of rooms with a king bed.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"}]}}<|endoftext|><|prompter|>How many rooms have a king bed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"}]}}<|endoftext|><|prompter|>Determine the room count for each bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What are the number of rooms for each bed type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>Find the name of the room with the maximum occupancy.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"maxOccupancy","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the room that can accommodate the most people?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"maxOccupancy","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the id and name of the most expensive base price room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Which room has the highest base price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>List the type of bed and name of all traditional rooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"'traditional'"}]}}<|endoftext|><|prompter|>What are the bed type and name of all the rooms with traditional decor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"'traditional'"}]}}<|endoftext|><|prompter|>Find the number of rooms with king bed for each decor type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>How many rooms have king beds? Report the number for each decor type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>List the name of all rooms sorted by their prices.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Sort all the rooms according to the price. Just report the room names.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Find the number of rooms with price higher than 120 for different decor.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":120},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>How many rooms cost more than 120, for each different decor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":120},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>For each bed type, find the average room price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What is the average base price of rooms, for each bed type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>How many different types of beds are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedType","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the number of distinct bed types available in this inn.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedType","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the name and id of the top 3 expensive rooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the name and id of the three highest priced rooms?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|> | SPIDER |