text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: I want the sum of Laps with Grid less than 11 for jean-pierre jarier <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: I want the constructor for brakes and grid less than 14 <|assistant|> SELECT "con...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "episodes" ( "season_no" real, "season_start" text, "season_end" text, "episodes" real, "host" text ); Question: How may episodes did season 1 have? <|assistant|> SELECT COUNT("episodes") FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "drivers_and_constructors" ( "entrant" text, "constructor" text, "chassis" text, "engine" text, "tyre" text, "driver" text, "rounds" text ); Question: Which chassis did Aguri Suzuki drive wi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "drivers_and_constructors" ( "entrant" text, "constructor" text, "chassis" text, "engine" text, "tyre" text, "driver" text, "rounds" text ); Question: What was the entrant in round 16 were F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "destinations" ( "city" text, "country" text, "region" text, "iata" text, "icao" text, "airport" text ); Question: Tell me the country with ICAO of zgha <|assistant|> SELECT "country" FROM "de...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "destinations" ( "city" text, "country" text, "region" text, "iata" text, "icao" text, "airport" text ); Question: I want the ICAO for city of xi'an <|assistant|> SELECT "icao" FROM "destinati...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "destinations" ( "city" text, "country" text, "region" text, "iata" text, "icao" text, "airport" text ); Question: I want the IATA for ICAO of zgkl <|assistant|> SELECT "iata" FROM "destinatio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "destinations" ( "city" text, "country" text, "region" text, "iata" text, "icao" text, "airport" text ); Question: I want the region for ICAO of vmmc <|assistant|> SELECT "region" FROM "destin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: What is the high grid number for a Time/Retired of + 3 laps, and a Laps smaller t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: Who built the car that has a Time/Retired of 1:36:38.887? <|assistant|> SELECT "c...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "january" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" real, "record" text ); Question: Who was the leading scorer on 9 January 2008? <|assis...
<|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 "round_6" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What is the Crowd number for the Away tea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_6" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What is the Home team score for the Venue...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_6" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What is the smallest Crowd number for the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_6" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Which Home team has an Away team score of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "submission_grappling_record" ( "result" text, "opponent" text, "method" text, "event" text, "date" real, "notes" text ); Question: Tell me the notes with method of points and event of adcc 20...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "submission_grappling_record" ( "result" text, "opponent" text, "method" text, "event" text, "date" real, "notes" text ); Question: Tell me the lowest date for result of win and method of poin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "submission_grappling_record" ( "result" text, "opponent" text, "method" text, "event" text, "date" real, "notes" text ); Question: Name the result with notes of quarter-finals and event of ad...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "submission_grappling_record" ( "result" text, "opponent" text, "method" text, "event" text, "date" real, "notes" text ); Question: I want the event for method of points with notes of opening ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "events" real, "wins" real ); Question: How many win total which has the rank smaller than 3 and events smaller than 22...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_member_schools" ( "school" text, "location" text, "enrolment" real, "founded" real, "denomination" text, "day_boarding" text, "school_colors" text ); Question: What denomination is ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_member_schools" ( "school" text, "location" text, "enrolment" real, "founded" real, "denomination" text, "day_boarding" text, "school_colors" text ); Question: Is mt lawley day or b...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_member_schools" ( "school" text, "location" text, "enrolment" real, "founded" real, "denomination" text, "day_boarding" text, "school_colors" text ); Question: What is the average y...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: When north melbourne was the home team w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Which home team scored 19.18 (132)? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: When collingwood played as the home team...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: When the Away team was south melbourne w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "stadia_and_attendances" ( "team" text, "stadium" text, "capacity" real, "highest" real, "lowest" real, "average" real ); Question: What is the lowest attendance for a stadium that has an aver...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_7" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: When the home team scored 17.13 (115), wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_7" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: When the home team was South Melbourne, w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_count" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the average rank of a country with less than 13 bronze medals, a total ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_count" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the lowest bronze a team with 9 silvers, a total larger than 13, and mo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_count" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the highest number of silvers a team with more than 95 total medals has...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_count" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the highest total medals a team with less than 15 gold, less than 5 bro...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Who is the home team who plays at Glenfe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What did the away team Carlton score? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: In the game where the home team scored 1...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Which away team scored 13.13 (91)? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2003_squad_statistics" ( "player" text, "position" text, "tries" real, "goals" real, "points" real ); Question: What position did Lee Gilmour play while having more than 4 Tries and 20 points? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cbs_era_1979_2000" ( "year" real, "network" text, "lap_by_lap" text, "color_commentator_s" text, "pit_reporters" text, "host" text, "ratings" text, "viewers" text ); Question: Who was the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cbs_era_1979_2000" ( "year" real, "network" text, "lap_by_lap" text, "color_commentator_s" text, "pit_reporters" text, "host" text, "ratings" text, "viewers" text ); Question: Who was the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cbs_era_1979_2000" ( "year" real, "network" text, "lap_by_lap" text, "color_commentator_s" text, "pit_reporters" text, "host" text, "ratings" text, "viewers" text ); Question: Who was the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cbs_era_1979_2000" ( "year" real, "network" text, "lap_by_lap" text, "color_commentator_s" text, "pit_reporters" text, "host" text, "ratings" text, "viewers" text ); Question: What were t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cbs_era_1979_2000" ( "year" real, "network" text, "lap_by_lap" text, "color_commentator_s" text, "pit_reporters" text, "host" text, "ratings" text, "viewers" text ); Question: Who was the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "february" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text ); Question: What was the lowest Attendance for Games played on the Dat...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "february" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text ); Question: What was the total Attendance for Games while Chicago was ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grands_prix" ( "round" real, "grand_prix" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_constructor" text, "report" text ); Question: What pole position wa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grands_prix" ( "round" real, "grand_prix" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_constructor" text, "report" text ); Question: Which Grand Prix did ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grands_prix" ( "round" real, "grand_prix" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_constructor" text, "report" text ); Question: Who had the fastest l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grands_prix" ( "round" real, "grand_prix" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_constructor" text, "report" text ); Question: Who had the fastest l...
<|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: Tell me the team 2 for team 1 being la nuova piovese (veneto a) <|assistant|> SELECT "team_...
<|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: Tell me the team 1 for team 2 being civitavecchiese (latium a) <|assistant|> SELECT "team_1...
<|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: Tell me the 1st leg for team being budoni (Sardinia) <|assistant|> SELECT "1st_leg" FROM "s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "st_louis_cardinals_vs_houston_astros" ( "game" real, "date" text, "location" text, "time" text, "attendance" real ); Question: How many attended the game at Busch Stadium (ii) when the time was...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "st_louis_cardinals_vs_houston_astros" ( "game" real, "date" text, "location" text, "time" text, "attendance" real ); Question: What dates were the games after game 6 played? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1972" text, "1973" text, "1974" text, "1975" text, "1976" text, "1977" text, "1978" text ); Question: What is the 1977 value that had G...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1972" text, "1973" text, "1974" text, "1975" text, "1976" text, "1977" text, "1978" text ); Question: What is the tournament that had G...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1972" text, "1973" text, "1974" text, "1975" text, "1976" text, "1977" text, "1978" text ); Question: What is the 1976 value of the Aus...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1972" text, "1973" text, "1974" text, "1975" text, "1976" text, "1977" text, "1978" text ); Question: What is the 1977 value that has a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" text, "date" text, "opponent" text, "result" text, "kickoff_a" text, "game_site" text, "attendance" text, "record" text ); Question: Which week led to a record of 4-10?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" text, "date" text, "opponent" text, "result" text, "kickoff_a" text, "game_site" text, "attendance" text, "record" text ); Question: Which week was the game against the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text ); Question: What is the height of the player who is from Huntington, WV? <|assistant|> SELECT "he...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text ); Question: What school is the player who has a hometown of Chicago, IL from? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text ); Question: Which college is the player from South Medford High School headed to? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text ); Question: Which school is the player who is headed to Duke from? <|assistant|> SELECT "school" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text ); Question: What is the hometown of the player who is headed to Duke? <|assistant|> SELECT "homet...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "casts_and_directors_of_broadway_and_west" ( "productions" text, "rose" text, "louise" text, "dainty_june" text, "herbie" text, "director" text ); Question: Who was Louise when Tracy Venner wa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "casts_and_directors_of_broadway_and_west" ( "productions" text, "rose" text, "louise" text, "dainty_june" text, "herbie" text, "director" text ); Question: Who was Dainty June when Tammy Blan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "casts_and_directors_of_broadway_and_west" ( "productions" text, "rose" text, "louise" text, "dainty_june" text, "herbie" text, "director" text ); Question: Who was Dainty June when Boyd Gaine...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "casts_and_directors_of_broadway_and_west" ( "productions" text, "rose" text, "louise" text, "dainty_june" text, "herbie" text, "director" text ); Question: What production had Angela Lansbury...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "casts_and_directors_of_broadway_and_west" ( "productions" text, "rose" text, "louise" text, "dainty_june" text, "herbie" text, "director" text ); Question: Who was rose in the 1975 Broadway R...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "casts_and_directors_of_broadway_and_west" ( "productions" text, "rose" text, "louise" text, "dainty_june" text, "herbie" text, "director" text ); Question: Which production had Rex Robbins as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_21" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: On what date was the venue VFL Park? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_21" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What date did Footscray play at home? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_21" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What did the home team score when they p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_21" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: For the away team with a score of 14.7 (...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft" ( "round" real, "pick" real, "player" text, "position" text, "team" text, "college" text ); Question: What was the lowest pick number for the Boston Celtics? <|assistant|> SELECT MIN("...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "november" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" real, "record" text ); Question: Who is the visitor team on 23 November 2007? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "november" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" real, "record" text ); Question: Who is the leading scorer of the game on 20 November...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1992_draft_picks" ( "round" real, "overall" real, "player" text, "nationality" text, "club_team" text ); Question: When was petter ronnquist picked? <|assistant|> SELECT "overall" FROM "1992_dr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_career" ( "date" text, "venue" text, "result" text, "scored" real, "competition" text ); Question: Which venue has a Result of 1–0? <|assistant|> SELECT "venue" FROM "internationa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_career" ( "date" text, "venue" text, "result" text, "scored" real, "competition" text ); Question: Which venue has a Result of 1–2? <|assistant|> SELECT "venue" FROM "internationa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_career" ( "date" text, "venue" text, "result" text, "scored" real, "competition" text ); Question: What is the highest score with a Result of 1–1 on 4 march 2001? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_career" ( "date" text, "venue" text, "result" text, "scored" real, "competition" text ); Question: What is the result of 2003 eaff championship preliminary on 2 march 2003? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "entries" ( "driver" text, "entrant" text, "constructor" text, "chassis" text, "engine" text, "tyre" text ); Question: I want the engine for luigi villoresi <|assistant|> SELECT "engine" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "entries" ( "driver" text, "entrant" text, "constructor" text, "chassis" text, "engine" text, "tyre" text ); Question: I want the chassis for entrant of ecurie lutetia <|assistant|> SELECT "ch...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What is the venue when the away team scor...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What date was the game played at princes ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the score of the away team when ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the venue when the away team sco...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What team was the home team when the away...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2011" ( "block_a" text, "black_bushi" text, "bushi" text, "kaz_hayashi" text, "kenny_omega" text, "minoru" text ); Question: Name the kaz hayashi for block A being bushi <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2011" ( "block_a" text, "black_bushi" text, "bushi" text, "kaz_hayashi" text, "kenny_omega" text, "minoru" text ); Question: Name the minoru for block A being koji kanemoto <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2011" ( "block_a" text, "black_bushi" text, "bushi" text, "kaz_hayashi" text, "kenny_omega" text, "minoru" text ); Question: Name the BUSHI when it has kenny omega of yang (7:27) <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2011" ( "block_a" text, "black_bushi" text, "bushi" text, "kaz_hayashi" text, "kenny_omega" text, "minoru" text ); Question: Name the BUSHI that has kaz hayashi of kai (14:01) <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2011" ( "block_a" text, "black_bushi" text, "bushi" text, "kaz_hayashi" text, "kenny_omega" text, "minoru" text ); Question: Name the Kaz Hayashi which has BUSHI of yang (9:43) <|assistant|> ...