text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "petrol_engines" ( "model" text, "years" text, "engine_code" text, "power" text, "torque" text ); Question: What is the engine code for the Xdrive25i? <|assistant|> SELECT "engine_code" FROM "pe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "petrol_engines" ( "model" text, "years" text, "engine_code" text, "power" text, "torque" text ); Question: What is the torque on the model with power of hp (kw; ps)@5800? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "petrol_engines" ( "model" text, "years" text, "engine_code" text, "power" text, "torque" text ); Question: What is the torque when engine code is N46B20 and power is ps (kw; hp)@6400? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "petrol_engines" ( "model" text, "years" text, "engine_code" text, "power" text, "torque" text ); Question: What is the power for the model xdrive28i sdrive28i? <|assistant|> SELECT "power" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "petrol_engines" ( "model" text, "years" text, "engine_code" text, "power" text, "torque" text ); Question: What is the model that was made in the years 2011 2012-? <|assistant|> SELECT "model" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "petrol_engines" ( "model" text, "years" text, "engine_code" text, "power" text, "torque" text ); Question: What is the engine code for the model xdrive35i? <|assistant|> SELECT "engine_code" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "high_school_boys" ( "time" text, "athlete" text, "school" text, "city" text, "date" text ); Question: What is the Athlete from Burbank High School? <|assistant|> SELECT "athlete" FROM "high_sch...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "high_school_boys" ( "time" text, "athlete" text, "school" text, "city" text, "date" text ); Question: What is the Date of the Athlete from Ferris High School? <|assistant|> SELECT "date" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "high_school_boys" ( "time" text, "athlete" text, "school" text, "city" text, "date" text ); Question: What is the Athlete from Riverbank, California? <|assistant|> SELECT "athlete" FROM "high_s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "high_school_boys" ( "time" text, "athlete" text, "school" text, "city" text, "date" text ); Question: What is the Date of the Player from Marshfield High School? <|assistant|> SELECT "date" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "high_school_boys" ( "time" text, "athlete" text, "school" text, "city" text, "date" text ); Question: What is the School of the Player with a Date of June 4, 2011? <|assistant|> SELECT "school"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2006_spring_season" ( "japanese_title" text, "romaji_title" text, "tv_station" text, "episodes" real, "average_ratings" text ); Question: What episodes was the show クロサギ shown on TBS? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2006_spring_season" ( "japanese_title" text, "romaji_title" text, "tv_station" text, "episodes" real, "average_ratings" text ); Question: What is the Romanji Title of a show on TBS with less th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2006_spring_season" ( "japanese_title" text, "romaji_title" text, "tv_station" text, "episodes" real, "average_ratings" text ); Question: What is the total number of episodes for クロサギ? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2006_spring_season" ( "japanese_title" text, "romaji_title" text, "tv_station" text, "episodes" real, "average_ratings" text ); Question: What are the average ratings for プリマダム? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "senior_career" ( "year" real, "competition_description" text, "location" text, "apparatus" text, "rank_final" real, "score_final" real ); Question: Which Score-Final has a Rank-Final of 2, an...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "senior_career" ( "year" real, "competition_description" text, "location" text, "apparatus" text, "rank_final" real, "score_final" real ); Question: How many years have a Rank-Final smaller th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "senior_career" ( "year" real, "competition_description" text, "location" text, "apparatus" text, "rank_final" real, "score_final" real ); Question: Which Score-Final has an Apparatus of floor...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "senior_career" ( "year" real, "competition_description" text, "location" text, "apparatus" text, "rank_final" real, "score_final" real ); Question: Which Year is the first one that has an App...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "assembly_segments" ( "constituency_number" text, "name" text, "reserved_for_sc_st_none" text, "district" text, "number_of_electorates_2009" real ); Question: Which district has more than 169,35...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "assembly_segments" ( "constituency_number" text, "name" text, "reserved_for_sc_st_none" text, "district" text, "number_of_electorates_2009" real ); Question: Who has a constituency of 84? <|ass...
<|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: What the round with the time ...
<|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: What's the location when the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_slam_women_s_doubles_performance_t" ( "tournament" text, "2007" text, "2010" text, "2011" text, "2012" text, "2013" text ); Question: What is the 2007 result when the 2010 result was 2r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "uneven_bars_ef_qualifiers" ( "position" real, "gymnast" text, "a_score" real, "b_score" real, "total" real ); Question: What is the A score for the person with a total less than 15.95, position...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "uneven_bars_ef_qualifiers" ( "position" real, "gymnast" text, "a_score" real, "b_score" real, "total" real ); Question: What is the B score for the person with a total of 16.325 and an A score ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "uneven_bars_ef_qualifiers" ( "position" real, "gymnast" text, "a_score" real, "b_score" real, "total" real ); Question: What is the Position of the person with a total less than 16.65 and an A ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "station_repeaters" ( "callsign" text, "network" text, "city_of_license" text, "d_erp" text, "owner_operator" text ); Question: What's the network in Pachuca, Hidalgo? <|assistant|> SELECT "netw...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "station_repeaters" ( "callsign" text, "network" text, "city_of_license" text, "d_erp" text, "owner_operator" text ); Question: What's the network that has a callsign of XHTM and a D ERP of •? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "station_repeaters" ( "callsign" text, "network" text, "city_of_license" text, "d_erp" text, "owner_operator" text ); Question: What's the city of license having a D ERP of 100kw? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "station_repeaters" ( "callsign" text, "network" text, "city_of_license" text, "d_erp" text, "owner_operator" text ); Question: What's the D ERP in San Martin Texmelucan, Puebla? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "assembly_segments" ( "constituency_number" text, "name" text, "reserved_for_sc_st_none" text, "district" text, "number_of_electorates_2009" real ); Question: What district has 98 constituencies...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "canterbury_bankstown_bulldogs" ( "year" text, "matches" real, "tries" real, "goals" real, "points" real ); Question: What are the highest points with 2012 as the year? <|assistant|> SELECT MAX(...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "canterbury_bankstown_bulldogs" ( "year" text, "matches" real, "tries" real, "goals" real, "points" real ); Question: What are the highest matches that have points less than 88, and goals less t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "canterbury_bankstown_bulldogs" ( "year" text, "matches" real, "tries" real, "goals" real, "points" real ); Question: How many tries have goals greater than 0? <|assistant|> SELECT SUM("tries") ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "canterbury_bankstown_bulldogs" ( "year" text, "matches" real, "tries" real, "goals" real, "points" real ); Question: What are the lowest points with 2013 as the year, and goals less than 0? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "canterbury_bankstown_bulldogs" ( "year" text, "matches" real, "tries" real, "goals" real, "points" real ); Question: How many goals have 28 as the points, and matches greater than 11? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "supersport_race_classification" ( "rider" text, "bike" text, "laps" real, "time" text, "grid" real ); Question: Which Laps have a Rider of russell holland, and a Grid smaller than 10? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "supersport_race_classification" ( "rider" text, "bike" text, "laps" real, "time" text, "grid" real ); Question: Which Laps have a Bike of kawasaki zx-6r, and a Time of +26.891? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "supersport_race_classification" ( "rider" text, "bike" text, "laps" real, "time" text, "grid" real ); Question: Which Rider has a Time of retirement, and a Grid larger than 5? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "supersport_race_classification" ( "rider" text, "bike" text, "laps" real, "time" text, "grid" real ); Question: Which Rider has less than 18 laps, and a Grid of 24? <|assistant|> SELECT "rider"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "league_cup" ( "opposing_team" text, "against" real, "date" text, "venue" text, "round" text ); Question: What is the date of the 2nd round 2nd leg? <|assistant|> SELECT "date" FROM "league_cup"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "league_cup" ( "opposing_team" text, "against" real, "date" text, "venue" text, "round" text ); Question: What is the Round against Gillingham with an Against smaller than 3? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "relegation_table" ( "place" real, "team" text, "played" real, "draw" real, "lost" real, "goals_scored" real, "goals_conceded" real, "points" real ); Question: What's the draw that's playe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "relegation_table" ( "place" real, "team" text, "played" real, "draw" real, "lost" real, "goals_scored" real, "goals_conceded" real, "points" real ); Question: What the lost that has less ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "relegation_table" ( "place" real, "team" text, "played" real, "draw" real, "lost" real, "goals_scored" real, "goals_conceded" real, "points" real ); Question: what the most lost for Alian...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "relegation_table" ( "place" real, "team" text, "played" real, "draw" real, "lost" real, "goals_scored" real, "goals_conceded" real, "points" real ); Question: What the lost in place less ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "member_states" ( "state" text, "adopted" text, "population_2011_01_01" text, "nominal_gdp_world_bank_2009_million_usd" real, "relative_gdp_of_total_nominal" text, "gdp_per_capita_world_bank_20...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "member_states" ( "state" text, "adopted" text, "population_2011_01_01" text, "nominal_gdp_world_bank_2009_million_usd" real, "relative_gdp_of_total_nominal" text, "gdp_per_capita_world_bank_20...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "member_states" ( "state" text, "adopted" text, "population_2011_01_01" text, "nominal_gdp_world_bank_2009_million_usd" real, "relative_gdp_of_total_nominal" text, "gdp_per_capita_world_bank_20...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "member_states" ( "state" text, "adopted" text, "population_2011_01_01" text, "nominal_gdp_world_bank_2009_million_usd" real, "relative_gdp_of_total_nominal" text, "gdp_per_capita_world_bank_20...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "all_time_top_scorers" ( "rank" real, "player" text, "goals" real, "apps" real, "rate" real ); Question: What is the total Rank for ümit karan when Apps is more than 39 and Rate is more than 0.5...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "all_time_top_scorers" ( "rank" real, "player" text, "goals" real, "apps" real, "rate" real ); Question: When rank is more than 10, what is the total rate? <|assistant|> SELECT SUM("rate") FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_2" ( "contestant_name" text, "episode_num" text, "date_premiered_2009" text, "winning_amount" text, "eliminated_contestant" text ); Question: What winning amount has himesh reshammiya as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_2" ( "contestant_name" text, "episode_num" text, "date_premiered_2009" text, "winning_amount" text, "eliminated_contestant" text ); Question: What eliminated contestant has October 10, 2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_2" ( "contestant_name" text, "episode_num" text, "date_premiered_2009" text, "winning_amount" text, "eliminated_contestant" text ); Question: What date premiered (2009) has kareena kapoo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_2" ( "contestant_name" text, "episode_num" text, "date_premiered_2009" text, "winning_amount" text, "eliminated_contestant" text ); Question: What episode # has govinda & david dhawan as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_2" ( "contestant_name" text, "episode_num" text, "date_premiered_2009" text, "winning_amount" text, "eliminated_contestant" text ); Question: What is the winning amount that has May 30, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "assembly_segments" ( "constituency_number" text, "name" text, "reserved_for_sc_st_none" text, "district" text, "number_of_electorates_2009" real ); Question: What is the Reserved For of Lahar? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_macintosh_models_grouped_by_cpu_" ( "processor" text, "model" text, "clock_speed_m_hz" real, "l1_cache_bytes" text, "introduced" text, "discontinued" text ); Question: What is the lea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_macintosh_models_grouped_by_cpu_" ( "processor" text, "model" text, "clock_speed_m_hz" real, "l1_cache_bytes" text, "introduced" text, "discontinued" text ); Question: With April 1986...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_macintosh_models_grouped_by_cpu_" ( "processor" text, "model" text, "clock_speed_m_hz" real, "l1_cache_bytes" text, "introduced" text, "discontinued" text ); Question: The Powerbook 1...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_macintosh_models_grouped_by_cpu_" ( "processor" text, "model" text, "clock_speed_m_hz" real, "l1_cache_bytes" text, "introduced" text, "discontinued" text ); Question: When was the Li...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "repechage" ( "rank" real, "rowers" text, "country" text, "time" text, "notes" text ); Question: Who are the rowers with a time of 6:41.45 and notes of FA? <|assistant|> SELECT "rowers" FROM "re...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "repechage" ( "rank" real, "rowers" text, "country" text, "time" text, "notes" text ); Question: Who are the rowers from the United States? <|assistant|> SELECT "rowers" FROM "repechage" WHERE "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "repechage" ( "rank" real, "rowers" text, "country" text, "time" text, "notes" text ); Question: What time did the team from Ukraine have? <|assistant|> SELECT "time" FROM "repechage" WHERE "cou...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "repechage" ( "rank" real, "rowers" text, "country" text, "time" text, "notes" text ); Question: What is the rank for the team that had a time of 6:41.45 and note FA? <|assistant|> SELECT SUM("r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "repechage" ( "rank" real, "rowers" text, "country" text, "time" text, "notes" text ); Question: What rank was the team from Australia? <|assistant|> SELECT COUNT("rank") FROM "repechage" WHERE ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "record" text ); Question: What is the highest game that has July 31 as the date? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "downstream_pittsburgh_to_olmsted" ( "locks_dam" text, "location_l" text, "river_mile" real, "lock_side" text, "lock_lift_drop_in_feet" text, "pool_length_miles" text ); Question: What is the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "downstream_pittsburgh_to_olmsted" ( "locks_dam" text, "location_l" text, "river_mile" real, "lock_side" text, "lock_lift_drop_in_feet" text, "pool_length_miles" text ); Question: What is the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "downstream_pittsburgh_to_olmsted" ( "locks_dam" text, "location_l" text, "river_mile" real, "lock_side" text, "lock_lift_drop_in_feet" text, "pool_length_miles" text ); Question: What is the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "downstream_pittsburgh_to_olmsted" ( "locks_dam" text, "location_l" text, "river_mile" real, "lock_side" text, "lock_lift_drop_in_feet" text, "pool_length_miles" text ); Question: What is the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "semifinal_c_d_2" ( "rank" real, "athlete" text, "country" text, "time" text, "notes" text ); Question: What is the lowest ranking for 8:13.67? <|assistant|> SELECT MIN("rank") FROM "semifinal_c...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "semifinal_c_d_2" ( "rank" real, "athlete" text, "country" text, "time" text, "notes" text ); Question: What is the time for Kazakhstan? <|assistant|> SELECT "time" FROM "semifinal_c_d_2" WHERE ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "semifinal_c_d_2" ( "rank" real, "athlete" text, "country" text, "time" text, "notes" text ); Question: What are the notes for South Africa? <|assistant|> SELECT "notes" FROM "semifinal_c_d_2" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "semifinal_c_d_2" ( "rank" real, "athlete" text, "country" text, "time" text, "notes" text ); Question: What country is ranked higher than 5? <|assistant|> SELECT "country" FROM "semifinal_c_d_2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "semifinal_c_d_2" ( "rank" real, "athlete" text, "country" text, "time" text, "notes" text ); Question: What is the total rank and fc notes from South Africa? <|assistant|> SELECT COUNT("rank") ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1963" ( "title" text, "series" text, "director" text, "production_number" real, "release_date" text ); Question: From what series was the title with a production number of 1614 that was directe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "kickboxing_record" ( "result" text, "record" text, "method" text, "event" text, "round" real, "location" text ); Question: What is the Result of the event with a Record of 1-3? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "kickboxing_record" ( "result" text, "record" text, "method" text, "event" text, "round" real, "location" text ); Question: What is the Round of the event with a Record of 5-4? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "v" ( "township" text, "county" text, "pop_2010" real, "land_sqmi" real, "water_sqmi" real, "latitude" real, "longitude" real, "geo_id" real, "ansi_code" real ); Question: What was the l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "v" ( "township" text, "county" text, "pop_2010" real, "land_sqmi" real, "water_sqmi" real, "latitude" real, "longitude" real, "geo_id" real, "ansi_code" real ); Question: What was the p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "v" ( "township" text, "county" text, "pop_2010" real, "land_sqmi" real, "water_sqmi" real, "latitude" real, "longitude" real, "geo_id" real, "ansi_code" real ); Question: Van Meter has ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "v" ( "township" text, "county" text, "pop_2010" real, "land_sqmi" real, "water_sqmi" real, "latitude" real, "longitude" real, "geo_id" real, "ansi_code" real ); Question: What was the l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams" ( "team" text, "location" text, "county" text, "division" text, "home_ground" text, "coach" text, "captain" text ); Question: Who is the coach for the Northamptonshire Steelbacks? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams" ( "team" text, "location" text, "county" text, "division" text, "home_ground" text, "coach" text, "captain" text ); Question: Which team is located in Leicester? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams" ( "team" text, "location" text, "county" text, "division" text, "home_ground" text, "coach" text, "captain" text ); Question: Which team is in Sussex county? <|assistant|> SELECT "te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams" ( "team" text, "location" text, "county" text, "division" text, "home_ground" text, "coach" text, "captain" text ); Question: What is the home ground for the team located in Canterbu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams" ( "team" text, "location" text, "county" text, "division" text, "home_ground" text, "coach" text, "captain" text ); Question: Who is the captain of the team coached by Giles White? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams" ( "team" text, "location" text, "county" text, "division" text, "home_ground" text, "coach" text, "captain" text ); Question: Which division is the Derbyshire Falcons in? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fifth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: Which tie number had a home team of Derby County? <|assistant|> SELECT "tie_no" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fifth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: What was the score of the tie with an away team of Stoke City? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "draw" real, "language" text, "artist" text, "english_translation" text, "place" real, "points" real ); Question: Which Artist has a Draw smaller than 14, and Points less than 73, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "draw" real, "language" text, "artist" text, "english_translation" text, "place" real, "points" real ); Question: How many points does mia martini have? <|assistant|> SELECT COUNT(...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "draw" real, "language" text, "artist" text, "english_translation" text, "place" real, "points" real ); Question: Which Artist has an English translation of all this is music? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_all_time_athletes_50_metres_women" ( "rank" real, "time" text, "athlete" text, "date" text, "place" text ); Question: What athlete has a Grenoble place? <|assistant|> SELECT "athlete" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "sixth_round" ( "pick" real, "team" text, "player" text, "position" text, "college" text ); Question: What is the Pick number of the Player from Syracuse? <|assistant|> SELECT "pick" FROM "sixth...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "sixth_round" ( "pick" real, "team" text, "player" text, "position" text, "college" text ); Question: What is the Offensive Guard Player from Mississippi State College with a Pick number larter ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "sixth_round" ( "pick" real, "team" text, "player" text, "position" text, "college" text ); Question: What is the College of the Pick from Denver Broncos? <|assistant|> SELECT "college" FROM "si...