instruction
stringlengths
241
15.9k
source
stringclasses
2 values
<|context|>[{"columns":["Gymnast_ID","Floor_Exercise_Points","Pommel_Horse_Points","Rings_Points","Vault_Points","Parallel_Bars_Points","Horizontal_Bar_Points","Total_Points"],"name":"gymnast","type":"grid"}]<|endoftext|><|prompter|>List the total points of gymnasts in descending order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Total_Points","direction":"desk"}]}}<|endoftext|><|prompter|>What are the total points for all gymnasts, ordered by total points descending?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Total_Points","direction":"desk"}]}}<|endoftext|><|prompter|>List the total points of gymnasts in descending order of floor exercise points.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Floor_Exercise_Points","direction":"desk"}]}}<|endoftext|><|prompter|>What are the total points of gymnasts, ordered by their floor exercise points descending?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Floor_Exercise_Points","direction":"desk"}]}}<|endoftext|><|prompter|>What is the average horizontal bar points for all gymnasts?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Horizontal_Bar_Points","aggregation":"avg"}]}}<|endoftext|><|prompter|>Return the average horizontal bar points across all gymnasts.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Horizontal_Bar_Points","aggregation":"avg"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["id","player_fifa_api_id","player_api_id","date","overall_rating","potential","preferred_foot","attacking_work_rate","defensive_work_rate","crossing","finishing","heading_accuracy","short_passing","volleys","dribbling","curve","free_kick_accuracy","long_passing","ball_control","acceleration","sprint_speed","agility","reactions","balance","shot_power","jumping","stamina","strength","long_shots","aggression","interceptions","positioning","vision","penalties","marking","standing_tackle","sliding_tackle","gk_diving","gk_handling","gk_kicking","gk_positioning","gk_reflexes"],"name":"Player_Attributes","type":"grid"}]<|endoftext|><|prompter|>Calculate the average rating for right-footed and left-footed players.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"overall_rating","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"preferred_foot"}]}}<|endoftext|><|prompter|>Of all players with an overall rating greater than 80, how many are right-footed and left-footed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"overall_rating","operation":">","value":80},{"actionType":"ChangeGrouping","column":"preferred_foot"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["id","player_fifa_api_id","player_api_id","date","overall_rating","potential","preferred_foot","attacking_work_rate","defensive_work_rate","crossing","finishing","heading_accuracy","short_passing","volleys","dribbling","curve","free_kick_accuracy","long_passing","ball_control","acceleration","sprint_speed","agility","reactions","balance","shot_power","jumping","stamina","strength","long_shots","aggression","interceptions","positioning","vision","penalties","marking","standing_tackle","sliding_tackle","gk_diving","gk_handling","gk_kicking","gk_positioning","gk_reflexes"],"name":"Player_Attributes","type":"grid"}]<|endoftext|><|prompter|>What is the average rating for players who are left-footed and right-footed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"overall_rating","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"preferred_foot"}]}}<|endoftext|><|prompter|>Of all players with an overall rating greater than 80, how many are right-footed and left-footed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"overall_rating","operation":">","value":80},{"actionType":"ChangeGrouping","column":"preferred_foot"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["id","player_fifa_api_id","player_api_id","date","overall_rating","potential","preferred_foot","attacking_work_rate","defensive_work_rate","crossing","finishing","heading_accuracy","short_passing","volleys","dribbling","curve","free_kick_accuracy","long_passing","ball_control","acceleration","sprint_speed","agility","reactions","balance","shot_power","jumping","stamina","strength","long_shots","aggression","interceptions","positioning","vision","penalties","marking","standing_tackle","sliding_tackle","gk_diving","gk_handling","gk_kicking","gk_positioning","gk_reflexes"],"name":"Player_Attributes","type":"grid"}]<|endoftext|><|prompter|>What is the average rating for right-footed players and left-footed players?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"overall_rating","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"preferred_foot"}]}}<|endoftext|><|prompter|>Among players with an overall rating above 80, count right-footed and left-footed players.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"overall_rating","operation":">","value":80},{"actionType":"ChangeGrouping","column":"preferred_foot"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["id","player_fifa_api_id","player_api_id","date","overall_rating","potential","preferred_foot","attacking_work_rate","defensive_work_rate","crossing","finishing","heading_accuracy","short_passing","volleys","dribbling","curve","free_kick_accuracy","long_passing","ball_control","acceleration","sprint_speed","agility","reactions","balance","shot_power","jumping","stamina","strength","long_shots","aggression","interceptions","positioning","vision","penalties","marking","standing_tackle","sliding_tackle","gk_diving","gk_handling","gk_kicking","gk_positioning","gk_reflexes"],"name":"Player_Attributes","type":"grid"}]<|endoftext|><|prompter|>What is the average rating for right-footed players and left-footed players?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"overall_rating","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"preferred_foot"}]}}<|endoftext|><|prompter|>Among players with an overall rating greater than 80, how many are left-footed or right-footed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"overall_rating","operation":">","value":80},{"actionType":"ChangeGrouping","column":"preferred_foot"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["id","player_fifa_api_id","player_api_id","date","overall_rating","potential","preferred_foot","attacking_work_rate","defensive_work_rate","crossing","finishing","heading_accuracy","short_passing","volleys","dribbling","curve","free_kick_accuracy","long_passing","ball_control","acceleration","sprint_speed","agility","reactions","balance","shot_power","jumping","stamina","strength","long_shots","aggression","interceptions","positioning","vision","penalties","marking","standing_tackle","sliding_tackle","gk_diving","gk_handling","gk_kicking","gk_positioning","gk_reflexes"],"name":"Player_Attributes","type":"grid"}]<|endoftext|><|prompter|>What is the average rating for right-footed players and left-footed players?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"overall_rating","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"preferred_foot"}]}}<|endoftext|><|prompter|>Of all players with an overall rating greater than 80, how many are right-footed and left-footed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"overall_rating","operation":">","value":80},{"actionType":"ChangeGrouping","column":"preferred_foot"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["EMPLOYEE_ID","FIRST_NAME","LAST_NAME","EMAIL","PHONE_NUMBER","HIRE_DATE","JOB_ID","SALARY","COMMISSION_PCT","MANAGER_ID","DEPARTMENT_ID"],"name":"employees","type":"grid"}]<|endoftext|><|prompter|>List the full name (first and last name), and salary for those employees who earn below 6000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":"<","value":6000}]}}<|endoftext|><|prompter|>What are the full names and salaries for any employees earning less than 6000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":"<","value":6000}]}}<|endoftext|><|prompter|>Display the first name, and department number for all employees whose last name is "McEwen".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"McEwen"}]}}<|endoftext|><|prompter|>What are the first names and department numbers for employees with last name McEwen?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"McEwen"}]}}<|endoftext|><|prompter|>what is the phone number of employees whose salary is in the range of 8000 and 12000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":">=","value":8000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000}]}}<|endoftext|><|prompter|>Return the phone numbers of employees with salaries between 8000 and 12000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":">=","value":8000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000}]}}<|endoftext|><|prompter|>What are the full name (first and last name) and salary for all employees who does not have any value for commission?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"}]}}<|endoftext|><|prompter|>Return the full names and salaries of employees with null commissions.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"}]}}<|endoftext|><|prompter|>Find the salary and manager number for those employees who is working under a manager.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"manager_id","operation":"!=","value":"'null'"}]}}<|endoftext|><|prompter|>What are the salaries and manager ids for employees who have managers?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"manager_id","operation":"!=","value":"'null'"}]}}<|endoftext|><|prompter|>display the emails of the employees who have no commission percentage and salary within the range 7000 to 12000 and works in that department which number is 50.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"},{"actionType":"ChangeCondition","column":"salary","operation":">=","value":7000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000},{"actionType":"ChangeCondition","column":"department_id","operation":"=","value":50}]}}<|endoftext|><|prompter|>What are the emails of employees with null commission, salary between 7000 and 12000, and who work in department 50?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"},{"actionType":"ChangeCondition","column":"salary","operation":">=","value":7000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000},{"actionType":"ChangeCondition","column":"department_id","operation":"=","value":50}]}}<|endoftext|><|prompter|>Show the average salary for employees with commission percentages in each department.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"AVG"},{"actionType":"ChangeCondition","column":"commission_pct","operation":"!=","value":"'null'"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>What is the average salary of employees who have a commission percentage that is not null?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"AVG"},{"actionType":"ChangeCondition","column":"commission_pct","operation":"!=","value":"'null'"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>return the smallest salary for every departments.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MIN"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>What is the minimum salary in each department?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MIN"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>display the department ID, full name (first and last name), salary for those employees who is highest salary in every department.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MAX"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>What are the department ids, full names, and salaries for employees who make the most in their departments?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MAX"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["EMPLOYEE_ID","FIRST_NAME","LAST_NAME","EMAIL","PHONE_NUMBER","HIRE_DATE","JOB_ID","SALARY","COMMISSION_PCT","MANAGER_ID","DEPARTMENT_ID"],"name":"employees","type":"grid"}]<|endoftext|><|prompter|>List the full name (first and last name), and salary for those employees who earn below 6000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":"<","value":6000}]}}<|endoftext|><|prompter|>What are the full names and salaries for any employees earning less than 6000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":"<","value":6000}]}}<|endoftext|><|prompter|>Display the first name, and department number for all employees whose last name is "McEwen".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"McEwen"}]}}<|endoftext|><|prompter|>What are the first names and department numbers for employees with last name McEwen?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"McEwen"}]}}<|endoftext|><|prompter|>what is the phone number of employees whose salary is in the range of 8000 and 12000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":">=","value":8000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000}]}}<|endoftext|><|prompter|>Return the phone numbers of employees with salaries between 8000 and 12000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":">=","value":8000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000}]}}<|endoftext|><|prompter|>What are the full name (first and last name) and salary for all employees who does not have any value for commission?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"}]}}<|endoftext|><|prompter|>Return the full names and salaries of employees with null commissions.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"}]}}<|endoftext|><|prompter|>Find the salary and manager number for those employees who is working under a manager.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"manager_id","operation":"!=","value":"'null'"}]}}<|endoftext|><|prompter|>What are the salaries and manager ids for employees who have managers?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"manager_id","operation":"!=","value":"'null'"}]}}<|endoftext|><|prompter|>display the emails of the employees who have no commission percentage and salary within the range 7000 to 12000 and works in that department which number is 50.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"},{"actionType":"ChangeCondition","column":"salary","operation":">=","value":7000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000},{"actionType":"ChangeCondition","column":"department_id","operation":"=","value":50}]}}<|endoftext|><|prompter|>What are the emails of employees with null commission, salary between 7000 and 12000, and who work in department 50?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"},{"actionType":"ChangeCondition","column":"salary","operation":">=","value":7000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000},{"actionType":"ChangeCondition","column":"department_id","operation":"=","value":50}]}}<|endoftext|><|prompter|>Show the average salary of employees for each department who receive a commission percentage.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"AVG"},{"actionType":"ChangeCondition","column":"commission_pct","operation":"!=","value":"'null'"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>What is the average salary of employees who have a commission percentage that is not null?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"AVG"},{"actionType":"ChangeCondition","column":"commission_pct","operation":"!=","value":"'null'"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>return the smallest salary for every departments.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MIN"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>What is the minimum salary in each department?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MIN"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>display the department ID, full name (first and last name), salary for those employees who is highest salary in every department.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MAX"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>What are the department ids, full names, and salaries for employees who make the most in their departments?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MAX"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["EMPLOYEE_ID","FIRST_NAME","LAST_NAME","EMAIL","PHONE_NUMBER","HIRE_DATE","JOB_ID","SALARY","COMMISSION_PCT","MANAGER_ID","DEPARTMENT_ID"],"name":"employees","type":"grid"}]<|endoftext|><|prompter|>List the full name (first and last name), and salary for those employees who earn below 6000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":"<","value":6000}]}}<|endoftext|><|prompter|>What are the full names and salaries for any employees earning less than 6000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":"<","value":6000}]}}<|endoftext|><|prompter|>Display the first name, and department number for all employees whose last name is "McEwen".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"McEwen"}]}}<|endoftext|><|prompter|>What are the first names and department numbers for employees with last name McEwen?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"McEwen"}]}}<|endoftext|><|prompter|>what is the phone number of employees whose salary is in the range of 8000 and 12000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":">=","value":8000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000}]}}<|endoftext|><|prompter|>Return the phone numbers of employees with salaries between 8000 and 12000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":">=","value":8000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000}]}}<|endoftext|><|prompter|>What are the full name (first and last name) and salary for all employees who does not have any value for commission?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"}]}}<|endoftext|><|prompter|>Return the full names and salaries of employees with null commissions.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"}]}}<|endoftext|><|prompter|>Find the salary and manager number for those employees who is working under a manager.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"manager_id","operation":"!=","value":"'null'"}]}}<|endoftext|><|prompter|>What are the salaries and manager ids for employees who have managers?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"manager_id","operation":"!=","value":"'null'"}]}}<|endoftext|><|prompter|>display the emails of the employees who have no commission percentage and salary within the range 7000 to 12000 and works in that department which number is 50.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"},{"actionType":"ChangeCondition","column":"salary","operation":">=","value":7000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000},{"actionType":"ChangeCondition","column":"department_id","operation":"=","value":50}]}}<|endoftext|><|prompter|>What are the emails of employees with null commission, salary between 7000 and 12000, and who work in department 50?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"},{"actionType":"ChangeCondition","column":"salary","operation":">=","value":7000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000},{"actionType":"ChangeCondition","column":"department_id","operation":"=","value":50}]}}<|endoftext|><|prompter|>display the average salary of employees for each department who gets a commission percentage.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"AVG"},{"actionType":"ChangeCondition","column":"commission_pct","operation":"!=","value":"'null'"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>Determine the average salary for employees with a non-null commission percentage.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"AVG"},{"actionType":"ChangeCondition","column":"commission_pct","operation":"!=","value":"'null'"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>return the smallest salary for every departments.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MIN"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>What is the minimum salary in each department?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MIN"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>display the department ID, full name (first and last name), salary for those employees who is highest salary in every department.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MAX"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>What are the department ids, full names, and salaries for employees who make the most in their departments?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MAX"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["EMPLOYEE_ID","FIRST_NAME","LAST_NAME","EMAIL","PHONE_NUMBER","HIRE_DATE","JOB_ID","SALARY","COMMISSION_PCT","MANAGER_ID","DEPARTMENT_ID"],"name":"employees","type":"grid"}]<|endoftext|><|prompter|>List the full name (first and last name), and salary for those employees who earn below 6000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":"<","value":6000}]}}<|endoftext|><|prompter|>What are the full names and salaries for any employees earning less than 6000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":"<","value":6000}]}}<|endoftext|><|prompter|>Display the first name, and department number for all employees whose last name is "McEwen".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"McEwen"}]}}<|endoftext|><|prompter|>What are the first names and department numbers for employees with last name McEwen?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"McEwen"}]}}<|endoftext|><|prompter|>what is the phone number of employees whose salary is in the range of 8000 and 12000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":">=","value":8000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000}]}}<|endoftext|><|prompter|>Return the phone numbers of employees with salaries between 8000 and 12000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":">=","value":8000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000}]}}<|endoftext|><|prompter|>What are the full name (first and last name) and salary for all employees who does not have any value for commission?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"}]}}<|endoftext|><|prompter|>Return the full names and salaries of employees with null commissions.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"}]}}<|endoftext|><|prompter|>Find the salary and manager number for those employees who is working under a manager.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"manager_id","operation":"!=","value":"'null'"}]}}<|endoftext|><|prompter|>What are the salaries and manager ids for employees who have managers?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"manager_id","operation":"!=","value":"'null'"}]}}<|endoftext|><|prompter|>display the emails of the employees who have no commission percentage and salary within the range 7000 to 12000 and works in that department which number is 50.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"},{"actionType":"ChangeCondition","column":"salary","operation":">=","value":7000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000},{"actionType":"ChangeCondition","column":"department_id","operation":"=","value":50}]}}<|endoftext|><|prompter|>What are the emails of employees with null commission, salary between 7000 and 12000, and who work in department 50?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"},{"actionType":"ChangeCondition","column":"salary","operation":">=","value":7000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000},{"actionType":"ChangeCondition","column":"department_id","operation":"=","value":50}]}}<|endoftext|><|prompter|>display the average salary of employees for each department who gets a commission percentage.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"AVG"},{"actionType":"ChangeCondition","column":"commission_pct","operation":"!=","value":"'null'"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>Determine the average salary of employees whose commission percentage is not null.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"AVG"},{"actionType":"ChangeCondition","column":"commission_pct","operation":"!=","value":"'null'"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>return the smallest salary for every departments.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MIN"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>What is the minimum salary in each department?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MIN"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>display the department ID, full name (first and last name), salary for those employees who is highest salary in every department.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MAX"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>What are the department ids, full names, and salaries for employees who make the most in their departments?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MAX"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["EMPLOYEE_ID","FIRST_NAME","LAST_NAME","EMAIL","PHONE_NUMBER","HIRE_DATE","JOB_ID","SALARY","COMMISSION_PCT","MANAGER_ID","DEPARTMENT_ID"],"name":"employees","type":"grid"}]<|endoftext|><|prompter|>List the full name (first and last name), and salary for those employees who earn below 6000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":"<","value":6000}]}}<|endoftext|><|prompter|>What are the full names and salaries for any employees earning less than 6000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":"<","value":6000}]}}<|endoftext|><|prompter|>Display the first name, and department number for all employees whose last name is "McEwen".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"McEwen"}]}}<|endoftext|><|prompter|>What are the first names and department numbers for employees with last name McEwen?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"McEwen"}]}}<|endoftext|><|prompter|>what is the phone number of employees whose salary is in the range of 8000 and 12000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":">=","value":8000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000}]}}<|endoftext|><|prompter|>Return the phone numbers of employees with salaries between 8000 and 12000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":">=","value":8000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000}]}}<|endoftext|><|prompter|>What are the full name (first and last name) and salary for all employees who does not have any value for commission?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"}]}}<|endoftext|><|prompter|>Return the full names and salaries of employees with null commissions.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"}]}}<|endoftext|><|prompter|>Find the salary and manager number for those employees who is working under a manager.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"manager_id","operation":"!=","value":"'null'"}]}}<|endoftext|><|prompter|>What are the salaries and manager ids for employees who have managers?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"manager_id","operation":"!=","value":"'null'"}]}}<|endoftext|><|prompter|>display the emails of the employees who have no commission percentage and salary within the range 7000 to 12000 and works in that department which number is 50.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"},{"actionType":"ChangeCondition","column":"salary","operation":">=","value":7000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000},{"actionType":"ChangeCondition","column":"department_id","operation":"=","value":50}]}}<|endoftext|><|prompter|>What are the emails of employees with null commission, salary between 7000 and 12000, and who work in department 50?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"},{"actionType":"ChangeCondition","column":"salary","operation":">=","value":7000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000},{"actionType":"ChangeCondition","column":"department_id","operation":"=","value":50}]}}<|endoftext|><|prompter|>display the average salary of employees for each department who gets a commission percentage.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"AVG"},{"actionType":"ChangeCondition","column":"commission_pct","operation":"!=","value":"'null'"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>What is the average salary of employees who have a commission percentage that is not null?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"AVG"},{"actionType":"ChangeCondition","column":"commission_pct","operation":"!=","value":"'null'"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>Determine the lowest salary for each department.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MIN"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>What is the minimum salary in each department?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MIN"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>display the department ID, full name (first and last name), salary for those employees who is highest salary in every department.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MAX"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>What are the department ids, full names, and salaries for employees who make the most in their departments?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MAX"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["EMPLOYEE_ID","FIRST_NAME","LAST_NAME","EMAIL","PHONE_NUMBER","HIRE_DATE","JOB_ID","SALARY","COMMISSION_PCT","MANAGER_ID","DEPARTMENT_ID"],"name":"employees","type":"grid"}]<|endoftext|><|prompter|>List the full name (first and last name), and salary for those employees who earn below 6000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":"<","value":6000}]}}<|endoftext|><|prompter|>What are the full names and salaries for any employees earning less than 6000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":"<","value":6000}]}}<|endoftext|><|prompter|>Display the first name, and department number for all employees whose last name is "McEwen".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"McEwen"}]}}<|endoftext|><|prompter|>What are the first names and department numbers for employees with last name McEwen?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"McEwen"}]}}<|endoftext|><|prompter|>what is the phone number of employees whose salary is in the range of 8000 and 12000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":">=","value":8000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000}]}}<|endoftext|><|prompter|>Return the phone numbers of employees with salaries between 8000 and 12000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":">=","value":8000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000}]}}<|endoftext|><|prompter|>What are the full name (first and last name) and salary for all employees who does not have any value for commission?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"}]}}<|endoftext|><|prompter|>Return the full names and salaries of employees with null commissions.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"}]}}<|endoftext|><|prompter|>Find the salary and manager number for those employees who is working under a manager.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"manager_id","operation":"!=","value":"'null'"}]}}<|endoftext|><|prompter|>What are the salaries and manager ids for employees who have managers?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"manager_id","operation":"!=","value":"'null'"}]}}<|endoftext|><|prompter|>display the emails of the employees who have no commission percentage and salary within the range 7000 to 12000 and works in that department which number is 50.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"},{"actionType":"ChangeCondition","column":"salary","operation":">=","value":7000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000},{"actionType":"ChangeCondition","column":"department_id","operation":"=","value":50}]}}<|endoftext|><|prompter|>What are the emails of employees with null commission, salary between 7000 and 12000, and who work in department 50?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"},{"actionType":"ChangeCondition","column":"salary","operation":">=","value":7000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000},{"actionType":"ChangeCondition","column":"department_id","operation":"=","value":50}]}}<|endoftext|><|prompter|>display the average salary of employees for each department who gets a commission percentage.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"AVG"},{"actionType":"ChangeCondition","column":"commission_pct","operation":"!=","value":"'null'"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>What is the average salary of employees who have a commission percentage that is not null?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"AVG"},{"actionType":"ChangeCondition","column":"commission_pct","operation":"!=","value":"'null'"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>Retrieve the smallest salary for each department.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MIN"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>What is the minimum salary in each department?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MIN"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>display the department ID, full name (first and last name), salary for those employees who is highest salary in every department.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MAX"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>What are the department ids, full names, and salaries for employees who make the most in their departments?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MAX"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["EMPLOYEE_ID","FIRST_NAME","LAST_NAME","EMAIL","PHONE_NUMBER","HIRE_DATE","JOB_ID","SALARY","COMMISSION_PCT","MANAGER_ID","DEPARTMENT_ID"],"name":"employees","type":"grid"}]<|endoftext|><|prompter|>List the full name (first and last name), and salary for those employees who earn below 6000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":"<","value":6000}]}}<|endoftext|><|prompter|>What are the full names and salaries for any employees earning less than 6000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":"<","value":6000}]}}<|endoftext|><|prompter|>Display the first name, and department number for all employees whose last name is "McEwen".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"McEwen"}]}}<|endoftext|><|prompter|>What are the first names and department numbers for employees with last name McEwen?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"McEwen"}]}}<|endoftext|><|prompter|>what is the phone number of employees whose salary is in the range of 8000 and 12000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":">=","value":8000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000}]}}<|endoftext|><|prompter|>Return the phone numbers of employees with salaries between 8000 and 12000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":">=","value":8000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000}]}}<|endoftext|><|prompter|>What are the full name (first and last name) and salary for all employees who does not have any value for commission?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"}]}}<|endoftext|><|prompter|>Return the full names and salaries of employees with null commissions.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"}]}}<|endoftext|><|prompter|>Find the salary and manager number for those employees who is working under a manager.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"manager_id","operation":"!=","value":"'null'"}]}}<|endoftext|><|prompter|>What are the salaries and manager ids for employees who have managers?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"manager_id","operation":"!=","value":"'null'"}]}}<|endoftext|><|prompter|>display the emails of the employees who have no commission percentage and salary within the range 7000 to 12000 and works in that department which number is 50.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"},{"actionType":"ChangeCondition","column":"salary","operation":">=","value":7000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000},{"actionType":"ChangeCondition","column":"department_id","operation":"=","value":50}]}}<|endoftext|><|prompter|>What are the emails of employees with null commission, salary between 7000 and 12000, and who work in department 50?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"},{"actionType":"ChangeCondition","column":"salary","operation":">=","value":7000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000},{"actionType":"ChangeCondition","column":"department_id","operation":"=","value":50}]}}<|endoftext|><|prompter|>display the average salary of employees for each department who gets a commission percentage.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"AVG"},{"actionType":"ChangeCondition","column":"commission_pct","operation":"!=","value":"'null'"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>What is the average salary of employees who have a commission percentage that is not null?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"AVG"},{"actionType":"ChangeCondition","column":"commission_pct","operation":"!=","value":"'null'"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>return the smallest salary for every departments.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MIN"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>What is the lowest salary in each department?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MIN"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>display the department ID, full name (first and last name), salary for those employees who is highest salary in every department.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MAX"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>What are the department ids, full names, and salaries for employees who make the most in their departments?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MAX"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["EMPLOYEE_ID","FIRST_NAME","LAST_NAME","EMAIL","PHONE_NUMBER","HIRE_DATE","JOB_ID","SALARY","COMMISSION_PCT","MANAGER_ID","DEPARTMENT_ID"],"name":"employees","type":"grid"}]<|endoftext|><|prompter|>List the full name (first and last name), and salary for those employees who earn below 6000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":"<","value":6000}]}}<|endoftext|><|prompter|>What are the full names and salaries for any employees earning less than 6000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":"<","value":6000}]}}<|endoftext|><|prompter|>Display the first name, and department number for all employees whose last name is "McEwen".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"McEwen"}]}}<|endoftext|><|prompter|>What are the first names and department numbers for employees with last name McEwen?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"McEwen"}]}}<|endoftext|><|prompter|>what is the phone number of employees whose salary is in the range of 8000 and 12000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":">=","value":8000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000}]}}<|endoftext|><|prompter|>Return the phone numbers of employees with salaries between 8000 and 12000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":">=","value":8000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000}]}}<|endoftext|><|prompter|>What are the full name (first and last name) and salary for all employees who does not have any value for commission?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"}]}}<|endoftext|><|prompter|>Return the full names and salaries of employees with null commissions.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"}]}}<|endoftext|><|prompter|>Find the salary and manager number for those employees who is working under a manager.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"manager_id","operation":"!=","value":"'null'"}]}}<|endoftext|><|prompter|>What are the salaries and manager ids for employees who have managers?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"manager_id","operation":"!=","value":"'null'"}]}}<|endoftext|><|prompter|>display the emails of the employees who have no commission percentage and salary within the range 7000 to 12000 and works in that department which number is 50.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"},{"actionType":"ChangeCondition","column":"salary","operation":">=","value":7000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000},{"actionType":"ChangeCondition","column":"department_id","operation":"=","value":50}]}}<|endoftext|><|prompter|>What are the emails of employees with null commission, salary between 7000 and 12000, and who work in department 50?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"},{"actionType":"ChangeCondition","column":"salary","operation":">=","value":7000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000},{"actionType":"ChangeCondition","column":"department_id","operation":"=","value":50}]}}<|endoftext|><|prompter|>display the average salary of employees for each department who gets a commission percentage.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"AVG"},{"actionType":"ChangeCondition","column":"commission_pct","operation":"!=","value":"'null'"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>What is the average salary of employees who have a commission percentage that is not null?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"AVG"},{"actionType":"ChangeCondition","column":"commission_pct","operation":"!=","value":"'null'"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>return the smallest salary for every departments.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MIN"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>What is the minimum salary for each department?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MIN"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>display the department ID, full name (first and last name), salary for those employees who is highest salary in every department.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MAX"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>What are the department ids, full names, and salaries for employees who make the most in their departments?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MAX"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["EMPLOYEE_ID","FIRST_NAME","LAST_NAME","EMAIL","PHONE_NUMBER","HIRE_DATE","JOB_ID","SALARY","COMMISSION_PCT","MANAGER_ID","DEPARTMENT_ID"],"name":"employees","type":"grid"}]<|endoftext|><|prompter|>List the full name (first and last name), and salary for those employees who earn below 6000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":"<","value":6000}]}}<|endoftext|><|prompter|>What are the full names and salaries for any employees earning less than 6000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":"<","value":6000}]}}<|endoftext|><|prompter|>Display the first name, and department number for all employees whose last name is "McEwen".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"McEwen"}]}}<|endoftext|><|prompter|>What are the first names and department numbers for employees with last name McEwen?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"McEwen"}]}}<|endoftext|><|prompter|>what is the phone number of employees whose salary is in the range of 8000 and 12000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":">=","value":8000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000}]}}<|endoftext|><|prompter|>Return the phone numbers of employees with salaries between 8000 and 12000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":">=","value":8000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000}]}}<|endoftext|><|prompter|>What are the full name (first and last name) and salary for all employees who does not have any value for commission?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"}]}}<|endoftext|><|prompter|>Return the full names and salaries of employees with null commissions.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"}]}}<|endoftext|><|prompter|>Find the salary and manager number for those employees who is working under a manager.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"manager_id","operation":"!=","value":"'null'"}]}}<|endoftext|><|prompter|>What are the salaries and manager ids for employees who have managers?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"manager_id","operation":"!=","value":"'null'"}]}}<|endoftext|><|prompter|>display the emails of the employees who have no commission percentage and salary within the range 7000 to 12000 and works in that department which number is 50.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"},{"actionType":"ChangeCondition","column":"salary","operation":">=","value":7000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000},{"actionType":"ChangeCondition","column":"department_id","operation":"=","value":50}]}}<|endoftext|><|prompter|>What are the emails of employees with null commission, salary between 7000 and 12000, and who work in department 50?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"},{"actionType":"ChangeCondition","column":"salary","operation":">=","value":7000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000},{"actionType":"ChangeCondition","column":"department_id","operation":"=","value":50}]}}<|endoftext|><|prompter|>display the average salary of employees for each department who gets a commission percentage.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"AVG"},{"actionType":"ChangeCondition","column":"commission_pct","operation":"!=","value":"'null'"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>What is the average salary of employees who have a commission percentage that is not null?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"AVG"},{"actionType":"ChangeCondition","column":"commission_pct","operation":"!=","value":"'null'"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>return the smallest salary for every departments.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MIN"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>What is the minimum salary in each department?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MIN"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>Show the department ID, full name (first and last), and highest salary for each department.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MAX"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>What are the department ids, full names, and salaries for employees who make the most in their departments?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MAX"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["EMPLOYEE_ID","FIRST_NAME","LAST_NAME","EMAIL","PHONE_NUMBER","HIRE_DATE","JOB_ID","SALARY","COMMISSION_PCT","MANAGER_ID","DEPARTMENT_ID"],"name":"employees","type":"grid"}]<|endoftext|><|prompter|>List the full name (first and last name), and salary for those employees who earn below 6000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":"<","value":6000}]}}<|endoftext|><|prompter|>What are the full names and salaries for any employees earning less than 6000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":"<","value":6000}]}}<|endoftext|><|prompter|>Display the first name, and department number for all employees whose last name is "McEwen".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"McEwen"}]}}<|endoftext|><|prompter|>What are the first names and department numbers for employees with last name McEwen?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"McEwen"}]}}<|endoftext|><|prompter|>what is the phone number of employees whose salary is in the range of 8000 and 12000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":">=","value":8000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000}]}}<|endoftext|><|prompter|>Return the phone numbers of employees with salaries between 8000 and 12000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":">=","value":8000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000}]}}<|endoftext|><|prompter|>What are the full name (first and last name) and salary for all employees who does not have any value for commission?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"}]}}<|endoftext|><|prompter|>Return the full names and salaries of employees with null commissions.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"}]}}<|endoftext|><|prompter|>Find the salary and manager number for those employees who is working under a manager.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"manager_id","operation":"!=","value":"'null'"}]}}<|endoftext|><|prompter|>What are the salaries and manager ids for employees who have managers?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"manager_id","operation":"!=","value":"'null'"}]}}<|endoftext|><|prompter|>display the emails of the employees who have no commission percentage and salary within the range 7000 to 12000 and works in that department which number is 50.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"},{"actionType":"ChangeCondition","column":"salary","operation":">=","value":7000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000},{"actionType":"ChangeCondition","column":"department_id","operation":"=","value":50}]}}<|endoftext|><|prompter|>What are the emails of employees with null commission, salary between 7000 and 12000, and who work in department 50?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"},{"actionType":"ChangeCondition","column":"salary","operation":">=","value":7000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000},{"actionType":"ChangeCondition","column":"department_id","operation":"=","value":50}]}}<|endoftext|><|prompter|>display the average salary of employees for each department who gets a commission percentage.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"AVG"},{"actionType":"ChangeCondition","column":"commission_pct","operation":"!=","value":"'null'"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>What is the average salary of employees who have a commission percentage that is not null?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"AVG"},{"actionType":"ChangeCondition","column":"commission_pct","operation":"!=","value":"'null'"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>return the smallest salary for every departments.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MIN"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>What is the minimum salary in each department?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MIN"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>Display the department ID, full name (first and last name), and salary for the employees who have the highest salary in each department.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MAX"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>What are the department ids, full names, and salaries for employees who make the most in their departments?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MAX"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["EMPLOYEE_ID","FIRST_NAME","LAST_NAME","EMAIL","PHONE_NUMBER","HIRE_DATE","JOB_ID","SALARY","COMMISSION_PCT","MANAGER_ID","DEPARTMENT_ID"],"name":"employees","type":"grid"}]<|endoftext|><|prompter|>List the full name (first and last name), and salary for those employees who earn below 6000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":"<","value":6000}]}}<|endoftext|><|prompter|>What are the full names and salaries for any employees earning less than 6000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":"<","value":6000}]}}<|endoftext|><|prompter|>Display the first name, and department number for all employees whose last name is "McEwen".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"McEwen"}]}}<|endoftext|><|prompter|>What are the first names and department numbers for employees with last name McEwen?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"McEwen"}]}}<|endoftext|><|prompter|>what is the phone number of employees whose salary is in the range of 8000 and 12000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":">=","value":8000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000}]}}<|endoftext|><|prompter|>Return the phone numbers of employees with salaries between 8000 and 12000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":">=","value":8000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000}]}}<|endoftext|><|prompter|>What are the full name (first and last name) and salary for all employees who does not have any value for commission?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"}]}}<|endoftext|><|prompter|>Return the full names and salaries of employees with null commissions.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"}]}}<|endoftext|><|prompter|>Find the salary and manager number for those employees who is working under a manager.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"manager_id","operation":"!=","value":"'null'"}]}}<|endoftext|><|prompter|>What are the salaries and manager ids for employees who have managers?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"manager_id","operation":"!=","value":"'null'"}]}}<|endoftext|><|prompter|>display the emails of the employees who have no commission percentage and salary within the range 7000 to 12000 and works in that department which number is 50.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"},{"actionType":"ChangeCondition","column":"salary","operation":">=","value":7000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000},{"actionType":"ChangeCondition","column":"department_id","operation":"=","value":50}]}}<|endoftext|><|prompter|>What are the emails of employees with null commission, salary between 7000 and 12000, and who work in department 50?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"},{"actionType":"ChangeCondition","column":"salary","operation":">=","value":7000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000},{"actionType":"ChangeCondition","column":"department_id","operation":"=","value":50}]}}<|endoftext|><|prompter|>display the average salary of employees for each department who gets a commission percentage.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"AVG"},{"actionType":"ChangeCondition","column":"commission_pct","operation":"!=","value":"'null'"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>What is the average salary of employees who have a commission percentage that is not null?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"AVG"},{"actionType":"ChangeCondition","column":"commission_pct","operation":"!=","value":"'null'"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>return the smallest salary for every departments.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MIN"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>What is the minimum salary in each department?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MIN"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>display the department ID, full name (first and last name), salary for those employees who is highest salary in every department.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MAX"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>Provide department ids, employee full names, and salaries for top earners in each department.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MAX"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["EMPLOYEE_ID","FIRST_NAME","LAST_NAME","EMAIL","PHONE_NUMBER","HIRE_DATE","JOB_ID","SALARY","COMMISSION_PCT","MANAGER_ID","DEPARTMENT_ID"],"name":"employees","type":"grid"}]<|endoftext|><|prompter|>List the full name (first and last name), and salary for those employees who earn below 6000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":"<","value":6000}]}}<|endoftext|><|prompter|>What are the full names and salaries for any employees earning less than 6000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":"<","value":6000}]}}<|endoftext|><|prompter|>Display the first name, and department number for all employees whose last name is "McEwen".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"McEwen"}]}}<|endoftext|><|prompter|>What are the first names and department numbers for employees with last name McEwen?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"McEwen"}]}}<|endoftext|><|prompter|>what is the phone number of employees whose salary is in the range of 8000 and 12000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":">=","value":8000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000}]}}<|endoftext|><|prompter|>Return the phone numbers of employees with salaries between 8000 and 12000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":">=","value":8000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000}]}}<|endoftext|><|prompter|>What are the full name (first and last name) and salary for all employees who does not have any value for commission?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"}]}}<|endoftext|><|prompter|>Return the full names and salaries of employees with null commissions.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"}]}}<|endoftext|><|prompter|>Find the salary and manager number for those employees who is working under a manager.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"manager_id","operation":"!=","value":"'null'"}]}}<|endoftext|><|prompter|>What are the salaries and manager ids for employees who have managers?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"manager_id","operation":"!=","value":"'null'"}]}}<|endoftext|><|prompter|>display the emails of the employees who have no commission percentage and salary within the range 7000 to 12000 and works in that department which number is 50.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"},{"actionType":"ChangeCondition","column":"salary","operation":">=","value":7000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000},{"actionType":"ChangeCondition","column":"department_id","operation":"=","value":50}]}}<|endoftext|><|prompter|>What are the emails of employees with null commission, salary between 7000 and 12000, and who work in department 50?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"},{"actionType":"ChangeCondition","column":"salary","operation":">=","value":7000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000},{"actionType":"ChangeCondition","column":"department_id","operation":"=","value":50}]}}<|endoftext|><|prompter|>display the average salary of employees for each department who gets a commission percentage.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"AVG"},{"actionType":"ChangeCondition","column":"commission_pct","operation":"!=","value":"'null'"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>What is the average salary of employees who have a commission percentage that is not null?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"AVG"},{"actionType":"ChangeCondition","column":"commission_pct","operation":"!=","value":"'null'"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>return the smallest salary for every departments.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MIN"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>What is the minimum salary in each department?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MIN"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>display the department ID, full name (first and last name), salary for those employees who is highest salary in every department.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MAX"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>List the department IDs, full names, and salaries of employees who have the highest salaries in their respective departments.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MAX"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["EMPLOYEE_ID","FIRST_NAME","LAST_NAME","EMAIL","PHONE_NUMBER","HIRE_DATE","JOB_ID","SALARY","COMMISSION_PCT","MANAGER_ID","DEPARTMENT_ID"],"name":"employees","type":"grid"}]<|endoftext|><|prompter|>List the full name (first and last name), and salary for those employees who earn below 6000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":"<","value":6000}]}}<|endoftext|><|prompter|>What are the full names and salaries for any employees earning less than 6000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":"<","value":6000}]}}<|endoftext|><|prompter|>Display the first name, and department number for all employees whose last name is "McEwen".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"McEwen"}]}}<|endoftext|><|prompter|>What are the first names and department numbers for employees with last name McEwen?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"McEwen"}]}}<|endoftext|><|prompter|>what is the phone number of employees whose salary is in the range of 8000 and 12000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":">=","value":8000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000}]}}<|endoftext|><|prompter|>Return the phone numbers of employees with salaries between 8000 and 12000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":">=","value":8000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000}]}}<|endoftext|><|prompter|>What are the full name (first and last name) and salary for all employees who does not have any value for commission?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"}]}}<|endoftext|><|prompter|>Return the full names and salaries of employees with null commissions.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"}]}}<|endoftext|><|prompter|>Find the salary and manager number for those employees who is working under a manager.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"manager_id","operation":"!=","value":"'null'"}]}}<|endoftext|><|prompter|>What are the salaries and manager ids for employees who have managers?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"manager_id","operation":"!=","value":"'null'"}]}}<|endoftext|><|prompter|>display the emails of the employees who have no commission percentage and salary within the range 7000 to 12000 and works in that department which number is 50.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"},{"actionType":"ChangeCondition","column":"salary","operation":">=","value":7000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000},{"actionType":"ChangeCondition","column":"department_id","operation":"=","value":50}]}}<|endoftext|><|prompter|>What are the emails of employees with null commission, salary between 7000 and 12000, and who work in department 50?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"},{"actionType":"ChangeCondition","column":"salary","operation":">=","value":7000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000},{"actionType":"ChangeCondition","column":"department_id","operation":"=","value":50}]}}<|endoftext|><|prompter|>display the average salary of employees for each department who gets a commission percentage.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"AVG"},{"actionType":"ChangeCondition","column":"commission_pct","operation":"!=","value":"'null'"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>What is the average salary of employees who have a commission percentage that is not null?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"AVG"},{"actionType":"ChangeCondition","column":"commission_pct","operation":"!=","value":"'null'"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>return the smallest salary for every departments.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MIN"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>What is the minimum salary in each department?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MIN"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>display the department ID, full name (first and last name), salary for those employees who is highest salary in every department.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MAX"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|><|prompter|>What are the department ids, full names, and salaries for employees who make the most in their departments?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MAX"},{"actionType":"ChangeGrouping","column":"department_id"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["id","name","City","Height","Stories","Status"],"name":"buildings","type":"grid"}]<|endoftext|><|prompter|>hello <|endoftext|><|assistant|>{"text":"hello! what can i help for you?","dsl":{}}<|endoftext|><|prompter|>Which building is the highest?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Height","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>How tall is the Torre Reforma? <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'Torre Reforma'"}]}}<|endoftext|><|prompter|>How many stories does the highest building have? <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Height","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"you are welcome! do you need any other help?","dsl":{}}<|endoftext|><|prompter|>nope. <|endoftext|><|assistant|>{"text":"okay! see you.","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["apid","name","city","country","x","y","elevation","iata","icao"],"name":"airports","type":"grid"}]<|endoftext|><|prompter|>which country has the airport with the highest altitude? <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"elevation","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>in what city is it located?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"elevation","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>what is its elevation? <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"elevation","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Bye!","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["section_id","course_id","section_name","section_description","other_details"],"name":"Sections","type":"grid"}]<|endoftext|><|prompter|>List the section_name in reversed lexicographical order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"section_name","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of the sections in reverse alphabetical order?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"section_name","direction":"desk"}]}}<|endoftext|><|prompter|>Describe the section h.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"section_name","operation":"=","value":"h"}]}}<|endoftext|><|prompter|>What is the description for the section named h?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"section_name","operation":"=","value":"h"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Department_ID","Name","Creation","Ranking","Budget_in_Billions","Num_Employees"],"name":"department","type":"grid"}]<|endoftext|><|prompter|>What is the average number of employees of the departments whose rank is between 10 and 15?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"num_employees","aggregation":"avg"},{"actionType":"ChangeCondition","column":"ranking","operation":">=","value":10},{"actionType":"ChangeCondition","column":"ranking","operation":"<=","value":15}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["incident_id","incident_type_code","student_id","date_incident_start","date_incident_end","incident_summary","recommendations","other_details"],"name":"Behavior_Incident","type":"grid"}]<|endoftext|><|prompter|>How many distinct incident type codes are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"incident_type_code","aggregation":"count"}]}}<|endoftext|><|prompter|>What are the start and end dates for incidents with incident type code "NOISE"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"incident_type_code","operation":"=","value":"'NOISE'"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Actor_ID","Name","Musical_ID","Character","Duration","age"],"name":"actor","type":"grid"}]<|endoftext|><|prompter|>List the name of actors in ascending alphabetical order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Name","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of actors, ordered alphabetically?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Name","direction":"ask"}]}}<|endoftext|><|prompter|>List the name of actors whose age is not 20.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Age","operation":"!=","value":20}]}}<|endoftext|><|prompter|>What are the names of actors who are not 20 years old?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Age","operation":"!=","value":20}]}}<|endoftext|><|prompter|>What are the characters of actors in descending order of age?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"desk"}]}}<|endoftext|><|prompter|>Return the characters for actors, ordered by age descending.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"desk"}]}}<|endoftext|><|prompter|>What is the duration of the oldest actor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Age","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Return the duration of the actor with the greatest age.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Age","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["ID","name","dept_name","salary"],"name":"instructor","type":"grid"}]<|endoftext|><|prompter|>what is the name of the instructor who is in Statistics department and earns the lowest salary?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"dept_name","operation":"=","value":"Statistics"},{"actionType":"ChangeTopFilter","column":"salary","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Give the name of the lowest earning instructor in the Statistics department.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"dept_name","operation":"=","value":"Statistics"},{"actionType":"ChangeTopFilter","column":"salary","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Who is the instructor with the highest salary?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"salary","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Give the name of the highest paid instructor.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"salary","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the name of the department which has the highest average salary of professors.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"dept_name"},{"actionType":"ChangeTopFilter","column":"salary","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Which department has the highest average instructor salary?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"dept_name"},{"actionType":"ChangeTopFilter","column":"salary","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the names of all instructors in computer science department<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"dept_name","operation":"=","value":"Comp. Sci."}]}}<|endoftext|><|prompter|>What are the names of all instructors in the Comp. Sci. department?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"dept_name","operation":"=","value":"Comp. Sci."}]}}<|endoftext|><|prompter|>Find the names of all instructors in Comp. Sci. department with salary > 80000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"dept_name","operation":"=","value":"Comp. Sci."},{"actionType":"ChangeCondition","column":"salary","operation":">","value":80000}]}}<|endoftext|><|prompter|>What are the names of the instructors in the Comp. Sci. department who earn more than 80000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"dept_name","operation":"=","value":"Comp. Sci."},{"actionType":"ChangeCondition","column":"salary","operation":">","value":80000}]}}<|endoftext|><|prompter|>List in alphabetic order the names of all distinct instructors.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"name","direction":"ask"}]}}<|endoftext|><|prompter|>List the distinct names of the instructors, ordered by name.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"name","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["ResTypeID","ResTypeName","ResTypeDescription"],"name":"Restaurant_Type","type":"grid"}]<|endoftext|><|prompter|>What is the description of the restaurant type Sandwich?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"ResTypeName","operation":"=","value":"'Sandwich'"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Tourist_Attraction_ID","Attraction_Type_Code","Location_ID","How_to_Get_There","Name","Description","Opening_Hours","Other_Details"],"name":"Tourist_Attractions","type":"grid"}]<|endoftext|><|prompter|>Display various modes of reaching attractions and the count of attractions accessible through each method.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"How_to_Get_There"}]}}<|endoftext|><|prompter|>List all the possible ways to get to attractions, together with the number of attractions accessible by these methods.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"How_to_Get_There"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Tourist_Attraction_ID","Attraction_Type_Code","Location_ID","How_to_Get_There","Name","Description","Opening_Hours","Other_Details"],"name":"Tourist_Attractions","type":"grid"}]<|endoftext|><|prompter|>Provide the various modes of transportation to reach attractions and the number of accessible attractions for each mode.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"How_to_Get_There"}]}}<|endoftext|><|prompter|>List all the possible ways to get to attractions, together with the number of attractions accessible by these methods.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"How_to_Get_There"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Tourist_Attraction_ID","Attraction_Type_Code","Location_ID","How_to_Get_There","Name","Description","Opening_Hours","Other_Details"],"name":"Tourist_Attractions","type":"grid"}]<|endoftext|><|prompter|>Show different ways to get to attractions and the number of attractions that can be accessed in the corresponding way.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"How_to_Get_There"}]}}<|endoftext|><|prompter|>Enumerate all transportation methods to attractions, along with the count of accessible attractions for each method.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"How_to_Get_There"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Tourist_Attraction_ID","Attraction_Type_Code","Location_ID","How_to_Get_There","Name","Description","Opening_Hours","Other_Details"],"name":"Tourist_Attractions","type":"grid"}]<|endoftext|><|prompter|>Show different ways to get to attractions and the number of attractions that can be accessed in the corresponding way.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"How_to_Get_There"}]}}<|endoftext|><|prompter|>List all possible ways to get to attractions and the number of attractions accessible by these methods.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"How_to_Get_There"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Tourist_Attraction_ID","Attraction_Type_Code","Location_ID","How_to_Get_There","Name","Description","Opening_Hours","Other_Details"],"name":"Tourist_Attractions","type":"grid"}]<|endoftext|><|prompter|>Show different ways to get to attractions and the number of attractions that can be accessed in the corresponding way.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"How_to_Get_There"}]}}<|endoftext|><|prompter|>List all the possible ways to get to attractions, together with the number of attractions accessible by these methods.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"How_to_Get_There"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Account_ID","Statement_ID","Account_Details"],"name":"Accounts","type":"grid"}]<|endoftext|><|prompter|>Display statement ids and their corresponding account counts.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"STATEMENT_ID"}]}}<|endoftext|><|prompter|>What are the different statement ids on accounts, and the number of accounts for each?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"STATEMENT_ID"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Account_ID","Statement_ID","Account_Details"],"name":"Accounts","type":"grid"}]<|endoftext|><|prompter|>List all statement IDs and the number of accounts for each statement.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"STATEMENT_ID"}]}}<|endoftext|><|prompter|>What are the different statement ids on accounts, and the number of accounts for each?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"STATEMENT_ID"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Account_ID","Statement_ID","Account_Details"],"name":"Accounts","type":"grid"}]<|endoftext|><|prompter|>Show all statement id and the number of accounts for each statement.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"STATEMENT_ID"}]}}<|endoftext|><|prompter|>Identify the distinct statement ids for accounts and their respective account counts.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"STATEMENT_ID"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Account_ID","Statement_ID","Account_Details"],"name":"Accounts","type":"grid"}]<|endoftext|><|prompter|>Show all statement id and the number of accounts for each statement.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"STATEMENT_ID"}]}}<|endoftext|><|prompter|>Provide the statement IDs and the number of accounts associated with each ID.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"STATEMENT_ID"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Account_ID","Statement_ID","Account_Details"],"name":"Accounts","type":"grid"}]<|endoftext|><|prompter|>Show all statement id and the number of accounts for each statement.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"STATEMENT_ID"}]}}<|endoftext|><|prompter|>What are the different statement ids on accounts, and the number of accounts for each?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"STATEMENT_ID"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["School_ID","School","Location","Enrollment","Founded","Denomination","Boys_or_Girls","Day_or_Boarding","Year_Entered_Competition","School_Colors"],"name":"school","type":"grid"}]<|endoftext|><|prompter|>What schools were founded before 1890?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Founded","operation":"<","value":1890}]}}<|endoftext|><|prompter|>What was its denomination?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Founded","operation":"<","value":1890}]}}<|endoftext|><|prompter|>What schools were founded after 1900?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Founded","operation":">","value":1900}]}}<|endoftext|><|prompter|>What were their denominations?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Founded","operation":">","value":1900}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"welcome goodbye","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["Code","Name","Continent","Region","SurfaceArea","IndepYear","Population","LifeExpectancy","GNP","GNPOld","LocalName","GovernmentForm","HeadOfState","Capital","Code2"],"name":"country","type":"grid"}]<|endoftext|><|prompter|>Can you list all nations whose government is US territory?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"GovernmentForm","operation":"=","value":"'US Territory'"}]}}<|endoftext|><|prompter|>Hmm, I also want to know their GNP and population.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"GovernmentForm","operation":"=","value":"'US Territory'"}]}}<|endoftext|><|prompter|>Please find out the average GNP and total population of those nations.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"GNP","aggregation":"avg"},{"actionType":"ChangeAggregations","column":"population","aggregation":"sum"},{"actionType":"ChangeCondition","column":"GovernmentForm","operation":"=","value":"'US Territory'"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Bye.","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["address_id","address","address2","district","city_id","postal_code","phone","last_update"],"name":"address","type":"grid"}]<|endoftext|><|prompter|>What is the phone number and postal code of the address 1031 Daugavpils Parkway?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"address","operation":"=","value":"1031 Daugavpils Parkway"}]}}<|endoftext|><|prompter|>Give the phone and postal code corresponding to the address '1031 Daugavpils Parkway'.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"address","operation":"=","value":"1031 Daugavpils Parkway"}]}}<|endoftext|><|prompter|>How many addresses are in the district of California?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"district","operation":"=","value":"California"}]}}<|endoftext|><|prompter|>Count the number of addressed in the California district.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"district","operation":"=","value":"California"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["pID","pName","yCard","HS"],"name":"Player","type":"grid"}]<|endoftext|><|prompter|>How many players have more than 1000 hours of training?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"HS","operation":">","value":1000}]}}<|endoftext|><|prompter|>How many different players trained for more than 1000 hours?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"HS","operation":">","value":1000}]}}<|endoftext|><|prompter|>What is the average training hours of all players?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"HS","aggregation":"avg"}]}}<|endoftext|><|prompter|>How many hours do the players train on average?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"HS","aggregation":"avg"}]}}<|endoftext|><|prompter|>Find the name and training hours of players whose hours are below 1500.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"HS","operation":"<","value":1500}]}}<|endoftext|><|prompter|>What are the names and number of hours spent training for each player who trains for less than 1500 hours?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"HS","operation":"<","value":1500}]}}<|endoftext|><|prompter|>What are the names of players whose training hours is between 500 and 1500?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"HS","operation":">=","value":500},{"actionType":"ChangeCondition","column":"HS","operation":"<=","value":1500}]}}<|endoftext|><|prompter|>What are the names of players who train between 500 and 1500 hours?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"HS","operation":">=","value":500},{"actionType":"ChangeCondition","column":"HS","operation":"<=","value":1500}]}}<|endoftext|><|prompter|>Find the name of players whose card is yes in the descending order of training hours.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"yCard","operation":"=","value":"yes"},{"actionType":"ChangeSorting","column":"HS","direction":"desk"}]}}<|endoftext|><|prompter|>What are the name of the players who received a card in descending order of the hours of training?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"yCard","operation":"=","value":"yes"},{"actionType":"ChangeSorting","column":"HS","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Storm_ID","Name","Dates_active","Max_speed","Damage_millions_USD","Number_Deaths"],"name":"storm","type":"grid"}]<|endoftext|><|prompter|>How many storms had death records?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Number_Deaths","operation":">","value":0}]}}<|endoftext|><|prompter|>Count the number of storms in which at least 1 person died.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Number_Deaths","operation":">","value":0}]}}<|endoftext|><|prompter|>List name, dates active, and number of deaths for all storms with at least 1 death.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"number_deaths","operation":">=","value":1}]}}<|endoftext|><|prompter|>What are the names, dates active, and number of deaths for storms that had 1 or more death?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"number_deaths","operation":">=","value":1}]}}<|endoftext|><|prompter|>List name and damage for all storms in a descending order of max speed.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"max_speed","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names and damage in millions for storms, ordered by their max speeds descending?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"max_speed","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["id","duration","start_date","start_station_name","start_station_id","end_date","end_station_name","end_station_id","bike_id","subscription_type","zip_code"],"name":"trip","type":"grid"}]<|endoftext|><|prompter|>Give me the start station and end station for the trips with the three oldest id.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"id","limit":3,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the station station and end station for the trips with the three smallest ids?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"id","limit":3,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the id of the trip that has the shortest duration?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"duration","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the id of the shortest trip?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"duration","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>From the trip record, find the number of unique bikes.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bike_id","aggregation":"count"}]}}<|endoftext|><|prompter|>How many different bike ids are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bike_id","aggregation":"count"}]}}<|endoftext|><|prompter|>What are the ids and durations of the trips with the top 3 durations?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"duration","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the ids of the trips that lasted the longest and how long did they last?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"duration","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>List all the distinct stations from which a trip of duration below 100 started.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"duration","operation":"<","value":100}]}}<|endoftext|><|prompter|>What are all the different start station names for a trip that lasted less than 100?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"duration","operation":"<","value":100}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Furniture_ID","Name","Num_of_Component","Market_Rate"],"name":"furniture","type":"grid"}]<|endoftext|><|prompter|>how can find total market rate of the furniture<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"market_rate","aggregation":"sum"}]}}<|endoftext|><|prompter|>what do you meant by number of component<|endoftext|><|assistant|>{"text":"i can 't answer this question","dsl":{}}<|endoftext|><|prompter|>what is the quality of furniture<|endoftext|><|assistant|>{"text":"There is no infor about quality of furniture","dsl":{}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Do you have more question?","dsl":{}}<|endoftext|><|prompter|>no <|endoftext|><|assistant|>{"text":"welcome and bye","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["apt_booking_id","apt_id","guest_id","booking_status_code","booking_start_date","booking_end_date"],"name":"Apartment_Bookings","type":"grid"}]<|endoftext|><|prompter|>Show booking status codes and their corresponding booking counts.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"booking_status_code"}]}}<|endoftext|><|prompter|>How many bookings does each booking status have? List the booking status code and the number of corresponding bookings.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"booking_status_code"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["apt_booking_id","apt_id","guest_id","booking_status_code","booking_start_date","booking_end_date"],"name":"Apartment_Bookings","type":"grid"}]<|endoftext|><|prompter|>List the booking status code and the corresponding number of bookings.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"booking_status_code"}]}}<|endoftext|><|prompter|>How many bookings does each booking status have? List the booking status code and the number of corresponding bookings.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"booking_status_code"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["apt_booking_id","apt_id","guest_id","booking_status_code","booking_start_date","booking_end_date"],"name":"Apartment_Bookings","type":"grid"}]<|endoftext|><|prompter|>Show the booking status code and the corresponding number of bookings.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"booking_status_code"}]}}<|endoftext|><|prompter|>For each booking status, list the status code and the number of associated bookings.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"booking_status_code"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["apt_booking_id","apt_id","guest_id","booking_status_code","booking_start_date","booking_end_date"],"name":"Apartment_Bookings","type":"grid"}]<|endoftext|><|prompter|>Show the booking status code and the corresponding number of bookings.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"booking_status_code"}]}}<|endoftext|><|prompter|>How many bookings correspond to each booking status? List the booking status code and the number of corresponding bookings.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"booking_status_code"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["apt_booking_id","apt_id","guest_id","booking_status_code","booking_start_date","booking_end_date"],"name":"Apartment_Bookings","type":"grid"}]<|endoftext|><|prompter|>Show the booking status code and the corresponding number of bookings.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"booking_status_code"}]}}<|endoftext|><|prompter|>How many bookings does each booking status have? List the booking status code and the number of corresponding bookings.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"booking_status_code"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["thing_id","Date_and_Date","Status_of_Thing_Code"],"name":"Timed_Status_of_Things","type":"grid"}]<|endoftext|><|prompter|>How many different status codes of things are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Status_of_Thing_Code","aggregation":"count"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["franchise_id","franchise_name","active","na_assoc"],"name":"team_franchise","type":"grid"}]<|endoftext|><|prompter|>How many team franchises are active, with active value 'Y'?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"active","operation":"=","value":"Y"}]}}<|endoftext|><|prompter|>Find the number of team franchises that are active (have 'Y' as "active" information).<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"active","operation":"=","value":"Y"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["branch_ID","bname","no_of_customers","city","state"],"name":"bank","type":"grid"}]<|endoftext|><|prompter|>How many customers are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"no_of_customers","aggregation":"sum"}]}}<|endoftext|><|prompter|>What is the total number of customers across banks?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"no_of_customers","aggregation":"sum"}]}}<|endoftext|><|prompter|>Find the number of customers in the banks at New York City.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"no_of_customers","aggregation":"sum"},{"actionType":"ChangeCondition","column":"city","operation":"=","value":"New York City"}]}}<|endoftext|><|prompter|>What is the total number of customers who use banks in New York City?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"no_of_customers","aggregation":"sum"},{"actionType":"ChangeCondition","column":"city","operation":"=","value":"New York City"}]}}<|endoftext|><|prompter|>Find the average number of customers in all banks of Utah state.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"no_of_customers","aggregation":"avg"},{"actionType":"ChangeCondition","column":"state","operation":"=","value":"Utah"}]}}<|endoftext|><|prompter|>What is the average number of customers across banks in the state of Utah?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"no_of_customers","aggregation":"avg"},{"actionType":"ChangeCondition","column":"state","operation":"=","value":"Utah"}]}}<|endoftext|><|prompter|>Find the average number of customers cross all banks.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"no_of_customers","aggregation":"avg"}]}}<|endoftext|><|prompter|>What is the average number of bank customers?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"no_of_customers","aggregation":"avg"}]}}<|endoftext|><|prompter|>Find the city and state of the bank branch named morningside.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bname","operation":"=","value":"morningside"}]}}<|endoftext|><|prompter|>What city and state is the bank with the name morningside in?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bname","operation":"=","value":"morningside"}]}}<|endoftext|><|prompter|>Find the branch names of banks in the New York state.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state","operation":"=","value":"New York"}]}}<|endoftext|><|prompter|>What are the names of banks in the state of New York?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state","operation":"=","value":"New York"}]}}<|endoftext|><|prompter|>Find the number of different cities which banks are located at.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"city","aggregation":"count"}]}}<|endoftext|><|prompter|>In how many different cities are banks located?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"city","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the number of different states which banks are located at.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"state","aggregation":"count"}]}}<|endoftext|><|prompter|>In how many different states are banks located?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"state","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the branch name of the bank that has the most number of customers.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"no_of_customers","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the bank branch with the greatest number of customers?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"no_of_customers","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the state which has the most number of customers.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"state"},{"actionType":"ChangeTopFilter","column":"no_of_customers","limit":1,"aggregation":"sum","direction":"desk"}]}}<|endoftext|><|prompter|>Which state has the greatest total number of bank customers?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"state"},{"actionType":"ChangeTopFilter","column":"no_of_customers","limit":1,"aggregation":"sum","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["driverId","driverRef","number","code","forename","surname","dob","nationality","url"],"name":"drivers","type":"grid"}]<|endoftext|><|prompter|>Find the forename and surname of drivers whose nationality is German?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"nationality","operation":"=","value":"'German'"}]}}<|endoftext|><|prompter|>What is the first and last name of all the German drivers?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"nationality","operation":"=","value":"'German'"}]}}<|endoftext|><|prompter|>List the forenames of all distinct drivers in alphabetical order?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"forename","direction":"ask"}]}}<|endoftext|><|prompter|>What are the first names of all the different drivers in alphabetical order?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"forename","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Paragraph_ID","Document_ID","Paragraph_Text","Other_Details"],"name":"Paragraphs","type":"grid"}]<|endoftext|><|prompter|>Display all document ids and the paragraph count for each, ordered by document id.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"document_id"},{"actionType":"ChangeSorting","column":"document_id","direction":"ask"}]}}<|endoftext|><|prompter|>Return the different document ids along with the number of paragraphs corresponding to each, ordered by id.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"document_id"},{"actionType":"ChangeSorting","column":"document_id","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Paragraph_ID","Document_ID","Paragraph_Text","Other_Details"],"name":"Paragraphs","type":"grid"}]<|endoftext|><|prompter|>Show all document ids and the number of paragraphs in each document, ordered by document id.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"document_id"},{"actionType":"ChangeSorting","column":"document_id","direction":"ask"}]}}<|endoftext|><|prompter|>Return the different document ids along with the number of paragraphs corresponding to each, ordered by id.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"document_id"},{"actionType":"ChangeSorting","column":"document_id","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Paragraph_ID","Document_ID","Paragraph_Text","Other_Details"],"name":"Paragraphs","type":"grid"}]<|endoftext|><|prompter|>Show all document ids and the number of paragraphs in each document. Order by document id.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"document_id"},{"actionType":"ChangeSorting","column":"document_id","direction":"ask"}]}}<|endoftext|><|prompter|>Present distinct document ids with their corresponding paragraph counts, sorted by id.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"document_id"},{"actionType":"ChangeSorting","column":"document_id","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Paragraph_ID","Document_ID","Paragraph_Text","Other_Details"],"name":"Paragraphs","type":"grid"}]<|endoftext|><|prompter|>Show all document ids and the number of paragraphs in each document. Order by document id.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"document_id"},{"actionType":"ChangeSorting","column":"document_id","direction":"ask"}]}}<|endoftext|><|prompter|>Return the different document IDs along with the number of paragraphs for each, ordered by ID.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"document_id"},{"actionType":"ChangeSorting","column":"document_id","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Paragraph_ID","Document_ID","Paragraph_Text","Other_Details"],"name":"Paragraphs","type":"grid"}]<|endoftext|><|prompter|>Show all document ids and the number of paragraphs in each document. Order by document id.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"document_id"},{"actionType":"ChangeSorting","column":"document_id","direction":"ask"}]}}<|endoftext|><|prompter|>Return the different document ids along with the number of paragraphs corresponding to each, ordered by id.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"document_id"},{"actionType":"ChangeSorting","column":"document_id","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["teacher_id","address_id","first_name","middle_name","last_name","gender","cell_mobile_number","email_address","other_details"],"name":"Teachers","type":"grid"}]<|endoftext|><|prompter|>Find the first names and last names of teachers in alphabetical order of last name.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"last_name","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Code","Name","Continent","Region","SurfaceArea","IndepYear","Population","LifeExpectancy","GNP","GNPOld","LocalName","GovernmentForm","HeadOfState","Capital","Code2"],"name":"country","type":"grid"}]<|endoftext|><|prompter|>What is the name of the country with the shortest life expectancy in Asia?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Continent","operation":"=","value":"'Asia'"},{"actionType":"ChangeTopFilter","column":"LifeExpectancy","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>And in Africa?<|endoftext|><|assistant|>{"text":"Do you mean among country in Africa, or among the country in Africa and in Asia.","dsl":{}}<|endoftext|><|prompter|>Among country in Africa<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Continent","operation":"=","value":"'Africa'"},{"actionType":"ChangeTopFilter","column":"LifeExpectancy","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the GNP of Afghanistan?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'Afghanistan'"}]}}<|endoftext|><|prompter|>What is the population of Afghanistan?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'Afghanistan'"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Sure! Do you want to know more?","dsl":{}}<|endoftext|><|prompter|>No.<|endoftext|><|assistant|>{"text":"Thanks. Bye!","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["best_of","draw_size","loser_age","loser_entry","loser_hand","loser_ht","loser_id","loser_ioc","loser_name","loser_rank","loser_rank_points","loser_seed","match_num","minutes","round","score","surface","tourney_date","tourney_id","tourney_level","tourney_name","winner_age","winner_entry","winner_hand","winner_ht","winner_id","winner_ioc","winner_name","winner_rank","winner_rank_points","winner_seed","year"],"name":"matches","type":"grid"}]<|endoftext|><|prompter|>find the name of loser and winner who played in the match with the greatest number of minutes<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"minutes","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>what were the player's scores?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"minutes","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>which games did they participate in?<|endoftext|><|assistant|>{"text":"What information about the game do you need?","dsl":{}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Bye!","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["LastName","FirstName","Grade","Classroom"],"name":"list","type":"grid"}]<|endoftext|><|prompter|>Find the last names of students studying in room 111.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>What are the last names of students in room 111?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>Find the first names of students studying in room 108.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students in room 108?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students studying in room 107?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>List the first names of all the students in room 107.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>Which grade is studying in classroom 103?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade taught in classroom 103.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade studying in room 105.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which grade is studying in room 105?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 4?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Find the classrooms in which grade 4 is studying.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 5?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>Show me the classrooms grade 5 is using.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>For each grade level, provide the grade, the classroom count teaching it, and the total student count in that grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each grade, return the grade number, the number of classrooms used for the grade, and the total number of students enrolled in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each classroom, report the classroom number and the number of grades using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and count the number of distinct grades that use the room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the number of students in each classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and find how many students are using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, report the total number of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, return the classroom number and the count of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the total number of students for each fourth-grade classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each fourth-grade classroom, show the classroom number and the total number of students using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Find the number of students in one classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>How many students does one classroom have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["LastName","FirstName","Grade","Classroom"],"name":"list","type":"grid"}]<|endoftext|><|prompter|>Find the last names of students studying in room 111.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>What are the last names of students in room 111?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>Find the first names of students studying in room 108.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students in room 108?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students studying in room 107?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>List the first names of all the students in room 107.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>Which grade is studying in classroom 103?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade taught in classroom 103.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade studying in room 105.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which grade is studying in room 105?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 4?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Find the classrooms in which grade 4 is studying.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 5?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>Show me the classrooms grade 5 is using.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>Report the grade, number of classrooms, and total number of students for each grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each grade, return the grade number, the number of classrooms used for the grade, and the total number of students enrolled in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each classroom, report the classroom number and the number of grades using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and count the number of distinct grades that use the room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the number of students in each classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and find how many students are using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, report the total number of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, return the classroom number and the count of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the total number of students for each fourth-grade classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each fourth-grade classroom, show the classroom number and the total number of students using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Find the number of students in one classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>How many students does one classroom have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["LastName","FirstName","Grade","Classroom"],"name":"list","type":"grid"}]<|endoftext|><|prompter|>Find the last names of students studying in room 111.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>What are the last names of students in room 111?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>Find the first names of students studying in room 108.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students in room 108?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students studying in room 107?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>List the first names of all the students in room 107.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>Which grade is studying in classroom 103?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade taught in classroom 103.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade studying in room 105.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which grade is studying in room 105?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 4?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Find the classrooms in which grade 4 is studying.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 5?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>Show me the classrooms grade 5 is using.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>For each grade, report the grade, the number of classrooms in which it is taught and the total number of students in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each grade, show the grade number, number of classrooms used, and total student enrollment.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each classroom, report the classroom number and the number of grades using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and count the number of distinct grades that use the room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the number of students in each classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and find how many students are using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, report the total number of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, return the classroom number and the count of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the total number of students for each fourth-grade classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each fourth-grade classroom, show the classroom number and the total number of students using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Find the number of students in one classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>How many students does one classroom have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["LastName","FirstName","Grade","Classroom"],"name":"list","type":"grid"}]<|endoftext|><|prompter|>Find the last names of students studying in room 111.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>What are the last names of students in room 111?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>Find the first names of students studying in room 108.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students in room 108?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students studying in room 107?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>List the first names of all the students in room 107.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>Which grade is studying in classroom 103?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade taught in classroom 103.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade studying in room 105.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which grade is studying in room 105?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 4?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Find the classrooms in which grade 4 is studying.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 5?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>Show me the classrooms grade 5 is using.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>For each grade, report the grade, the number of classrooms in which it is taught and the total number of students in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>Display the grade number, the number of classrooms used for the grade, and the total number of students enrolled in the grade for each grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each classroom, report the classroom number and the number of grades using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and count the number of distinct grades that use the room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the number of students in each classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and find how many students are using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, report the total number of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, return the classroom number and the count of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the total number of students for each fourth-grade classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each fourth-grade classroom, show the classroom number and the total number of students using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Find the number of students in one classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>How many students does one classroom have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["LastName","FirstName","Grade","Classroom"],"name":"list","type":"grid"}]<|endoftext|><|prompter|>Find the last names of students studying in room 111.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>What are the last names of students in room 111?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>Find the first names of students studying in room 108.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students in room 108?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students studying in room 107?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>List the first names of all the students in room 107.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>Which grade is studying in classroom 103?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade taught in classroom 103.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade studying in room 105.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which grade is studying in room 105?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 4?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Find the classrooms in which grade 4 is studying.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 5?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>Show me the classrooms grade 5 is using.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>For each grade, report the grade, the number of classrooms in which it is taught and the total number of students in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each grade, return the grade number, the number of classrooms used for the grade, and the total number of students enrolled in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each classroom, provide the classroom number and the number of grade levels using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and count the number of distinct grades that use the room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the number of students in each classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and find how many students are using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, report the total number of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, return the classroom number and the count of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the total number of students for each fourth-grade classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each fourth-grade classroom, show the classroom number and the total number of students using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Find the number of students in one classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>How many students does one classroom have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["LastName","FirstName","Grade","Classroom"],"name":"list","type":"grid"}]<|endoftext|><|prompter|>Find the last names of students studying in room 111.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>What are the last names of students in room 111?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>Find the first names of students studying in room 108.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students in room 108?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students studying in room 107?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>List the first names of all the students in room 107.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>Which grade is studying in classroom 103?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade taught in classroom 103.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade studying in room 105.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which grade is studying in room 105?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 4?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Find the classrooms in which grade 4 is studying.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 5?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>Show me the classrooms grade 5 is using.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>For each grade, report the grade, the number of classrooms in which it is taught and the total number of students in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each grade, return the grade number, the number of classrooms used for the grade, and the total number of students enrolled in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>Report the classroom number for each classroom and the number of grades using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and count the number of distinct grades that use the room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the number of students in each classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and find how many students are using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, report the total number of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, return the classroom number and the count of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the total number of students for each fourth-grade classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each fourth-grade classroom, show the classroom number and the total number of students using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Find the number of students in one classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>How many students does one classroom have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["LastName","FirstName","Grade","Classroom"],"name":"list","type":"grid"}]<|endoftext|><|prompter|>Find the last names of students studying in room 111.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>What are the last names of students in room 111?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>Find the first names of students studying in room 108.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students in room 108?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students studying in room 107?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>List the first names of all the students in room 107.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>Which grade is studying in classroom 103?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade taught in classroom 103.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade studying in room 105.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which grade is studying in room 105?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 4?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Find the classrooms in which grade 4 is studying.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 5?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>Show me the classrooms grade 5 is using.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>For each grade, report the grade, the number of classrooms in which it is taught and the total number of students in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each grade, return the grade number, the number of classrooms used for the grade, and the total number of students enrolled in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each classroom, report the classroom number and the number of grades using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Provide the classroom number and determine the number of unique grades utilizing the room for each classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the number of students in each classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and find how many students are using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, report the total number of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, return the classroom number and the count of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the total number of students for each fourth-grade classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each fourth-grade classroom, show the classroom number and the total number of students using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Find the number of students in one classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>How many students does one classroom have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["LastName","FirstName","Grade","Classroom"],"name":"list","type":"grid"}]<|endoftext|><|prompter|>Find the last names of students studying in room 111.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>What are the last names of students in room 111?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>Find the first names of students studying in room 108.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students in room 108?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students studying in room 107?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>List the first names of all the students in room 107.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>Which grade is studying in classroom 103?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade taught in classroom 103.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade studying in room 105.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which grade is studying in room 105?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 4?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Find the classrooms in which grade 4 is studying.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 5?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>Show me the classrooms grade 5 is using.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>For each grade, report the grade, the number of classrooms in which it is taught and the total number of students in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each grade, return the grade number, the number of classrooms used for the grade, and the total number of students enrolled in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each classroom, report the classroom number and the number of grades using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, report the classroom number and count the number of distinct grades that use it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the number of students in each classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and find how many students are using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, report the total number of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, return the classroom number and the count of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the total number of students for each fourth-grade classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each fourth-grade classroom, show the classroom number and the total number of students using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Find the number of students in one classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>How many students does one classroom have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["LastName","FirstName","Grade","Classroom"],"name":"list","type":"grid"}]<|endoftext|><|prompter|>Find the last names of students studying in room 111.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>What are the last names of students in room 111?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>Find the first names of students studying in room 108.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students in room 108?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students studying in room 107?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>List the first names of all the students in room 107.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>Which grade is studying in classroom 103?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade taught in classroom 103.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade studying in room 105.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which grade is studying in room 105?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 4?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Find the classrooms in which grade 4 is studying.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 5?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>Show me the classrooms grade 5 is using.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>For each grade, report the grade, the number of classrooms in which it is taught and the total number of students in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each grade, return the grade number, the number of classrooms used for the grade, and the total number of students enrolled in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each classroom, report the classroom number and the number of grades using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and count the number of distinct grades that use the room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Provide the count of students in every classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and find how many students are using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, report the total number of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, return the classroom number and the count of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the total number of students for each fourth-grade classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each fourth-grade classroom, show the classroom number and the total number of students using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Find the number of students in one classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>How many students does one classroom have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["LastName","FirstName","Grade","Classroom"],"name":"list","type":"grid"}]<|endoftext|><|prompter|>Find the last names of students studying in room 111.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>What are the last names of students in room 111?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>Find the first names of students studying in room 108.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students in room 108?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students studying in room 107?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>List the first names of all the students in room 107.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>Which grade is studying in classroom 103?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade taught in classroom 103.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade studying in room 105.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which grade is studying in room 105?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 4?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Find the classrooms in which grade 4 is studying.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 5?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>Show me the classrooms grade 5 is using.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>For each grade, report the grade, the number of classrooms in which it is taught and the total number of students in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each grade, return the grade number, the number of classrooms used for the grade, and the total number of students enrolled in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each classroom, report the classroom number and the number of grades using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and count the number of distinct grades that use the room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the number of students in each classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and find how many students are using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, report the total number of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, return the classroom number and the count of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the total number of students for each fourth-grade classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each fourth-grade classroom, show the classroom number and the total number of students using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Find the number of students in one classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>How many students does one classroom have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["LastName","FirstName","Grade","Classroom"],"name":"list","type":"grid"}]<|endoftext|><|prompter|>Find the last names of students studying in room 111.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>What are the last names of students in room 111?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>Find the first names of students studying in room 108.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students in room 108?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students studying in room 107?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>List the first names of all the students in room 107.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>Which grade is studying in classroom 103?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade taught in classroom 103.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade studying in room 105.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which grade is studying in room 105?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 4?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Find the classrooms in which grade 4 is studying.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 5?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>Show me the classrooms grade 5 is using.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>For each grade, report the grade, the number of classrooms in which it is taught and the total number of students in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each grade, return the grade number, the number of classrooms used for the grade, and the total number of students enrolled in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each classroom, report the classroom number and the number of grades using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and count the number of distinct grades that use the room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the number of students in each classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For every classroom, reveal the classroom number and student occupancy.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, report the total number of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, return the classroom number and the count of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the total number of students for each fourth-grade classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each fourth-grade classroom, show the classroom number and the total number of students using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Find the number of students in one classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>How many students does one classroom have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["LastName","FirstName","Grade","Classroom"],"name":"list","type":"grid"}]<|endoftext|><|prompter|>Find the last names of students studying in room 111.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>What are the last names of students in room 111?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>Find the first names of students studying in room 108.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students in room 108?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students studying in room 107?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>List the first names of all the students in room 107.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>Which grade is studying in classroom 103?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade taught in classroom 103.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade studying in room 105.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which grade is studying in room 105?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 4?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Find the classrooms in which grade 4 is studying.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 5?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>Show me the classrooms grade 5 is using.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>For each grade, report the grade, the number of classrooms in which it is taught and the total number of students in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each grade, return the grade number, the number of classrooms used for the grade, and the total number of students enrolled in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each classroom, report the classroom number and the number of grades using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and count the number of distinct grades that use the room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the number of students in each classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Show the classroom number for each classroom and the number of students using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, report the total number of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, return the classroom number and the count of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the total number of students for each fourth-grade classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each fourth-grade classroom, show the classroom number and the total number of students using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Find the number of students in one classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>How many students does one classroom have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["LastName","FirstName","Grade","Classroom"],"name":"list","type":"grid"}]<|endoftext|><|prompter|>Find the last names of students studying in room 111.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>What are the last names of students in room 111?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>Find the first names of students studying in room 108.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students in room 108?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students studying in room 107?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>List the first names of all the students in room 107.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>Which grade is studying in classroom 103?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade taught in classroom 103.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade studying in room 105.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which grade is studying in room 105?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 4?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Find the classrooms in which grade 4 is studying.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 5?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>Show me the classrooms grade 5 is using.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>For each grade, report the grade, the number of classrooms in which it is taught and the total number of students in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each grade, return the grade number, the number of classrooms used for the grade, and the total number of students enrolled in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each classroom, report the classroom number and the number of grades using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and count the number of distinct grades that use the room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the number of students in each classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and find how many students are using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, report the student count.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, return the classroom number and the count of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the total number of students for each fourth-grade classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each fourth-grade classroom, show the classroom number and the total number of students using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Find the number of students in one classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>How many students does one classroom have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["LastName","FirstName","Grade","Classroom"],"name":"list","type":"grid"}]<|endoftext|><|prompter|>Find the last names of students studying in room 111.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>What are the last names of students in room 111?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>Find the first names of students studying in room 108.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students in room 108?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students studying in room 107?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>List the first names of all the students in room 107.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>Which grade is studying in classroom 103?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade taught in classroom 103.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade studying in room 105.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which grade is studying in room 105?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 4?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Find the classrooms in which grade 4 is studying.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 5?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>Show me the classrooms grade 5 is using.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>For each grade, report the grade, the number of classrooms in which it is taught and the total number of students in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each grade, return the grade number, the number of classrooms used for the grade, and the total number of students enrolled in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each classroom, report the classroom number and the number of grades using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and count the number of distinct grades that use the room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the number of students in each classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and find how many students are using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the total number of students for each grade 0 classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, return the classroom number and the count of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the total number of students for each fourth-grade classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each fourth-grade classroom, show the classroom number and the total number of students using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Find the number of students in one classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>How many students does one classroom have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["LastName","FirstName","Grade","Classroom"],"name":"list","type":"grid"}]<|endoftext|><|prompter|>Find the last names of students studying in room 111.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>What are the last names of students in room 111?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>Find the first names of students studying in room 108.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students in room 108?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students studying in room 107?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>List the first names of all the students in room 107.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>Which grade is studying in classroom 103?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade taught in classroom 103.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade studying in room 105.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which grade is studying in room 105?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 4?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Find the classrooms in which grade 4 is studying.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 5?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>Show me the classrooms grade 5 is using.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>For each grade, report the grade, the number of classrooms in which it is taught and the total number of students in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each grade, return the grade number, the number of classrooms used for the grade, and the total number of students enrolled in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each classroom, report the classroom number and the number of grades using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and count the number of distinct grades that use the room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the number of students in each classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and find how many students are using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, report the total number of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For grade 0 classrooms, provide classroom numbers and student counts.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the total number of students for each fourth-grade classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each fourth-grade classroom, show the classroom number and the total number of students using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Find the number of students in one classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>How many students does one classroom have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["LastName","FirstName","Grade","Classroom"],"name":"list","type":"grid"}]<|endoftext|><|prompter|>Find the last names of students studying in room 111.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>What are the last names of students in room 111?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>Find the first names of students studying in room 108.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students in room 108?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students studying in room 107?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>List the first names of all the students in room 107.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>Which grade is studying in classroom 103?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade taught in classroom 103.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade studying in room 105.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which grade is studying in room 105?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 4?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Find the classrooms in which grade 4 is studying.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 5?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>Show me the classrooms grade 5 is using.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>For each grade, report the grade, the number of classrooms in which it is taught and the total number of students in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each grade, return the grade number, the number of classrooms used for the grade, and the total number of students enrolled in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each classroom, report the classroom number and the number of grades using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and count the number of distinct grades that use the room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the number of students in each classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and find how many students are using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, report the total number of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, return the classroom number and the count of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the total number of students for each fourth-grade classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each fourth-grade classroom, show the classroom number and the total number of students using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Find the number of students in one classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>How many students does one classroom have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["LastName","FirstName","Grade","Classroom"],"name":"list","type":"grid"}]<|endoftext|><|prompter|>Find the last names of students studying in room 111.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>What are the last names of students in room 111?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>Find the first names of students studying in room 108.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students in room 108?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students studying in room 107?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>List the first names of all the students in room 107.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>Which grade is studying in classroom 103?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade taught in classroom 103.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade studying in room 105.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which grade is studying in room 105?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 4?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Find the classrooms in which grade 4 is studying.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 5?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>Show me the classrooms grade 5 is using.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>For each grade, report the grade, the number of classrooms in which it is taught and the total number of students in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each grade, return the grade number, the number of classrooms used for the grade, and the total number of students enrolled in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each classroom, report the classroom number and the number of grades using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and count the number of distinct grades that use the room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the number of students in each classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and find how many students are using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, report the total number of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, return the classroom number and the count of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Could you report the total number of students for each fourth-grade classroom?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each fourth-grade classroom, show the classroom number and the total number of students using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Find the number of students in one classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>How many students does one classroom have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["LastName","FirstName","Grade","Classroom"],"name":"list","type":"grid"}]<|endoftext|><|prompter|>Find the last names of students studying in room 111.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>What are the last names of students in room 111?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>Find the first names of students studying in room 108.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students in room 108?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students studying in room 107?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>List the first names of all the students in room 107.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>Which grade is studying in classroom 103?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade taught in classroom 103.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade studying in room 105.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which grade is studying in room 105?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 4?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Find the classrooms in which grade 4 is studying.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 5?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>Show me the classrooms grade 5 is using.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>For each grade, report the grade, the number of classrooms in which it is taught and the total number of students in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each grade, return the grade number, the number of classrooms used for the grade, and the total number of students enrolled in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each classroom, report the classroom number and the number of grades using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and count the number of distinct grades that use the room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the number of students in each classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and find how many students are using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, report the total number of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, return the classroom number and the count of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Please report the total number of students for each fourth-grade classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each fourth-grade classroom, show the classroom number and the total number of students using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Find the number of students in one classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>How many students does one classroom have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["LastName","FirstName","Grade","Classroom"],"name":"list","type":"grid"}]<|endoftext|><|prompter|>Find the last names of students studying in room 111.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>What are the last names of students in room 111?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>Find the first names of students studying in room 108.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students in room 108?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students studying in room 107?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>List the first names of all the students in room 107.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>Which grade is studying in classroom 103?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade taught in classroom 103.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade studying in room 105.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which grade is studying in room 105?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 4?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Find the classrooms in which grade 4 is studying.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 5?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>Show me the classrooms grade 5 is using.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>For each grade, report the grade, the number of classrooms in which it is taught and the total number of students in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each grade, return the grade number, the number of classrooms used for the grade, and the total number of students enrolled in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each classroom, report the classroom number and the number of grades using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and count the number of distinct grades that use the room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the number of students in each classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and find how many students are using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, report the total number of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, return the classroom number and the count of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the total number of students for each fourth-grade classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For every fourth-grade classroom, provide the room number and the total student count using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Find the number of students in one classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>How many students does one classroom have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["LastName","FirstName","Grade","Classroom"],"name":"list","type":"grid"}]<|endoftext|><|prompter|>Find the last names of students studying in room 111.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>What are the last names of students in room 111?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>Find the first names of students studying in room 108.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students in room 108?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students studying in room 107?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>List the first names of all the students in room 107.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>Which grade is studying in classroom 103?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade taught in classroom 103.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade studying in room 105.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which grade is studying in room 105?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 4?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Find the classrooms in which grade 4 is studying.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 5?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>Show me the classrooms grade 5 is using.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>For each grade, report the grade, the number of classrooms in which it is taught and the total number of students in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each grade, return the grade number, the number of classrooms used for the grade, and the total number of students enrolled in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each classroom, report the classroom number and the number of grades using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and count the number of distinct grades that use the room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the number of students in each classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and find how many students are using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, report the total number of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, return the classroom number and the count of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the total number of students for each fourth-grade classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Display the classroom number and the total number of students for each fourth-grade classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Find the number of students in one classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>How many students does one classroom have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["LastName","FirstName","Grade","Classroom"],"name":"list","type":"grid"}]<|endoftext|><|prompter|>Find the last names of students studying in room 111.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>What are the last names of students in room 111?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>Find the first names of students studying in room 108.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students in room 108?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students studying in room 107?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>List the first names of all the students in room 107.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>Which grade is studying in classroom 103?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade taught in classroom 103.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade studying in room 105.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which grade is studying in room 105?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 4?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Find the classrooms in which grade 4 is studying.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 5?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>Show me the classrooms grade 5 is using.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>For each grade, report the grade, the number of classrooms in which it is taught and the total number of students in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each grade, return the grade number, the number of classrooms used for the grade, and the total number of students enrolled in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each classroom, report the classroom number and the number of grades using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and count the number of distinct grades that use the room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the number of students in each classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and find how many students are using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, report the total number of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, return the classroom number and the count of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the total number of students for each fourth-grade classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each fourth-grade classroom, show the classroom number and the total number of students using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Ascertain the student count in a single classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>How many students does one classroom have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["LastName","FirstName","Grade","Classroom"],"name":"list","type":"grid"}]<|endoftext|><|prompter|>Find the last names of students studying in room 111.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>What are the last names of students in room 111?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>Find the first names of students studying in room 108.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students in room 108?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students studying in room 107?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>List the first names of all the students in room 107.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>Which grade is studying in classroom 103?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade taught in classroom 103.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade studying in room 105.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which grade is studying in room 105?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 4?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Find the classrooms in which grade 4 is studying.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 5?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>Show me the classrooms grade 5 is using.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>For each grade, report the grade, the number of classrooms in which it is taught and the total number of students in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each grade, return the grade number, the number of classrooms used for the grade, and the total number of students enrolled in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each classroom, report the classroom number and the number of grades using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and count the number of distinct grades that use the room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the number of students in each classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and find how many students are using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, report the total number of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, return the classroom number and the count of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the total number of students for each fourth-grade classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each fourth-grade classroom, show the classroom number and the total number of students using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Calculate the number of students in a single classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>How many students does one classroom have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["LastName","FirstName","Grade","Classroom"],"name":"list","type":"grid"}]<|endoftext|><|prompter|>Find the last names of students studying in room 111.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>What are the last names of students in room 111?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>Find the first names of students studying in room 108.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students in room 108?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students studying in room 107?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>List the first names of all the students in room 107.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>Which grade is studying in classroom 103?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade taught in classroom 103.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade studying in room 105.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which grade is studying in room 105?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 4?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Find the classrooms in which grade 4 is studying.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 5?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>Show me the classrooms grade 5 is using.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>For each grade, report the grade, the number of classrooms in which it is taught and the total number of students in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each grade, return the grade number, the number of classrooms used for the grade, and the total number of students enrolled in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each classroom, report the classroom number and the number of grades using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and count the number of distinct grades that use the room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the number of students in each classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and find how many students are using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, report the total number of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, return the classroom number and the count of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the total number of students for each fourth-grade classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each fourth-grade classroom, show the classroom number and the total number of students using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Find the number of students in one classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>What is the typical number of students in a classroom?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["LastName","FirstName","Grade","Classroom"],"name":"list","type":"grid"}]<|endoftext|><|prompter|>Find the last names of students studying in room 111.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>What are the last names of students in room 111?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>Find the first names of students studying in room 108.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students in room 108?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students studying in room 107?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>List the first names of all the students in room 107.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>Which grade is studying in classroom 103?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade taught in classroom 103.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade studying in room 105.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which grade is studying in room 105?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 4?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Find the classrooms in which grade 4 is studying.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 5?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>Show me the classrooms grade 5 is using.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>For each grade, report the grade, the number of classrooms in which it is taught and the total number of students in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each grade, return the grade number, the number of classrooms used for the grade, and the total number of students enrolled in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each classroom, report the classroom number and the number of grades using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and count the number of distinct grades that use the room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the number of students in each classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and find how many students are using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, report the total number of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, return the classroom number and the count of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the total number of students for each fourth-grade classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each fourth-grade classroom, show the classroom number and the total number of students using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Find the number of students in one classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>How many students are in each classroom?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["LastName","FirstName","Grade","Classroom"],"name":"list","type":"grid"}]<|endoftext|><|prompter|>Find the last names of students studying in room 111.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>What are the last names of students in room 111?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":111}]}}<|endoftext|><|prompter|>Find the first names of students studying in room 108.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students in room 108?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":108}]}}<|endoftext|><|prompter|>What are the first names of students studying in room 107?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>List the first names of all the students in room 107.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":107}]}}<|endoftext|><|prompter|>Which grade is studying in classroom 103?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade taught in classroom 103.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":103}]}}<|endoftext|><|prompter|>Find the grade studying in room 105.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which grade is studying in room 105?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":105}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 4?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Find the classrooms in which grade 4 is studying.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":4}]}}<|endoftext|><|prompter|>Which classrooms are used by grade 5?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>Show me the classrooms grade 5 is using.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":5}]}}<|endoftext|><|prompter|>For each grade, report the grade, the number of classrooms in which it is taught and the total number of students in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each grade, return the grade number, the number of classrooms used for the grade, and the total number of students enrolled in the grade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"},{"actionType":"ChangeGrouping","column":"grade"}]}}<|endoftext|><|prompter|>For each classroom, report the classroom number and the number of grades using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and count the number of distinct grades that use the room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"grade","aggregation":"count"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the number of students in each classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and find how many students are using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, report the total number of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each grade 0 classroom, return the classroom number and the count of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'0'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Report the total number of students for each fourth-grade classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>For each fourth-grade classroom, show the classroom number and the total number of students using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grade","operation":"=","value":"'4'"},{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>Find the number of students in one classroom.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|><|prompter|>How many students does one classroom have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"classroom"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["dog_id","owner_id","abandoned_yn","breed_code","size_code","name","age","date_of_birth","gender","weight","date_arrived","date_adopted","date_departed"],"name":"Dogs","type":"grid"}]<|endoftext|><|prompter|>List the dog name, age and weight of the dogs who have been abandoned? 1 stands for yes, and 0 stands for no.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"abandoned_yn","operation":"=","value":1}]}}<|endoftext|><|prompter|>What are the dog name, age and weight of the dogs that were abandoned? Note that 1 stands for yes, and 0 stands for no in the tables.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"abandoned_yn","operation":"=","value":1}]}}<|endoftext|><|prompter|>What is the average age of all the dogs?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"age","aggregation":"avg"}]}}<|endoftext|><|prompter|>Compute the average age of all the dogs.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"age","aggregation":"avg"}]}}<|endoftext|><|prompter|>What is the age of the oldest dog?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"age","aggregation":"max"}]}}<|endoftext|><|prompter|>Tell me the age of the oldest dog.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"age","aggregation":"max"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["People_ID","District","Name","Party","Age"],"name":"people","type":"grid"}]<|endoftext|><|prompter|>What is the party of the youngest people?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Show the parties of people and the number of individuals per party.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Party"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["People_ID","District","Name","Party","Age"],"name":"people","type":"grid"}]<|endoftext|><|prompter|>What is the party of the youngest people?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>List the number of people in each group/category.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Party"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["People_ID","District","Name","Party","Age"],"name":"people","type":"grid"}]<|endoftext|><|prompter|>What is the party of the youngest people?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Show different parties of people along with the number of people in each party.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Party"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Name","Phone_ID","Memory_in_G","Carrier","Price"],"name":"phone","type":"grid"}]<|endoftext|><|prompter|>List the names of phones in ascending order of price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Price","direction":"ask"}]}}<|endoftext|><|prompter|>List the distinct carriers of phones with memories bigger than 32.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Memory_in_G","operation":">","value":32}]}}<|endoftext|><|prompter|>What is the carrier of the most expensive phone?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Price","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Show phone carriers and the number of phones associated with each carrier.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Carrier"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Name","Phone_ID","Memory_in_G","Carrier","Price"],"name":"phone","type":"grid"}]<|endoftext|><|prompter|>List the names of phones in ascending order of price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Price","direction":"ask"}]}}<|endoftext|><|prompter|>List the distinct carriers of phones with memories bigger than 32.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Memory_in_G","operation":">","value":32}]}}<|endoftext|><|prompter|>What is the carrier of the most expensive phone?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Price","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Show different carriers of phones, along with the number of phones for each carrier.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Carrier"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Name","Phone_ID","Memory_in_G","Carrier","Price"],"name":"phone","type":"grid"}]<|endoftext|><|prompter|>List the names of phones in ascending order of price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Price","direction":"ask"}]}}<|endoftext|><|prompter|>List the distinct carriers of phones with memories bigger than 32.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Memory_in_G","operation":">","value":32}]}}<|endoftext|><|prompter|>What is the carrier of the most expensive phone?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Price","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Show different carriers of phones together with the number of phones with each carrier.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Carrier"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Perpetrator_ID","People_ID","Date","Year","Location","Country","Killed","Injured"],"name":"perpetrator","type":"grid"}]<|endoftext|><|prompter|>How many countries are there on the list?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Country","aggregation":"count"}]}}<|endoftext|><|prompter|>Can you list the name of the countries that have perpetrators with injures more than 50?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Injured","operation":">","value":50}]}}<|endoftext|><|prompter|>Can you also include the name of the contries that have perpetrators with injures smaller than 20?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Injured","operation":"<","value":20}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"you are welcome goodbye","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["ID","name","dept_name","salary"],"name":"instructor","type":"grid"}]<|endoftext|><|prompter|>Find the name of the department which has the highest average salary of professors<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"dept_name"},{"actionType":"ChangeTopFilter","column":"salary","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>what is the average salary of a physics professor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"avg"},{"actionType":"ChangeCondition","column":"dept_name","operation":"=","value":"Physics"}]}}<|endoftext|><|prompter|>find the department name which has the lowest average salary of professors<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"dept_name"},{"actionType":"ChangeTopFilter","column":"salary","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Thank you! Goodbye.","dsl":{}}<|endoftext|><|prompter|>bye<|endoftext|><|assistant|>
COSQL
<|context|>[{"columns":["id","name","Trade_Name","FDA_approved"],"name":"medicine","type":"grid"}]<|endoftext|><|prompter|>What are the names and trade names of the medicines which has 'Yes' value in the FDA record?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"FDA_approved","operation":"=","value":"Yes"}]}}<|endoftext|><|prompter|>What are the names and trade names of the medcines that are FDA approved?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"FDA_approved","operation":"=","value":"Yes"}]}}<|endoftext|><|prompter|>How many medicines have the FDA approval status 'No' ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"FDA_approved","operation":"=","value":"No"}]}}<|endoftext|><|prompter|>How many medicines were not approved by the FDA?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"FDA_approved","operation":"=","value":"No"}]}}<|endoftext|><|prompter|>How many distinct FDA approval statuses are there for the medicines?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"FDA_approved","aggregation":"count"}]}}<|endoftext|><|prompter|>How many different FDA approval statuses exist for medicines?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"FDA_approved","aggregation":"count"}]}}<|endoftext|><|prompter|>Identify the quantity of medicines provided by each trade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"trade_name"}]}}<|endoftext|><|prompter|>How many medicines are offered by each trade name?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"trade_name"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["id","name","Trade_Name","FDA_approved"],"name":"medicine","type":"grid"}]<|endoftext|><|prompter|>What are the names and trade names of the medicines which has 'Yes' value in the FDA record?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"FDA_approved","operation":"=","value":"Yes"}]}}<|endoftext|><|prompter|>What are the names and trade names of the medcines that are FDA approved?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"FDA_approved","operation":"=","value":"Yes"}]}}<|endoftext|><|prompter|>How many medicines have the FDA approval status 'No' ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"FDA_approved","operation":"=","value":"No"}]}}<|endoftext|><|prompter|>How many medicines were not approved by the FDA?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"FDA_approved","operation":"=","value":"No"}]}}<|endoftext|><|prompter|>How many distinct FDA approval statuses are there for the medicines?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"FDA_approved","aggregation":"count"}]}}<|endoftext|><|prompter|>How many different FDA approval statuses exist for medicines?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"FDA_approved","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the count of medicines offered for each trade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"trade_name"}]}}<|endoftext|><|prompter|>How many medicines are offered by each trade name?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"trade_name"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["id","name","Trade_Name","FDA_approved"],"name":"medicine","type":"grid"}]<|endoftext|><|prompter|>What are the names and trade names of the medicines which has 'Yes' value in the FDA record?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"FDA_approved","operation":"=","value":"Yes"}]}}<|endoftext|><|prompter|>What are the names and trade names of the medcines that are FDA approved?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"FDA_approved","operation":"=","value":"Yes"}]}}<|endoftext|><|prompter|>How many medicines have the FDA approval status 'No' ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"FDA_approved","operation":"=","value":"No"}]}}<|endoftext|><|prompter|>How many medicines were not approved by the FDA?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"FDA_approved","operation":"=","value":"No"}]}}<|endoftext|><|prompter|>How many distinct FDA approval statuses are there for the medicines?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"FDA_approved","aggregation":"count"}]}}<|endoftext|><|prompter|>How many different FDA approval statuses exist for medicines?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"FDA_approved","aggregation":"count"}]}}<|endoftext|><|prompter|>find the number of medicines offered by each trade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"trade_name"}]}}<|endoftext|><|prompter|>How many medicines are provided under each trade name?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"trade_name"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["id","name","Trade_Name","FDA_approved"],"name":"medicine","type":"grid"}]<|endoftext|><|prompter|>What are the names and trade names of the medicines which has 'Yes' value in the FDA record?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"FDA_approved","operation":"=","value":"Yes"}]}}<|endoftext|><|prompter|>What are the names and trade names of the medcines that are FDA approved?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"FDA_approved","operation":"=","value":"Yes"}]}}<|endoftext|><|prompter|>How many medicines have the FDA approval status 'No' ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"FDA_approved","operation":"=","value":"No"}]}}<|endoftext|><|prompter|>How many medicines were not approved by the FDA?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"FDA_approved","operation":"=","value":"No"}]}}<|endoftext|><|prompter|>How many distinct FDA approval statuses are there for the medicines?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"FDA_approved","aggregation":"count"}]}}<|endoftext|><|prompter|>How many different FDA approval statuses exist for medicines?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"FDA_approved","aggregation":"count"}]}}<|endoftext|><|prompter|>find the number of medicines offered by each trade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"trade_name"}]}}<|endoftext|><|prompter|>Find the number of medicines for each trade name.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"trade_name"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["id","name","Trade_Name","FDA_approved"],"name":"medicine","type":"grid"}]<|endoftext|><|prompter|>What are the names and trade names of the medicines which has 'Yes' value in the FDA record?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"FDA_approved","operation":"=","value":"Yes"}]}}<|endoftext|><|prompter|>What are the names and trade names of the medcines that are FDA approved?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"FDA_approved","operation":"=","value":"Yes"}]}}<|endoftext|><|prompter|>How many medicines have the FDA approval status 'No' ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"FDA_approved","operation":"=","value":"No"}]}}<|endoftext|><|prompter|>How many medicines were not approved by the FDA?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"FDA_approved","operation":"=","value":"No"}]}}<|endoftext|><|prompter|>How many distinct FDA approval statuses are there for the medicines?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"FDA_approved","aggregation":"count"}]}}<|endoftext|><|prompter|>How many different FDA approval statuses exist for medicines?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"FDA_approved","aggregation":"count"}]}}<|endoftext|><|prompter|>find the number of medicines offered by each trade.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"trade_name"}]}}<|endoftext|><|prompter|>How many medicines are offered by each trade name?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"trade_name"}]}}<|endoftext|>
SPIDER