instruction
stringlengths
241
15.9k
source
stringclasses
2 values
<|context|>[{"columns":["id","customer_id","invoice_date","billing_address","billing_city","billing_state","billing_country","billing_postal_code","total"],"name":"invoices","type":"grid"}]<|endoftext|><|prompter|>A list of the top 8 countries by gross/total invoice size. List country name and gross invoice size.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"total","aggregation":"SUM"},{"actionType":"ChangeGrouping","column":"billing_country"},{"actionType":"ChangeTopFilter","column":"total","limit":8,"aggregation":"SUM","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of the top 8 countries by total invoice size and what are those sizes?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"total","aggregation":"SUM"},{"actionType":"ChangeGrouping","column":"billing_country"},{"actionType":"ChangeTopFilter","column":"total","limit":8,"aggregation":"SUM","direction":"desk"}]}}<|endoftext|><|prompter|>A list of the top 10 countries by average invoice size. List country name and average invoice size.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"total","aggregation":"AVG"},{"actionType":"ChangeGrouping","column":"billing_country"},{"actionType":"ChangeTopFilter","column":"total","limit":10,"aggregation":"AVG","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of the countries and average invoice size of the top countries by size?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"total","aggregation":"AVG"},{"actionType":"ChangeGrouping","column":"billing_country"},{"actionType":"ChangeTopFilter","column":"total","limit":10,"aggregation":"AVG","direction":"desk"}]}}<|endoftext|><|prompter|>List total amount of invoice from Chicago, IL.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"total","aggregation":"sum"},{"actionType":"ChangeCondition","column":"billing_city","operation":"=","value":"'Chicago'"},{"actionType":"ChangeCondition","column":"billing_state","operation":"=","value":"'IL'"}]}}<|endoftext|><|prompter|>What are the total amount of money in the invoices billed from Chicago, Illinois?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"total","aggregation":"sum"},{"actionType":"ChangeCondition","column":"billing_city","operation":"=","value":"'Chicago'"},{"actionType":"ChangeCondition","column":"billing_state","operation":"=","value":"'IL'"}]}}<|endoftext|><|prompter|>List the number of invoices from Chicago, IL.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"billing_city","operation":"=","value":"'Chicago'"},{"actionType":"ChangeCondition","column":"billing_state","operation":"=","value":"'IL'"}]}}<|endoftext|><|prompter|>How many invoices were billed from Chicago, IL?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"billing_city","operation":"=","value":"'Chicago'"},{"actionType":"ChangeCondition","column":"billing_state","operation":"=","value":"'IL'"}]}}<|endoftext|><|prompter|>Count the number of invoices from the US, grouped by state.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"billing_country","operation":"=","value":"'USA'"},{"actionType":"ChangeGrouping","column":"billing_state"}]}}<|endoftext|><|prompter|>How many invoices were billed from each state?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"billing_country","operation":"=","value":"'USA'"},{"actionType":"ChangeGrouping","column":"billing_state"}]}}<|endoftext|><|prompter|>List the number of invoices and the invoice total from California.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"total","aggregation":"SUM"},{"actionType":"ChangeCondition","column":"billing_state","operation":"=","value":"'CA'"}]}}<|endoftext|><|prompter|>What is the number of invoices and total money billed in them from CA?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"total","aggregation":"SUM"},{"actionType":"ChangeCondition","column":"billing_state","operation":"=","value":"'CA'"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["id","customer_id","invoice_date","billing_address","billing_city","billing_state","billing_country","billing_postal_code","total"],"name":"invoices","type":"grid"}]<|endoftext|><|prompter|>A list of the top 8 countries by gross/total invoice size. List country name and gross invoice size.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"total","aggregation":"SUM"},{"actionType":"ChangeGrouping","column":"billing_country"},{"actionType":"ChangeTopFilter","column":"total","limit":8,"aggregation":"SUM","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of the top 8 countries by total invoice size and what are those sizes?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"total","aggregation":"SUM"},{"actionType":"ChangeGrouping","column":"billing_country"},{"actionType":"ChangeTopFilter","column":"total","limit":8,"aggregation":"SUM","direction":"desk"}]}}<|endoftext|><|prompter|>A list of the top 10 countries by average invoice size. List country name and average invoice size.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"total","aggregation":"AVG"},{"actionType":"ChangeGrouping","column":"billing_country"},{"actionType":"ChangeTopFilter","column":"total","limit":10,"aggregation":"AVG","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of the countries and average invoice size of the top countries by size?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"total","aggregation":"AVG"},{"actionType":"ChangeGrouping","column":"billing_country"},{"actionType":"ChangeTopFilter","column":"total","limit":10,"aggregation":"AVG","direction":"desk"}]}}<|endoftext|><|prompter|>List total amount of invoice from Chicago, IL.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"total","aggregation":"sum"},{"actionType":"ChangeCondition","column":"billing_city","operation":"=","value":"'Chicago'"},{"actionType":"ChangeCondition","column":"billing_state","operation":"=","value":"'IL'"}]}}<|endoftext|><|prompter|>What are the total amount of money in the invoices billed from Chicago, Illinois?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"total","aggregation":"sum"},{"actionType":"ChangeCondition","column":"billing_city","operation":"=","value":"'Chicago'"},{"actionType":"ChangeCondition","column":"billing_state","operation":"=","value":"'IL'"}]}}<|endoftext|><|prompter|>List the number of invoices from Chicago, IL.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"billing_city","operation":"=","value":"'Chicago'"},{"actionType":"ChangeCondition","column":"billing_state","operation":"=","value":"'IL'"}]}}<|endoftext|><|prompter|>How many invoices were billed from Chicago, IL?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"billing_city","operation":"=","value":"'Chicago'"},{"actionType":"ChangeCondition","column":"billing_state","operation":"=","value":"'IL'"}]}}<|endoftext|><|prompter|>List the number of invoices from the US, grouped by state.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"billing_country","operation":"=","value":"'USA'"},{"actionType":"ChangeGrouping","column":"billing_state"}]}}<|endoftext|><|prompter|>How many invoices were issued from each state?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"billing_country","operation":"=","value":"'USA'"},{"actionType":"ChangeGrouping","column":"billing_state"}]}}<|endoftext|><|prompter|>List the number of invoices and the invoice total from California.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"total","aggregation":"SUM"},{"actionType":"ChangeCondition","column":"billing_state","operation":"=","value":"'CA'"}]}}<|endoftext|><|prompter|>What is the number of invoices and total money billed in them from CA?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"total","aggregation":"SUM"},{"actionType":"ChangeCondition","column":"billing_state","operation":"=","value":"'CA'"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["id","customer_id","invoice_date","billing_address","billing_city","billing_state","billing_country","billing_postal_code","total"],"name":"invoices","type":"grid"}]<|endoftext|><|prompter|>A list of the top 8 countries by gross/total invoice size. List country name and gross invoice size.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"total","aggregation":"SUM"},{"actionType":"ChangeGrouping","column":"billing_country"},{"actionType":"ChangeTopFilter","column":"total","limit":8,"aggregation":"SUM","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of the top 8 countries by total invoice size and what are those sizes?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"total","aggregation":"SUM"},{"actionType":"ChangeGrouping","column":"billing_country"},{"actionType":"ChangeTopFilter","column":"total","limit":8,"aggregation":"SUM","direction":"desk"}]}}<|endoftext|><|prompter|>A list of the top 10 countries by average invoice size. List country name and average invoice size.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"total","aggregation":"AVG"},{"actionType":"ChangeGrouping","column":"billing_country"},{"actionType":"ChangeTopFilter","column":"total","limit":10,"aggregation":"AVG","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of the countries and average invoice size of the top countries by size?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"total","aggregation":"AVG"},{"actionType":"ChangeGrouping","column":"billing_country"},{"actionType":"ChangeTopFilter","column":"total","limit":10,"aggregation":"AVG","direction":"desk"}]}}<|endoftext|><|prompter|>List total amount of invoice from Chicago, IL.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"total","aggregation":"sum"},{"actionType":"ChangeCondition","column":"billing_city","operation":"=","value":"'Chicago'"},{"actionType":"ChangeCondition","column":"billing_state","operation":"=","value":"'IL'"}]}}<|endoftext|><|prompter|>What are the total amount of money in the invoices billed from Chicago, Illinois?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"total","aggregation":"sum"},{"actionType":"ChangeCondition","column":"billing_city","operation":"=","value":"'Chicago'"},{"actionType":"ChangeCondition","column":"billing_state","operation":"=","value":"'IL'"}]}}<|endoftext|><|prompter|>List the number of invoices from Chicago, IL.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"billing_city","operation":"=","value":"'Chicago'"},{"actionType":"ChangeCondition","column":"billing_state","operation":"=","value":"'IL'"}]}}<|endoftext|><|prompter|>How many invoices were billed from Chicago, IL?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"billing_city","operation":"=","value":"'Chicago'"},{"actionType":"ChangeCondition","column":"billing_state","operation":"=","value":"'IL'"}]}}<|endoftext|><|prompter|>List the number of invoices from the US, grouped by state.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"billing_country","operation":"=","value":"'USA'"},{"actionType":"ChangeGrouping","column":"billing_state"}]}}<|endoftext|><|prompter|>How many invoices were billed from each state?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"billing_country","operation":"=","value":"'USA'"},{"actionType":"ChangeGrouping","column":"billing_state"}]}}<|endoftext|><|prompter|>List the number of invoices and the invoice total from California.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"total","aggregation":"SUM"},{"actionType":"ChangeCondition","column":"billing_state","operation":"=","value":"'CA'"}]}}<|endoftext|><|prompter|>What is the number of invoices and total money billed in them from CA?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"total","aggregation":"SUM"},{"actionType":"ChangeCondition","column":"billing_state","operation":"=","value":"'CA'"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["id","customer_id","invoice_date","billing_address","billing_city","billing_state","billing_country","billing_postal_code","total"],"name":"invoices","type":"grid"}]<|endoftext|><|prompter|>A list of the top 8 countries by gross/total invoice size. List country name and gross invoice size.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"total","aggregation":"SUM"},{"actionType":"ChangeGrouping","column":"billing_country"},{"actionType":"ChangeTopFilter","column":"total","limit":8,"aggregation":"SUM","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of the top 8 countries by total invoice size and what are those sizes?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"total","aggregation":"SUM"},{"actionType":"ChangeGrouping","column":"billing_country"},{"actionType":"ChangeTopFilter","column":"total","limit":8,"aggregation":"SUM","direction":"desk"}]}}<|endoftext|><|prompter|>A list of the top 10 countries by average invoice size. List country name and average invoice size.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"total","aggregation":"AVG"},{"actionType":"ChangeGrouping","column":"billing_country"},{"actionType":"ChangeTopFilter","column":"total","limit":10,"aggregation":"AVG","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of the countries and average invoice size of the top countries by size?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"total","aggregation":"AVG"},{"actionType":"ChangeGrouping","column":"billing_country"},{"actionType":"ChangeTopFilter","column":"total","limit":10,"aggregation":"AVG","direction":"desk"}]}}<|endoftext|><|prompter|>List total amount of invoice from Chicago, IL.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"total","aggregation":"sum"},{"actionType":"ChangeCondition","column":"billing_city","operation":"=","value":"'Chicago'"},{"actionType":"ChangeCondition","column":"billing_state","operation":"=","value":"'IL'"}]}}<|endoftext|><|prompter|>What are the total amount of money in the invoices billed from Chicago, Illinois?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"total","aggregation":"sum"},{"actionType":"ChangeCondition","column":"billing_city","operation":"=","value":"'Chicago'"},{"actionType":"ChangeCondition","column":"billing_state","operation":"=","value":"'IL'"}]}}<|endoftext|><|prompter|>List the number of invoices from Chicago, IL.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"billing_city","operation":"=","value":"'Chicago'"},{"actionType":"ChangeCondition","column":"billing_state","operation":"=","value":"'IL'"}]}}<|endoftext|><|prompter|>How many invoices were billed from Chicago, IL?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"billing_city","operation":"=","value":"'Chicago'"},{"actionType":"ChangeCondition","column":"billing_state","operation":"=","value":"'IL'"}]}}<|endoftext|><|prompter|>List the number of invoices from the US, grouped by state.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"billing_country","operation":"=","value":"'USA'"},{"actionType":"ChangeGrouping","column":"billing_state"}]}}<|endoftext|><|prompter|>How many invoices were billed from each state?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"billing_country","operation":"=","value":"'USA'"},{"actionType":"ChangeGrouping","column":"billing_state"}]}}<|endoftext|><|prompter|>List the number of invoices and the invoice total from California.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"total","aggregation":"SUM"},{"actionType":"ChangeCondition","column":"billing_state","operation":"=","value":"'CA'"}]}}<|endoftext|><|prompter|>What is the number of invoices and total money billed in them from CA?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"total","aggregation":"SUM"},{"actionType":"ChangeCondition","column":"billing_state","operation":"=","value":"'CA'"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Company_ID","Rank","Company","Headquarters","Main_Industry","Sales_billion","Profits_billion","Assets_billion","Market_Value"],"name":"company","type":"grid"}]<|endoftext|><|prompter|>find the rank, company names, market values of the companies in the banking industry order by their sales and profits in billion.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"main_industry","operation":"=","value":"Banking"},{"actionType":"ChangeSorting","column":"sales_billion","direction":"ask"},{"actionType":"ChangeSorting","column":"profits_billion","direction":"ask"}]}}<|endoftext|><|prompter|>Which company has the biggest market value in billion?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"market_value","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>what is BP's market value?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Company","operation":"=","value":"'BP'"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Bye!","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["shipping_agent_code","shipping_agent_name","shipping_agent_description"],"name":"Ref_Shipping_Agents","type":"grid"}]<|endoftext|><|prompter|>What is the shipping agent code of shipping agent UPS?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"shipping_agent_name","operation":"=","value":"'UPS'"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Employee_ID","Year_awarded","Bonus"],"name":"evaluation","type":"grid"}]<|endoftext|><|prompter|>What is total bonus given in all evaluations?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bonus","aggregation":"sum"}]}}<|endoftext|><|prompter|>Find the total amount of bonus given in all the evaluations.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bonus","aggregation":"sum"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["address_id","address","address2","district","city_id","postal_code","phone","last_update"],"name":"address","type":"grid"}]<|endoftext|><|prompter|>what is the city id of alberta district?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"district","operation":"=","value":"'Alberta'"}]}}<|endoftext|><|prompter|>ok good!.what is last update in qld district?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"district","operation":"=","value":"'QLD'"}]}}<|endoftext|><|prompter|>what is address of qld district?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"district","operation":"=","value":"'QLD'"}]}}<|endoftext|><|prompter|>thanks<|endoftext|><|assistant|>{"text":"welcome goodbye","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["Shop_ID","Name","Location","District","Number_products","Manager_name"],"name":"shop","type":"grid"}]<|endoftext|><|prompter|>Identify the shop count for each location.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"LOCATION"}]}}<|endoftext|><|prompter|>How many shops are there in each location?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"LOCATION"}]}}<|endoftext|><|prompter|>Find the manager name and district of the shop whose number of products is the largest.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"number_products","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the manager name and district of the shop that sells the largest number of products?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"number_products","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Return the name, location and district of all shops in descending order of number of products.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"number_products","direction":"desk"}]}}<|endoftext|><|prompter|>Sort all the shops by number products in descending order, and return the name, location and district of each shop.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"number_products","direction":"desk"}]}}<|endoftext|><|prompter|>How many different store locations are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"LOCATION","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of distinct store locations.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"LOCATION","aggregation":"count"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Shop_ID","Name","Location","District","Number_products","Manager_name"],"name":"shop","type":"grid"}]<|endoftext|><|prompter|>Determine the number of shops in each location.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"LOCATION"}]}}<|endoftext|><|prompter|>How many shops are there in each location?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"LOCATION"}]}}<|endoftext|><|prompter|>Find the manager name and district of the shop whose number of products is the largest.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"number_products","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the manager name and district of the shop that sells the largest number of products?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"number_products","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Return the name, location and district of all shops in descending order of number of products.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"number_products","direction":"desk"}]}}<|endoftext|><|prompter|>Sort all the shops by number products in descending order, and return the name, location and district of each shop.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"number_products","direction":"desk"}]}}<|endoftext|><|prompter|>How many different store locations are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"LOCATION","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of distinct store locations.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"LOCATION","aggregation":"count"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Shop_ID","Name","Location","District","Number_products","Manager_name"],"name":"shop","type":"grid"}]<|endoftext|><|prompter|>Find the number of shops in each location.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"LOCATION"}]}}<|endoftext|><|prompter|>Determine the number of shops in each location.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"LOCATION"}]}}<|endoftext|><|prompter|>Find the manager name and district of the shop whose number of products is the largest.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"number_products","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the manager name and district of the shop that sells the largest number of products?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"number_products","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Return the name, location and district of all shops in descending order of number of products.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"number_products","direction":"desk"}]}}<|endoftext|><|prompter|>Sort all the shops by number products in descending order, and return the name, location and district of each shop.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"number_products","direction":"desk"}]}}<|endoftext|><|prompter|>How many different store locations are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"LOCATION","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of distinct store locations.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"LOCATION","aggregation":"count"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Shop_ID","Name","Location","District","Number_products","Manager_name"],"name":"shop","type":"grid"}]<|endoftext|><|prompter|>Find the number of shops in each location.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"LOCATION"}]}}<|endoftext|><|prompter|>How many shops are located in each area?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"LOCATION"}]}}<|endoftext|><|prompter|>Find the manager name and district of the shop whose number of products is the largest.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"number_products","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the manager name and district of the shop that sells the largest number of products?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"number_products","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Return the name, location and district of all shops in descending order of number of products.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"number_products","direction":"desk"}]}}<|endoftext|><|prompter|>Sort all the shops by number products in descending order, and return the name, location and district of each shop.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"number_products","direction":"desk"}]}}<|endoftext|><|prompter|>How many different store locations are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"LOCATION","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of distinct store locations.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"LOCATION","aggregation":"count"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Shop_ID","Name","Location","District","Number_products","Manager_name"],"name":"shop","type":"grid"}]<|endoftext|><|prompter|>Find the number of shops in each location.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"LOCATION"}]}}<|endoftext|><|prompter|>How many shops are there in each location?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"LOCATION"}]}}<|endoftext|><|prompter|>Find the manager name and district of the shop whose number of products is the largest.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"number_products","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the manager name and district of the shop that sells the largest number of products?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"number_products","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Return the name, location and district of all shops in descending order of number of products.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"number_products","direction":"desk"}]}}<|endoftext|><|prompter|>Sort all the shops by number products in descending order, and return the name, location and district of each shop.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"number_products","direction":"desk"}]}}<|endoftext|><|prompter|>How many different store locations are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"LOCATION","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of distinct store locations.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"LOCATION","aggregation":"count"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["course_id","course_name","course_description","other_details"],"name":"Courses","type":"grid"}]<|endoftext|><|prompter|>How is the math course described?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"course_name","operation":"=","value":"math"}]}}<|endoftext|><|prompter|>What are the descriptions for all the math courses?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"course_name","operation":"=","value":"math"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["People_ID","Name","Height","Weight","Date_of_Birth"],"name":"people","type":"grid"}]<|endoftext|><|prompter|>What is the largest weight that appears in the people table?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"weight","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Can you add the people id associated with that weight into the table?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"weight","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Can you also add the name associated with that people id into the table?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"weight","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"You are welcome.","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["did","gender","name","nationality","birth_city","birth_year"],"name":"director","type":"grid"}]<|endoftext|><|prompter|>Where is the birth place of " Kevin Spacey "<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'director_name0'"}]}}<|endoftext|><|prompter|>In what city was " Kevin Spacey " born ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'director_name0'"}]}}<|endoftext|><|prompter|>What is the nationality of " Kevin Spacey " ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'director_name0'"}]}}<|endoftext|><|prompter|>Find all the directors who are from Afghanistan<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"nationality","operation":"=","value":"'Afghanistan'"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Entrepreneur_ID","People_ID","Company","Money_Requested","Investor"],"name":"entrepreneur","type":"grid"}]<|endoftext|><|prompter|>List the companies of entrepreneurs in descending order of money requested.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Money_Requested","direction":"desk"}]}}<|endoftext|><|prompter|>What are the companies of entrepreneurs, ordered descending by amount of money requested?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Money_Requested","direction":"desk"}]}}<|endoftext|><|prompter|>What is the average money requested by all entrepreneurs?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Money_Requested","aggregation":"avg"}]}}<|endoftext|><|prompter|>Return the average money requested across all entrepreneurs.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Money_Requested","aggregation":"avg"}]}}<|endoftext|><|prompter|>List investors of entrepreneurs and the number of entrepreneurs each investor supports.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Investor"}]}}<|endoftext|><|prompter|>How many entrepreneurs correspond to each investor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Investor"}]}}<|endoftext|><|prompter|>How many distinct companies are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Company","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different companies.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Company","aggregation":"count"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Entrepreneur_ID","People_ID","Company","Money_Requested","Investor"],"name":"entrepreneur","type":"grid"}]<|endoftext|><|prompter|>List the companies of entrepreneurs in descending order of money requested.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Money_Requested","direction":"desk"}]}}<|endoftext|><|prompter|>What are the companies of entrepreneurs, ordered descending by amount of money requested?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Money_Requested","direction":"desk"}]}}<|endoftext|><|prompter|>What is the average money requested by all entrepreneurs?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Money_Requested","aggregation":"avg"}]}}<|endoftext|><|prompter|>Return the average money requested across all entrepreneurs.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Money_Requested","aggregation":"avg"}]}}<|endoftext|><|prompter|>What are the investors of entrepreneurs, and how many entrepreneurs has each investor invested in?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Investor"}]}}<|endoftext|><|prompter|>How many entrepreneurs correspond to each investor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Investor"}]}}<|endoftext|><|prompter|>How many distinct companies are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Company","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different companies.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Company","aggregation":"count"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Entrepreneur_ID","People_ID","Company","Money_Requested","Investor"],"name":"entrepreneur","type":"grid"}]<|endoftext|><|prompter|>List the companies of entrepreneurs in descending order of money requested.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Money_Requested","direction":"desk"}]}}<|endoftext|><|prompter|>What are the companies of entrepreneurs, ordered descending by amount of money requested?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Money_Requested","direction":"desk"}]}}<|endoftext|><|prompter|>What is the average money requested by all entrepreneurs?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Money_Requested","aggregation":"avg"}]}}<|endoftext|><|prompter|>Return the average money requested across all entrepreneurs.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Money_Requested","aggregation":"avg"}]}}<|endoftext|><|prompter|>What are the investors of entrepreneurs and the corresponding number of entrepreneurs invested by each investor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Investor"}]}}<|endoftext|><|prompter|>Determine the number of entrepreneurs associated with each investor.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Investor"}]}}<|endoftext|><|prompter|>How many distinct companies are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Company","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different companies.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Company","aggregation":"count"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Entrepreneur_ID","People_ID","Company","Money_Requested","Investor"],"name":"entrepreneur","type":"grid"}]<|endoftext|><|prompter|>List the companies of entrepreneurs in descending order of money requested.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Money_Requested","direction":"desk"}]}}<|endoftext|><|prompter|>What are the companies of entrepreneurs, ordered descending by amount of money requested?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Money_Requested","direction":"desk"}]}}<|endoftext|><|prompter|>What is the average money requested by all entrepreneurs?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Money_Requested","aggregation":"avg"}]}}<|endoftext|><|prompter|>Return the average money requested across all entrepreneurs.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Money_Requested","aggregation":"avg"}]}}<|endoftext|><|prompter|>What are the investors of entrepreneurs and the corresponding number of entrepreneurs invested by each investor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Investor"}]}}<|endoftext|><|prompter|>How many entrepreneurs correspond to each investor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Investor"}]}}<|endoftext|><|prompter|>How many distinct companies are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Company","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different companies.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Company","aggregation":"count"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Entrepreneur_ID","People_ID","Company","Money_Requested","Investor"],"name":"entrepreneur","type":"grid"}]<|endoftext|><|prompter|>List the companies of entrepreneurs in descending order of money requested.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Money_Requested","direction":"desk"}]}}<|endoftext|><|prompter|>What are the companies of entrepreneurs, ordered descending by amount of money requested?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Money_Requested","direction":"desk"}]}}<|endoftext|><|prompter|>What is the average money requested by all entrepreneurs?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Money_Requested","aggregation":"avg"}]}}<|endoftext|><|prompter|>Return the average money requested across all entrepreneurs.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Money_Requested","aggregation":"avg"}]}}<|endoftext|><|prompter|>What are the investors of entrepreneurs and the corresponding number of entrepreneurs invested by each investor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Investor"}]}}<|endoftext|><|prompter|>How many entrepreneurs correspond to each investor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Investor"}]}}<|endoftext|><|prompter|>How many distinct companies are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Company","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different companies.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Company","aggregation":"count"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["game_id","id","Player","Injury","Number_of_matches","Source"],"name":"injury_accident","type":"grid"}]<|endoftext|><|prompter|>What are the player name, number of matches, and information source for players who do not suffer from injury of 'Knee problem'?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"injury","operation":"!=","value":"Knee problem"}]}}<|endoftext|><|prompter|>How many different kinds of information sources are there for injury accidents?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"SOURCE","aggregation":"count"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Volume_ID","Volume_Issue","Issue_Date","Weeks_on_Top","Song","Artist_ID"],"name":"volume","type":"grid"}]<|endoftext|><|prompter|>What are the songs in volumes with more than 1 week on top?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Weeks_on_Top","operation":">","value":1}]}}<|endoftext|><|prompter|>Give the songs included in volumes that have more than 1 week on top.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Weeks_on_Top","operation":">","value":1}]}}<|endoftext|><|prompter|>Please list all songs in volumes in ascending alphabetical order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Song","direction":"ask"}]}}<|endoftext|><|prompter|>What are the the songs in volumes, listed in ascending order?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Song","direction":"ask"}]}}<|endoftext|><|prompter|>How many distinct artists do the volumes associate to?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Artist_ID","aggregation":"COUNT"}]}}<|endoftext|><|prompter|>Count the number of distinct artists who have volumes.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Artist_ID","aggregation":"COUNT"}]}}<|endoftext|><|prompter|>What is the song in the volume with the maximum weeks on top?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Weeks_on_Top","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Return the song in the volume that has spent the most weeks on top?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Weeks_on_Top","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the issue date of the volume with the minimum weeks on top?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Weeks_on_Top","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Return the issue date of the volume that has spent the fewest weeks on top.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Weeks_on_Top","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>How many distinct artists have volumes?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Artist_ID","aggregation":"COUNT"}]}}<|endoftext|><|prompter|>Count the number of artists who have had volumes.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Artist_ID","aggregation":"COUNT"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Template_ID","Version_Number","Template_Type_Code","Date_Effective_From","Date_Effective_To","Template_Details"],"name":"Templates","type":"grid"}]<|endoftext|><|prompter|>How many templates have template type code CV?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"template_type_code","operation":"=","value":"'CV'"}]}}<|endoftext|><|prompter|>Count the number of templates of the type CV.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"template_type_code","operation":"=","value":"'CV'"}]}}<|endoftext|><|prompter|>What is the version number and template type code for the template with version number later than 5?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"version_number","operation":">","value":5}]}}<|endoftext|><|prompter|>Return the version numbers and template type codes of templates with a version number greater than 5.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"version_number","operation":">","value":5}]}}<|endoftext|><|prompter|>Present all template type codes and the corresponding template count for each type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"template_type_code"}]}}<|endoftext|><|prompter|>What are the different template type codes, and how many templates correspond to each?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"template_type_code"}]}}<|endoftext|><|prompter|>What the smallest version number and its template type code?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Version_Number","aggregation":"min"}]}}<|endoftext|><|prompter|>Return the lowest version number, along with its corresponding template type code.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Version_Number","aggregation":"min"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Template_ID","Version_Number","Template_Type_Code","Date_Effective_From","Date_Effective_To","Template_Details"],"name":"Templates","type":"grid"}]<|endoftext|><|prompter|>How many templates have template type code CV?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"template_type_code","operation":"=","value":"'CV'"}]}}<|endoftext|><|prompter|>Count the number of templates of the type CV.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"template_type_code","operation":"=","value":"'CV'"}]}}<|endoftext|><|prompter|>What is the version number and template type code for the template with version number later than 5?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"version_number","operation":">","value":5}]}}<|endoftext|><|prompter|>Return the version numbers and template type codes of templates with a version number greater than 5.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"version_number","operation":">","value":5}]}}<|endoftext|><|prompter|>Show all template type codes and the number of templates for each.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"template_type_code"}]}}<|endoftext|><|prompter|>What are the different template type codes, and how many templates correspond to each?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"template_type_code"}]}}<|endoftext|><|prompter|>What the smallest version number and its template type code?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Version_Number","aggregation":"min"}]}}<|endoftext|><|prompter|>Return the lowest version number, along with its corresponding template type code.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Version_Number","aggregation":"min"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Template_ID","Version_Number","Template_Type_Code","Date_Effective_From","Date_Effective_To","Template_Details"],"name":"Templates","type":"grid"}]<|endoftext|><|prompter|>How many templates have template type code CV?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"template_type_code","operation":"=","value":"'CV'"}]}}<|endoftext|><|prompter|>Count the number of templates of the type CV.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"template_type_code","operation":"=","value":"'CV'"}]}}<|endoftext|><|prompter|>What is the version number and template type code for the template with version number later than 5?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"version_number","operation":">","value":5}]}}<|endoftext|><|prompter|>Return the version numbers and template type codes of templates with a version number greater than 5.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"version_number","operation":">","value":5}]}}<|endoftext|><|prompter|>Show all template type codes and number of templates for each.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"template_type_code"}]}}<|endoftext|><|prompter|>Identify template type codes and the count of templates for each code.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"template_type_code"}]}}<|endoftext|><|prompter|>What the smallest version number and its template type code?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Version_Number","aggregation":"min"}]}}<|endoftext|><|prompter|>Return the lowest version number, along with its corresponding template type code.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Version_Number","aggregation":"min"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Template_ID","Version_Number","Template_Type_Code","Date_Effective_From","Date_Effective_To","Template_Details"],"name":"Templates","type":"grid"}]<|endoftext|><|prompter|>How many templates have template type code CV?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"template_type_code","operation":"=","value":"'CV'"}]}}<|endoftext|><|prompter|>Count the number of templates of the type CV.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"template_type_code","operation":"=","value":"'CV'"}]}}<|endoftext|><|prompter|>What is the version number and template type code for the template with version number later than 5?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"version_number","operation":">","value":5}]}}<|endoftext|><|prompter|>Return the version numbers and template type codes of templates with a version number greater than 5.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"version_number","operation":">","value":5}]}}<|endoftext|><|prompter|>Show all template type codes and number of templates for each.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"template_type_code"}]}}<|endoftext|><|prompter|>What are the different template type codes, and how many templates correspond to each?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"template_type_code"}]}}<|endoftext|><|prompter|>What the smallest version number and its template type code?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Version_Number","aggregation":"min"}]}}<|endoftext|><|prompter|>Return the lowest version number, along with its corresponding template type code.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Version_Number","aggregation":"min"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Template_ID","Version_Number","Template_Type_Code","Date_Effective_From","Date_Effective_To","Template_Details"],"name":"Templates","type":"grid"}]<|endoftext|><|prompter|>How many templates have template type code CV?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"template_type_code","operation":"=","value":"'CV'"}]}}<|endoftext|><|prompter|>Count the number of templates of the type CV.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"template_type_code","operation":"=","value":"'CV'"}]}}<|endoftext|><|prompter|>What is the version number and template type code for the template with version number later than 5?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"version_number","operation":">","value":5}]}}<|endoftext|><|prompter|>Return the version numbers and template type codes of templates with a version number greater than 5.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"version_number","operation":">","value":5}]}}<|endoftext|><|prompter|>Show all template type codes and number of templates for each.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"template_type_code"}]}}<|endoftext|><|prompter|>What are the different template type codes, and how many templates correspond to each?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"template_type_code"}]}}<|endoftext|><|prompter|>What the smallest version number and its template type code?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Version_Number","aggregation":"min"}]}}<|endoftext|><|prompter|>Return the lowest version number, along with its corresponding template type code.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Version_Number","aggregation":"min"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Season","Player","Position","Country","Team","Draft_Pick_Number","Draft_Class","College"],"name":"match_season","type":"grid"}]<|endoftext|><|prompter|>Show the players from college UCLA.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"College","operation":"=","value":"'UCLA'"}]}}<|endoftext|><|prompter|>Who are the players from UCLA?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"College","operation":"=","value":"'UCLA'"}]}}<|endoftext|><|prompter|>Show the draft pick numbers and draft classes of players whose positions are defenders.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"POSITION","operation":"=","value":"'Defender'"}]}}<|endoftext|><|prompter|>What are the draft pick numbers and draft classes for players who play the Defender position?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"POSITION","operation":"=","value":"'Defender'"}]}}<|endoftext|><|prompter|>How many distinct teams are involved in match seasons?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Team","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different teams involved in match season.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Team","aggregation":"count"}]}}<|endoftext|><|prompter|>Exhibit player positions and the corresponding player counts.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|><|prompter|>How many players played each position?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|><|prompter|>Return all players sorted by college in ascending alphabetical order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"College","direction":"ask"}]}}<|endoftext|><|prompter|>What are all the players who played in match season, sorted by college in ascending alphabetical order?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"College","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Season","Player","Position","Country","Team","Draft_Pick_Number","Draft_Class","College"],"name":"match_season","type":"grid"}]<|endoftext|><|prompter|>Show the players from college UCLA.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"College","operation":"=","value":"'UCLA'"}]}}<|endoftext|><|prompter|>Who are the players from UCLA?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"College","operation":"=","value":"'UCLA'"}]}}<|endoftext|><|prompter|>Show the draft pick numbers and draft classes of players whose positions are defenders.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"POSITION","operation":"=","value":"'Defender'"}]}}<|endoftext|><|prompter|>What are the draft pick numbers and draft classes for players who play the Defender position?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"POSITION","operation":"=","value":"'Defender'"}]}}<|endoftext|><|prompter|>How many distinct teams are involved in match seasons?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Team","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different teams involved in match season.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Team","aggregation":"count"}]}}<|endoftext|><|prompter|>Show the position of players along with the corresponding number of players.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|><|prompter|>How many players played each position?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|><|prompter|>Return all players sorted by college in ascending alphabetical order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"College","direction":"ask"}]}}<|endoftext|><|prompter|>What are all the players who played in match season, sorted by college in ascending alphabetical order?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"College","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Season","Player","Position","Country","Team","Draft_Pick_Number","Draft_Class","College"],"name":"match_season","type":"grid"}]<|endoftext|><|prompter|>Show the players from college UCLA.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"College","operation":"=","value":"'UCLA'"}]}}<|endoftext|><|prompter|>Who are the players from UCLA?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"College","operation":"=","value":"'UCLA'"}]}}<|endoftext|><|prompter|>Show the draft pick numbers and draft classes of players whose positions are defenders.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"POSITION","operation":"=","value":"'Defender'"}]}}<|endoftext|><|prompter|>What are the draft pick numbers and draft classes for players who play the Defender position?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"POSITION","operation":"=","value":"'Defender'"}]}}<|endoftext|><|prompter|>How many distinct teams are involved in match seasons?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Team","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different teams involved in match season.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Team","aggregation":"count"}]}}<|endoftext|><|prompter|>Show the position of players and the corresponding number of players.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|><|prompter|>How many players participated in each position?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|><|prompter|>Return all players sorted by college in ascending alphabetical order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"College","direction":"ask"}]}}<|endoftext|><|prompter|>What are all the players who played in match season, sorted by college in ascending alphabetical order?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"College","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Season","Player","Position","Country","Team","Draft_Pick_Number","Draft_Class","College"],"name":"match_season","type":"grid"}]<|endoftext|><|prompter|>Show the players from college UCLA.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"College","operation":"=","value":"'UCLA'"}]}}<|endoftext|><|prompter|>Who are the players from UCLA?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"College","operation":"=","value":"'UCLA'"}]}}<|endoftext|><|prompter|>Show the draft pick numbers and draft classes of players whose positions are defenders.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"POSITION","operation":"=","value":"'Defender'"}]}}<|endoftext|><|prompter|>What are the draft pick numbers and draft classes for players who play the Defender position?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"POSITION","operation":"=","value":"'Defender'"}]}}<|endoftext|><|prompter|>How many distinct teams are involved in match seasons?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Team","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different teams involved in match season.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Team","aggregation":"count"}]}}<|endoftext|><|prompter|>Show the position of players and the corresponding number of players.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|><|prompter|>How many players played each position?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|><|prompter|>Return all players sorted by college in ascending alphabetical order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"College","direction":"ask"}]}}<|endoftext|><|prompter|>What are all the players who played in match season, sorted by college in ascending alphabetical order?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"College","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Season","Player","Position","Country","Team","Draft_Pick_Number","Draft_Class","College"],"name":"match_season","type":"grid"}]<|endoftext|><|prompter|>Show the players from college UCLA.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"College","operation":"=","value":"'UCLA'"}]}}<|endoftext|><|prompter|>Who are the players from UCLA?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"College","operation":"=","value":"'UCLA'"}]}}<|endoftext|><|prompter|>Show the draft pick numbers and draft classes of players whose positions are defenders.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"POSITION","operation":"=","value":"'Defender'"}]}}<|endoftext|><|prompter|>What are the draft pick numbers and draft classes for players who play the Defender position?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"POSITION","operation":"=","value":"'Defender'"}]}}<|endoftext|><|prompter|>How many distinct teams are involved in match seasons?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Team","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different teams involved in match season.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Team","aggregation":"count"}]}}<|endoftext|><|prompter|>Show the position of players and the corresponding number of players.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|><|prompter|>How many players played each position?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|><|prompter|>Return all players sorted by college in ascending alphabetical order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"College","direction":"ask"}]}}<|endoftext|><|prompter|>What are all the players who played in match season, sorted by college in ascending alphabetical order?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"College","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Conductor_ID","Name","Age","Nationality","Year_of_Work"],"name":"conductor","type":"grid"}]<|endoftext|><|prompter|>List the name of the conductor with the most years of work.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Year_of_Work","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>How many years did Robert Craft work?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"Robert Craft"}]}}<|endoftext|><|prompter|>List the name of the conductor with the least years of work<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Year_of_Work","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"welcome,goodbye","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["mid","title","release_year","title_aka","budget"],"name":"movie","type":"grid"}]<|endoftext|><|prompter|>What year is the movie " The Imitation Game " from ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"title","operation":"=","value":"'The Imitation Game'"}]}}<|endoftext|><|prompter|>What year was the movie " The Imitation Game " produced<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"title","operation":"=","value":"'The Imitation Game'"}]}}<|endoftext|><|prompter|>Find all movies produced in 2015<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"release_year","operation":"=","value":2015}]}}<|endoftext|><|prompter|>How much was the budget of " Finding Nemo "<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"title","operation":"=","value":"'Finding Nemo'"}]}}<|endoftext|><|prompter|>What was the budget of the movie Juno from 2007 ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"release_year","operation":"=","value":2007},{"actionType":"ChangeCondition","column":"title","operation":"=","value":"'Juno'"}]}}<|endoftext|><|prompter|>How many movies were produced in the year 2013 ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"title","aggregation":"COUNT"},{"actionType":"ChangeCondition","column":"release_year","operation":"=","value":2013}]}}<|endoftext|><|prompter|>What is the number of movies produced in 2013 ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"title","aggregation":"COUNT"},{"actionType":"ChangeCondition","column":"release_year","operation":"=","value":2013}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Captain_ID","Name","Ship_ID","age","Class","Rank"],"name":"captain","type":"grid"}]<|endoftext|><|prompter|>Who is the oldest captain? <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"age","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What about the youngest captain? <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>How many captains are there younger than 50 in each rank?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":"<","value":50},{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"You are welcome.","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["Candidate_ID","People_ID","Poll_Source","Date","Support_rate","Consider_rate","Oppose_rate","Unsure_rate"],"name":"candidate","type":"grid"}]<|endoftext|><|prompter|>What are the top 3 highest support rates?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"support_rate","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the poll sources of those support rates?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"support_rate","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the dates for those support rates?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"support_rate","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What's the unsure rate of those?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"support_rate","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the consider rates of those?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"support_rate","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the oppose rates of those?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"support_rate","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Welcome. Bye.","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["LastName","FirstName","Classroom"],"name":"teachers","type":"grid"}]<|endoftext|><|prompter|>Find the first names of all the teachers that teach in classroom 110.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":110}]}}<|endoftext|><|prompter|>Which teachers teach in classroom 110? Give me their first names.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":110}]}}<|endoftext|><|prompter|>Find the last names of teachers teaching in classroom 109.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":109}]}}<|endoftext|><|prompter|>Which teachers teach in classroom 109? Give me their last names.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"classroom","operation":"=","value":109}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["People_ID","Sex","Name","Date_of_Birth","Height","Weight"],"name":"people","type":"grid"}]<|endoftext|><|prompter|>Hello. How many people have a weight that is higher than 85? <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"weight","operation":">","value":85}]}}<|endoftext|><|prompter|>Out of those 6 people, how many of them are female?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"weight","operation":">","value":85},{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"'F'"}]}}<|endoftext|><|prompter|>How many of them are male?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"weight","operation":">","value":85},{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"'M'"}]}}<|endoftext|><|prompter|>Thanks! <|endoftext|><|assistant|>{"text":"You are welcome!","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["ID","name","Capacity","City","Country","Opening_year"],"name":"stadium","type":"grid"}]<|endoftext|><|prompter|>Find the name of the stadium that has the maximum capacity.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"capacity","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>How many cities have a stadium that was opened before the year of 2006?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"city","aggregation":"count"},{"actionType":"ChangeCondition","column":"opening_year","operation":"<","value":2006}]}}<|endoftext|><|prompter|>How many stadiums are in each country?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"country"}]}}<|endoftext|><|prompter|>How many stadiums are not in country "Russia"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"!=","value":"Russia"}]}}<|endoftext|><|prompter|>What is the average capacity of the stadiums that were opened in year 2005?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"capacity","aggregation":"avg"},{"actionType":"ChangeCondition","column":"opening_year","operation":"=","value":2005}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["ID","name","Capacity","City","Country","Opening_year"],"name":"stadium","type":"grid"}]<|endoftext|><|prompter|>Find the name of the stadium that has the maximum capacity.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"capacity","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>How many cities have a stadium that was opened before the year of 2006?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"city","aggregation":"count"},{"actionType":"ChangeCondition","column":"opening_year","operation":"<","value":2006}]}}<|endoftext|><|prompter|>How many stadiums does each country have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"country"}]}}<|endoftext|><|prompter|>How many stadiums are not in country "Russia"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"!=","value":"Russia"}]}}<|endoftext|><|prompter|>What is the average capacity of the stadiums that were opened in year 2005?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"capacity","aggregation":"avg"},{"actionType":"ChangeCondition","column":"opening_year","operation":"=","value":2005}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["ID","name","Capacity","City","Country","Opening_year"],"name":"stadium","type":"grid"}]<|endoftext|><|prompter|>Find the name of the stadium that has the maximum capacity.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"capacity","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>How many cities have a stadium that was opened before the year of 2006?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"city","aggregation":"count"},{"actionType":"ChangeCondition","column":"opening_year","operation":"<","value":2006}]}}<|endoftext|><|prompter|>How many stadiums does each country have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"country"}]}}<|endoftext|><|prompter|>How many stadiums are not in country "Russia"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"!=","value":"Russia"}]}}<|endoftext|><|prompter|>What is the average capacity of the stadiums that were opened in year 2005?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"capacity","aggregation":"avg"},{"actionType":"ChangeCondition","column":"opening_year","operation":"=","value":2005}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["role_code","role_description"],"name":"Staff_Roles","type":"grid"}]<|endoftext|><|prompter|>What is the complete description of the researcher role.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"role_code","operation":"=","value":"researcher"}]}}<|endoftext|><|prompter|>What is the complete description of the job of a researcher?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"role_code","operation":"=","value":"researcher"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["student_id","liked_id"],"name":"Likes","type":"grid"}]<|endoftext|><|prompter|>Count the number of likes per student ID.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"student_id"}]}}<|endoftext|><|prompter|>How many likes correspond to each student id?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"student_id"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["student_id","liked_id"],"name":"Likes","type":"grid"}]<|endoftext|><|prompter|>Calculate the number of likes for each student ID.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"student_id"}]}}<|endoftext|><|prompter|>How many likes correspond to each student id?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"student_id"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["student_id","liked_id"],"name":"Likes","type":"grid"}]<|endoftext|><|prompter|>Count the number of likes for each student id.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"student_id"}]}}<|endoftext|><|prompter|>List student ids and their corresponding like counts.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"student_id"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["student_id","liked_id"],"name":"Likes","type":"grid"}]<|endoftext|><|prompter|>Count the number of likes for each student id.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"student_id"}]}}<|endoftext|><|prompter|>How many likes correspond to each student ID?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"student_id"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["student_id","liked_id"],"name":"Likes","type":"grid"}]<|endoftext|><|prompter|>Count the number of likes for each student id.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"student_id"}]}}<|endoftext|><|prompter|>How many likes correspond to each student id?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"student_id"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["id","Title","Directed_by","Written_by","Original_air_date","Production_code","Channel"],"name":"cartoon","type":"grid"}]<|endoftext|><|prompter|>Which cartoon aired first? <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"original_air_date","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What was the last cartoon to air?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"original_air_date","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What channel was it on?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"original_air_date","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the production code?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"original_air_date","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Thanks! <|endoftext|><|assistant|>{"text":"Thank you too! Bye!","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["Id","Campus","Location","County","Year"],"name":"campuses","type":"grid"}]<|endoftext|><|prompter|>Which universities are in Los Angeles county and opened after 1950?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"county","operation":"=","value":"'Los Angeles'"},{"actionType":"ChangeCondition","column":"YEAR","operation":">","value":1950}]}}<|endoftext|><|prompter|>What about before 1950?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"county","operation":"=","value":"'Los Angeles'"},{"actionType":"ChangeCondition","column":"YEAR","operation":"<","value":1950}]}}<|endoftext|><|prompter|>What are the years they opened?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"county","operation":"=","value":"'Los Angeles'"},{"actionType":"ChangeCondition","column":"YEAR","operation":"<","value":1950}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"thanks. bye.","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["Region_ID","Region_name","Date","Label","Format","Catalogue"],"name":"region","type":"grid"}]<|endoftext|><|prompter|>Show all distinct region names ordered by their labels.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Label","direction":"ask"}]}}<|endoftext|><|prompter|>What are the different region names, ordered by labels?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Label","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["LOCATION_ID","STREET_ADDRESS","POSTAL_CODE","CITY","STATE_PROVINCE","COUNTRY_ID"],"name":"locations","type":"grid"}]<|endoftext|><|prompter|>Display country IDs and their respective city counts.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"country_id"}]}}<|endoftext|><|prompter|>Give the country id and corresponding count of cities in each country.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"country_id"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["LOCATION_ID","STREET_ADDRESS","POSTAL_CODE","CITY","STATE_PROVINCE","COUNTRY_ID"],"name":"locations","type":"grid"}]<|endoftext|><|prompter|>List the country ID and number of cities associated with each country.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"country_id"}]}}<|endoftext|><|prompter|>Give the country id and corresponding count of cities in each country.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"country_id"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["LOCATION_ID","STREET_ADDRESS","POSTAL_CODE","CITY","STATE_PROVINCE","COUNTRY_ID"],"name":"locations","type":"grid"}]<|endoftext|><|prompter|>display the country ID and number of cities for each country.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"country_id"}]}}<|endoftext|><|prompter|>Provide the country id and the number of cities in each country.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"country_id"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["LOCATION_ID","STREET_ADDRESS","POSTAL_CODE","CITY","STATE_PROVINCE","COUNTRY_ID"],"name":"locations","type":"grid"}]<|endoftext|><|prompter|>display the country ID and number of cities for each country.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"country_id"}]}}<|endoftext|><|prompter|>Display the country ID and the corresponding count of cities in each country.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"country_id"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["LOCATION_ID","STREET_ADDRESS","POSTAL_CODE","CITY","STATE_PROVINCE","COUNTRY_ID"],"name":"locations","type":"grid"}]<|endoftext|><|prompter|>display the country ID and number of cities for each country.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"country_id"}]}}<|endoftext|><|prompter|>Give the country id and corresponding count of cities in each country.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"country_id"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["cust_ID","cust_name","acc_type","acc_bal","no_of_loans","credit_score","branch_ID","state"],"name":"customer","type":"grid"}]<|endoftext|><|prompter|>Can i get the customer name who has low credit score <|endoftext|><|assistant|>{"text":"Did you mean the lowest credit score?","dsl":{}}<|endoftext|><|prompter|>Yeah <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"credit_score","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>From which state he was ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"credit_score","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Wow ! What was his account type? <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"credit_score","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Have a nice day! Bye!","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["customer_id","datetime_payment","payment_method_code","amount_payment"],"name":"Customer_Payments","type":"grid"}]<|endoftext|><|prompter|>Display all payment methods and the count of payments using each method.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"payment_method_code"}]}}<|endoftext|><|prompter|>For each payment method, how many payments were made?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"payment_method_code"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["customer_id","datetime_payment","payment_method_code","amount_payment"],"name":"Customer_Payments","type":"grid"}]<|endoftext|><|prompter|>List all payment methods and the number of payments made for each method.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"payment_method_code"}]}}<|endoftext|><|prompter|>For each payment method, how many payments were made?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"payment_method_code"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["customer_id","datetime_payment","payment_method_code","amount_payment"],"name":"Customer_Payments","type":"grid"}]<|endoftext|><|prompter|>List all payment methods and number of payments using each payment methods.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"payment_method_code"}]}}<|endoftext|><|prompter|>For every payment method, count the number of payments made.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"payment_method_code"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["customer_id","datetime_payment","payment_method_code","amount_payment"],"name":"Customer_Payments","type":"grid"}]<|endoftext|><|prompter|>List all payment methods and number of payments using each payment methods.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"payment_method_code"}]}}<|endoftext|><|prompter|>Determine the total number of payments made for each payment method.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"payment_method_code"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["customer_id","datetime_payment","payment_method_code","amount_payment"],"name":"Customer_Payments","type":"grid"}]<|endoftext|><|prompter|>List all payment methods and number of payments using each payment methods.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"payment_method_code"}]}}<|endoftext|><|prompter|>For each payment method, how many payments were made?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"payment_method_code"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Company_ID","Name","Headquarters","Industry","Sales_in_Billion","Profits_in_Billion","Assets_in_Billion","Market_Value_in_Billion"],"name":"company","type":"grid"}]<|endoftext|><|prompter|>what is the name of the company with more than 200 sales? <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sales_in_Billion","operation":">","value":200}]}}<|endoftext|><|prompter|>where is the headquarters for BP<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'BP'"}]}}<|endoftext|><|prompter|>in what industry is BP<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'BP'"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Welcome. Bye!","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["architect_id","id","location","name","type","built_year","notes"],"name":"mill","type":"grid"}]<|endoftext|><|prompter|>What are the names and year of construction for the mills of 'Grondzeiler' type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"TYPE","operation":"=","value":"Grondzeiler"}]}}<|endoftext|><|prompter|>What are the names of the mills which are not located in 'Donceel'?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"LOCATION","operation":"!=","value":"Donceel"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["People_ID","Name","Age","Height","Hometown"],"name":"people","type":"grid"}]<|endoftext|><|prompter|>What is the age of the tallest person?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Height","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Return the age of the person with the greatest height.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Height","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>How many distinct hometowns did these people have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Hometown","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different hometowns of these people.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Hometown","aggregation":"count"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["course_id","title","dept_name","credits"],"name":"course","type":"grid"}]<|endoftext|><|prompter|>How many departments offer courses?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"dept_name","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of departments which offer courses.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"dept_name","aggregation":"count"}]}}<|endoftext|><|prompter|>How many different courses offered by Physics department?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"course_id","aggregation":"count"},{"actionType":"ChangeCondition","column":"dept_name","operation":"=","value":"Physics"}]}}<|endoftext|><|prompter|>Count the number of courses in the Physics department.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"course_id","aggregation":"count"},{"actionType":"ChangeCondition","column":"dept_name","operation":"=","value":"Physics"}]}}<|endoftext|><|prompter|>Find the name of the department that offers the highest total credits?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"dept_name"},{"actionType":"ChangeTopFilter","column":"credits","limit":1,"aggregation":"sum","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the department with the most credits?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"dept_name"},{"actionType":"ChangeTopFilter","column":"credits","limit":1,"aggregation":"sum","direction":"desk"}]}}<|endoftext|><|prompter|>List the names of all courses ordered by their titles and credits.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"title","direction":"ask"},{"actionType":"ChangeSorting","column":"credits","direction":"ask"}]}}<|endoftext|><|prompter|>Given the titles of all courses, in order of titles and credits.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"title","direction":"ask"},{"actionType":"ChangeSorting","column":"credits","direction":"ask"}]}}<|endoftext|><|prompter|>Find the total course credits offered by different departments.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"credits","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"dept_name"}]}}<|endoftext|><|prompter|>How many total credits are offered by each department?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"credits","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"dept_name"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["course_id","title","dept_name","credits"],"name":"course","type":"grid"}]<|endoftext|><|prompter|>How many departments offer courses?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"dept_name","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of departments which offer courses.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"dept_name","aggregation":"count"}]}}<|endoftext|><|prompter|>How many different courses offered by Physics department?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"course_id","aggregation":"count"},{"actionType":"ChangeCondition","column":"dept_name","operation":"=","value":"Physics"}]}}<|endoftext|><|prompter|>Count the number of courses in the Physics department.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"course_id","aggregation":"count"},{"actionType":"ChangeCondition","column":"dept_name","operation":"=","value":"Physics"}]}}<|endoftext|><|prompter|>Find the name of the department that offers the highest total credits?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"dept_name"},{"actionType":"ChangeTopFilter","column":"credits","limit":1,"aggregation":"sum","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the department with the most credits?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"dept_name"},{"actionType":"ChangeTopFilter","column":"credits","limit":1,"aggregation":"sum","direction":"desk"}]}}<|endoftext|><|prompter|>List the names of all courses ordered by their titles and credits.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"title","direction":"ask"},{"actionType":"ChangeSorting","column":"credits","direction":"ask"}]}}<|endoftext|><|prompter|>Given the titles of all courses, in order of titles and credits.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"title","direction":"ask"},{"actionType":"ChangeSorting","column":"credits","direction":"ask"}]}}<|endoftext|><|prompter|>Find the total credits of courses provided by different departments.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"credits","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"dept_name"}]}}<|endoftext|><|prompter|>How many total credits are offered by each department?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"credits","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"dept_name"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["course_id","title","dept_name","credits"],"name":"course","type":"grid"}]<|endoftext|><|prompter|>How many departments offer courses?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"dept_name","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of departments which offer courses.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"dept_name","aggregation":"count"}]}}<|endoftext|><|prompter|>How many different courses offered by Physics department?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"course_id","aggregation":"count"},{"actionType":"ChangeCondition","column":"dept_name","operation":"=","value":"Physics"}]}}<|endoftext|><|prompter|>Count the number of courses in the Physics department.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"course_id","aggregation":"count"},{"actionType":"ChangeCondition","column":"dept_name","operation":"=","value":"Physics"}]}}<|endoftext|><|prompter|>Find the name of the department that offers the highest total credits?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"dept_name"},{"actionType":"ChangeTopFilter","column":"credits","limit":1,"aggregation":"sum","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the department with the most credits?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"dept_name"},{"actionType":"ChangeTopFilter","column":"credits","limit":1,"aggregation":"sum","direction":"desk"}]}}<|endoftext|><|prompter|>List the names of all courses ordered by their titles and credits.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"title","direction":"ask"},{"actionType":"ChangeSorting","column":"credits","direction":"ask"}]}}<|endoftext|><|prompter|>Given the titles of all courses, in order of titles and credits.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"title","direction":"ask"},{"actionType":"ChangeSorting","column":"credits","direction":"ask"}]}}<|endoftext|><|prompter|>Find the total credits of courses provided by different department.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"credits","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"dept_name"}]}}<|endoftext|><|prompter|>Calculate the total credits offered by each department.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"credits","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"dept_name"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["course_id","title","dept_name","credits"],"name":"course","type":"grid"}]<|endoftext|><|prompter|>How many departments offer courses?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"dept_name","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of departments which offer courses.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"dept_name","aggregation":"count"}]}}<|endoftext|><|prompter|>How many different courses offered by Physics department?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"course_id","aggregation":"count"},{"actionType":"ChangeCondition","column":"dept_name","operation":"=","value":"Physics"}]}}<|endoftext|><|prompter|>Count the number of courses in the Physics department.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"course_id","aggregation":"count"},{"actionType":"ChangeCondition","column":"dept_name","operation":"=","value":"Physics"}]}}<|endoftext|><|prompter|>Find the name of the department that offers the highest total credits?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"dept_name"},{"actionType":"ChangeTopFilter","column":"credits","limit":1,"aggregation":"sum","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the department with the most credits?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"dept_name"},{"actionType":"ChangeTopFilter","column":"credits","limit":1,"aggregation":"sum","direction":"desk"}]}}<|endoftext|><|prompter|>List the names of all courses ordered by their titles and credits.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"title","direction":"ask"},{"actionType":"ChangeSorting","column":"credits","direction":"ask"}]}}<|endoftext|><|prompter|>Given the titles of all courses, in order of titles and credits.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"title","direction":"ask"},{"actionType":"ChangeSorting","column":"credits","direction":"ask"}]}}<|endoftext|><|prompter|>Find the total credits of courses provided by different department.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"credits","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"dept_name"}]}}<|endoftext|><|prompter|>How many total credits does each department offer?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"credits","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"dept_name"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["course_id","title","dept_name","credits"],"name":"course","type":"grid"}]<|endoftext|><|prompter|>How many departments offer courses?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"dept_name","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of departments which offer courses.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"dept_name","aggregation":"count"}]}}<|endoftext|><|prompter|>How many different courses offered by Physics department?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"course_id","aggregation":"count"},{"actionType":"ChangeCondition","column":"dept_name","operation":"=","value":"Physics"}]}}<|endoftext|><|prompter|>Count the number of courses in the Physics department.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"course_id","aggregation":"count"},{"actionType":"ChangeCondition","column":"dept_name","operation":"=","value":"Physics"}]}}<|endoftext|><|prompter|>Find the name of the department that offers the highest total credits?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"dept_name"},{"actionType":"ChangeTopFilter","column":"credits","limit":1,"aggregation":"sum","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the department with the most credits?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"dept_name"},{"actionType":"ChangeTopFilter","column":"credits","limit":1,"aggregation":"sum","direction":"desk"}]}}<|endoftext|><|prompter|>List the names of all courses ordered by their titles and credits.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"title","direction":"ask"},{"actionType":"ChangeSorting","column":"credits","direction":"ask"}]}}<|endoftext|><|prompter|>Given the titles of all courses, in order of titles and credits.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"title","direction":"ask"},{"actionType":"ChangeSorting","column":"credits","direction":"ask"}]}}<|endoftext|><|prompter|>Find the total credits of courses provided by different department.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"credits","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"dept_name"}]}}<|endoftext|><|prompter|>How many total credits are offered by each department?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"credits","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"dept_name"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["id","series_name","Country","Language","Content","Pixel_aspect_ratio_PAR","Hight_definition_TV","Pay_per_view_PPV","Package_Option"],"name":"TV_Channel","type":"grid"}]<|endoftext|><|prompter|>List the number of different series names and contents in the TV Channel table.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"series_name","aggregation":"count"},{"actionType":"ChangeAggregations","column":"content","aggregation":"count"}]}}<|endoftext|><|prompter|>How many different series and contents are listed in the TV Channel table?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"series_name","aggregation":"count"},{"actionType":"ChangeAggregations","column":"content","aggregation":"count"}]}}<|endoftext|><|prompter|>What is the content of TV Channel with serial name "Sky Radio"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"series_name","operation":"=","value":"'Sky Radio'"}]}}<|endoftext|><|prompter|>What is the content of the series Sky Radio?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"series_name","operation":"=","value":"'Sky Radio'"}]}}<|endoftext|><|prompter|>What is the Package Option of TV Channel with serial name "Sky Radio"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"series_name","operation":"=","value":"'Sky Radio'"}]}}<|endoftext|><|prompter|>What are the Package Options of the TV Channels whose series names are Sky Radio?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"series_name","operation":"=","value":"'Sky Radio'"}]}}<|endoftext|><|prompter|>How many TV Channel using language English?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"LANGUAGE","operation":"=","value":"'English'"}]}}<|endoftext|><|prompter|>How many TV Channels use the English language?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"LANGUAGE","operation":"=","value":"'English'"}]}}<|endoftext|><|prompter|>Enumerate each language and the count of TV channels using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"LANGUAGE"}]}}<|endoftext|><|prompter|>For each language, list the number of TV Channels that use it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"LANGUAGE"}]}}<|endoftext|><|prompter|>Find the package choice and series name of the TV channel that has high definition TV.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"hight_definition_TV","operation":"=","value":"'yes'"}]}}<|endoftext|><|prompter|>What are the package options and the name of the series for the TV Channel that supports high definition TV?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"hight_definition_TV","operation":"=","value":"'yes'"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["id","series_name","Country","Language","Content","Pixel_aspect_ratio_PAR","Hight_definition_TV","Pay_per_view_PPV","Package_Option"],"name":"TV_Channel","type":"grid"}]<|endoftext|><|prompter|>List the number of different series names and contents in the TV Channel table.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"series_name","aggregation":"count"},{"actionType":"ChangeAggregations","column":"content","aggregation":"count"}]}}<|endoftext|><|prompter|>How many different series and contents are listed in the TV Channel table?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"series_name","aggregation":"count"},{"actionType":"ChangeAggregations","column":"content","aggregation":"count"}]}}<|endoftext|><|prompter|>What is the content of TV Channel with serial name "Sky Radio"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"series_name","operation":"=","value":"'Sky Radio'"}]}}<|endoftext|><|prompter|>What is the content of the series Sky Radio?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"series_name","operation":"=","value":"'Sky Radio'"}]}}<|endoftext|><|prompter|>What is the Package Option of TV Channel with serial name "Sky Radio"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"series_name","operation":"=","value":"'Sky Radio'"}]}}<|endoftext|><|prompter|>What are the Package Options of the TV Channels whose series names are Sky Radio?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"series_name","operation":"=","value":"'Sky Radio'"}]}}<|endoftext|><|prompter|>How many TV Channel using language English?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"LANGUAGE","operation":"=","value":"'English'"}]}}<|endoftext|><|prompter|>How many TV Channels use the English language?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"LANGUAGE","operation":"=","value":"'English'"}]}}<|endoftext|><|prompter|>Display each language and the number of TV channels that use it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"LANGUAGE"}]}}<|endoftext|><|prompter|>For each language, list the number of TV Channels that use it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"LANGUAGE"}]}}<|endoftext|><|prompter|>Find the package choice and series name of the TV channel that has high definition TV.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"hight_definition_TV","operation":"=","value":"'yes'"}]}}<|endoftext|><|prompter|>What are the package options and the name of the series for the TV Channel that supports high definition TV?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"hight_definition_TV","operation":"=","value":"'yes'"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["id","series_name","Country","Language","Content","Pixel_aspect_ratio_PAR","Hight_definition_TV","Pay_per_view_PPV","Package_Option"],"name":"TV_Channel","type":"grid"}]<|endoftext|><|prompter|>List the number of different series names and contents in the TV Channel table.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"series_name","aggregation":"count"},{"actionType":"ChangeAggregations","column":"content","aggregation":"count"}]}}<|endoftext|><|prompter|>How many different series and contents are listed in the TV Channel table?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"series_name","aggregation":"count"},{"actionType":"ChangeAggregations","column":"content","aggregation":"count"}]}}<|endoftext|><|prompter|>What is the content of TV Channel with serial name "Sky Radio"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"series_name","operation":"=","value":"'Sky Radio'"}]}}<|endoftext|><|prompter|>What is the content of the series Sky Radio?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"series_name","operation":"=","value":"'Sky Radio'"}]}}<|endoftext|><|prompter|>What is the Package Option of TV Channel with serial name "Sky Radio"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"series_name","operation":"=","value":"'Sky Radio'"}]}}<|endoftext|><|prompter|>What are the Package Options of the TV Channels whose series names are Sky Radio?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"series_name","operation":"=","value":"'Sky Radio'"}]}}<|endoftext|><|prompter|>How many TV Channel using language English?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"LANGUAGE","operation":"=","value":"'English'"}]}}<|endoftext|><|prompter|>How many TV Channels use the English language?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"LANGUAGE","operation":"=","value":"'English'"}]}}<|endoftext|><|prompter|>List each language and the number of TV Channels using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"LANGUAGE"}]}}<|endoftext|><|prompter|>List the number of TV channels using each language.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"LANGUAGE"}]}}<|endoftext|><|prompter|>Find the package choice and series name of the TV channel that has high definition TV.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"hight_definition_TV","operation":"=","value":"'yes'"}]}}<|endoftext|><|prompter|>What are the package options and the name of the series for the TV Channel that supports high definition TV?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"hight_definition_TV","operation":"=","value":"'yes'"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["id","series_name","Country","Language","Content","Pixel_aspect_ratio_PAR","Hight_definition_TV","Pay_per_view_PPV","Package_Option"],"name":"TV_Channel","type":"grid"}]<|endoftext|><|prompter|>List the number of different series names and contents in the TV Channel table.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"series_name","aggregation":"count"},{"actionType":"ChangeAggregations","column":"content","aggregation":"count"}]}}<|endoftext|><|prompter|>How many different series and contents are listed in the TV Channel table?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"series_name","aggregation":"count"},{"actionType":"ChangeAggregations","column":"content","aggregation":"count"}]}}<|endoftext|><|prompter|>What is the content of TV Channel with serial name "Sky Radio"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"series_name","operation":"=","value":"'Sky Radio'"}]}}<|endoftext|><|prompter|>What is the content of the series Sky Radio?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"series_name","operation":"=","value":"'Sky Radio'"}]}}<|endoftext|><|prompter|>What is the Package Option of TV Channel with serial name "Sky Radio"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"series_name","operation":"=","value":"'Sky Radio'"}]}}<|endoftext|><|prompter|>What are the Package Options of the TV Channels whose series names are Sky Radio?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"series_name","operation":"=","value":"'Sky Radio'"}]}}<|endoftext|><|prompter|>How many TV Channel using language English?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"LANGUAGE","operation":"=","value":"'English'"}]}}<|endoftext|><|prompter|>How many TV Channels use the English language?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"LANGUAGE","operation":"=","value":"'English'"}]}}<|endoftext|><|prompter|>List each language and the number of TV Channels using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"LANGUAGE"}]}}<|endoftext|><|prompter|>Display the number of TV channels for each language.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"LANGUAGE"}]}}<|endoftext|><|prompter|>Find the package choice and series name of the TV channel that has high definition TV.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"hight_definition_TV","operation":"=","value":"'yes'"}]}}<|endoftext|><|prompter|>What are the package options and the name of the series for the TV Channel that supports high definition TV?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"hight_definition_TV","operation":"=","value":"'yes'"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["id","series_name","Country","Language","Content","Pixel_aspect_ratio_PAR","Hight_definition_TV","Pay_per_view_PPV","Package_Option"],"name":"TV_Channel","type":"grid"}]<|endoftext|><|prompter|>List the number of different series names and contents in the TV Channel table.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"series_name","aggregation":"count"},{"actionType":"ChangeAggregations","column":"content","aggregation":"count"}]}}<|endoftext|><|prompter|>How many different series and contents are listed in the TV Channel table?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"series_name","aggregation":"count"},{"actionType":"ChangeAggregations","column":"content","aggregation":"count"}]}}<|endoftext|><|prompter|>What is the content of TV Channel with serial name "Sky Radio"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"series_name","operation":"=","value":"'Sky Radio'"}]}}<|endoftext|><|prompter|>What is the content of the series Sky Radio?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"series_name","operation":"=","value":"'Sky Radio'"}]}}<|endoftext|><|prompter|>What is the Package Option of TV Channel with serial name "Sky Radio"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"series_name","operation":"=","value":"'Sky Radio'"}]}}<|endoftext|><|prompter|>What are the Package Options of the TV Channels whose series names are Sky Radio?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"series_name","operation":"=","value":"'Sky Radio'"}]}}<|endoftext|><|prompter|>How many TV Channel using language English?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"LANGUAGE","operation":"=","value":"'English'"}]}}<|endoftext|><|prompter|>How many TV Channels use the English language?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"LANGUAGE","operation":"=","value":"'English'"}]}}<|endoftext|><|prompter|>List each language and the number of TV Channels using it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"LANGUAGE"}]}}<|endoftext|><|prompter|>For each language, list the number of TV Channels that use it.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"LANGUAGE"}]}}<|endoftext|><|prompter|>Find the package choice and series name of the TV channel that has high definition TV.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"hight_definition_TV","operation":"=","value":"'yes'"}]}}<|endoftext|><|prompter|>What are the package options and the name of the series for the TV Channel that supports high definition TV?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"hight_definition_TV","operation":"=","value":"'yes'"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["customer_id","customer_address_id","customer_status_code","date_became_customer","date_of_birth","first_name","last_name","amount_outstanding","email_address","phone_number","cell_mobile_phone_number"],"name":"Customers","type":"grid"}]<|endoftext|><|prompter|>List email address and birthday of customer whose first name as Carole.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Carole'"}]}}<|endoftext|><|prompter|>What are the email addresses and date of births for all customers who have a first name of Carole?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Carole'"}]}}<|endoftext|><|prompter|>List phone number and email address of customer with more than 2000 outstanding balance.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"amount_outstanding","operation":">","value":2000}]}}<|endoftext|><|prompter|>What are the phone numbers and email addresses of all customers who have an outstanding balance of more than 2000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"amount_outstanding","operation":">","value":2000}]}}<|endoftext|><|prompter|>When are the birthdays of customer who are classified as 'Good Customer' status?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"customer_status_code","operation":"=","value":"Good Customer"}]}}<|endoftext|><|prompter|>What is the date of birth of every customer whose status code is 'Good Customer'?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"customer_status_code","operation":"=","value":"Good Customer"}]}}<|endoftext|><|prompter|>When did customer with first name as Carole and last name as Bernhard became a customer?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Carole'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Bernhard'"}]}}<|endoftext|><|prompter|>When did Carole Bernhard first become a customer?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Carole'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Bernhard'"}]}}<|endoftext|><|prompter|>List customer status codes and their corresponding customer counts.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"customer_status_code"}]}}<|endoftext|><|prompter|>For each customer status code, how many customers are classified that way?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"customer_status_code"}]}}<|endoftext|><|prompter|>List the first name and last name of customers have the amount of outstanding between 1000 and 3000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"amount_outstanding","operation":">=","value":1000},{"actionType":"ChangeCondition","column":"amount_outstanding","operation":"<=","value":3000}]}}<|endoftext|><|prompter|>What are the first and last names of all customers with between 1000 and 3000 dollars outstanding?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"amount_outstanding","operation":">=","value":1000},{"actionType":"ChangeCondition","column":"amount_outstanding","operation":"<=","value":3000}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["customer_id","customer_address_id","customer_status_code","date_became_customer","date_of_birth","first_name","last_name","amount_outstanding","email_address","phone_number","cell_mobile_phone_number"],"name":"Customers","type":"grid"}]<|endoftext|><|prompter|>List email address and birthday of customer whose first name as Carole.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Carole'"}]}}<|endoftext|><|prompter|>What are the email addresses and date of births for all customers who have a first name of Carole?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Carole'"}]}}<|endoftext|><|prompter|>List phone number and email address of customer with more than 2000 outstanding balance.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"amount_outstanding","operation":">","value":2000}]}}<|endoftext|><|prompter|>What are the phone numbers and email addresses of all customers who have an outstanding balance of more than 2000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"amount_outstanding","operation":">","value":2000}]}}<|endoftext|><|prompter|>When are the birthdays of customer who are classified as 'Good Customer' status?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"customer_status_code","operation":"=","value":"Good Customer"}]}}<|endoftext|><|prompter|>What is the date of birth of every customer whose status code is 'Good Customer'?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"customer_status_code","operation":"=","value":"Good Customer"}]}}<|endoftext|><|prompter|>When did customer with first name as Carole and last name as Bernhard became a customer?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Carole'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Bernhard'"}]}}<|endoftext|><|prompter|>When did Carole Bernhard first become a customer?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Carole'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Bernhard'"}]}}<|endoftext|><|prompter|>List all customer status codes and the number of customers with each status code.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"customer_status_code"}]}}<|endoftext|><|prompter|>For each customer status code, how many customers are classified that way?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"customer_status_code"}]}}<|endoftext|><|prompter|>List the first name and last name of customers have the amount of outstanding between 1000 and 3000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"amount_outstanding","operation":">=","value":1000},{"actionType":"ChangeCondition","column":"amount_outstanding","operation":"<=","value":3000}]}}<|endoftext|><|prompter|>What are the first and last names of all customers with between 1000 and 3000 dollars outstanding?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"amount_outstanding","operation":">=","value":1000},{"actionType":"ChangeCondition","column":"amount_outstanding","operation":"<=","value":3000}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["customer_id","customer_address_id","customer_status_code","date_became_customer","date_of_birth","first_name","last_name","amount_outstanding","email_address","phone_number","cell_mobile_phone_number"],"name":"Customers","type":"grid"}]<|endoftext|><|prompter|>List email address and birthday of customer whose first name as Carole.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Carole'"}]}}<|endoftext|><|prompter|>What are the email addresses and date of births for all customers who have a first name of Carole?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Carole'"}]}}<|endoftext|><|prompter|>List phone number and email address of customer with more than 2000 outstanding balance.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"amount_outstanding","operation":">","value":2000}]}}<|endoftext|><|prompter|>What are the phone numbers and email addresses of all customers who have an outstanding balance of more than 2000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"amount_outstanding","operation":">","value":2000}]}}<|endoftext|><|prompter|>When are the birthdays of customer who are classified as 'Good Customer' status?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"customer_status_code","operation":"=","value":"Good Customer"}]}}<|endoftext|><|prompter|>What is the date of birth of every customer whose status code is 'Good Customer'?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"customer_status_code","operation":"=","value":"Good Customer"}]}}<|endoftext|><|prompter|>When did customer with first name as Carole and last name as Bernhard became a customer?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Carole'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Bernhard'"}]}}<|endoftext|><|prompter|>When did Carole Bernhard first become a customer?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Carole'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Bernhard'"}]}}<|endoftext|><|prompter|>List all customer status codes and the number of customers having each status code.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"customer_status_code"}]}}<|endoftext|><|prompter|>Calculate the number of customers per customer status code.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"customer_status_code"}]}}<|endoftext|><|prompter|>List the first name and last name of customers have the amount of outstanding between 1000 and 3000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"amount_outstanding","operation":">=","value":1000},{"actionType":"ChangeCondition","column":"amount_outstanding","operation":"<=","value":3000}]}}<|endoftext|><|prompter|>What are the first and last names of all customers with between 1000 and 3000 dollars outstanding?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"amount_outstanding","operation":">=","value":1000},{"actionType":"ChangeCondition","column":"amount_outstanding","operation":"<=","value":3000}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["customer_id","customer_address_id","customer_status_code","date_became_customer","date_of_birth","first_name","last_name","amount_outstanding","email_address","phone_number","cell_mobile_phone_number"],"name":"Customers","type":"grid"}]<|endoftext|><|prompter|>List email address and birthday of customer whose first name as Carole.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Carole'"}]}}<|endoftext|><|prompter|>What are the email addresses and date of births for all customers who have a first name of Carole?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Carole'"}]}}<|endoftext|><|prompter|>List phone number and email address of customer with more than 2000 outstanding balance.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"amount_outstanding","operation":">","value":2000}]}}<|endoftext|><|prompter|>What are the phone numbers and email addresses of all customers who have an outstanding balance of more than 2000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"amount_outstanding","operation":">","value":2000}]}}<|endoftext|><|prompter|>When are the birthdays of customer who are classified as 'Good Customer' status?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"customer_status_code","operation":"=","value":"Good Customer"}]}}<|endoftext|><|prompter|>What is the date of birth of every customer whose status code is 'Good Customer'?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"customer_status_code","operation":"=","value":"Good Customer"}]}}<|endoftext|><|prompter|>When did customer with first name as Carole and last name as Bernhard became a customer?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Carole'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Bernhard'"}]}}<|endoftext|><|prompter|>When did Carole Bernhard first become a customer?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Carole'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Bernhard'"}]}}<|endoftext|><|prompter|>List all customer status codes and the number of customers having each status code.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"customer_status_code"}]}}<|endoftext|><|prompter|>How many customers are classified under each customer status code?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"customer_status_code"}]}}<|endoftext|><|prompter|>List the first name and last name of customers have the amount of outstanding between 1000 and 3000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"amount_outstanding","operation":">=","value":1000},{"actionType":"ChangeCondition","column":"amount_outstanding","operation":"<=","value":3000}]}}<|endoftext|><|prompter|>What are the first and last names of all customers with between 1000 and 3000 dollars outstanding?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"amount_outstanding","operation":">=","value":1000},{"actionType":"ChangeCondition","column":"amount_outstanding","operation":"<=","value":3000}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["customer_id","customer_address_id","customer_status_code","date_became_customer","date_of_birth","first_name","last_name","amount_outstanding","email_address","phone_number","cell_mobile_phone_number"],"name":"Customers","type":"grid"}]<|endoftext|><|prompter|>List email address and birthday of customer whose first name as Carole.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Carole'"}]}}<|endoftext|><|prompter|>What are the email addresses and date of births for all customers who have a first name of Carole?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Carole'"}]}}<|endoftext|><|prompter|>List phone number and email address of customer with more than 2000 outstanding balance.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"amount_outstanding","operation":">","value":2000}]}}<|endoftext|><|prompter|>What are the phone numbers and email addresses of all customers who have an outstanding balance of more than 2000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"amount_outstanding","operation":">","value":2000}]}}<|endoftext|><|prompter|>When are the birthdays of customer who are classified as 'Good Customer' status?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"customer_status_code","operation":"=","value":"Good Customer"}]}}<|endoftext|><|prompter|>What is the date of birth of every customer whose status code is 'Good Customer'?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"customer_status_code","operation":"=","value":"Good Customer"}]}}<|endoftext|><|prompter|>When did customer with first name as Carole and last name as Bernhard became a customer?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Carole'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Bernhard'"}]}}<|endoftext|><|prompter|>When did Carole Bernhard first become a customer?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Carole'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Bernhard'"}]}}<|endoftext|><|prompter|>List all customer status codes and the number of customers having each status code.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"customer_status_code"}]}}<|endoftext|><|prompter|>For each customer status code, how many customers are classified that way?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"customer_status_code"}]}}<|endoftext|><|prompter|>List the first name and last name of customers have the amount of outstanding between 1000 and 3000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"amount_outstanding","operation":">=","value":1000},{"actionType":"ChangeCondition","column":"amount_outstanding","operation":"<=","value":3000}]}}<|endoftext|><|prompter|>What are the first and last names of all customers with between 1000 and 3000 dollars outstanding?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"amount_outstanding","operation":">=","value":1000},{"actionType":"ChangeCondition","column":"amount_outstanding","operation":"<=","value":3000}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["People_ID","Sex","Name","Date_of_Birth","Height","Weight"],"name":"people","type":"grid"}]<|endoftext|><|prompter|>What are the current average age of all males<|endoftext|><|assistant|>{"text":"I do not have information about age in the table.","dsl":{}}<|endoftext|><|prompter|>what is the current height of Hubert Henno<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Name","operation":"=","value":"Hubert Henno"}]}}<|endoftext|><|prompter|>How many male sex are there<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>which of the male has he highest weight<|endoftext|><|assistant|>{"text":"Would you like to know the name of the person who has the highest weight among sex M?","dsl":{}}<|endoftext|><|prompter|>yes of course<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"M"},{"actionType":"ChangeTopFilter","column":"Height","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What about the male with the highest height<|endoftext|><|assistant|>
COSQL
<|context|>[{"columns":["Roller_Coaster_ID","Name","Park","Country_ID","Length","Height","Speed","Opened","Status"],"name":"roller_coaster","type":"grid"}]<|endoftext|><|prompter|>List the names of roller coasters by ascending order of length.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"LENGTH","direction":"ask"}]}}<|endoftext|><|prompter|>What are the speeds of the longest roller coaster?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"LENGTH","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the average speed of roller coasters?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Speed","aggregation":"avg"}]}}<|endoftext|><|prompter|>Display various statuses and the count of roller coasters with each status.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Status"}]}}<|endoftext|><|prompter|>Show the park of the roller coaster with the highest speed.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Speed","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Roller_Coaster_ID","Name","Park","Country_ID","Length","Height","Speed","Opened","Status"],"name":"roller_coaster","type":"grid"}]<|endoftext|><|prompter|>List the names of roller coasters by ascending order of length.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"LENGTH","direction":"ask"}]}}<|endoftext|><|prompter|>What are the speeds of the longest roller coaster?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"LENGTH","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the average speed of roller coasters?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Speed","aggregation":"avg"}]}}<|endoftext|><|prompter|>Display the number of roller coasters for each status category.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Status"}]}}<|endoftext|><|prompter|>Show the park of the roller coaster with the highest speed.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Speed","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Roller_Coaster_ID","Name","Park","Country_ID","Length","Height","Speed","Opened","Status"],"name":"roller_coaster","type":"grid"}]<|endoftext|><|prompter|>List the names of roller coasters by ascending order of length.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"LENGTH","direction":"ask"}]}}<|endoftext|><|prompter|>What are the speeds of the longest roller coaster?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"LENGTH","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the average speed of roller coasters?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Speed","aggregation":"avg"}]}}<|endoftext|><|prompter|>Show the different statuses and the numbers of roller coasters for each status.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Status"}]}}<|endoftext|><|prompter|>Show the park of the roller coaster with the highest speed.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Speed","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Singer_ID","Name","Country","Song_Name","Song_release_year","Age","Is_male"],"name":"singer","type":"grid"}]<|endoftext|><|prompter|>what is the age of Joe sharp <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'Joe Sharp'"}]}}<|endoftext|><|prompter|>How many US Singers? <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"=","value":"'United States'"}]}}<|endoftext|><|prompter|>How many Male Singers?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Is_male","operation":"=","value":"'True'"}]}}<|endoftext|><|prompter|>Thank! for your kind reply .<|endoftext|><|assistant|>{"text":"thanks. good bye.","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["Artist_ID","Name","Country","Year_Join","Age"],"name":"artist","type":"grid"}]<|endoftext|><|prompter|>Show all artist name, age, and country ordered by the yeared they joined.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Year_Join","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names, ages, and countries of artists, sorted by the year they joined?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Year_Join","direction":"ask"}]}}<|endoftext|><|prompter|>Show all artist names and the year joined who are not from United States.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"!=","value":"United States"}]}}<|endoftext|><|prompter|>What are the names and year of joining for artists that do not have the country "United States"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"!=","value":"United States"}]}}<|endoftext|><|prompter|>How many artists are above age 46 and joined after 1990?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":">","value":46},{"actionType":"ChangeCondition","column":"year_join","operation":">","value":1990}]}}<|endoftext|><|prompter|>Count the number of artists who are older than 46 and joined after 1990.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":">","value":46},{"actionType":"ChangeCondition","column":"year_join","operation":">","value":1990}]}}<|endoftext|><|prompter|>What is the name of the artist who joined latest?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"year_join","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Return the name of the artist who has the latest join year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"year_join","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Company_ID","Name","Headquarters","Industry","Sales_in_Billion","Profits_in_Billion","Assets_in_Billion","Market_Value_in_Billion"],"name":"company","type":"grid"}]<|endoftext|><|prompter|>How many companies are headquartered in the US?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Headquarters","operation":"=","value":"USA"}]}}<|endoftext|><|prompter|>List the names of companies by ascending number of sales.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Sales_in_Billion","direction":"ask"}]}}<|endoftext|><|prompter|>What is the headquarter of the company with the largest sales?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Sales_in_Billion","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Present distinct headquarters along with the company count at each headquarter.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Headquarters"}]}}<|endoftext|><|prompter|>list the names of the companies with more than 200 sales in the descending order of sales and profits.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sales_in_Billion","operation":">","value":200},{"actionType":"ChangeSorting","column":"Sales_in_Billion","direction":"ask"},{"actionType":"ChangeSorting","column":"Profits_in_Billion","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Company_ID","Name","Headquarters","Industry","Sales_in_Billion","Profits_in_Billion","Assets_in_Billion","Market_Value_in_Billion"],"name":"company","type":"grid"}]<|endoftext|><|prompter|>How many companies are headquartered in the US?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Headquarters","operation":"=","value":"USA"}]}}<|endoftext|><|prompter|>List the names of companies by ascending number of sales.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Sales_in_Billion","direction":"ask"}]}}<|endoftext|><|prompter|>What is the headquarter of the company with the largest sales?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Sales_in_Billion","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Display the different headquarters and the number of companies at each headquarter.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Headquarters"}]}}<|endoftext|><|prompter|>list the names of the companies with more than 200 sales in the descending order of sales and profits.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sales_in_Billion","operation":">","value":200},{"actionType":"ChangeSorting","column":"Sales_in_Billion","direction":"ask"},{"actionType":"ChangeSorting","column":"Profits_in_Billion","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Company_ID","Name","Headquarters","Industry","Sales_in_Billion","Profits_in_Billion","Assets_in_Billion","Market_Value_in_Billion"],"name":"company","type":"grid"}]<|endoftext|><|prompter|>How many companies are headquartered in the US?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Headquarters","operation":"=","value":"USA"}]}}<|endoftext|><|prompter|>List the names of companies by ascending number of sales.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Sales_in_Billion","direction":"ask"}]}}<|endoftext|><|prompter|>What is the headquarter of the company with the largest sales?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Sales_in_Billion","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Show the different headquarters and number of companies at each headquarter.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Headquarters"}]}}<|endoftext|><|prompter|>list the names of the companies with more than 200 sales in the descending order of sales and profits.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sales_in_Billion","operation":">","value":200},{"actionType":"ChangeSorting","column":"Sales_in_Billion","direction":"ask"},{"actionType":"ChangeSorting","column":"Profits_in_Billion","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Party_ID","Year","Party","Governor","Lieutenant_Governor","Comptroller","Attorney_General","US_Senate"],"name":"party","type":"grid"}]<|endoftext|><|prompter|>How many distinct governors are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Governor","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of distinct governors.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Governor","aggregation":"count"}]}}<|endoftext|><|prompter|>Show the lieutenant governor and comptroller from the democratic party.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Party","operation":"=","value":"'Democratic'"}]}}<|endoftext|><|prompter|>Who are the lieutenant governor and comptroller from the democratic party?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Party","operation":"=","value":"'Democratic'"}]}}<|endoftext|><|prompter|>In which distinct years was the governor "Eliot Spitzer"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Governor","operation":"=","value":"'Eliot Spitzer'"}]}}<|endoftext|><|prompter|>Find the distinct years when the governor was named "Eliot Spitzer".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Governor","operation":"=","value":"'Eliot Spitzer'"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["charge_id","charge_type","charge_amount"],"name":"Charges","type":"grid"}]<|endoftext|><|prompter|>How much does the most expensive charge type costs?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"charge_amount","aggregation":"max"}]}}<|endoftext|><|prompter|>What is the charge amount of the most expensive charge type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"charge_amount","aggregation":"max"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Member_ID","Card_Number","Name","Hometown","Level"],"name":"member","type":"grid"}]<|endoftext|><|prompter|>How many different levels do members have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"LEVEL","aggregation":"count"}]}}<|endoftext|><|prompter|>What are the different membership levels?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"LEVEL","aggregation":"count"}]}}<|endoftext|><|prompter|>Show card number, name, and hometown for all members in a descending order of level.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"LEVEL","direction":"desk"}]}}<|endoftext|><|prompter|>What are the card numbers, names, and hometowns of every member ordered by descending level?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"LEVEL","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["document_id","document_status_code","document_type_code","shipping_agent_code","receipt_date","receipt_number","other_details"],"name":"Documents","type":"grid"}]<|endoftext|><|prompter|>How many documents have the status code done?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_status_code","operation":"=","value":"'done'"}]}}<|endoftext|><|prompter|>List the document type code for the document with the id 2.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_id","operation":"=","value":2}]}}<|endoftext|><|prompter|>List the document ids for any documents with the status code done and the type code paper.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_status_code","operation":"=","value":"'done'"},{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'Paper'"}]}}<|endoftext|><|prompter|>What is the receipt date of the document with id 3?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_id","operation":"=","value":3}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Track_ID","Name","Location","Seating","Year_Opened"],"name":"track","type":"grid"}]<|endoftext|><|prompter|>Can you show me all tracks which were opened after 2000?<|endoftext|><|assistant|>{"text":"Do you mean the names of all the tracks which were opened after 2000?","dsl":{}}<|endoftext|><|prompter|>Yes.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"year_opened","operation":">","value":2000}]}}<|endoftext|><|prompter|>Hmm, I want to know the seatings for all the tracks opened after 2000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"year_opened","operation":">","value":2000}]}}<|endoftext|><|prompter|>Please list the names and seatings for all the tracks opened after 2000, ordered by seating.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"year_opened","operation":">","value":2000},{"actionType":"ChangeSorting","column":"seating","direction":"ask"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"You are welcome.","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["Publication_ID","Book_ID","Publisher","Publication_Date","Price"],"name":"publication","type":"grid"}]<|endoftext|><|prompter|>What are the prices of the 3 lowest publications?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Price","limit":3,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>And who are the publishers of the 3 lowest priced publications?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Price","limit":3,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the publication dates of the 3 lowest priced publications?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Price","limit":3,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Bye!","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["grant_id","organisation_id","grant_amount","grant_start_date","grant_end_date","other_details"],"name":"grants","type":"grid"}]<|endoftext|><|prompter|>What is the organisation ID of the organisation with grant amount of 4094.542??<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grant_amount","operation":"=","value":4094.542}]}}<|endoftext|><|prompter|>What is its grant start date?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grant_amount","operation":"=","value":4094.542}]}}<|endoftext|><|prompter|>What about its end date?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"grant_amount","operation":"=","value":4094.542}]}}<|endoftext|><|prompter|>What is the grant amount of the organisation with the id 14?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"organisation_id","operation":"=","value":14}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Bye!","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["StuID","LName","Fname","Age","Sex","Major","Advisor","city_code"],"name":"student","type":"grid"}]<|endoftext|><|prompter|>Yes<|endoftext|><|assistant|>{"text":"Hello, what is the name of the student with student id 1008?","dsl":{}}<|endoftext|><|prompter|>Hello, what is the name of the student with student id 1008?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"StuID","operation":"=","value":1008}]}}<|endoftext|><|prompter|>What is her major?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"StuID","operation":"=","value":1008}]}}<|endoftext|><|prompter|>Apologies, I meant to ask his/her major; what is the student's sex?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"StuID","operation":"=","value":1008}]}}<|endoftext|><|prompter|>How old is the student with student id 1008?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"StuID","operation":"=","value":1008}]}}<|endoftext|><|prompter|>Does she have an advisor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"StuID","operation":"=","value":1008}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"goodbye.","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["f_id","artist_name","file_size","duration","formats"],"name":"files","type":"grid"}]<|endoftext|><|prompter|>What is the longest duration?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"duration","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the shortest duration?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"duration","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>How many songs have a short duration less than 4 minutes? <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"duration","operation":"<","value":4}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Thank you, good bye. Do you have any more questions? ","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["Exhibition_ID","Year","Theme","Artist_ID","Ticket_Price"],"name":"exhibition","type":"grid"}]<|endoftext|><|prompter|>Show the average ticket prices for exhibitions for all years before 2009?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"ticket_price","aggregation":"avg"},{"actionType":"ChangeCondition","column":"YEAR","operation":"<","value":2009}]}}<|endoftext|><|prompter|>Show minimum ticket prices for exhibitions for all years before 2009?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"ticket_price","aggregation":"min"},{"actionType":"ChangeCondition","column":"YEAR","operation":"<","value":2009}]}}<|endoftext|><|prompter|>Show maximum ticket prices for exhibitions for all years before 2009?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"ticket_price","aggregation":"max"},{"actionType":"ChangeCondition","column":"YEAR","operation":"<","value":2009}]}}<|endoftext|><|prompter|>Show average ticket price for exhibitions for year 2005?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"ticket_price","aggregation":"avg"},{"actionType":"ChangeCondition","column":"YEAR","operation":"=","value":2005}]}}<|endoftext|><|prompter|>Show average ticket price for exhibitions for all years before 2006?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"ticket_price","aggregation":"avg"},{"actionType":"ChangeCondition","column":"YEAR","operation":"<","value":2006}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"bye.","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["student_id","detention_id","incident_id"],"name":"Students_in_Detention","type":"grid"}]<|endoftext|><|prompter|>How many distinct students have been in detention?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"student_id","aggregation":"count"}]}}<|endoftext|>
SPIDER