text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "thames_coromandel_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real ); Question: What is the total decile with an Area of whiti...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "thames_coromandel_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real ); Question: Which name has an Area of kennedy bay? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "thames_coromandel_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real ); Question: Which years have a Decile larger than 4, and a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "thames_coromandel_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real ); Question: Which Authority has a Decile smaller than 6, a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "thames_coromandel_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real ); Question: Which gender has Years of 1–8, an Authority of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nationwide_tour_wins_5" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text ); Question: What was the tournament that resulted in a winning scor...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nationwide_tour_wins_5" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text ); Question: What was the winning score of the event where Brian Kam...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nationwide_tour_wins_5" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text ); Question: Who was the runner-up for the event that ended with a w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nationwide_tour_wins_5" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text ); Question: On what date was the Nike Colorado Classic held? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nationwide_tour_wins_5" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text ); Question: What was the winning score of the Buy.com Siouxland Ope...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "qualification" ( "rank" real, "gymnast" text, "difficulty_score" text, "routine_score" real, "total" real ); Question: What is the total with lower than rank 8, and higher than 27.6 score and 1...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "participation_and_medals" ( "games" real, "first" real, "last" real, "gold" real, "silver" real, "bronze" real, "total" real, "best_finish_first_last" text ); Question: What is the averag...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_formula_one_results" ( "year" real, "chassis" text, "engine" text, "tyres" text, "points" real ); Question: What is the least Points with Chassis of forti fg01b forti fg03, and a year ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_formula_one_results" ( "year" real, "chassis" text, "engine" text, "tyres" text, "points" real ); Question: What is the lowest year for an engine of ford zetec-r v8, and points greater...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_formula_one_results" ( "year" real, "chassis" text, "engine" text, "tyres" text, "points" real ); Question: What are the average points for an engine of ford zetec-r v8? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "central_hawke_s_bay_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real ); Question: Name the years for elsthorpe school <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "central_hawke_s_bay_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real ); Question: Name the total number of roll for st joseph'...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "central_hawke_s_bay_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real ); Question: Name the years for porangahau school <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "central_hawke_s_bay_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real ); Question: Name the gender for elsthorpe school <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary" ( "season" text, "chassis" text, "engine" text, "tyres" text, "rounds" text, "teams" text, "drivers" text, "champion_points" text, "second_points" text, "third_points" text );...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary" ( "season" text, "chassis" text, "engine" text, "tyres" text, "rounds" text, "teams" text, "drivers" text, "champion_points" text, "second_points" text, "third_points" text );...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary" ( "season" text, "chassis" text, "engine" text, "tyres" text, "rounds" text, "teams" text, "drivers" text, "champion_points" text, "second_points" text, "third_points" text );...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text ); Question: What was the score for the loss of McDowell (12-7)? <|assistant|> SELECT "sc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text ); Question: What was the score for the game with an attendance greater than 33,658 and a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "24_hours_of_le_mans_results" ( "year" real, "team" text, "co_drivers" text, "class" text, "laps" real, "pos" text, "class_pos" text ); Question: What is the total laps for the year 2011? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "24_hours_of_le_mans_results" ( "year" real, "team" text, "co_drivers" text, "class" text, "laps" real, "pos" text, "class_pos" text ); Question: Which team is in 9th place? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_statistics" ( "season" text, "team" text, "country" text, "division" real, "apps" real, "goals" real ); Question: What is the total of the Divison that is from the country Serbia and M...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_statistics" ( "season" text, "team" text, "country" text, "division" real, "apps" real, "goals" real ); Question: What is the total number of goals that the Partizan team from the coun...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "works_team_entries" ( "year" real, "chassis" text, "engine" text, "tyres" text, "pts" text ); Question: What year was the Honda ra168e 1.5 v6 t engine used? <|assistant|> SELECT "year" FROM "wo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "works_team_entries" ( "year" real, "chassis" text, "engine" text, "tyres" text, "pts" text ); Question: What tyres were used with the mp4/14 chassis? <|assistant|> SELECT "tyres" FROM "works_te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "box_office_score_data" ( "venue" text, "city" text, "tickets_sold_available" text, "gross_revenue_1986" text, "gross_revenue_2011" text ); Question: How many tickets were there sold/available i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "box_office_score_data" ( "venue" text, "city" text, "tickets_sold_available" text, "gross_revenue_1986" text, "gross_revenue_2011" text ); Question: How many tickets were sold/available when th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "box_office_score_data" ( "venue" text, "city" text, "tickets_sold_available" text, "gross_revenue_1986" text, "gross_revenue_2011" text ); Question: How many tickets were sold/available when th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "box_office_score_data" ( "venue" text, "city" text, "tickets_sold_available" text, "gross_revenue_1986" text, "gross_revenue_2011" text ); Question: What was the gross revenue (1986) when there...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); Question: What was the score in the 1st leg when Stade d'Abidjan was Team 2? <|assistant|> SELECT "1s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); Question: What was the aggregate score that had Union Douala as Team 1? <|assistant|> SELECT "agg" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); Question: What was the 2nd leg score of the aggregate score of 4-9? <|assistant|> SELECT "2nd_leg" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); Question: Who was Team 2 when Stationery Stores was Team 1? <|assistant|> SELECT "team_2" FROM "secon...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); Question: Which Team 1 has an aggregate score of 1-1 1? <|assistant|> SELECT "team_1" FROM "second_ro...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_european_formula_two_championsh" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: Can you tell me the Chassis that has the Year of 1977? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_european_formula_two_championsh" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: Can you tell me the Entrant that has the Chassis of march 742,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_european_formula_two_championsh" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: Can you tell me the Chassis that has the Entrant of trivellato...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_european_formula_two_championsh" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: Can you tell me the Chassis that has the Points of 13, and the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_rankings" ( "team" text, "country" text, "value_m" real, "debt_as_pctof_value" text, "pct_change_on_year" text, "revenue_m" real, "operating_income_m" real ); Question: What is the low...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_rankings" ( "team" text, "country" text, "value_m" real, "debt_as_pctof_value" text, "pct_change_on_year" text, "revenue_m" real, "operating_income_m" real ); Question: What is the hig...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text ); Question: Which team did they play on September 19? <|assistant|> SELECT "opponent" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "broadcast_translators_of_wmhr" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "height_m_ft" text, "class" text, "fcc_info" text ); Question: What's the FCC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "broadcast_translators_of_wmhr" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "height_m_ft" text, "class" text, "fcc_info" text ); Question: What's the FCC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "broadcast_translators_of_wmhr" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "height_m_ft" text, "class" text, "fcc_info" text ); Question: What's the Cal...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "broadcast_translators_of_wmhr" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "height_m_ft" text, "class" text, "fcc_info" text ); Question: What is listed...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "broadcast_translators_of_wmhr" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "height_m_ft" text, "class" text, "fcc_info" text ); Question: What's the sum...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text ); Question: What was the score of the game played on September 9? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2006_regular_season_football_standings" ( "school" text, "team" text, "division_record" text, "overall_record" text, "season_outcome" text ); Question: Name the overall record for indian river ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" text ); Question: What was E.J. "Dutch" Harrison's lowest To Par? <|assistant|> SELECT MIN("to...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" text ); Question: How much money was won for the game with a score of 74-76-71-71=292? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" text ); Question: What country was the player from with a score of 70-79-74-68=291? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" text ); Question: When To par was less than 2, what was the score? <|assistant|> SELECT "score...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "england_in_south_africa" ( "date" text, "home_captain" text, "away_captain" text, "venue" text, "result" text ); Question: When was the match with a result of sa by 10 wkts? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "england_in_south_africa" ( "date" text, "home_captain" text, "away_captain" text, "venue" text, "result" text ); Question: When was the match with a result of sa by 10 wkts? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "england_in_south_africa" ( "date" text, "home_captain" text, "away_captain" text, "venue" text, "result" text ); Question: When was there a match in Centurion Park? <|assistant|> SELECT "date" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indy_500_results" ( "year" text, "start" text, "qual" text, "rank" text, "finish" text, "laps" real ); Question: Name the finish which has qual of 144.817 <|assistant|> SELECT "finish" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indy_500_results" ( "year" text, "start" text, "qual" text, "rank" text, "finish" text, "laps" real ); Question: Name the qual for rank of 9 <|assistant|> SELECT "qual" FROM "indy_500_results...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indy_500_results" ( "year" text, "start" text, "qual" text, "rank" text, "finish" text, "laps" real ); Question: Name the qual for 1957 <|assistant|> SELECT "qual" FROM "indy_500_results" WHE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "out" ( "name" text, "country" text, "status" text, "transfer_window" text, "transfer_fee" text ); Question: What shows as the status for the name of de la red? <|assistant|> SELECT "status" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "out" ( "name" text, "country" text, "status" text, "transfer_window" text, "transfer_fee" text ); Question: What country has a Transfer fee of —, and a Transfer window of summer, and the Status...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "out" ( "name" text, "country" text, "status" text, "transfer_window" text, "transfer_fee" text ); Question: What shows as the status for Diogo? <|assistant|> SELECT "status" FROM "out" WHERE "n...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "out" ( "name" text, "country" text, "status" text, "transfer_window" text, "transfer_fee" text ); Question: What is the name when the country is ESP and the transfer fee is € 7m? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "out" ( "name" text, "country" text, "status" text, "transfer_window" text, "transfer_fee" text ); Question: What is the transfer window for the country of ESP and the name of de la red? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "out" ( "name" text, "country" text, "status" text, "transfer_window" text, "transfer_fee" text ); Question: What is the transfer fee of Diogo? <|assistant|> SELECT "transfer_fee" FROM "out" WHE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "time" text, "att" real, "record" text ); Question: What was the record at the game that had an attendance over 27,623 a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "time" text, "att" real, "record" text ); Question: What was the lowest attendance at a game that had a loss of lohse (1...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "time" text, "att" real, "record" text ); Question: What was time of the game against the Royals with a record of 81–73?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "previous_winners" ( "year" real, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text ); Question: What is the average year of Maja...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1992_93_ue_lleida_season" ( "round" text, "kick_off" text, "opponents" text, "h_a" text, "result" text, "referee" text ); Question: Which round has a Kick Off of 1992-10-01 21:15? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1992_93_ue_lleida_season" ( "round" text, "kick_off" text, "opponents" text, "h_a" text, "result" text, "referee" text ); Question: Which round has a Kick Off of 1993-02-17 20:30? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "history" ( "frame_size" text, "width" real, "height" real, "mpix" real, "aspect_ratio" text, "maximum_fps" real, "maximum_fps_hd_rx" real, "least_compression_at_24_fps" text, "least_comp...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "history" ( "frame_size" text, "width" real, "height" real, "mpix" real, "aspect_ratio" text, "maximum_fps" real, "maximum_fps_hd_rx" real, "least_compression_at_24_fps" text, "least_comp...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "history" ( "frame_size" text, "width" real, "height" real, "mpix" real, "aspect_ratio" text, "maximum_fps" real, "maximum_fps_hd_rx" real, "least_compression_at_24_fps" text, "least_comp...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "record" text ); Question: Who got the loss on the game that ended in a 52-36 record? <|assistant|> SELECT "loss" FROM "game...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "record" text ); Question: Who got the loss for the game ending in a record of 55-41? <|assistant|> SELECT "loss" FROM "game...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "record" text ); Question: Which team opponent had a loss with their pitcher Dotson (8-6)? <|assistant|> SELECT "opponent" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "romanian_agricultural_research" ( "production_year" text, "2001" real, "2002" real, "2003" real, "2004" real, "2005" real, "2006" real, "2007" real, "2008" real, "2009" real, "2010" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "romanian_agricultural_research" ( "production_year" text, "2001" real, "2002" real, "2003" real, "2004" real, "2005" real, "2006" real, "2007" real, "2008" real, "2009" real, "2010" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "romanian_agricultural_research" ( "production_year" text, "2001" real, "2002" real, "2003" real, "2004" real, "2005" real, "2006" real, "2007" real, "2008" real, "2009" real, "2010" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "romanian_agricultural_research" ( "production_year" text, "2001" real, "2002" real, "2003" real, "2004" real, "2005" real, "2006" real, "2007" real, "2008" real, "2009" real, "2010" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "record" text, "game_center" text, "tv_time" text, "attendance" text ); Question: Name the gamece...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "record" text, "game_center" text, "tv_time" text, "attendance" text ); Question: Name the gamece...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "record" text, "game_center" text, "tv_time" text, "attendance" text ); Question: Name the tv tim...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "250cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real ); Question: what is the smallest number of laps imre toth has? <|assistant|> SELECT MIN...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "250cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real ); Question: what is the smallest number of laps marco simoncelli has with grid less tha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "india_in_australia" ( "date" text, "home_captain" text, "away_captain" text, "venue" text, "result" text ); Question: Who was the away captain at Brisbane Cricket Ground? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "india_in_australia" ( "date" text, "home_captain" text, "away_captain" text, "venue" text, "result" text ); Question: Who was the home captain at Sydney Cricket Ground? <|assistant|> SELECT "ho...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "india_in_australia" ( "date" text, "home_captain" text, "away_captain" text, "venue" text, "result" text ); Question: On what date was the venue at Brisbane Cricket Ground? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "india_in_australia" ( "date" text, "home_captain" text, "away_captain" text, "venue" text, "result" text ); Question: Who was the away captain at Waca Ground? <|assistant|> SELECT "away_captain...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "india_in_australia" ( "date" text, "home_captain" text, "away_captain" text, "venue" text, "result" text ); Question: On what date was the venue at Brisbane Cricket Ground? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text ); Question: What was the score for the game on June 30? <|assistant|> SELECT "score" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cd_releases" ( "catalog_num" text, "title" text, "year" text, "composer" text, "released" real ); Question: What CD has a catalog # of PCR 502? <|assistant|> SELECT "title" FROM "cd_releases" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cd_releases" ( "catalog_num" text, "title" text, "year" text, "composer" text, "released" real ); Question: What CD was released in 2009? <|assistant|> SELECT "title" FROM "cd_releases" WHERE "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "year_by_year" ( "year" real, "division" real, "league" text, "regular_season" text, "playoffs" text, "open_cup" text ); Question: What is the highest Division when the playoffs were the quart...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "year_by_year" ( "year" real, "division" real, "league" text, "regular_season" text, "playoffs" text, "open_cup" text ); Question: What is the year when they did not qualify for the playoff an...