text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "champions" ( "season" text, "team" text, "racing_team" text, "chassis" text, "engine" text, "tyres" text, "drivers" text, "wins" text, "sprints_wins" text, "main_wins" text, "poles" ...
<|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: Question does not make sense since there was no record of 88-74 <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "individual" ( "date" text, "country" text, "name" text, "award" text, "notes" text ); Question: What is the award type for all Lowe awards? <|assistant|> SELECT "award" FROM "individual" WHERE ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_world_championship_formula_one_" ( "year" real, "chassis" text, "engine_s" text, "tyres" text, "points" text ); Question: Which engine(s) has a year of 1966, and a point of 42. <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pre_season" ( "match" real, "date" text, "competition_or_tour" text, "ground" text, "opponent" text, "score1" text ); Question: What was the score against hapoel tel aviv? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pre_season" ( "match" real, "date" text, "competition_or_tour" text, "ground" text, "opponent" text, "score1" text ); Question: What day did they play cambridge united? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pre_season" ( "match" real, "date" text, "competition_or_tour" text, "ground" text, "opponent" text, "score1" text ); Question: Where was match 8 played? <|assistant|> SELECT "ground" FROM "p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "coaches" ( "name_b" text, "term_c" text, "games" real, "winpct" real, "p_winpct" text ); Question: What is the name of the person with a PWin% of .696? <|assistant|> SELECT "name_b" FROM "coach...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "coaches" ( "name_b" text, "term_c" text, "games" real, "winpct" real, "p_winpct" text ); Question: What is the sum of the game with a PWin% of —, Term [c] of 1987–1988, and Win% less than 0.506...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "coaches" ( "name_b" text, "term_c" text, "games" real, "winpct" real, "p_winpct" text ); Question: What is the win% for the game 80 and a PWin% of —, and a Term [c ] of 1987–1988? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "coaches" ( "name_b" text, "term_c" text, "games" real, "winpct" real, "p_winpct" text ); Question: What is the of games when for the term [c] of 1969 – 1973? <|assistant|> SELECT SUM("games") F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "under_u_s_jurisdiction_territorial" ( "name" text, "date_of_execution" text, "crime" text, "method" text, "race" text ); Question: What was the method of execution on September 24, 1830? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "under_u_s_jurisdiction_territorial" ( "name" text, "date_of_execution" text, "crime" text, "method" text, "race" text ); Question: How was the native american, Wau-Bau-Ne-Me-Mee, executed? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "under_u_s_jurisdiction_territorial" ( "name" text, "date_of_execution" text, "crime" text, "method" text, "race" text ); Question: What was the race of the person executed on December 27, 1827?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "under_u_s_jurisdiction_territorial" ( "name" text, "date_of_execution" text, "crime" text, "method" text, "race" text ); Question: In what way was Kewaubis executed on December 27, 1827? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "under_u_s_jurisdiction_territorial" ( "name" text, "date_of_execution" text, "crime" text, "method" text, "race" text ); Question: How was the native american executed in July 1836? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "head_to_head_records_against_other_count" ( "games" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_differential" text ); Question: How many dr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "250_million_or_more_records" ( "artist" text, "country_of_origin" text, "period_active" text, "release_year_of_first_charted_record" real, "genre" text, "claimed_sales" text ); Question: What...
<|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: On what date was the Loss by Flanagan (6-7)? <|assistant|> SELECT "date" FROM "game_log" WHERE "l...
<|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: During which loss was the record 48-50? <|assistant|> SELECT "loss" FROM "game_log" WHERE "record...
<|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: What was the score that made the record 47-49? <|assistant|> SELECT "score" FROM "game_log" WHERE...
<|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 was the Opponent on July 29? <|assistant|> SELECT "opponent" FROM "game_log" WHERE "date"='ju...
<|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: What was the record during the loss by key (7-11)? <|assistant|> SELECT "record" FROM "game_log" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_preserved_rm_bs" ( "lot_no" real, "diagram" real, "built" text, "builder" text, "fleet_numbers" text ); Question: What is the total diagram for builder york? <|assistant|> SELECT SUM("d...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_preserved_rm_bs" ( "lot_no" real, "diagram" real, "built" text, "builder" text, "fleet_numbers" text ); Question: What fleet numbers have a diagram less than 99 and built in 1960? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_preserved_rm_bs" ( "lot_no" real, "diagram" real, "built" text, "builder" text, "fleet_numbers" text ); Question: What diagram built in 1962 has a lot number smaller than 30702? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_preserved_rm_bs" ( "lot_no" real, "diagram" real, "built" text, "builder" text, "fleet_numbers" text ); Question: What builder has lot number 30702? <|assistant|> SELECT "builder" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "works" ( "year" real, "name" text, "genre" text, "status" text, "post" text ); Question: Which Genre has a Year before 2013, and a Name of kikumana? <|assistant|> SELECT "genre" FROM "works" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "works" ( "year" real, "name" text, "genre" text, "status" text, "post" text ); Question: In what year has a Post of designer? <|assistant|> SELECT SUM("year") FROM "works" WHERE "post"='designe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: Who is listed as the Visitor that has a Home of Boston Bruins and a Date of November 15? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: Which Visitor is listed as having a Date of December 17? <|assistant|> SELECT "visitor" FROM "game...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: What's the Score with the Visitor of Montreal Maroons and has a Date of December 28? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: What's the attendance of the san diego chargers game before week 6? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary" ( "tournament" text, "wins" real, "top_25" real, "events" real, "cuts_made" real ); Question: How many wins have a Top-25 of 1, Less than 2 cuts, and fewer than 5 events? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary" ( "tournament" text, "wins" real, "top_25" real, "events" real, "cuts_made" real ); Question: How many events have a Top-25 of 1 and made less than 1 cut? <|assistant|> SELECT MAX("eve...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary" ( "tournament" text, "wins" real, "top_25" real, "events" real, "cuts_made" real ); Question: During the PGA Championship, what's the lowest amount of events with wins greater than 0? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary" ( "tournament" text, "wins" real, "top_25" real, "events" real, "cuts_made" real ); Question: What's the lowest number of cuts made while the win was less than 0? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "reactor_data" ( "unit" text, "reactortype" text, "net_capacity" text, "gross_capacity" text, "construction_started" text, "electricity_grid" text, "commercial_operation" text, "shutdown" t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "reactor_data" ( "unit" text, "reactortype" text, "net_capacity" text, "gross_capacity" text, "construction_started" text, "electricity_grid" text, "commercial_operation" text, "shutdown" t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "reactor_data" ( "unit" text, "reactortype" text, "net_capacity" text, "gross_capacity" text, "construction_started" text, "electricity_grid" text, "commercial_operation" text, "shutdown" t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "reactor_data" ( "unit" text, "reactortype" text, "net_capacity" text, "gross_capacity" text, "construction_started" text, "electricity_grid" text, "commercial_operation" text, "shutdown" t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "reactor_data" ( "unit" text, "reactortype" text, "net_capacity" text, "gross_capacity" text, "construction_started" text, "electricity_grid" text, "commercial_operation" text, "shutdown" t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "squad_information" ( "nat" text, "name" text, "since" real, "app_gs_sub" text, "goals" real, "transfer_fee" text ); Question: Tell what has the App(GS/Sub) of 14 (8/6) <|assistant|> SELECT "n...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "squad_information" ( "nat" text, "name" text, "since" real, "app_gs_sub" text, "goals" real, "transfer_fee" text ); Question: Name the goals with since less than 2007 and App(GS/Sub) of 97 (6...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "hit_n_run_shows" ( "date" text, "city" text, "country" text, "venue" text, "attendance" text ); Question: When is Cadott Rock Fest taken place? <|assistant|> SELECT "date" FROM "hit_n_run_show...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "hit_n_run_shows" ( "date" text, "city" text, "country" text, "venue" text, "attendance" text ); Question: Which City has mandalay bay resort <|assistant|> SELECT "city" FROM "hit_n_run_shows" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "hit_n_run_shows" ( "date" text, "city" text, "country" text, "venue" text, "attendance" text ); Question: Which City has a Date on october 26, 2007 <|assistant|> SELECT "city" FROM "hit_n_run_s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "hit_n_run_shows" ( "date" text, "city" text, "country" text, "venue" text, "attendance" text ); Question: Which Attendance has Mandalay Bay Resort <|assistant|> SELECT "attendance" FROM "hit_n_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "hit_n_run_shows" ( "date" text, "city" text, "country" text, "venue" text, "attendance" text ); Question: When is Country of united states, and a Venue of mandalay bay resort in? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "hit_n_run_shows" ( "date" text, "city" text, "country" text, "venue" text, "attendance" text ); Question: When has a City of san jacinto, california? <|assistant|> SELECT "date" FROM "hit_n_run...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_world_championship_grand_prix_r" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: Which Chassis has more than 0 points, an Entrant of Scuderia F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_world_championship_grand_prix_r" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: Which Entrant has a vanwall straight-4 engine? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalogue" text ); Question: Which region has a date of 1970? <|assistant|> SELECT "region" FROM "release_history" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalogue" text ); Question: Which label has a date of 1987? <|assistant|> SELECT "label" FROM "release_history" WHE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalogue" text ); Question: Which catalogue has a formate of "CD Remastered with 3 bonus tracks"? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalogue" text ); Question: Which catalogue has a date of 1987? <|assistant|> SELECT "catalogue" FROM "release_hist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "performances" ( "season" real, "host" text, "winners" text, "score" text, "runners_up" text, "third_place" text ); Question: What is the latest season where Al Ahly is the runners-up? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "performances" ( "season" real, "host" text, "winners" text, "score" text, "runners_up" text, "third_place" text ); Question: What is the season where Vasco da gama is the score? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "performances" ( "season" real, "host" text, "winners" text, "score" text, "runners_up" text, "third_place" text ); Question: Who is the winner in 2010? <|assistant|> SELECT "winners" FROM "pe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "performances" ( "season" real, "host" text, "winners" text, "score" text, "runners_up" text, "third_place" text ); Question: Who is the winner in 2011? <|assistant|> SELECT "winners" FROM "pe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "performances" ( "season" real, "host" text, "winners" text, "score" text, "runners_up" text, "third_place" text ); Question: What was the third place of the performance in 2006 with the host ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "uefa_cup_winners_cup" ( "season" text, "competition" text, "round" text, "club" text, "home" text, "away" text, "aggregate" text ); Question: Which round did Dundee United end in? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "olympic_games" ( "event" text, "individual" text, "sprint" text, "pursuit" text, "mass_start" text, "relay" text ); Question: Name the event with pursuit of 18th and sprint of 20th <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "olympic_games" ( "event" text, "individual" text, "sprint" text, "pursuit" text, "mass_start" text, "relay" text ); Question: Name the pursuit for 1994 lillehammer <|assistant|> SELECT "pursu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "olympic_games" ( "event" text, "individual" text, "sprint" text, "pursuit" text, "mass_start" text, "relay" text ); Question: Name the sprint with mass start of 2nd <|assistant|> SELECT "spri...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1990s" ( "year" real, "english_title" text, "original_title" text, "country" text, "director_s" text ); Question: What country had a film in 1993? <|assistant|> SELECT "country" FROM "1990s" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: Where was Extreme Challenge 6...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: How many total rounds were th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: In the round that lasted 0:20...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_poker_tour" ( "date" text, "city" text, "event" text, "winner" text, "prize" text ); Question: In what City was the Ept Baden Classic? <|assistant|> SELECT "city" FROM "european_poker_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_poker_tour" ( "date" text, "city" text, "event" text, "winner" text, "prize" text ); Question: What Event has a Prize of €869,000? <|assistant|> SELECT "event" FROM "european_poker_tou...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_poker_tour" ( "date" text, "city" text, "event" text, "winner" text, "prize" text ); Question: What Winner had a Prize of zł2,153,999? <|assistant|> SELECT "winner" FROM "european_poke...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "queenstown_lakes_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real ); Question: How many decile has a roll less than 20? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "queenstown_lakes_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real ); Question: Which gender had a roll of 627? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "queenstown_lakes_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real ); Question: Glenorchy school has a decile less than 10 and ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "queenstown_lakes_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real ); Question: Makarora primary school has a roll less than 14...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "uefa_champions_league" ( "season" text, "competition" text, "round" text, "club" text, "home" text, "away" text, "aggregate" text ); Question: In what season did the Sporting CP Club have a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "uefa_champions_league" ( "season" text, "competition" text, "round" text, "club" text, "home" text, "away" text, "aggregate" text ); Question: The Club of Ekranas was an away with a score o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "semifinal_1" ( "rank" real, "lane" real, "name" text, "nationality" text, "time" text ); Question: What is Rhiannon Leier's lane? <|assistant|> SELECT "lane" FROM "semifinal_1" WHERE "name"='rh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "class" ( "name" text, "pennant" text, "builder" text, "laid_down" text, "launched" text, "commissioned" text ); Question: What pennant does Narbada have? <|assistant|> SELECT "pennant" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "class" ( "name" text, "pennant" text, "builder" text, "laid_down" text, "launched" text, "commissioned" text ); Question: What date was the U21 pennant laid down? <|assistant|> SELECT "laid_d...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indianapolis_colts_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text ); Question: What position went lower than 106 from the College...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indianapolis_colts_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text ); Question: What is the lowest round a fullback went in? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "the_50_most_topographically_isolated_mou" ( "rank" real, "mountain_peak" text, "province" text, "mountain_range" text, "location" text ); Question: Name the province with rank more than 49 <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "the_50_most_topographically_isolated_mou" ( "rank" real, "mountain_peak" text, "province" text, "mountain_range" text, "location" text ); Question: Name the mountain peak with location of 46.70...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "the_50_most_topographically_isolated_mou" ( "rank" real, "mountain_peak" text, "province" text, "mountain_range" text, "location" text ); Question: Name the mountain peak with rank less than 6 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "the_50_most_topographically_isolated_mou" ( "rank" real, "mountain_peak" text, "province" text, "mountain_range" text, "location" text ); Question: Name the mountain range for nunavut with loca...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "the_50_most_topographically_isolated_mou" ( "rank" real, "mountain_peak" text, "province" text, "mountain_range" text, "location" text ); Question: Name the mountain peak of 49 rank <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "county" text, "live_births_2006" real, "gfr_2006" real, "tfr_2006" real, "whites_as_pct_of_pop" text ); Question: What is the total number of live births in 2006 with 98.40% of t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "county" text, "live_births_2006" real, "gfr_2006" real, "tfr_2006" real, "whites_as_pct_of_pop" text ); Question: What is the lowest total GFR that has 95.80% of the population a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "county" text, "live_births_2006" real, "gfr_2006" real, "tfr_2006" real, "whites_as_pct_of_pop" text ); Question: In 2006, what is the highest number for Live births in the Count...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_prix_career_statistics" ( "year" real, "class" text, "team" text, "machine" text, "points" real, "rank" text, "wins" real ); Question: Question doesn't make sense since there is no te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fiba_euro_basket_2007_squads" ( "player" text, "height" real, "position" text, "year_born" real, "current_club" text ); Question: Which player from the Ironi Nahariya club was born in 1980? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fiba_euro_basket_2007_squads" ( "player" text, "height" real, "position" text, "year_born" real, "current_club" text ); Question: Which position from the Cherkassy Monkeys' club was born after ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "north_america" ( "rank" real, "circuit" text, "headquarters" text, "screens" real, "sites" real ); Question: What is the rank of the cinema when the headquarters are in toronto, ON and the scre...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "north_america" ( "rank" real, "circuit" text, "headquarters" text, "screens" real, "sites" real ); Question: what is the rank of the cinema when the number of sites is more than 62 and the circ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "north_america" ( "rank" real, "circuit" text, "headquarters" text, "screens" real, "sites" real ); Question: what is the number of sites when the number of screens is 687 and rank is more than ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "north_america" ( "rank" real, "circuit" text, "headquarters" text, "screens" real, "sites" real ); Question: what is the lowest number of sites when the headquarters are in columbus, ga and the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "numbers_from_100_10_000_000" ( "value" text, "khmer" real, "word_form" text, "ungegn" text, "ala_lc" text, "other" text, "notes" text ); Question: What is the Other transliteration for valu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "numbers_from_100_10_000_000" ( "value" text, "khmer" real, "word_form" text, "ungegn" text, "ala_lc" text, "other" text, "notes" text ); Question: What is the word form for the ALA-LC trans...