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.<|endo... | 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.<|endo... | 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.<|endo... | 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.<|endo... | 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 p... | 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_age... | 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... | 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","operati... | 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... | 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... | 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|>Det... | 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... | 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... | 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"}]}}<|endoft... | 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","... | 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_nam... | 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":"Mone... | 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":"Mone... | 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":"Mone... | 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":"Mone... | 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":"Mone... | 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":{"actio... | 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","oper... | 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",... | 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",... | 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",... | 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",... | 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",... | 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":... | 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":... | 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":... | 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":... | 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":... | 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,"aggregat... | 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... | 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|><|p... | 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":"s... | 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}]}}<|en... | 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":... | 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":"av... | 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":"av... | 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":"av... | 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"}]}}<|endofte... | 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?<|en... | 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 studen... | 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 lik... | 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... | 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... | 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,"aggreg... | 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 Ange... | 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"}]}}<|endofte... | 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"}]}}... | 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"... | 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... | 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... | 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... | 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":{}}<|endofte... | 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"... | 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... | 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","colu... | 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","colu... | 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","colu... | 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":[{"a... | 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","o... | 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"}]}}<|endofte... | 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 n... | 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 n... | 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 n... | 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 n... | 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 n... | 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|><|assistan... | 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|><|assistan... | 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|><|assistan... | 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|><|assistan... | 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|><|assistan... | 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... | 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... | 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... | 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... | 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... | 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 cur... | 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","c... | 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","c... | 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","c... | 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'"}]}... | 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"}]}}<|... | 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":... | 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":... | 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":... | 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... | 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|><|pr... | 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... | 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":"Cha... | 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|><|p... | 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":"... | 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":"Chan... | 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... | 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"}]}}<|endoft... | 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",... | 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"}]}}<|end... | SPIDER |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.