text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_titles" ( "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: Name the score for 10 april 2007 and opponent of selima sfar <|assistant|> SELECT "s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_record" ( "race" text, "dist_f" real, "course" text, "prize_k" real, "runners" real, "placing" real, "margin" text, "jockey" text, "trainer" text ); Question: How many runners had ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_record" ( "race" text, "dist_f" real, "course" text, "prize_k" real, "runners" real, "placing" real, "margin" text, "jockey" text, "trainer" text ); Question: Which course had a jo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_record" ( "race" text, "dist_f" real, "course" text, "prize_k" real, "runners" real, "placing" real, "margin" text, "jockey" text, "trainer" text ); Question: What is the average p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_record" ( "race" text, "dist_f" real, "course" text, "prize_k" real, "runners" real, "placing" real, "margin" text, "jockey" text, "trainer" text ); Question: How many total runner...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rookie_list" ( "player" text, "afl_debut" text, "games" text, "goals" text, "kicks" text, "handballs" text, "disposals" text, "marks" text, "tackles" text ); Question: Name the games wi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rookie_list" ( "player" text, "afl_debut" text, "games" text, "goals" text, "kicks" text, "handballs" text, "disposals" text, "marks" text, "tackles" text ); Question: Name the kicks wi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rookie_list" ( "player" text, "afl_debut" text, "games" text, "goals" text, "kicks" text, "handballs" text, "disposals" text, "marks" text, "tackles" text ); Question: Name the goals wi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1990" ( "date" text, "visiting_team" text, "final_score" text, "host_team" text, "stadium" text ); Question: What game had the date was it with the final score of 7-23 <|assistant|> SELECT "dat...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1990" ( "date" text, "visiting_team" text, "final_score" text, "host_team" text, "stadium" text ); Question: What was the final score of the game at the astrodome? <|assistant|> SELECT "final_s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1990" ( "date" text, "visiting_team" text, "final_score" text, "host_team" text, "stadium" text ); Question: What was the final score for the date of December 30? <|assistant|> SELECT "final_sc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1990" ( "date" text, "visiting_team" text, "final_score" text, "host_team" text, "stadium" text ); Question: What was the name of the Visiting team at Jack Murphy Stadium? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1990" ( "date" text, "visiting_team" text, "final_score" text, "host_team" text, "stadium" text ); Question: What was the name of the host team at Texas stadium? <|assistant|> SELECT "host_team...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1990" ( "date" text, "visiting_team" text, "final_score" text, "host_team" text, "stadium" text ); Question: What was the name of the host team dated December 16? <|assistant|> SELECT "host_tea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_24_hours_of_le_mans_results" ( "year" real, "class" text, "tyres" text, "team" text, "co_drivers" text, "laps" real, "pos" text ); Question: Are there any Teams after 1997? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_24_hours_of_le_mans_results" ( "year" real, "class" text, "tyres" text, "team" text, "co_drivers" text, "laps" real, "pos" text ); Question: Which class has laps under 77? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "guarantee_group" ( "name" text, "class" text, "hometown" text, "boarded" text, "position" text ); Question: Who boarded first class? <|assistant|> SELECT "boarded" FROM "guarantee_group" WHERE ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_08_lincoln_city_f_c_season" ( "date" text, "opponent" text, "venue" text, "result" text, "attendance" real, "away_fans" real ); Question: What was the lowest attendance at a game when th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_world_championship_formula_one_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: What are the lowest number of points with a Year of 1978, and ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_world_championship_formula_one_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: What are the highest number of points with an Entrant of warst...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "before_the_elections" ( "d_41" text, "d_42" text, "d_43" text, "d_44" text, "d_45" text, "d_46" text, "d_47" text, "d_48" text ); Question: What is the D 43 when D 46 is R 6? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "before_the_elections" ( "d_41" text, "d_42" text, "d_43" text, "d_44" text, "d_45" text, "d_46" text, "d_47" text, "d_48" text ); Question: What is the D44 when D43 is R 14? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "before_the_elections" ( "d_41" text, "d_42" text, "d_43" text, "d_44" text, "d_45" text, "d_46" text, "d_47" text, "d_48" text ); Question: What is the D48 when D 43 is plurality ↑?? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "before_the_elections" ( "d_41" text, "d_42" text, "d_43" text, "d_44" text, "d_45" text, "d_46" text, "d_47" text, "d_48" text ); Question: What is the D44 when D41 is D 16? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "carterton_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real ); Question: What gender is the team that has a decile of 5 and in ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "carterton_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real ); Question: What school in Dalefield has a roll less than 81? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "main_list" ( "island" text, "group" text, "area_ha" text, "population" text, "height_m" real ); Question: What is the lowest Height (m) on the island of Burray? <|assistant|> SELECT MIN("height...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "main_list" ( "island" text, "group" text, "area_ha" text, "population" text, "height_m" real ); Question: What group on the island of Faray has a Height (m) of 32 and a Population of 0? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "main_list" ( "island" text, "group" text, "area_ha" text, "population" text, "height_m" real ); Question: What group has a Population of see hoy? <|assistant|> SELECT "group" FROM "main_list" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "main_list" ( "island" text, "group" text, "area_ha" text, "population" text, "height_m" real ); Question: What group on the island of Muckle Green Holm has a population of 0? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "main_list" ( "island" text, "group" text, "area_ha" text, "population" text, "height_m" real ); Question: What is the area (ha) of the group on the island of Linga Holm that has a Height (m) la...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "main_list" ( "island" text, "group" text, "area_ha" text, "population" text, "height_m" real ); Question: What is the Population of the group that has a Height (m) of 15 and an Area (ha) of 000...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "wanganui_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real ); Question: What is the roll number of the school in Aramoho with a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "wanganui_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real ); Question: What is the area of Mangamahu primary school? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "wanganui_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real ); Question: What is the area of the coed school with a state author...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nominations_awards" ( "year" real, "artist" text, "album_song" text, "award" text, "result_category" text ); Question: Which result is older than 2007? <|assistant|> SELECT "result_category" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nominations_awards" ( "year" real, "artist" text, "album_song" text, "award" text, "result_category" text ); Question: What year was the Album/Song Speaking louder than before? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nominations_awards" ( "year" real, "artist" text, "album_song" text, "award" text, "result_category" text ); Question: What is the most recent year with the Album/Song "the best worst-case scen...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_24_21" ( "outcome" text, "tournament" text, "surface" text, "partner" text, "opponent_in_the_final" text, "score" text ); Question: What was the score of the final in which Melanie So...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_24_21" ( "outcome" text, "tournament" text, "surface" text, "partner" text, "opponent_in_the_final" text, "score" text ); Question: What was the score of the final in which Melanie So...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_24_21" ( "outcome" text, "tournament" text, "surface" text, "partner" text, "opponent_in_the_final" text, "score" text ); Question: What was the score of the final in which Melanie So...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_24_21" ( "outcome" text, "tournament" text, "surface" text, "partner" text, "opponent_in_the_final" text, "score" text ); Question: What was the outcome of the tournament in Edinburgh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "invercargill_city" ( "name" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real ); Question: What is the total decile with an Authority of state, and a Name of newf...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "invercargill_city" ( "name" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real ); Question: What is the largest decile with a Roll larger than 34, a Gender of coed...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "invercargill_city" ( "name" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real ); Question: What is the smallest roll with an Authority of state, a Name of newfiel...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "invercargill_city" ( "name" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real ); Question: Which name has an Area of makarewa? <|assistant|> SELECT "name" FROM "i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "invercargill_city" ( "name" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real ); Question: Which name has a Gender of coed, and a Decile larger than 5, and a Roll...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "squad_information" ( "nat" text, "name" text, "since" text, "goals" real, "ends" real, "transfer_fee" text ); Question: Add up all the Ends columns that have goals smaller than 0. <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "achievements" ( "year" real, "competition" text, "venue" text, "position" text, "notes" text ); Question: What was the competition in 2003? <|assistant|> SELECT "competition" FROM "achievements...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "achievements" ( "year" real, "competition" text, "venue" text, "position" text, "notes" text ); Question: What was the competition in 2003? <|assistant|> SELECT "competition" FROM "achievements...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_table" ( "position" real, "club" text, "played" real, "points" text, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_table" ( "position" real, "club" text, "played" real, "points" text, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_table" ( "position" real, "club" text, "played" real, "points" text, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_table" ( "position" real, "club" text, "played" real, "points" text, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rushing" ( "name" text, "gain" real, "loss" real, "long" real, "avg_g" real ); Question: What is the total number of losses of the player with an avg/g smaller than -3.3 and a gain larger than ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rushing" ( "name" text, "gain" real, "loss" real, "long" real, "avg_g" real ); Question: What is the total number of losses Jackson, T., who had more than 27 gain, an avg/g smaller than 55.9, a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rushing" ( "name" text, "gain" real, "loss" real, "long" real, "avg_g" real ); Question: What is the total number of long Dubose, E., who had 0 losses, a gain less than 17, and an avg/g bigger ...
<|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" text, "record" text ); Question: What date was the record 20–16? <|assistant|> SELECT "date" FROM "game_log" ...
<|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" text, "record" text ); Question: What was the attendance in the gave versus the Brewers with a score of 9–6? ...
<|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" text, "record" text ); Question: What was the attendance on May 26? <|assistant|> SELECT "attendance" FROM "g...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_class_records" ( "name" text, "seasons" text, "matches" real, "inns" real, "runs" real ); Question: Matches of 127 has how many total number of inns? <|assistant|> SELECT COUNT("inns") FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_class_records" ( "name" text, "seasons" text, "matches" real, "inns" real, "runs" real ); Question: Name of clem hill, and Inns larger than 126 has the lowest runs? <|assistant|> SELECT M...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_class_records" ( "name" text, "seasons" text, "matches" real, "inns" real, "runs" real ); Question: Runs smaller than 6106, and Inns smaller than 146 has what total number of matches? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_class_records" ( "name" text, "seasons" text, "matches" real, "inns" real, "runs" real ); Question: Seasons of 1987–2007, and a Runs larger than 11622 is the highest inns? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_29_16_titles_13_runners_up" ( "outcome" text, "date" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text ); Question: Name the partner for o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_29_16_titles_13_runners_up" ( "outcome" text, "date" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text ); Question: Name the score in the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_29_16_titles_13_runners_up" ( "outcome" text, "date" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text ); Question: Name the opponents for...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_29_16_titles_13_runners_up" ( "outcome" text, "date" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text ); Question: Name the partner for s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_29_16_titles_13_runners_up" ( "outcome" text, "date" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text ); Question: Name the score in the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ships" ( "ship" text, "builder" text, "namesake" text, "renamed" text, "laid_down" text, "launched" text, "commissioned_or_completed" text ); Question: What date was the ship 'Wyandotte' la...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ships" ( "ship" text, "builder" text, "namesake" text, "renamed" text, "laid_down" text, "launched" text, "commissioned_or_completed" text ); Question: What was the original name of the shi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ships" ( "ship" text, "builder" text, "namesake" text, "renamed" text, "laid_down" text, "launched" text, "commissioned_or_completed" text ); Question: What date was the ship named Manhatta...
<|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 position had fewer than 373 laps 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 class had fewer than 336 laps in 2004? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary" ( "game" real, "date" text, "location" text, "time" text, "attendance" real ); Question: What is the average attendance of game 1? <|assistant|> SELECT AVG("attendance") FROM "summary"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary" ( "game" real, "date" text, "location" text, "time" text, "attendance" real ); Question: What is the attendance amount of the race with a time of 2:07? <|assistant|> SELECT MAX("attend...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_table" ( "position" real, "club" text, "played" real, "points" text, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_table" ( "position" real, "club" text, "played" real, "points" text, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_table" ( "position" real, "club" text, "played" real, "points" text, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "alma_awards" ( "year" real, "recipient" text, "role" text, "category" text, "result" text ); Question: Who was the recipient for Outstanding actress television series prior to 2008? <|assistant...
<|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: Who was the opponent at the game when the record was 71-78? <|assistant|> SE...
<|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 date of the game that had a loss of Risley (0-1)? <|assistant|>...
<|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 date of the game when the record was 70-74? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "in" ( "name" text, "country" text, "type" text, "moving_from" text, "transfer_window" text, "ends" real, "transfer_fee" text ); Question: What player was moving from manchester united? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "in" ( "name" text, "country" text, "type" text, "moving_from" text, "transfer_window" text, "ends" real, "transfer_fee" text ); Question: What player costs £210k to transfer? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "in" ( "name" text, "country" text, "type" text, "moving_from" text, "transfer_window" text, "ends" real, "transfer_fee" text ); Question: Who is moving during winter from wal? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "performances_results" ( "episode" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text ); Question: Which original artist has a Episode of workshop ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "performances_results" ( "episode" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text ); Question: Which theme has a Episode of top 6? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "performances_results" ( "episode" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text ); Question: Which Theme has a Order # of 9? <|assistant|> SE...
<|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, "time" text, "record" text ); Question: What was the score on August 19? <|assistant|> SELECT "score"...
<|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, "time" text, "record" text ); Question: Where the time is 2:46, what is the record? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "october" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text ); Question: What is the Date, when the home team is the NY Rangers? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "variants" ( "engine" text, "displacement" text, "power" text, "torque" text, "redline" real, "year" real ); Question: Power of 220kw (299hp) @ 4000 has what torque? <|assistant|> SELECT "torq...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "variants" ( "engine" text, "displacement" text, "power" text, "torque" text, "redline" real, "year" real ); Question: What is the Displacement that has Power of 220kw (299hp) @ 4000, and a ye...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "variants" ( "engine" text, "displacement" text, "power" text, "torque" text, "redline" real, "year" real ); Question: Displacement of 4.4l (4423cc/269in³) and a Power of 220kw (299hp) @ 4000 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "performances_results" ( "week" text, "theme" text, "song_choice" text, "original_artist" text, "result" text ); Question: What week was the Original artist, the police ? <|assistant|> SELECT "w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "performances_results" ( "week" text, "theme" text, "song_choice" text, "original_artist" text, "result" text ); Question: Which song garnered an advanced result during top 20 week ? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "finals_14_9_titles_5_runners_up" ( "outcome" text, "year" real, "tournament" text, "opponent" text, "score" text ); Question: Which Malaysia Satellite tournaments were played after 1998? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "finals_14_9_titles_5_runners_up" ( "outcome" text, "year" real, "tournament" text, "opponent" text, "score" text ); Question: Who was the runner-up for the Bulgaria Open, before 2007? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "finals_14_9_titles_5_runners_up" ( "outcome" text, "year" real, "tournament" text, "opponent" text, "score" text ); Question: What was the score of the player who played against Wong Choong Han...