instruction
stringlengths
241
15.9k
source
stringclasses
2 values
<|context|>[{"columns":["Year","Campus","Degrees"],"name":"degrees","type":"grid"}]<|endoftext|><|prompter|>Which year has the most degrees conferred?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"YEAR"},{"actionType":"ChangeTopFilter","column":"degrees","limit":1,"aggregation":"sum","direction":"desk"}]}}<|endoftext|><|prompter|>In what year was the most degrees conferred?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"YEAR"},{"actionType":"ChangeTopFilter","column":"degrees","limit":1,"aggregation":"sum","direction":"desk"}]}}<|endoftext|><|prompter|>Which campus has the most degrees conferred in all times?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"campus"},{"actionType":"ChangeTopFilter","column":"degrees","limit":1,"aggregation":"sum","direction":"desk"}]}}<|endoftext|><|prompter|>What campus has the most degrees conferrred over its entire existence?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"campus"},{"actionType":"ChangeTopFilter","column":"degrees","limit":1,"aggregation":"sum","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["StuID","LName","Fname","Age","Sex","Major","Advisor","city_code"],"name":"student","type":"grid"}]<|endoftext|><|prompter|>Yes<|endoftext|><|assistant|>{"text":"What is the average age of all the male students (sex with M) from each city?","dsl":{}}<|endoftext|><|prompter|>What is the average age of all the male students (sex with M) from each city?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"age","aggregation":"avg"},{"actionType":"ChangeCondition","column":"sex","operation":"=","value":"M"},{"actionType":"ChangeGrouping","column":"city_code"}]}}<|endoftext|><|prompter|>What are the average number of all the male students (sex with M) from each city?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"sex","operation":"=","value":"M"},{"actionType":"ChangeGrouping","column":"city_code"}]}}<|endoftext|><|prompter|>What are the names of the students from ATL?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city_code","operation":"=","value":"ATL"}]}}<|endoftext|><|prompter|>What is his age?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city_code","operation":"=","value":"ATL"}]}}<|endoftext|><|prompter|>What is the average age of all the female students (sex with F) from each city?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"age","aggregation":"avg"},{"actionType":"ChangeCondition","column":"sex","operation":"=","value":"F"},{"actionType":"ChangeGrouping","column":"city_code"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"goodbye","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["Member_ID","Name","Membership_card","Age","Time_of_purchase","Level_of_membership","Address"],"name":"member","type":"grid"}]<|endoftext|><|prompter|>What is the membership card of Breton,Robert?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Name","operation":"=","value":"Breton, Robert"}]}}<|endoftext|><|prompter|>What is the time of purchase of Ashby,Lazale?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Name","operation":"=","value":"Ashby, Lazale"}]}}<|endoftext|><|prompter|>What is the level of membership of Campbell,Jessie?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Name","operation":"=","value":"Campbell, Jessie"}]}}<|endoftext|><|prompter|>What is the address of Id number 2?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Member_ID","operation":"=","value":2}]}}<|endoftext|><|prompter|>What is the age of Breton,Robert?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Name","operation":"=","value":"Breton, Robert"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Bye!","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["year","round","team_id_winner","league_id_winner","team_id_loser","league_id_loser","wins","losses","ties"],"name":"postseason","type":"grid"}]<|endoftext|><|prompter|>How many games in 1885 postseason resulted in ties (that is, the value of "ties" is '1')?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"YEAR","operation":"=","value":1885},{"actionType":"ChangeCondition","column":"ties","operation":"=","value":1}]}}<|endoftext|><|prompter|>Find the number of tied games (the value of "ties" is '1') in 1885 postseason.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"YEAR","operation":"=","value":1885},{"actionType":"ChangeCondition","column":"ties","operation":"=","value":1}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["year","team_id","league_id","player_id","salary"],"name":"salary","type":"grid"}]<|endoftext|><|prompter|>List the 3 highest salaries of the players in 2001?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"YEAR","operation":"=","value":2001},{"actionType":"ChangeTopFilter","column":"salary","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>List the 3 highest salaries of players on ATL in 2001.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"YEAR","operation":"=","value":2001},{"actionType":"ChangeCondition","column":"team_id","operation":"=","value":"'ATL'"},{"actionType":"ChangeTopFilter","column":"salary","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>List the 3 highest salaries of players in the NL in 2001.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"YEAR","operation":"=","value":2001},{"actionType":"ChangeCondition","column":"league_id","operation":"=","value":"'NL'"},{"actionType":"ChangeTopFilter","column":"salary","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>List the 3 highest salaries of players in the AL in 2001<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"YEAR","operation":"=","value":2001},{"actionType":"ChangeCondition","column":"league_id","operation":"=","value":"'AL'"},{"actionType":"ChangeTopFilter","column":"salary","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Thank you, good bye. ","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["Editor_ID","Name","Age"],"name":"editor","type":"grid"}]<|endoftext|><|prompter|>List the names of editors in ascending order of age.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Age","direction":"ask"}]}}<|endoftext|><|prompter|>List the names of editors who are older than 25.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Age","operation":">","value":25}]}}<|endoftext|><|prompter|>What is the name of the youngest editor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Show the various ages of editors and the editor count for each age.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Age"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Editor_ID","Name","Age"],"name":"editor","type":"grid"}]<|endoftext|><|prompter|>List the names of editors in ascending order of age.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Age","direction":"ask"}]}}<|endoftext|><|prompter|>List the names of editors who are older than 25.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Age","operation":">","value":25}]}}<|endoftext|><|prompter|>What is the name of the youngest editor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the different ages of editors? Display each age along with the number of editors of that age.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Age"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Editor_ID","Name","Age"],"name":"editor","type":"grid"}]<|endoftext|><|prompter|>List the names of editors in ascending order of age.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Age","direction":"ask"}]}}<|endoftext|><|prompter|>List the names of editors who are older than 25.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Age","operation":">","value":25}]}}<|endoftext|><|prompter|>What is the name of the youngest editor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the different ages of editors? Show each age along with the number of editors of that age.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Age"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Competition_ID","Year","Theme","Host_city_ID","Hosts"],"name":"farm_competition","type":"grid"}]<|endoftext|><|prompter|>What are the hosts of competitions whose theme is not "Aliens"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Theme","operation":"!=","value":"Aliens"}]}}<|endoftext|><|prompter|>Return the hosts of competitions for which the theme is not Aliens?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Theme","operation":"!=","value":"Aliens"}]}}<|endoftext|><|prompter|>What are the themes of farm competitions sorted by year in ascending order?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"YEAR","direction":"ask"}]}}<|endoftext|><|prompter|>Return the themes of farm competitions, sorted by year ascending.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"YEAR","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["EMP_NUM","EMP_LNAME","EMP_FNAME","EMP_INITIAL","EMP_JOBCODE","EMP_HIREDATE","EMP_DOB"],"name":"employee","type":"grid"}]<|endoftext|><|prompter|>Yes<|endoftext|><|assistant|>{"text":"What is the first name of the oldest employee?","dsl":{}}<|endoftext|><|prompter|>What is the first name of the oldest employee?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"emp_dob","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is his last name?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"emp_dob","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What was his employee hire date?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"emp_dob","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What was his date of birth?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"emp_dob","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the name of the youngest employee?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"emp_dob","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"goodbye.","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["student_id","friend_id"],"name":"Friend","type":"grid"}]<|endoftext|><|prompter|>What is the total amount of grants given by each organization? Please also provide the organization ID.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"student_id"}]}}<|endoftext|><|prompter|>How many friends does each student have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"student_id"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["student_id","friend_id"],"name":"Friend","type":"grid"}]<|endoftext|><|prompter|>Show the student IDs and the number of friends corresponding to each.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"student_id"}]}}<|endoftext|><|prompter|>How many friends does each student have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"student_id"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["student_id","friend_id"],"name":"Friend","type":"grid"}]<|endoftext|><|prompter|>Show the student IDs and numbers of friends corresponding to each.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"student_id"}]}}<|endoftext|><|prompter|>Count the number of friends for each student.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"student_id"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["student_id","friend_id"],"name":"Friend","type":"grid"}]<|endoftext|><|prompter|>Show the student IDs and numbers of friends corresponding to each.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"student_id"}]}}<|endoftext|><|prompter|>How many friends does each student have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"student_id"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["student_id","friend_id"],"name":"Friend","type":"grid"}]<|endoftext|><|prompter|>Show the student IDs and numbers of friends corresponding to each.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"student_id"}]}}<|endoftext|><|prompter|>How many friends does each student have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"student_id"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Branch_ID","Name","Open_year","Address_road","City","membership_amount"],"name":"branch","type":"grid"}]<|endoftext|><|prompter|>What are the names for the top three branches with most number of membership?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"membership_amount","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What year did they open?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"membership_amount","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are their cities?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"membership_amount","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Thanks. bye.","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["Product_ID","Product_Type_Code","Product_Name","Product_Price"],"name":"Products","type":"grid"}]<|endoftext|><|prompter|>List the name of products in ascending order of price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Product_Price","direction":"ask"}]}}<|endoftext|><|prompter|>What is the average price for products?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Product_Price","aggregation":"avg"}]}}<|endoftext|><|prompter|>What is the name of the product with the highest price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Product_Price","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Display distinct product type codes and the count of products for each code.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Product_Type_Code"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Product_ID","Product_Type_Code","Product_Name","Product_Price"],"name":"Products","type":"grid"}]<|endoftext|><|prompter|>List the name of products in ascending order of price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Product_Price","direction":"ask"}]}}<|endoftext|><|prompter|>What is the average price for products?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Product_Price","aggregation":"avg"}]}}<|endoftext|><|prompter|>What is the name of the product with the highest price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Product_Price","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Determine the average high temperature for each day of the week.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Product_Type_Code"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Product_ID","Product_Type_Code","Product_Name","Product_Price"],"name":"Products","type":"grid"}]<|endoftext|><|prompter|>List the name of products in ascending order of price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Product_Price","direction":"ask"}]}}<|endoftext|><|prompter|>What is the average price for products?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Product_Price","aggregation":"avg"}]}}<|endoftext|><|prompter|>What is the name of the product with the highest price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Product_Price","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Show different type codes of products and the number of products with each type code.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Product_Type_Code"}]}}<|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|>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|>FIND THE NAME OF CUSTOMER WHO HAS THE HIGHEST CREDIT SCORE<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"credit_score","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>FIND THE NAME OF CUSTOMER WHO HAS HIGH ACCOUNT BALANCE<|endoftext|><|assistant|>{"text":"Did you mean the highest account balance?","dsl":{}}<|endoftext|><|prompter|>YES<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"acc_bal","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>THANKS!<|endoftext|><|assistant|>{"text":"welcome goodybye","dsl":{}}<|endoftext|><|prompter|>GOODBYE <|endoftext|><|assistant|>{"text":"GOODBYE ","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["route_id","route_name","other_route_details"],"name":"Delivery_Routes","type":"grid"}]<|endoftext|><|prompter|>List the names of all routes in alphabetic order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"route_name","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["id","Title","Directed_by","Written_by","Original_air_date","Production_code","Channel"],"name":"cartoon","type":"grid"}]<|endoftext|><|prompter|>which is the most recently aired cartoon? <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"original_air_date","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>find the channel of the most recently aired cartoon.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"original_air_date","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Find the production code and channel of the most recently aired cartoon.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"original_air_date","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|>
COSQL
<|context|>[{"columns":["Station_ID","Name","Annual_entry_exit","Annual_interchanges","Total_Passengers","Location","Main_Services","Number_of_Platforms"],"name":"station","type":"grid"}]<|endoftext|><|prompter|>Could you show me all the locations that have train stations with at least 15 platforms?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"number_of_platforms","operation":">=","value":15}]}}<|endoftext|><|prompter|>Could you show me all the locations that have train stations with more than 25 total passengers?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"total_passengers","operation":">","value":25}]}}<|endoftext|><|prompter|>Could you show me all the locations that have train stations with exactly 19 platforms?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"number_of_platforms","operation":"=","value":19}]}}<|endoftext|><|prompter|>Could you give me the names of those locations, please?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"number_of_platforms","operation":"=","value":19}]}}<|endoftext|><|prompter|>What are the total passengers of those?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"number_of_platforms","operation":"=","value":19}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"goodbye!","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["ID","Name","Level_of_membership","Age"],"name":"visitor","type":"grid"}]<|endoftext|><|prompter|>How many visitors below age 30 are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":"<","value":30}]}}<|endoftext|><|prompter|>Find the names of the visitors whose membership level is higher than 4, and order the results by the level from high to low.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Level_of_membership","operation":">","value":4},{"actionType":"ChangeSorting","column":"Level_of_membership","direction":"desk"}]}}<|endoftext|><|prompter|>What is the average age of the visitors whose membership level is not higher than 4?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"age","aggregation":"avg"},{"actionType":"ChangeCondition","column":"Level_of_membership","operation":"<=","value":4}]}}<|endoftext|><|prompter|>Find the name and membership level of the visitors whose membership level is higher than 4, and sort by their age from old to young.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Level_of_membership","operation":">","value":4},{"actionType":"ChangeSorting","column":"age","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Singer_ID","Name","Country","Song_Name","Song_release_year","Age","Is_male"],"name":"singer","type":"grid"}]<|endoftext|><|prompter|>What is the name of the youngest singer?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What's the name of the song by Tribal King?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"Tribal King"}]}}<|endoftext|><|prompter|>What was the release year of that song?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"Tribal King"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"goodbye.","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["id","name","album_id","media_type_id","genre_id","composer","milliseconds","bytes","unit_price"],"name":"tracks","type":"grid"}]<|endoftext|><|prompter|>Who is the composer of track Fast As a Shark?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'Fast As a Shark'"}]}}<|endoftext|><|prompter|>What is the composer who created the track "Fast As a Shark"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'Fast As a Shark'"}]}}<|endoftext|><|prompter|>How long does track Fast As a Shark has?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'Fast As a Shark'"}]}}<|endoftext|><|prompter|>How many milliseconds long is Fast As a Shark?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'Fast As a Shark'"}]}}<|endoftext|><|prompter|>How much is the track Fast As a Shark?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'Fast As a Shark'"}]}}<|endoftext|><|prompter|>What is the unit price of the tune "Fast As a Shark"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'Fast As a Shark'"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["id","uid","text","createdate"],"name":"tweets","type":"grid"}]<|endoftext|><|prompter|>Find the number of users who posted some tweets.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"UID","aggregation":"count"}]}}<|endoftext|><|prompter|>List the text of all tweets in the order of date.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"createdate","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["EMPLOYEE_ID","START_DATE","END_DATE","JOB_ID","DEPARTMENT_ID"],"name":"job_history","type":"grid"}]<|endoftext|><|prompter|>Show the employee ID and end date of their previous job for each employee.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"end_date","aggregation":"MAX"},{"actionType":"ChangeGrouping","column":"employee_id"}]}}<|endoftext|><|prompter|>What are the employee ids for each employee and final dates of employment at their last job?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"end_date","aggregation":"MAX"},{"actionType":"ChangeGrouping","column":"employee_id"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["EMPLOYEE_ID","START_DATE","END_DATE","JOB_ID","DEPARTMENT_ID"],"name":"job_history","type":"grid"}]<|endoftext|><|prompter|>Provide the employee ID for each employee and the date on which they ended their previous job.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"end_date","aggregation":"MAX"},{"actionType":"ChangeGrouping","column":"employee_id"}]}}<|endoftext|><|prompter|>What are the employee ids for each employee and final dates of employment at their last job?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"end_date","aggregation":"MAX"},{"actionType":"ChangeGrouping","column":"employee_id"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["EMPLOYEE_ID","START_DATE","END_DATE","JOB_ID","DEPARTMENT_ID"],"name":"job_history","type":"grid"}]<|endoftext|><|prompter|>display the employee ID for each employee and the date on which he ended his previous job.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"end_date","aggregation":"MAX"},{"actionType":"ChangeGrouping","column":"employee_id"}]}}<|endoftext|><|prompter|>List employee IDs alongside their final employment dates at their last job.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"end_date","aggregation":"MAX"},{"actionType":"ChangeGrouping","column":"employee_id"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["EMPLOYEE_ID","START_DATE","END_DATE","JOB_ID","DEPARTMENT_ID"],"name":"job_history","type":"grid"}]<|endoftext|><|prompter|>display the employee ID for each employee and the date on which he ended his previous job.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"end_date","aggregation":"MAX"},{"actionType":"ChangeGrouping","column":"employee_id"}]}}<|endoftext|><|prompter|>Display the employee IDs for each employee and the final dates of employment at their last job.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"end_date","aggregation":"MAX"},{"actionType":"ChangeGrouping","column":"employee_id"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["EMPLOYEE_ID","START_DATE","END_DATE","JOB_ID","DEPARTMENT_ID"],"name":"job_history","type":"grid"}]<|endoftext|><|prompter|>display the employee ID for each employee and the date on which he ended his previous job.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"end_date","aggregation":"MAX"},{"actionType":"ChangeGrouping","column":"employee_id"}]}}<|endoftext|><|prompter|>What are the employee ids for each employee and final dates of employment at their last job?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"end_date","aggregation":"MAX"},{"actionType":"ChangeGrouping","column":"employee_id"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["ID","Music_Festival","Date_of_ceremony","Category","Volume","Result"],"name":"music_festival","type":"grid"}]<|endoftext|><|prompter|>What are the category of music festivals with result "Awarded"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"RESULT","operation":"=","value":"'Awarded'"}]}}<|endoftext|><|prompter|>Return the categories of music festivals that have the result "Awarded".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"RESULT","operation":"=","value":"'Awarded'"}]}}<|endoftext|><|prompter|>Display music festival categories along with their respective counts.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Category"}]}}<|endoftext|><|prompter|>Return the number of music festivals of each category.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Category"}]}}<|endoftext|><|prompter|>What are the date of ceremony of music festivals with category "Best Song" and result "Awarded"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Category","operation":"=","value":"'Best Song'"},{"actionType":"ChangeCondition","column":"RESULT","operation":"=","value":"'Awarded'"}]}}<|endoftext|><|prompter|>Return the dates of ceremony corresponding to music festivals that had the category "Best Song" and result "Awarded".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Category","operation":"=","value":"'Best Song'"},{"actionType":"ChangeCondition","column":"RESULT","operation":"=","value":"'Awarded'"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["ID","Music_Festival","Date_of_ceremony","Category","Volume","Result"],"name":"music_festival","type":"grid"}]<|endoftext|><|prompter|>What are the category of music festivals with result "Awarded"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"RESULT","operation":"=","value":"'Awarded'"}]}}<|endoftext|><|prompter|>Return the categories of music festivals that have the result "Awarded".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"RESULT","operation":"=","value":"'Awarded'"}]}}<|endoftext|><|prompter|>Please show the categories of music festivals and the count of each category.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Category"}]}}<|endoftext|><|prompter|>Return the number of music festivals of each category.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Category"}]}}<|endoftext|><|prompter|>What are the date of ceremony of music festivals with category "Best Song" and result "Awarded"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Category","operation":"=","value":"'Best Song'"},{"actionType":"ChangeCondition","column":"RESULT","operation":"=","value":"'Awarded'"}]}}<|endoftext|><|prompter|>Return the dates of ceremony corresponding to music festivals that had the category "Best Song" and result "Awarded".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Category","operation":"=","value":"'Best Song'"},{"actionType":"ChangeCondition","column":"RESULT","operation":"=","value":"'Awarded'"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["ID","Music_Festival","Date_of_ceremony","Category","Volume","Result"],"name":"music_festival","type":"grid"}]<|endoftext|><|prompter|>What are the category of music festivals with result "Awarded"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"RESULT","operation":"=","value":"'Awarded'"}]}}<|endoftext|><|prompter|>Return the categories of music festivals that have the result "Awarded".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"RESULT","operation":"=","value":"'Awarded'"}]}}<|endoftext|><|prompter|>Please show the categories of the music festivals and the count.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Category"}]}}<|endoftext|><|prompter|>Determine the count of music festivals in every category.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Category"}]}}<|endoftext|><|prompter|>What are the date of ceremony of music festivals with category "Best Song" and result "Awarded"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Category","operation":"=","value":"'Best Song'"},{"actionType":"ChangeCondition","column":"RESULT","operation":"=","value":"'Awarded'"}]}}<|endoftext|><|prompter|>Return the dates of ceremony corresponding to music festivals that had the category "Best Song" and result "Awarded".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Category","operation":"=","value":"'Best Song'"},{"actionType":"ChangeCondition","column":"RESULT","operation":"=","value":"'Awarded'"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["ID","Music_Festival","Date_of_ceremony","Category","Volume","Result"],"name":"music_festival","type":"grid"}]<|endoftext|><|prompter|>What are the category of music festivals with result "Awarded"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"RESULT","operation":"=","value":"'Awarded'"}]}}<|endoftext|><|prompter|>Return the categories of music festivals that have the result "Awarded".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"RESULT","operation":"=","value":"'Awarded'"}]}}<|endoftext|><|prompter|>Please show the categories of the music festivals and the count.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Category"}]}}<|endoftext|><|prompter|>Return the count of music festivals in each category.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Category"}]}}<|endoftext|><|prompter|>What are the date of ceremony of music festivals with category "Best Song" and result "Awarded"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Category","operation":"=","value":"'Best Song'"},{"actionType":"ChangeCondition","column":"RESULT","operation":"=","value":"'Awarded'"}]}}<|endoftext|><|prompter|>Return the dates of ceremony corresponding to music festivals that had the category "Best Song" and result "Awarded".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Category","operation":"=","value":"'Best Song'"},{"actionType":"ChangeCondition","column":"RESULT","operation":"=","value":"'Awarded'"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["ID","Music_Festival","Date_of_ceremony","Category","Volume","Result"],"name":"music_festival","type":"grid"}]<|endoftext|><|prompter|>What are the category of music festivals with result "Awarded"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"RESULT","operation":"=","value":"'Awarded'"}]}}<|endoftext|><|prompter|>Return the categories of music festivals that have the result "Awarded".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"RESULT","operation":"=","value":"'Awarded'"}]}}<|endoftext|><|prompter|>Please show the categories of the music festivals and the count.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Category"}]}}<|endoftext|><|prompter|>Return the number of music festivals of each category.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Category"}]}}<|endoftext|><|prompter|>What are the date of ceremony of music festivals with category "Best Song" and result "Awarded"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Category","operation":"=","value":"'Best Song'"},{"actionType":"ChangeCondition","column":"RESULT","operation":"=","value":"'Awarded'"}]}}<|endoftext|><|prompter|>Return the dates of ceremony corresponding to music festivals that had the category "Best Song" and result "Awarded".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Category","operation":"=","value":"'Best Song'"},{"actionType":"ChangeCondition","column":"RESULT","operation":"=","value":"'Awarded'"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["CountryCode","Language","IsOfficial","Percentage"],"name":"countrylanguage","type":"grid"}]<|endoftext|><|prompter|>What is the average percent?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"percentage","aggregation":"avg"}]}}<|endoftext|><|prompter|>Which code of country has the highest dutch speaking population?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"language","operation":"=","value":"'Dutch'"},{"actionType":"ChangeTopFilter","column":"percentage","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the difference in percent to Dutch speaking and Papiamento speaking countries?<|endoftext|><|assistant|>{"text":"What difference do you want?","dsl":{}}<|endoftext|><|prompter|>The difference of the overall percent<|endoftext|><|assistant|>{"text":"Do you mean average percent?","dsl":{}}<|endoftext|><|prompter|>yes<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"percentage","aggregation":"avg"},{"actionType":"ChangeCondition","column":"language","operation":"=","value":"'Papiamento'"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Bye!","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["state_name","border"],"name":"border_info","type":"grid"}]<|endoftext|><|prompter|>what states neighbor kentucky<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'kentucky'"}]}}<|endoftext|><|prompter|>which states border kentucky<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'kentucky'"}]}}<|endoftext|><|prompter|>what states border kentucky<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'kentucky'"}]}}<|endoftext|><|prompter|>give me the states that border kentucky<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'kentucky'"}]}}<|endoftext|><|prompter|>what state borders kentucky<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'kentucky'"}]}}<|endoftext|><|prompter|>what states are next to kentucky<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'kentucky'"}]}}<|endoftext|><|prompter|>what states surround kentucky<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'kentucky'"}]}}<|endoftext|><|prompter|>which state borders kentucky<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'kentucky'"}]}}<|endoftext|><|prompter|>what are the neighboring states for kentucky<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'kentucky'"}]}}<|endoftext|><|prompter|>which states adjoin kentucky<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'kentucky'"}]}}<|endoftext|><|prompter|>states bordering kentucky<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'kentucky'"}]}}<|endoftext|><|prompter|>which state border kentucky<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'kentucky'"}]}}<|endoftext|><|prompter|>what is the adjacent state of kentucky<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'kentucky'"}]}}<|endoftext|><|prompter|>how many states border kentucky<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"border","aggregation":"COUNT"},{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'kentucky'"}]}}<|endoftext|><|prompter|>how many states does kentucky border<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"border","aggregation":"COUNT"},{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'kentucky'"}]}}<|endoftext|><|prompter|>kentucky borders how many states<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"border","aggregation":"COUNT"},{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'kentucky'"}]}}<|endoftext|><|prompter|>number of states bordering kentucky<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"border","aggregation":"COUNT"},{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'kentucky'"}]}}<|endoftext|><|prompter|>what is the number of neighboring states for kentucky<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"border","aggregation":"COUNT"},{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'kentucky'"}]}}<|endoftext|><|prompter|>how many states border at least one other state<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"state_name","aggregation":"COUNT"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Program_ID","Name","Origin","Launch","Owner"],"name":"program","type":"grid"}]<|endoftext|><|prompter|>list all the names of programs, ordering by launch time.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"launch","direction":"ask"}]}}<|endoftext|><|prompter|>What is the list of program names, sorted by the order of launch date?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"launch","direction":"ask"}]}}<|endoftext|><|prompter|>find the name of the program that was launched most recently.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"launch","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Which program was launched most recently? Return the program name.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"launch","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>List all program origins in the alphabetical order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"origin","direction":"ask"}]}}<|endoftext|><|prompter|>What is the list of program origins ordered alphabetically?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"origin","direction":"ask"}]}}<|endoftext|><|prompter|>find the names of programs whose origin is not in Beijing.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"origin","operation":"!=","value":"Beijing"}]}}<|endoftext|><|prompter|>Which programs' origins are not "Beijing"? Give me the program names.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"origin","operation":"!=","value":"Beijing"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Editor_ID","Name","Age"],"name":"editor","type":"grid"}]<|endoftext|><|prompter|>Hello. What is the name of the youngest editor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the age of the youngest editor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the name of that editor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Can you tell me the name of the oldest editor as well?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Age","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Bye!","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["School_ID","Nickname","Colors","League","Class","Division"],"name":"school_details","type":"grid"}]<|endoftext|><|prompter|>Show the nicknames of schools that are not in division 1.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Division","operation":"!=","value":"'Division 1'"}]}}<|endoftext|><|prompter|>What are the nicknames of schools whose division is not 1?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Division","operation":"!=","value":"'Division 1'"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["id","last_name","first_name","title","reports_to","birth_date","hire_date","address","city","state","country","postal_code","phone","fax","email"],"name":"employees","type":"grid"}]<|endoftext|><|prompter|>How many employees are IT Staff? <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"title","operation":"=","value":"IT Staff"}]}}<|endoftext|><|prompter|>How many are in Calgary? <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"title","operation":"=","value":"IT Staff"},{"actionType":"ChangeCondition","column":"city","operation":"=","value":"Calgary"}]}}<|endoftext|><|prompter|>how about in Edmonton?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"title","operation":"=","value":"IT Staff"},{"actionType":"ChangeCondition","column":"city","operation":"=","value":"Edmonton"}]}}<|endoftext|><|prompter|>What city are the 2 employees in?<|endoftext|><|assistant|>{"text":"You mean the 2 employees with title \"IT Staff\"?","dsl":{}}<|endoftext|><|prompter|>yes, the two employees with the title of IT Staff.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"title","operation":"=","value":"IT Staff"}]}}<|endoftext|><|prompter|>Oh great! <|endoftext|><|assistant|>{"text":"What do you wanna ask else?","dsl":{}}<|endoftext|><|prompter|>That is all, Thanks! <|endoftext|><|assistant|>{"text":"You are welcome!","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["Cinema_ID","Name","Openning_year","Capacity","Location"],"name":"cinema","type":"grid"}]<|endoftext|><|prompter|>what is the capacity of Codling?<|endoftext|><|assistant|>{"text":"Did you mean the capacity of the cinema with a name of Coding?","dsl":{}}<|endoftext|><|prompter|>yes<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'Codling'"}]}}<|endoftext|><|prompter|>Which is the largest capacity of cinema?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"capacity","aggregation":"max"}]}}<|endoftext|><|prompter|>where is the location of Codling?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'Codling'"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"bye","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["paperId","title","venueId","year","numCiting","numCitedBy","journalId"],"name":"paper","type":"grid"}]<|endoftext|><|prompter|>List all academic papers on machine networks for one shot learning<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"title","operation":"=","value":"'machine networks for one shot learning'"}]}}<|endoftext|><|prompter|>machine networks for one shot learning<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"title","operation":"=","value":"'machine networks for one shot learning'"}]}}<|endoftext|><|prompter|>How many papers are there ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"paperid","aggregation":"COUNT"}]}}<|endoftext|><|prompter|>papers from 2014<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"YEAR","operation":"=","value":2014}]}}<|endoftext|><|prompter|>2014 papers<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"YEAR","operation":"=","value":2014}]}}<|endoftext|><|prompter|>conferences in 2013<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"YEAR","operation":"=","value":2013}]}}<|endoftext|><|prompter|>List today 's journals<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"YEAR","operation":"=","value":2011},{"actionType":"ChangeGrouping","column":"journalid"}]}}<|endoftext|><|prompter|>List the journals published in March , 2011<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"YEAR","operation":"=","value":2011},{"actionType":"ChangeGrouping","column":"journalid"}]}}<|endoftext|><|prompter|>papers that were not published in the last year<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"YEAR","operation":"!=","value":2015}]}}<|endoftext|><|prompter|>What is the venue of Fracture of acrylic bone cement ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"title","operation":"=","value":"'Fracture of acrylic bone cement'"}]}}<|endoftext|><|prompter|>What is the year of publication of " A Switching Architecture For ISDN " ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"title","operation":"=","value":"'A Switching Architecture For ISDN'"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["FacID","Lname","Fname","Rank","Sex","Phone","Room","Building"],"name":"Faculty","type":"grid"}]<|endoftext|><|prompter|>Show the first name, last name, and phone number for all female faculty members.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>What are the first name, last name, and phone number of all the female faculty members?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>Show ids for all the male faculty.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>What are the faculty ids of all the male faculty members?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>How many female Professors do we have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"},{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"}]}}<|endoftext|><|prompter|>Count the number of female Professors we have.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"},{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"}]}}<|endoftext|><|prompter|>Show the phone, room, and building for the faculty named Jerry Prince.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Jerry'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Prince'"}]}}<|endoftext|><|prompter|>What are the phone, room, and building of the faculty member called Jerry Prince?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Jerry'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Prince'"}]}}<|endoftext|><|prompter|>How many Professors are in building NEB?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"},{"actionType":"ChangeCondition","column":"building","operation":"=","value":"'NEB'"}]}}<|endoftext|><|prompter|>Count the number of Professors who have office in building NEB.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"},{"actionType":"ChangeCondition","column":"building","operation":"=","value":"'NEB'"}]}}<|endoftext|><|prompter|>Show the first name and last name for all the instructors.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Instructor'"}]}}<|endoftext|><|prompter|>What are the first name and last name of all the instructors?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Instructor'"}]}}<|endoftext|><|prompter|>Present all buildings and the number of faculty members housed within each.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|><|prompter|>How many faculty members does each building have? List the result with the name of the building.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|><|prompter|>For each faculty rank, show the number of faculty members who have it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>How many faculty members do we have for each faculty rank?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Show all the ranks and the number of male and female faculty for each rank.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>How many faculty members do we have for each rank and gender?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>Show the number of male and female assistant professors.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"rank","operation":"=","value":"'AsstProf'"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>How many male and female assistant professors do we have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"rank","operation":"=","value":"'AsstProf'"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["FacID","Lname","Fname","Rank","Sex","Phone","Room","Building"],"name":"Faculty","type":"grid"}]<|endoftext|><|prompter|>Show the first name, last name, and phone number for all female faculty members.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>What are the first name, last name, and phone number of all the female faculty members?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>Show ids for all the male faculty.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>What are the faculty ids of all the male faculty members?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>How many female Professors do we have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"},{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"}]}}<|endoftext|><|prompter|>Count the number of female Professors we have.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"},{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"}]}}<|endoftext|><|prompter|>Show the phone, room, and building for the faculty named Jerry Prince.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Jerry'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Prince'"}]}}<|endoftext|><|prompter|>What are the phone, room, and building of the faculty member called Jerry Prince?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Jerry'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Prince'"}]}}<|endoftext|><|prompter|>How many Professors are in building NEB?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"},{"actionType":"ChangeCondition","column":"building","operation":"=","value":"'NEB'"}]}}<|endoftext|><|prompter|>Count the number of Professors who have office in building NEB.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"},{"actionType":"ChangeCondition","column":"building","operation":"=","value":"'NEB'"}]}}<|endoftext|><|prompter|>Show the first name and last name for all the instructors.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Instructor'"}]}}<|endoftext|><|prompter|>What are the first name and last name of all the instructors?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Instructor'"}]}}<|endoftext|><|prompter|>Show all buildings and the number of faculty members associated with each building.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|><|prompter|>How many faculty members does each building have? List the result with the name of the building.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|><|prompter|>For each faculty rank, show the number of faculty members who have it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>How many faculty members do we have for each faculty rank?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Show all the ranks and the number of male and female faculty for each rank.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>How many faculty members do we have for each rank and gender?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>Show the number of male and female assistant professors.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"rank","operation":"=","value":"'AsstProf'"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>How many male and female assistant professors do we have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"rank","operation":"=","value":"'AsstProf'"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["FacID","Lname","Fname","Rank","Sex","Phone","Room","Building"],"name":"Faculty","type":"grid"}]<|endoftext|><|prompter|>Show the first name, last name, and phone number for all female faculty members.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>What are the first name, last name, and phone number of all the female faculty members?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>Show ids for all the male faculty.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>What are the faculty ids of all the male faculty members?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>How many female Professors do we have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"},{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"}]}}<|endoftext|><|prompter|>Count the number of female Professors we have.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"},{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"}]}}<|endoftext|><|prompter|>Show the phone, room, and building for the faculty named Jerry Prince.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Jerry'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Prince'"}]}}<|endoftext|><|prompter|>What are the phone, room, and building of the faculty member called Jerry Prince?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Jerry'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Prince'"}]}}<|endoftext|><|prompter|>How many Professors are in building NEB?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"},{"actionType":"ChangeCondition","column":"building","operation":"=","value":"'NEB'"}]}}<|endoftext|><|prompter|>Count the number of Professors who have office in building NEB.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"},{"actionType":"ChangeCondition","column":"building","operation":"=","value":"'NEB'"}]}}<|endoftext|><|prompter|>Show the first name and last name for all the instructors.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Instructor'"}]}}<|endoftext|><|prompter|>What are the first name and last name of all the instructors?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Instructor'"}]}}<|endoftext|><|prompter|>Show all the buildings along with the number of faculty members the buildings have.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|><|prompter|>List the number of faculty members per building and include the building name.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|><|prompter|>For each faculty rank, show the number of faculty members who have it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>How many faculty members do we have for each faculty rank?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Show all the ranks and the number of male and female faculty for each rank.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>How many faculty members do we have for each rank and gender?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>Show the number of male and female assistant professors.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"rank","operation":"=","value":"'AsstProf'"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>How many male and female assistant professors do we have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"rank","operation":"=","value":"'AsstProf'"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["FacID","Lname","Fname","Rank","Sex","Phone","Room","Building"],"name":"Faculty","type":"grid"}]<|endoftext|><|prompter|>Show the first name, last name, and phone number for all female faculty members.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>What are the first name, last name, and phone number of all the female faculty members?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>Show ids for all the male faculty.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>What are the faculty ids of all the male faculty members?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>How many female Professors do we have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"},{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"}]}}<|endoftext|><|prompter|>Count the number of female Professors we have.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"},{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"}]}}<|endoftext|><|prompter|>Show the phone, room, and building for the faculty named Jerry Prince.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Jerry'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Prince'"}]}}<|endoftext|><|prompter|>What are the phone, room, and building of the faculty member called Jerry Prince?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Jerry'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Prince'"}]}}<|endoftext|><|prompter|>How many Professors are in building NEB?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"},{"actionType":"ChangeCondition","column":"building","operation":"=","value":"'NEB'"}]}}<|endoftext|><|prompter|>Count the number of Professors who have office in building NEB.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"},{"actionType":"ChangeCondition","column":"building","operation":"=","value":"'NEB'"}]}}<|endoftext|><|prompter|>Show the first name and last name for all the instructors.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Instructor'"}]}}<|endoftext|><|prompter|>What are the first name and last name of all the instructors?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Instructor'"}]}}<|endoftext|><|prompter|>Show all the buildings along with the number of faculty members the buildings have.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|><|prompter|>List the number of faculty members for each building along with the name of the building.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|><|prompter|>For each faculty rank, show the number of faculty members who have it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>How many faculty members do we have for each faculty rank?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Show all the ranks and the number of male and female faculty for each rank.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>How many faculty members do we have for each rank and gender?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>Show the number of male and female assistant professors.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"rank","operation":"=","value":"'AsstProf'"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>How many male and female assistant professors do we have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"rank","operation":"=","value":"'AsstProf'"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["FacID","Lname","Fname","Rank","Sex","Phone","Room","Building"],"name":"Faculty","type":"grid"}]<|endoftext|><|prompter|>Show the first name, last name, and phone number for all female faculty members.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>What are the first name, last name, and phone number of all the female faculty members?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>Show ids for all the male faculty.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>What are the faculty ids of all the male faculty members?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>How many female Professors do we have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"},{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"}]}}<|endoftext|><|prompter|>Count the number of female Professors we have.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"},{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"}]}}<|endoftext|><|prompter|>Show the phone, room, and building for the faculty named Jerry Prince.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Jerry'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Prince'"}]}}<|endoftext|><|prompter|>What are the phone, room, and building of the faculty member called Jerry Prince?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Jerry'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Prince'"}]}}<|endoftext|><|prompter|>How many Professors are in building NEB?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"},{"actionType":"ChangeCondition","column":"building","operation":"=","value":"'NEB'"}]}}<|endoftext|><|prompter|>Count the number of Professors who have office in building NEB.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"},{"actionType":"ChangeCondition","column":"building","operation":"=","value":"'NEB'"}]}}<|endoftext|><|prompter|>Show the first name and last name for all the instructors.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Instructor'"}]}}<|endoftext|><|prompter|>What are the first name and last name of all the instructors?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Instructor'"}]}}<|endoftext|><|prompter|>Show all the buildings along with the number of faculty members the buildings have.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|><|prompter|>How many faculty members does each building have? List the result with the name of the building.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|><|prompter|>For each faculty rank, show the number of faculty members with that rank.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>How many faculty members do we have for each faculty rank?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Show all the ranks and the number of male and female faculty for each rank.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>How many faculty members do we have for each rank and gender?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>Show the number of male and female assistant professors.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"rank","operation":"=","value":"'AsstProf'"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>How many male and female assistant professors do we have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"rank","operation":"=","value":"'AsstProf'"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["FacID","Lname","Fname","Rank","Sex","Phone","Room","Building"],"name":"Faculty","type":"grid"}]<|endoftext|><|prompter|>Show the first name, last name, and phone number for all female faculty members.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>What are the first name, last name, and phone number of all the female faculty members?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>Show ids for all the male faculty.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>What are the faculty ids of all the male faculty members?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>How many female Professors do we have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"},{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"}]}}<|endoftext|><|prompter|>Count the number of female Professors we have.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"},{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"}]}}<|endoftext|><|prompter|>Show the phone, room, and building for the faculty named Jerry Prince.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Jerry'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Prince'"}]}}<|endoftext|><|prompter|>What are the phone, room, and building of the faculty member called Jerry Prince?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Jerry'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Prince'"}]}}<|endoftext|><|prompter|>How many Professors are in building NEB?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"},{"actionType":"ChangeCondition","column":"building","operation":"=","value":"'NEB'"}]}}<|endoftext|><|prompter|>Count the number of Professors who have office in building NEB.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"},{"actionType":"ChangeCondition","column":"building","operation":"=","value":"'NEB'"}]}}<|endoftext|><|prompter|>Show the first name and last name for all the instructors.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Instructor'"}]}}<|endoftext|><|prompter|>What are the first name and last name of all the instructors?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Instructor'"}]}}<|endoftext|><|prompter|>Show all the buildings along with the number of faculty members the buildings have.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|><|prompter|>How many faculty members does each building have? List the result with the name of the building.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|><|prompter|>For each faculty rank, display the number of faculty members who hold it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>How many faculty members do we have for each faculty rank?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Show all the ranks and the number of male and female faculty for each rank.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>How many faculty members do we have for each rank and gender?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>Show the number of male and female assistant professors.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"rank","operation":"=","value":"'AsstProf'"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>How many male and female assistant professors do we have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"rank","operation":"=","value":"'AsstProf'"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["FacID","Lname","Fname","Rank","Sex","Phone","Room","Building"],"name":"Faculty","type":"grid"}]<|endoftext|><|prompter|>Show the first name, last name, and phone number for all female faculty members.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>What are the first name, last name, and phone number of all the female faculty members?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>Show ids for all the male faculty.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>What are the faculty ids of all the male faculty members?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>How many female Professors do we have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"},{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"}]}}<|endoftext|><|prompter|>Count the number of female Professors we have.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"},{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"}]}}<|endoftext|><|prompter|>Show the phone, room, and building for the faculty named Jerry Prince.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Jerry'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Prince'"}]}}<|endoftext|><|prompter|>What are the phone, room, and building of the faculty member called Jerry Prince?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Jerry'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Prince'"}]}}<|endoftext|><|prompter|>How many Professors are in building NEB?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"},{"actionType":"ChangeCondition","column":"building","operation":"=","value":"'NEB'"}]}}<|endoftext|><|prompter|>Count the number of Professors who have office in building NEB.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"},{"actionType":"ChangeCondition","column":"building","operation":"=","value":"'NEB'"}]}}<|endoftext|><|prompter|>Show the first name and last name for all the instructors.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Instructor'"}]}}<|endoftext|><|prompter|>What are the first name and last name of all the instructors?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Instructor'"}]}}<|endoftext|><|prompter|>Show all the buildings along with the number of faculty members the buildings have.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|><|prompter|>How many faculty members does each building have? List the result with the name of the building.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|><|prompter|>For each faculty rank, show the number of faculty members who have it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>What are the types of video games and how many games are in each type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Show all the ranks and the number of male and female faculty for each rank.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>How many faculty members do we have for each rank and gender?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>Show the number of male and female assistant professors.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"rank","operation":"=","value":"'AsstProf'"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>How many male and female assistant professors do we have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"rank","operation":"=","value":"'AsstProf'"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["FacID","Lname","Fname","Rank","Sex","Phone","Room","Building"],"name":"Faculty","type":"grid"}]<|endoftext|><|prompter|>Show the first name, last name, and phone number for all female faculty members.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>What are the first name, last name, and phone number of all the female faculty members?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>Show ids for all the male faculty.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>What are the faculty ids of all the male faculty members?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>How many female Professors do we have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"},{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"}]}}<|endoftext|><|prompter|>Count the number of female Professors we have.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"},{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"}]}}<|endoftext|><|prompter|>Show the phone, room, and building for the faculty named Jerry Prince.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Jerry'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Prince'"}]}}<|endoftext|><|prompter|>What are the phone, room, and building of the faculty member called Jerry Prince?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Jerry'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Prince'"}]}}<|endoftext|><|prompter|>How many Professors are in building NEB?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"},{"actionType":"ChangeCondition","column":"building","operation":"=","value":"'NEB'"}]}}<|endoftext|><|prompter|>Count the number of Professors who have office in building NEB.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"},{"actionType":"ChangeCondition","column":"building","operation":"=","value":"'NEB'"}]}}<|endoftext|><|prompter|>Show the first name and last name for all the instructors.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Instructor'"}]}}<|endoftext|><|prompter|>What are the first name and last name of all the instructors?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Instructor'"}]}}<|endoftext|><|prompter|>Show all the buildings along with the number of faculty members the buildings have.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|><|prompter|>How many faculty members does each building have? List the result with the name of the building.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|><|prompter|>For each faculty rank, show the number of faculty members who have it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>How many faculty members do we have for each faculty rank?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Show all the ranks and the number of male and female faculty for each rank.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>How many faculty members do we have for each rank and gender?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>Show the number of male and female assistant professors.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"rank","operation":"=","value":"'AsstProf'"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>How many male and female assistant professors do we have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"rank","operation":"=","value":"'AsstProf'"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["FacID","Lname","Fname","Rank","Sex","Phone","Room","Building"],"name":"Faculty","type":"grid"}]<|endoftext|><|prompter|>Show the first name, last name, and phone number for all female faculty members.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>What are the first name, last name, and phone number of all the female faculty members?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>Show ids for all the male faculty.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>What are the faculty ids of all the male faculty members?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>How many female Professors do we have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"},{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"}]}}<|endoftext|><|prompter|>Count the number of female Professors we have.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"},{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"}]}}<|endoftext|><|prompter|>Show the phone, room, and building for the faculty named Jerry Prince.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Jerry'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Prince'"}]}}<|endoftext|><|prompter|>What are the phone, room, and building of the faculty member called Jerry Prince?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Jerry'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Prince'"}]}}<|endoftext|><|prompter|>How many Professors are in building NEB?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"},{"actionType":"ChangeCondition","column":"building","operation":"=","value":"'NEB'"}]}}<|endoftext|><|prompter|>Count the number of Professors who have office in building NEB.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"},{"actionType":"ChangeCondition","column":"building","operation":"=","value":"'NEB'"}]}}<|endoftext|><|prompter|>Show the first name and last name for all the instructors.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Instructor'"}]}}<|endoftext|><|prompter|>What are the first name and last name of all the instructors?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Instructor'"}]}}<|endoftext|><|prompter|>Show all the buildings along with the number of faculty members the buildings have.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|><|prompter|>How many faculty members does each building have? List the result with the name of the building.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|><|prompter|>For each faculty rank, show the number of faculty members who have it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>How many faculty members do we have for each faculty rank?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>List all ranks and corresponding counts of male and female faculty members.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>How many faculty members do we have for each rank and gender?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>Show the number of male and female assistant professors.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"rank","operation":"=","value":"'AsstProf'"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>How many male and female assistant professors do we have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"rank","operation":"=","value":"'AsstProf'"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["FacID","Lname","Fname","Rank","Sex","Phone","Room","Building"],"name":"Faculty","type":"grid"}]<|endoftext|><|prompter|>Show the first name, last name, and phone number for all female faculty members.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>What are the first name, last name, and phone number of all the female faculty members?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>Show ids for all the male faculty.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>What are the faculty ids of all the male faculty members?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>How many female Professors do we have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"},{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"}]}}<|endoftext|><|prompter|>Count the number of female Professors we have.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"},{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"}]}}<|endoftext|><|prompter|>Show the phone, room, and building for the faculty named Jerry Prince.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Jerry'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Prince'"}]}}<|endoftext|><|prompter|>What are the phone, room, and building of the faculty member called Jerry Prince?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Jerry'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Prince'"}]}}<|endoftext|><|prompter|>How many Professors are in building NEB?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"},{"actionType":"ChangeCondition","column":"building","operation":"=","value":"'NEB'"}]}}<|endoftext|><|prompter|>Count the number of Professors who have office in building NEB.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"},{"actionType":"ChangeCondition","column":"building","operation":"=","value":"'NEB'"}]}}<|endoftext|><|prompter|>Show the first name and last name for all the instructors.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Instructor'"}]}}<|endoftext|><|prompter|>What are the first name and last name of all the instructors?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Instructor'"}]}}<|endoftext|><|prompter|>Show all the buildings along with the number of faculty members the buildings have.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|><|prompter|>How many faculty members does each building have? List the result with the name of the building.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|><|prompter|>For each faculty rank, show the number of faculty members who have it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>How many faculty members do we have for each faculty rank?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Show the number of male and female faculty members for each rank.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>How many faculty members do we have for each rank and gender?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>Show the number of male and female assistant professors.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"rank","operation":"=","value":"'AsstProf'"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>How many male and female assistant professors do we have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"rank","operation":"=","value":"'AsstProf'"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["FacID","Lname","Fname","Rank","Sex","Phone","Room","Building"],"name":"Faculty","type":"grid"}]<|endoftext|><|prompter|>Show the first name, last name, and phone number for all female faculty members.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>What are the first name, last name, and phone number of all the female faculty members?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>Show ids for all the male faculty.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>What are the faculty ids of all the male faculty members?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>How many female Professors do we have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"},{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"}]}}<|endoftext|><|prompter|>Count the number of female Professors we have.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"},{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"}]}}<|endoftext|><|prompter|>Show the phone, room, and building for the faculty named Jerry Prince.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Jerry'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Prince'"}]}}<|endoftext|><|prompter|>What are the phone, room, and building of the faculty member called Jerry Prince?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Jerry'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Prince'"}]}}<|endoftext|><|prompter|>How many Professors are in building NEB?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"},{"actionType":"ChangeCondition","column":"building","operation":"=","value":"'NEB'"}]}}<|endoftext|><|prompter|>Count the number of Professors who have office in building NEB.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"},{"actionType":"ChangeCondition","column":"building","operation":"=","value":"'NEB'"}]}}<|endoftext|><|prompter|>Show the first name and last name for all the instructors.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Instructor'"}]}}<|endoftext|><|prompter|>What are the first name and last name of all the instructors?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Instructor'"}]}}<|endoftext|><|prompter|>Show all the buildings along with the number of faculty members the buildings have.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|><|prompter|>How many faculty members does each building have? List the result with the name of the building.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|><|prompter|>For each faculty rank, show the number of faculty members who have it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>How many faculty members do we have for each faculty rank?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Show all the ranks and the number of male and female faculty for each rank.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>How many faculty members are there per rank and gender?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>Show the number of male and female assistant professors.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"rank","operation":"=","value":"'AsstProf'"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>How many male and female assistant professors do we have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"rank","operation":"=","value":"'AsstProf'"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["FacID","Lname","Fname","Rank","Sex","Phone","Room","Building"],"name":"Faculty","type":"grid"}]<|endoftext|><|prompter|>Show the first name, last name, and phone number for all female faculty members.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>What are the first name, last name, and phone number of all the female faculty members?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>Show ids for all the male faculty.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>What are the faculty ids of all the male faculty members?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>How many female Professors do we have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"},{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"}]}}<|endoftext|><|prompter|>Count the number of female Professors we have.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"},{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"}]}}<|endoftext|><|prompter|>Show the phone, room, and building for the faculty named Jerry Prince.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Jerry'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Prince'"}]}}<|endoftext|><|prompter|>What are the phone, room, and building of the faculty member called Jerry Prince?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Jerry'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Prince'"}]}}<|endoftext|><|prompter|>How many Professors are in building NEB?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"},{"actionType":"ChangeCondition","column":"building","operation":"=","value":"'NEB'"}]}}<|endoftext|><|prompter|>Count the number of Professors who have office in building NEB.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"},{"actionType":"ChangeCondition","column":"building","operation":"=","value":"'NEB'"}]}}<|endoftext|><|prompter|>Show the first name and last name for all the instructors.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Instructor'"}]}}<|endoftext|><|prompter|>What are the first name and last name of all the instructors?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Instructor'"}]}}<|endoftext|><|prompter|>Show all the buildings along with the number of faculty members the buildings have.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|><|prompter|>How many faculty members does each building have? List the result with the name of the building.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|><|prompter|>For each faculty rank, show the number of faculty members who have it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>How many faculty members do we have for each faculty rank?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Show all the ranks and the number of male and female faculty for each rank.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>Determine the number of faculty members for each rank and gender.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>Show the number of male and female assistant professors.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"rank","operation":"=","value":"'AsstProf'"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>How many male and female assistant professors do we have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"rank","operation":"=","value":"'AsstProf'"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["FacID","Lname","Fname","Rank","Sex","Phone","Room","Building"],"name":"Faculty","type":"grid"}]<|endoftext|><|prompter|>Show the first name, last name, and phone number for all female faculty members.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>What are the first name, last name, and phone number of all the female faculty members?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>Show ids for all the male faculty.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>What are the faculty ids of all the male faculty members?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>How many female Professors do we have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"},{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"}]}}<|endoftext|><|prompter|>Count the number of female Professors we have.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"},{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"}]}}<|endoftext|><|prompter|>Show the phone, room, and building for the faculty named Jerry Prince.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Jerry'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Prince'"}]}}<|endoftext|><|prompter|>What are the phone, room, and building of the faculty member called Jerry Prince?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Jerry'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Prince'"}]}}<|endoftext|><|prompter|>How many Professors are in building NEB?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"},{"actionType":"ChangeCondition","column":"building","operation":"=","value":"'NEB'"}]}}<|endoftext|><|prompter|>Count the number of Professors who have office in building NEB.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"},{"actionType":"ChangeCondition","column":"building","operation":"=","value":"'NEB'"}]}}<|endoftext|><|prompter|>Show the first name and last name for all the instructors.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Instructor'"}]}}<|endoftext|><|prompter|>What are the first name and last name of all the instructors?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Instructor'"}]}}<|endoftext|><|prompter|>Show all the buildings along with the number of faculty members the buildings have.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|><|prompter|>How many faculty members does each building have? List the result with the name of the building.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|><|prompter|>For each faculty rank, show the number of faculty members who have it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>How many faculty members do we have for each faculty rank?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Show all the ranks and the number of male and female faculty for each rank.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>How many faculty members do we have for each rank and gender?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>Display the count of male and female assistant professors.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"rank","operation":"=","value":"'AsstProf'"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>How many male and female assistant professors do we have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"rank","operation":"=","value":"'AsstProf'"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["FacID","Lname","Fname","Rank","Sex","Phone","Room","Building"],"name":"Faculty","type":"grid"}]<|endoftext|><|prompter|>Show the first name, last name, and phone number for all female faculty members.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>What are the first name, last name, and phone number of all the female faculty members?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>Show ids for all the male faculty.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>What are the faculty ids of all the male faculty members?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>How many female Professors do we have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"},{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"}]}}<|endoftext|><|prompter|>Count the number of female Professors we have.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"},{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"}]}}<|endoftext|><|prompter|>Show the phone, room, and building for the faculty named Jerry Prince.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Jerry'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Prince'"}]}}<|endoftext|><|prompter|>What are the phone, room, and building of the faculty member called Jerry Prince?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Jerry'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Prince'"}]}}<|endoftext|><|prompter|>How many Professors are in building NEB?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"},{"actionType":"ChangeCondition","column":"building","operation":"=","value":"'NEB'"}]}}<|endoftext|><|prompter|>Count the number of Professors who have office in building NEB.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"},{"actionType":"ChangeCondition","column":"building","operation":"=","value":"'NEB'"}]}}<|endoftext|><|prompter|>Show the first name and last name for all the instructors.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Instructor'"}]}}<|endoftext|><|prompter|>What are the first name and last name of all the instructors?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Instructor'"}]}}<|endoftext|><|prompter|>Show all the buildings along with the number of faculty members the buildings have.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|><|prompter|>How many faculty members does each building have? List the result with the name of the building.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|><|prompter|>For each faculty rank, show the number of faculty members who have it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>How many faculty members do we have for each faculty rank?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Show all the ranks and the number of male and female faculty for each rank.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>How many faculty members do we have for each rank and gender?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>Display the count of male and female assistant professors.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"rank","operation":"=","value":"'AsstProf'"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>How many male and female assistant professors do we have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"rank","operation":"=","value":"'AsstProf'"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["FacID","Lname","Fname","Rank","Sex","Phone","Room","Building"],"name":"Faculty","type":"grid"}]<|endoftext|><|prompter|>Show the first name, last name, and phone number for all female faculty members.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>What are the first name, last name, and phone number of all the female faculty members?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>Show ids for all the male faculty.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>What are the faculty ids of all the male faculty members?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>How many female Professors do we have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"},{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"}]}}<|endoftext|><|prompter|>Count the number of female Professors we have.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"},{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"}]}}<|endoftext|><|prompter|>Show the phone, room, and building for the faculty named Jerry Prince.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Jerry'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Prince'"}]}}<|endoftext|><|prompter|>What are the phone, room, and building of the faculty member called Jerry Prince?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Jerry'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Prince'"}]}}<|endoftext|><|prompter|>How many Professors are in building NEB?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"},{"actionType":"ChangeCondition","column":"building","operation":"=","value":"'NEB'"}]}}<|endoftext|><|prompter|>Count the number of Professors who have office in building NEB.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"},{"actionType":"ChangeCondition","column":"building","operation":"=","value":"'NEB'"}]}}<|endoftext|><|prompter|>Show the first name and last name for all the instructors.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Instructor'"}]}}<|endoftext|><|prompter|>What are the first name and last name of all the instructors?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Instructor'"}]}}<|endoftext|><|prompter|>Show all the buildings along with the number of faculty members the buildings have.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|><|prompter|>How many faculty members does each building have? List the result with the name of the building.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|><|prompter|>For each faculty rank, show the number of faculty members who have it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>How many faculty members do we have for each faculty rank?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Show all the ranks and the number of male and female faculty for each rank.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>How many faculty members do we have for each rank and gender?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>Show the number of male and female assistant professors.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"rank","operation":"=","value":"'AsstProf'"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>How many rooms with a capacity of over 50 are there in each building?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"rank","operation":"=","value":"'AsstProf'"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["FacID","Lname","Fname","Rank","Sex","Phone","Room","Building"],"name":"Faculty","type":"grid"}]<|endoftext|><|prompter|>Show the first name, last name, and phone number for all female faculty members.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>What are the first name, last name, and phone number of all the female faculty members?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>Show ids for all the male faculty.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>What are the faculty ids of all the male faculty members?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>How many female Professors do we have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"},{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"}]}}<|endoftext|><|prompter|>Count the number of female Professors we have.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"},{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"}]}}<|endoftext|><|prompter|>Show the phone, room, and building for the faculty named Jerry Prince.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Jerry'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Prince'"}]}}<|endoftext|><|prompter|>What are the phone, room, and building of the faculty member called Jerry Prince?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Jerry'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Prince'"}]}}<|endoftext|><|prompter|>How many Professors are in building NEB?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"},{"actionType":"ChangeCondition","column":"building","operation":"=","value":"'NEB'"}]}}<|endoftext|><|prompter|>Count the number of Professors who have office in building NEB.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"},{"actionType":"ChangeCondition","column":"building","operation":"=","value":"'NEB'"}]}}<|endoftext|><|prompter|>Show the first name and last name for all the instructors.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Instructor'"}]}}<|endoftext|><|prompter|>What are the first name and last name of all the instructors?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Instructor'"}]}}<|endoftext|><|prompter|>Show all the buildings along with the number of faculty members the buildings have.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|><|prompter|>How many faculty members does each building have? List the result with the name of the building.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|><|prompter|>For each faculty rank, show the number of faculty members who have it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>How many faculty members do we have for each faculty rank?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Show all the ranks and the number of male and female faculty for each rank.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>How many faculty members do we have for each rank and gender?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>Show the number of male and female assistant professors.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"rank","operation":"=","value":"'AsstProf'"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>How many male and female assistant professors do we have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"rank","operation":"=","value":"'AsstProf'"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["FacID","Lname","Fname","Rank","Sex","Phone","Room","Building"],"name":"Faculty","type":"grid"}]<|endoftext|><|prompter|>Show the first name, last name, and phone number for all female faculty members.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>What are the first name, last name, and phone number of all the female faculty members?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>Show ids for all the male faculty.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>What are the faculty ids of all the male faculty members?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>How many female Professors do we have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"},{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"}]}}<|endoftext|><|prompter|>Count the number of female Professors we have.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"},{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"}]}}<|endoftext|><|prompter|>Show the phone, room, and building for the faculty named Jerry Prince.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Jerry'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Prince'"}]}}<|endoftext|><|prompter|>What are the phone, room, and building of the faculty member called Jerry Prince?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Jerry'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Prince'"}]}}<|endoftext|><|prompter|>How many Professors are in building NEB?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"},{"actionType":"ChangeCondition","column":"building","operation":"=","value":"'NEB'"}]}}<|endoftext|><|prompter|>Count the number of Professors who have office in building NEB.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Professor'"},{"actionType":"ChangeCondition","column":"building","operation":"=","value":"'NEB'"}]}}<|endoftext|><|prompter|>Show the first name and last name for all the instructors.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Instructor'"}]}}<|endoftext|><|prompter|>What are the first name and last name of all the instructors?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"'Instructor'"}]}}<|endoftext|><|prompter|>Show all the buildings along with the number of faculty members the buildings have.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|><|prompter|>How many faculty members does each building have? List the result with the name of the building.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|><|prompter|>For each faculty rank, show the number of faculty members who have it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>How many faculty members do we have for each faculty rank?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Show all the ranks and the number of male and female faculty for each rank.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>How many faculty members do we have for each rank and gender?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>Show the number of male and female assistant professors.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"rank","operation":"=","value":"'AsstProf'"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>How many male and female assistant professors do we have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"rank","operation":"=","value":"'AsstProf'"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["card_id","customer_id","card_type_code","card_number","date_valid_from","date_valid_to","other_card_details"],"name":"Customers_Cards","type":"grid"}]<|endoftext|><|prompter|>Show the number of card types.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"card_type_code","aggregation":"count"}]}}<|endoftext|><|prompter|>How many different card types are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"card_type_code","aggregation":"count"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["building","room_number","capacity"],"name":"classroom","type":"grid"}]<|endoftext|><|prompter|>Find the buildings which have rooms with capacity more than 50.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"capacity","operation":">","value":50}]}}<|endoftext|><|prompter|>What are the distinct buildings with capacities of greater than 50?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"capacity","operation":">","value":50}]}}<|endoftext|><|prompter|>Count the number of rooms that are not in the Lamberton building.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"building","operation":"!=","value":"Lamberton"}]}}<|endoftext|><|prompter|>How many classrooms are not in Lamberton?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"building","operation":"!=","value":"Lamberton"}]}}<|endoftext|><|prompter|>Find the room number of the rooms which can sit 50 to 100 students and their buildings.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"capacity","operation":">=","value":50},{"actionType":"ChangeCondition","column":"capacity","operation":"<=","value":100}]}}<|endoftext|><|prompter|>What are the room numbers and corresponding buildings for classrooms which can seat between 50 to 100 students?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"capacity","operation":">=","value":50},{"actionType":"ChangeCondition","column":"capacity","operation":"<=","value":100}]}}<|endoftext|><|prompter|>How many rooms does the Lamberton building have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"building","operation":"=","value":"Lamberton"}]}}<|endoftext|><|prompter|>Count the number of classrooms in Lamberton.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"building","operation":"=","value":"Lamberton"}]}}<|endoftext|><|prompter|>How many rooms whose capacity is less than 50 does the Lamberton building have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"building","operation":"=","value":"Lamberton"},{"actionType":"ChangeCondition","column":"capacity","operation":"<","value":50}]}}<|endoftext|><|prompter|>Count the number of rooms in Lamberton with capacity lower than 50.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"building","operation":"=","value":"Lamberton"},{"actionType":"ChangeCondition","column":"capacity","operation":"<","value":50}]}}<|endoftext|><|prompter|>Find the count of rooms with a capacity of over 50 for each building.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"capacity","operation":">","value":50},{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|><|prompter|>How many rooms in each building have a capacity of over 50?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"capacity","operation":">","value":50},{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["building","room_number","capacity"],"name":"classroom","type":"grid"}]<|endoftext|><|prompter|>Find the buildings which have rooms with capacity more than 50.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"capacity","operation":">","value":50}]}}<|endoftext|><|prompter|>What are the distinct buildings with capacities of greater than 50?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"capacity","operation":">","value":50}]}}<|endoftext|><|prompter|>Count the number of rooms that are not in the Lamberton building.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"building","operation":"!=","value":"Lamberton"}]}}<|endoftext|><|prompter|>How many classrooms are not in Lamberton?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"building","operation":"!=","value":"Lamberton"}]}}<|endoftext|><|prompter|>Find the room number of the rooms which can sit 50 to 100 students and their buildings.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"capacity","operation":">=","value":50},{"actionType":"ChangeCondition","column":"capacity","operation":"<=","value":100}]}}<|endoftext|><|prompter|>What are the room numbers and corresponding buildings for classrooms which can seat between 50 to 100 students?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"capacity","operation":">=","value":50},{"actionType":"ChangeCondition","column":"capacity","operation":"<=","value":100}]}}<|endoftext|><|prompter|>How many rooms does the Lamberton building have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"building","operation":"=","value":"Lamberton"}]}}<|endoftext|><|prompter|>Count the number of classrooms in Lamberton.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"building","operation":"=","value":"Lamberton"}]}}<|endoftext|><|prompter|>How many rooms whose capacity is less than 50 does the Lamberton building have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"building","operation":"=","value":"Lamberton"},{"actionType":"ChangeCondition","column":"capacity","operation":"<","value":50}]}}<|endoftext|><|prompter|>Count the number of rooms in Lamberton with capacity lower than 50.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"building","operation":"=","value":"Lamberton"},{"actionType":"ChangeCondition","column":"capacity","operation":"<","value":50}]}}<|endoftext|><|prompter|>Calculate the number of rooms with a capacity of more than 50 for each building.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"capacity","operation":">","value":50},{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|><|prompter|>How many rooms in each building have a capacity of over 50?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"capacity","operation":">","value":50},{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["building","room_number","capacity"],"name":"classroom","type":"grid"}]<|endoftext|><|prompter|>Find the buildings which have rooms with capacity more than 50.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"capacity","operation":">","value":50}]}}<|endoftext|><|prompter|>What are the distinct buildings with capacities of greater than 50?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"capacity","operation":">","value":50}]}}<|endoftext|><|prompter|>Count the number of rooms that are not in the Lamberton building.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"building","operation":"!=","value":"Lamberton"}]}}<|endoftext|><|prompter|>How many classrooms are not in Lamberton?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"building","operation":"!=","value":"Lamberton"}]}}<|endoftext|><|prompter|>Find the room number of the rooms which can sit 50 to 100 students and their buildings.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"capacity","operation":">=","value":50},{"actionType":"ChangeCondition","column":"capacity","operation":"<=","value":100}]}}<|endoftext|><|prompter|>What are the room numbers and corresponding buildings for classrooms which can seat between 50 to 100 students?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"capacity","operation":">=","value":50},{"actionType":"ChangeCondition","column":"capacity","operation":"<=","value":100}]}}<|endoftext|><|prompter|>How many rooms does the Lamberton building have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"building","operation":"=","value":"Lamberton"}]}}<|endoftext|><|prompter|>Count the number of classrooms in Lamberton.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"building","operation":"=","value":"Lamberton"}]}}<|endoftext|><|prompter|>How many rooms whose capacity is less than 50 does the Lamberton building have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"building","operation":"=","value":"Lamberton"},{"actionType":"ChangeCondition","column":"capacity","operation":"<","value":50}]}}<|endoftext|><|prompter|>Count the number of rooms in Lamberton with capacity lower than 50.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"building","operation":"=","value":"Lamberton"},{"actionType":"ChangeCondition","column":"capacity","operation":"<","value":50}]}}<|endoftext|><|prompter|>Find the number of rooms with more than 50 capacity for each building.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"capacity","operation":">","value":50},{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|><|prompter|>Find the number of dorms and total capacity for each gender.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"capacity","operation":">","value":50},{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["building","room_number","capacity"],"name":"classroom","type":"grid"}]<|endoftext|><|prompter|>Find the buildings which have rooms with capacity more than 50.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"capacity","operation":">","value":50}]}}<|endoftext|><|prompter|>What are the distinct buildings with capacities of greater than 50?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"capacity","operation":">","value":50}]}}<|endoftext|><|prompter|>Count the number of rooms that are not in the Lamberton building.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"building","operation":"!=","value":"Lamberton"}]}}<|endoftext|><|prompter|>How many classrooms are not in Lamberton?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"building","operation":"!=","value":"Lamberton"}]}}<|endoftext|><|prompter|>Find the room number of the rooms which can sit 50 to 100 students and their buildings.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"capacity","operation":">=","value":50},{"actionType":"ChangeCondition","column":"capacity","operation":"<=","value":100}]}}<|endoftext|><|prompter|>What are the room numbers and corresponding buildings for classrooms which can seat between 50 to 100 students?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"capacity","operation":">=","value":50},{"actionType":"ChangeCondition","column":"capacity","operation":"<=","value":100}]}}<|endoftext|><|prompter|>How many rooms does the Lamberton building have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"building","operation":"=","value":"Lamberton"}]}}<|endoftext|><|prompter|>Count the number of classrooms in Lamberton.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"building","operation":"=","value":"Lamberton"}]}}<|endoftext|><|prompter|>How many rooms whose capacity is less than 50 does the Lamberton building have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"building","operation":"=","value":"Lamberton"},{"actionType":"ChangeCondition","column":"capacity","operation":"<","value":50}]}}<|endoftext|><|prompter|>Count the number of rooms in Lamberton with capacity lower than 50.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"building","operation":"=","value":"Lamberton"},{"actionType":"ChangeCondition","column":"capacity","operation":"<","value":50}]}}<|endoftext|><|prompter|>Find the number of rooms with more than 50 capacity for each building.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"capacity","operation":">","value":50},{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|><|prompter|>How many rooms in each building have a capacity of over 50?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"capacity","operation":">","value":50},{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["building","room_number","capacity"],"name":"classroom","type":"grid"}]<|endoftext|><|prompter|>Find the buildings which have rooms with capacity more than 50.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"capacity","operation":">","value":50}]}}<|endoftext|><|prompter|>What are the distinct buildings with capacities of greater than 50?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"capacity","operation":">","value":50}]}}<|endoftext|><|prompter|>Count the number of rooms that are not in the Lamberton building.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"building","operation":"!=","value":"Lamberton"}]}}<|endoftext|><|prompter|>How many classrooms are not in Lamberton?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"building","operation":"!=","value":"Lamberton"}]}}<|endoftext|><|prompter|>Find the room number of the rooms which can sit 50 to 100 students and their buildings.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"capacity","operation":">=","value":50},{"actionType":"ChangeCondition","column":"capacity","operation":"<=","value":100}]}}<|endoftext|><|prompter|>What are the room numbers and corresponding buildings for classrooms which can seat between 50 to 100 students?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"capacity","operation":">=","value":50},{"actionType":"ChangeCondition","column":"capacity","operation":"<=","value":100}]}}<|endoftext|><|prompter|>How many rooms does the Lamberton building have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"building","operation":"=","value":"Lamberton"}]}}<|endoftext|><|prompter|>Count the number of classrooms in Lamberton.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"building","operation":"=","value":"Lamberton"}]}}<|endoftext|><|prompter|>How many rooms whose capacity is less than 50 does the Lamberton building have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"building","operation":"=","value":"Lamberton"},{"actionType":"ChangeCondition","column":"capacity","operation":"<","value":50}]}}<|endoftext|><|prompter|>Count the number of rooms in Lamberton with capacity lower than 50.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"building","operation":"=","value":"Lamberton"},{"actionType":"ChangeCondition","column":"capacity","operation":"<","value":50}]}}<|endoftext|><|prompter|>Find the number of rooms with more than 50 capacity for each building.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"capacity","operation":">","value":50},{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|><|prompter|>How many rooms in each building have a capacity of over 50?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"capacity","operation":">","value":50},{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["School_ID","School","Location","Founded","Affiliation","Enrollment","Nickname","Primary_conference"],"name":"university","type":"grid"}]<|endoftext|><|prompter|>Which school has the largest enrollment?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"enrollment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>When was the school founded?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"enrollment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Where is it located?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"enrollment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>How many are enrolled? <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"enrollment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the school's nickname?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"enrollment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Thank you. good bye!","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["name","age","city","gender","job"],"name":"person","type":"grid"}]<|endoftext|><|prompter|>How many females are under age 40?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"gender","operation":"=","value":"female"},{"actionType":"ChangeCondition","column":"age","operation":"<","value":40}]}}<|endoftext|><|prompter|>How many males do we have data for? <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"gender","operation":"=","value":"male"}]}}<|endoftext|><|prompter|>And how many of them are under age 40?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":"<","value":40},{"actionType":"ChangeCondition","column":"gender","operation":"=","value":"male"}]}}<|endoftext|><|prompter|>Thanks! <|endoftext|><|assistant|>{"text":"welcome goodbye","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["STU_NUM","STU_LNAME","STU_FNAME","STU_INIT","STU_DOB","STU_HRS","STU_CLASS","STU_GPA","STU_TRANSFER","DEPT_CODE","STU_PHONE","PROF_NUM"],"name":"student","type":"grid"}]<|endoftext|><|prompter|>What is the first name and last name of the youngest student whose GPA is above 3?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"stu_gpa","operation":">","value":3},{"actionType":"ChangeTopFilter","column":"stu_dob","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is her GPA?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"stu_gpa","operation":">","value":3},{"actionType":"ChangeTopFilter","column":"stu_dob","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the full name and GPA of the oldest student whose GPA is below 3?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"stu_gpa","operation":"<","value":3},{"actionType":"ChangeTopFilter","column":"stu_dob","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Sure! Anything else?","dsl":{}}<|endoftext|><|prompter|>That's all, thanks! Have a great night!<|endoftext|><|assistant|>{"text":"You too! Bye!","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["id","customer_id","invoice_date","billing_address","billing_city","billing_state","billing_country","billing_postal_code","total"],"name":"invoices","type":"grid"}]<|endoftext|><|prompter|>Show the billing address with the highest amount of invoice?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"total","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Show the total amount of invoice from chicago, IL?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"total","aggregation":"sum"},{"actionType":"ChangeCondition","column":"billing_city","operation":"=","value":"'Chicago'"},{"actionType":"ChangeCondition","column":"billing_state","operation":"=","value":"'IL'"}]}}<|endoftext|><|prompter|>Show the billing country with the total amount of invoice 3.96?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"total","operation":"=","value":3.96}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"You are welcome.","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["Member_ID","Name","Membership_card","Age","Time_of_purchase","Level_of_membership","Address"],"name":"member","type":"grid"}]<|endoftext|><|prompter|>Yes<|endoftext|><|assistant|>{"text":"how many membership cards?","dsl":{}}<|endoftext|><|prompter|>how many membership cards?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"membership_card","aggregation":"count"}]}}<|endoftext|><|prompter|>what is age of Ashby Lazale<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"Ashby, Lazale"}]}}<|endoftext|><|prompter|>how many time of purchase in ashby lazale<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"Ashby, Lazale"}]}}<|endoftext|><|prompter|>Level of membership Breton, Robert<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"Breton, Robert"}]}}<|endoftext|><|prompter|>thanks<|endoftext|><|assistant|>{"text":"You are welcome.","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["product_id","color_code","product_category_code","product_name","typical_buying_price","typical_selling_price","product_description","other_product_details"],"name":"products","type":"grid"}]<|endoftext|><|prompter|>Show the name of the product with product id 1?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"product_id","operation":"=","value":"1"}]}}<|endoftext|><|prompter|>show the number of products with category Spices?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"product_category_code","operation":"=","value":"Spices"}]}}<|endoftext|><|prompter|>Show the number of products with category Spices and typically sold above 1000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"product_category_code","operation":"=","value":"'Spices'"},{"actionType":"ChangeCondition","column":"typical_buying_price","operation":">","value":1000}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"You are welcome.","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["a_id","u_id","i_id","rating","rank"],"name":"review","type":"grid"}]<|endoftext|><|prompter|>Find the highest rank of all reviews.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"rank","aggregation":"min"}]}}<|endoftext|><|prompter|>How many different users wrote some reviews?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"u_id","aggregation":"count"}]}}<|endoftext|><|prompter|>How many different items were reviewed by some users?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"i_id","aggregation":"count"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Singer_ID","Name","Country","Song_Name","Song_release_year","Age","Is_male"],"name":"singer","type":"grid"}]<|endoftext|><|prompter|>Show name, country, age for all singers ordered by age from the oldest to the youngest.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names, countries, and ages for every singer in descending order of age?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"desk"}]}}<|endoftext|><|prompter|>Show the name and the release year of the song by the youngest singer.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names and release years for all the songs of the youngest singer?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are all distinct countries where singers above age 20 are from?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":">","value":20}]}}<|endoftext|><|prompter|>What are the different countries with singers above age 20?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":">","value":20}]}}<|endoftext|><|prompter|>For complaints with type code "Product Failure", how many had each different status code?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"country"}]}}<|endoftext|><|prompter|>How many singers are from each country?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"country"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Singer_ID","Name","Country","Song_Name","Song_release_year","Age","Is_male"],"name":"singer","type":"grid"}]<|endoftext|><|prompter|>Show name, country, age for all singers ordered by age from the oldest to the youngest.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names, countries, and ages for every singer in descending order of age?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"desk"}]}}<|endoftext|><|prompter|>Show the name and the release year of the song by the youngest singer.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names and release years for all the songs of the youngest singer?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are all distinct countries where singers above age 20 are from?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":">","value":20}]}}<|endoftext|><|prompter|>What are the different countries with singers above age 20?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":">","value":20}]}}<|endoftext|><|prompter|>Can you show all countries along with the number of singers in each country?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"country"}]}}<|endoftext|><|prompter|>How many singers are from each country?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"country"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Singer_ID","Name","Country","Song_Name","Song_release_year","Age","Is_male"],"name":"singer","type":"grid"}]<|endoftext|><|prompter|>Show name, country, age for all singers ordered by age from the oldest to the youngest.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names, countries, and ages for every singer in descending order of age?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"desk"}]}}<|endoftext|><|prompter|>Show the name and the release year of the song by the youngest singer.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names and release years for all the songs of the youngest singer?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are all distinct countries where singers above age 20 are from?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":">","value":20}]}}<|endoftext|><|prompter|>What are the different countries with singers above age 20?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":">","value":20}]}}<|endoftext|><|prompter|>Show all countries and the number of singers in each country.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"country"}]}}<|endoftext|><|prompter|>How many singers originate from each country?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"country"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Singer_ID","Name","Country","Song_Name","Song_release_year","Age","Is_male"],"name":"singer","type":"grid"}]<|endoftext|><|prompter|>Show name, country, age for all singers ordered by age from the oldest to the youngest.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names, countries, and ages for every singer in descending order of age?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"desk"}]}}<|endoftext|><|prompter|>Show the name and the release year of the song by the youngest singer.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names and release years for all the songs of the youngest singer?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are all distinct countries where singers above age 20 are from?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":">","value":20}]}}<|endoftext|><|prompter|>What are the different countries with singers above age 20?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":">","value":20}]}}<|endoftext|><|prompter|>Show all countries and the number of singers in each country.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"country"}]}}<|endoftext|><|prompter|>Determine the number of singers from each country.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"country"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Singer_ID","Name","Country","Song_Name","Song_release_year","Age","Is_male"],"name":"singer","type":"grid"}]<|endoftext|><|prompter|>Show name, country, age for all singers ordered by age from the oldest to the youngest.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names, countries, and ages for every singer in descending order of age?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"desk"}]}}<|endoftext|><|prompter|>Show the name and the release year of the song by the youngest singer.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names and release years for all the songs of the youngest singer?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are all distinct countries where singers above age 20 are from?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":">","value":20}]}}<|endoftext|><|prompter|>What are the different countries with singers above age 20?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":">","value":20}]}}<|endoftext|><|prompter|>Show all countries and the number of singers in each country.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"country"}]}}<|endoftext|><|prompter|>How many singers are from each country?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"country"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["student_id","current_address_id","permanent_address_id","first_name","middle_name","last_name","cell_mobile_number","email_address","ssn","date_first_registered","date_left","other_student_details"],"name":"Students","type":"grid"}]<|endoftext|><|prompter|>What is the phone number of the man with the first name Timmothy and the last name Ward?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"Timmothy"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"Ward"}]}}<|endoftext|><|prompter|>Who is the first student to register? List the first name, middle name and last name.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"date_first_registered","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the first, middle, and last name of the first student to register?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"date_first_registered","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Who is the earliest graduate of the school? List the first name, middle name and last name.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"date_left","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the first, middle, and last name of the earliest school graduate?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"date_left","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>How many different addresses do the students currently live?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"current_address_id","aggregation":"count"}]}}<|endoftext|><|prompter|>What are the different addresses that have students living there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"current_address_id","aggregation":"count"}]}}<|endoftext|><|prompter|>List all the student details in reversed lexicographical order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"other_student_details","direction":"desk"}]}}<|endoftext|><|prompter|>What other details can you tell me about students in reverse alphabetical order?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"other_student_details","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["lesson_id","customer_id","lesson_status_code","staff_id","vehicle_id","lesson_date","lesson_time","price"],"name":"Lessons","type":"grid"}]<|endoftext|><|prompter|>How many lessons were in cancelled state?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"lesson_status_code","operation":"=","value":"'Cancelled'"}]}}<|endoftext|><|prompter|>How many lessons have been cancelled?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"lesson_status_code","operation":"=","value":"'Cancelled'"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Payment_ID","Settlement_ID","Payment_Method_Code","Date_Payment_Made","Amount_Payment"],"name":"Payments","type":"grid"}]<|endoftext|><|prompter|>List the method, date and amount of all the payments, in ascending order of date.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Date_Payment_Made","direction":"ask"}]}}<|endoftext|><|prompter|>What are the method, date and amount of each payment? Sort the list in ascending order of date.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Date_Payment_Made","direction":"ask"}]}}<|endoftext|><|prompter|>What is the total amount of payment?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Amount_Payment","aggregation":"sum"}]}}<|endoftext|><|prompter|>Compute the total amount of payment processed.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Amount_Payment","aggregation":"sum"}]}}<|endoftext|><|prompter|>Which Payments were processed with Visa? List the payment Id, the date and the amount.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Payment_Method_Code","operation":"=","value":"Visa"}]}}<|endoftext|><|prompter|>Give me the payment Id, the date and the amount for all the payments processed with Visa.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Payment_Method_Code","operation":"=","value":"Visa"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["customer_id","store_id","first_name","last_name","email","address_id","active","create_date","last_update"],"name":"customer","type":"grid"}]<|endoftext|><|prompter|>How many customers have an active value of 1?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"active","operation":"=","value":"1"}]}}<|endoftext|><|prompter|>Count the number of customers who are active.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"active","operation":"=","value":"1"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["author_id","author_tutor_ATB","login_name","password","personal_name","middle_name","family_name","gender_mf","address_line_1"],"name":"Course_Authors_and_Tutors","type":"grid"}]<|endoftext|><|prompter|>What are the addresses of the course authors or tutors with personal name "Cathrine"<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"personal_name","operation":"=","value":"'Cathrine'"}]}}<|endoftext|><|prompter|>Return the addresses of the course authors or tutors whose personal name is "Cathrine".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"personal_name","operation":"=","value":"'Cathrine'"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Party_ID","Party_Theme","Location","First_year","Last_year","Number_of_hosts"],"name":"party","type":"grid"}]<|endoftext|><|prompter|>List the themes of parties in ascending order of number of hosts.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Number_of_hosts","direction":"ask"}]}}<|endoftext|><|prompter|>What are the themes of parties ordered by the number of hosts in ascending manner?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Number_of_hosts","direction":"ask"}]}}<|endoftext|><|prompter|>What is the average number of hosts for parties?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Number_of_hosts","aggregation":"avg"}]}}<|endoftext|><|prompter|>Compute the average number of hosts for parties.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Number_of_hosts","aggregation":"avg"}]}}<|endoftext|><|prompter|>What is the location of the party with the most hosts?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Number_of_hosts","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Which party had the most hosts? Give me the party location.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Number_of_hosts","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["id","customer_id","invoice_date","billing_address","billing_city","billing_state","billing_country","billing_postal_code","total"],"name":"invoices","type":"grid"}]<|endoftext|><|prompter|>How many invoices are from the US?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"billing_country","operation":"=","value":"'USA'"}]}}<|endoftext|><|prompter|>Could you list them grouped by state?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"billing_country","operation":"=","value":"'USA'"},{"actionType":"ChangeGrouping","column":"billing_state"}]}}<|endoftext|><|prompter|>Could you list the number of invoices grouped by country?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"billing_country"}]}}<|endoftext|><|prompter|>Can you list the number of invoices from the US grouped by billing city?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"billing_country","operation":"=","value":"'USA'"},{"actionType":"ChangeGrouping","column":"billing_city"}]}}<|endoftext|><|prompter|>Can you list the number of invoices from all countries except the US grouped by billing city?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"billing_country","operation":"!=","value":"'USA'"},{"actionType":"ChangeGrouping","column":"billing_city"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Thank you!! bye","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["customer_id","customer_first_name","customer_last_name","customer_address","customer_phone","customer_email","other_customer_details"],"name":"Customers","type":"grid"}]<|endoftext|><|prompter|>What is the phone and email for customer with first name Aniyah and last name Feest?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"customer_first_name","operation":"=","value":"'Aniyah'"},{"actionType":"ChangeCondition","column":"customer_last_name","operation":"=","value":"'Feest'"}]}}<|endoftext|><|prompter|>Return the phone and email of the customer with the first name Aniyah and last name Feest.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"customer_first_name","operation":"=","value":"'Aniyah'"},{"actionType":"ChangeCondition","column":"customer_last_name","operation":"=","value":"'Feest'"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Employee_ID","Name","Age","City"],"name":"employee","type":"grid"}]<|endoftext|><|prompter|>Sort employee names by their age in ascending order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"ask"}]}}<|endoftext|><|prompter|>List the names of employees and sort in ascending order of age.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"ask"}]}}<|endoftext|><|prompter|>How many employees come from each city?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"city"}]}}<|endoftext|><|prompter|>Count the number of employees for each city.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"city"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Employee_ID","Name","Age","City"],"name":"employee","type":"grid"}]<|endoftext|><|prompter|>Sort employee names by their age in ascending order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"ask"}]}}<|endoftext|><|prompter|>List the names of employees and sort in ascending order of age.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"ask"}]}}<|endoftext|><|prompter|>What is the number of employees in each city?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"city"}]}}<|endoftext|><|prompter|>Count the number of employees for each city.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"city"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Employee_ID","Name","Age","City"],"name":"employee","type":"grid"}]<|endoftext|><|prompter|>Sort employee names by their age in ascending order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"ask"}]}}<|endoftext|><|prompter|>List the names of employees and sort in ascending order of age.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"ask"}]}}<|endoftext|><|prompter|>What is the number of employees from each city?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"city"}]}}<|endoftext|><|prompter|>Count the number of employees in each city.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"city"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Employee_ID","Name","Age","City"],"name":"employee","type":"grid"}]<|endoftext|><|prompter|>Sort employee names by their age in ascending order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"ask"}]}}<|endoftext|><|prompter|>List the names of employees and sort in ascending order of age.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"ask"}]}}<|endoftext|><|prompter|>What is the number of employees from each city?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"city"}]}}<|endoftext|><|prompter|>Count the number of employees for each city.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"city"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Employee_ID","Name","Age","City"],"name":"employee","type":"grid"}]<|endoftext|><|prompter|>Sort employee names by their age in ascending order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"ask"}]}}<|endoftext|><|prompter|>List the names of employees and sort in ascending order of age.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"ask"}]}}<|endoftext|><|prompter|>What is the number of employees from each city?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"city"}]}}<|endoftext|><|prompter|>Count the number of employees for each city.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"city"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Captain_ID","Name","Ship_ID","age","Class","Rank"],"name":"captain","type":"grid"}]<|endoftext|><|prompter|>What rank is Captain Conway? <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"contains","value":"Conway"}]}}<|endoftext|><|prompter|>What is the average age of the midshipmans <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"age","aggregation":"avg"},{"actionType":"ChangeCondition","column":"Rank","operation":"=","value":"Midshipman"}]}}<|endoftext|><|prompter|>What class of captain named Lieutenant Hugh Bolitho?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"Lieutenant Hugh Bolitho"}]}}<|endoftext|><|prompter|>thanks<|endoftext|><|assistant|>{"text":"goodbye","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["head_ID","name","born_state","age"],"name":"head","type":"grid"}]<|endoftext|><|prompter|>tell me the name of head id 1<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"head_ID","operation":"=","value":1}]}}<|endoftext|><|prompter|>Tell me the born state and age for head id 3 <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"head_ID","operation":"=","value":3}]}}<|endoftext|><|prompter|>Which head's name has the substring 'Ha' ? List the id and name.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"contains","value":"Ha"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Thank you! Goodbye.","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["player_id","yearid","votedby","ballots","needed","votes","inducted","category","needed_note"],"name":"hall_of_fame","type":"grid"}]<|endoftext|><|prompter|>Calculate the number of players inducted into the hall of fame annually.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"yearid"}]}}<|endoftext|><|prompter|>Count the number of players who enter hall of fame for each year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"yearid"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["player_id","yearid","votedby","ballots","needed","votes","inducted","category","needed_note"],"name":"hall_of_fame","type":"grid"}]<|endoftext|><|prompter|>How many players are inducted into the hall of fame each year?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"yearid"}]}}<|endoftext|><|prompter|>Count the number of players who enter hall of fame for each year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"yearid"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["player_id","yearid","votedby","ballots","needed","votes","inducted","category","needed_note"],"name":"hall_of_fame","type":"grid"}]<|endoftext|><|prompter|>How many players enter hall of fame each year?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"yearid"}]}}<|endoftext|><|prompter|>Enumerate the number of players inducted into the hall of fame annually.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"yearid"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["player_id","yearid","votedby","ballots","needed","votes","inducted","category","needed_note"],"name":"hall_of_fame","type":"grid"}]<|endoftext|><|prompter|>How many players enter hall of fame each year?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"yearid"}]}}<|endoftext|><|prompter|>Count the number of players who entered the hall of fame for each year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"yearid"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["player_id","yearid","votedby","ballots","needed","votes","inducted","category","needed_note"],"name":"hall_of_fame","type":"grid"}]<|endoftext|><|prompter|>How many players enter hall of fame each year?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"yearid"}]}}<|endoftext|><|prompter|>Count the number of players who enter hall of fame for each year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"yearid"}]}}<|endoftext|>
SPIDER