text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: How many people attended the September 14, 1968 game? <|assistant|> SELECT COUNT("att...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1940" ( "title" text, "series" text, "director" text, "production_number" text, "release_date" text ); Question: Who is the director of the production number 9368? <|assistant|> SELECT "directo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1940" ( "title" text, "series" text, "director" text, "production_number" text, "release_date" text ); Question: What is the title with chuck jones as the director and the production number 953...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1940" ( "title" text, "series" text, "director" text, "production_number" text, "release_date" text ); Question: What is the release date of the mm series, which has the title tom thumb in trou...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1940" ( "title" text, "series" text, "director" text, "production_number" text, "release_date" text ); Question: What is the release date of the mm series which has the title confederate honey?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indianapolis_500" ( "year" real, "chassis" text, "engine" text, "start" real, "finish" real, "team" text ); Question: What is the start of the Team of Andretti Green Racing with a finish high...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indianapolis_500" ( "year" real, "chassis" text, "engine" text, "start" real, "finish" real, "team" text ); Question: What is the lowest start in a year after 2008? <|assistant|> SELECT MIN("...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indianapolis_500" ( "year" real, "chassis" text, "engine" text, "start" real, "finish" real, "team" text ); Question: What finish has a start smaller than 25? <|assistant|> SELECT "finish" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indianapolis_500" ( "year" real, "chassis" text, "engine" text, "start" real, "finish" real, "team" text ); Question: Where did the team of Rahal Letterman in 2006 start? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indianapolis_500" ( "year" real, "chassis" text, "engine" text, "start" real, "finish" real, "team" text ); Question: What year did Team of Andretti Green Racing have a finish smaller than 8 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "planned_for_theatrical_release_but_never" ( "title" text, "series" text, "director" text, "characters" text, "release_date" text ); Question: What director has 2004-03-31 as the release date, w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "planned_for_theatrical_release_but_never" ( "title" text, "series" text, "director" text, "characters" text, "release_date" text ); Question: What title has daffy (as duck dodgers) as the chara...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "planned_for_theatrical_release_but_never" ( "title" text, "series" text, "director" text, "characters" text, "release_date" text ); Question: What series has dan povenmire as the director, with...
<|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 was the highest number of 2009...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "northern_villages" ( "name" text, "population_2011" real, "population_2006" real, "change_pct" real, "land_area_km" real, "population_density_per_km" real ); Question: How much Population den...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "northern_villages" ( "name" text, "population_2011" real, "population_2006" real, "change_pct" real, "land_area_km" real, "population_density_per_km" real ); Question: Which Population densit...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "northern_villages" ( "name" text, "population_2011" real, "population_2006" real, "change_pct" real, "land_area_km" real, "population_density_per_km" real ); Question: How much Population (20...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "northern_villages" ( "name" text, "population_2011" real, "population_2006" real, "change_pct" real, "land_area_km" real, "population_density_per_km" real ); Question: Which Land area (km²) h...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "great_northern_section" ( "number" text, "previous_number_s" real, "previous_class" text, "converted" real, "withdrawn" real, "disposal" text ); Question: With a number of 30, what would be l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "great_northern_section" ( "number" text, "previous_number_s" real, "previous_class" text, "converted" real, "withdrawn" real, "disposal" text ); Question: With a previous number of 68165, wha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "great_northern_section" ( "number" text, "previous_number_s" real, "previous_class" text, "converted" real, "withdrawn" real, "disposal" text ); Question: With a converted less than 1966 and ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_wickets" ( "player" text, "matches" text, "overs" text, "wickets" text, "economy_rate" text, "average" text, "strike_rate" text ); Question: What is the average when the matches are 11...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_wickets" ( "player" text, "matches" text, "overs" text, "wickets" text, "economy_rate" text, "average" text, "strike_rate" text ); Question: What is the overs when the matches are 10? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "chevy_rock_roll_400" ( "pos" real, "car_num" real, "driver" text, "make" text, "team" text ); Question: Which Car # has a Driver of ryan newman, and a Position larger than 10? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "chevy_rock_roll_400" ( "pos" real, "car_num" real, "driver" text, "make" text, "team" text ); Question: Which Car # has a Team of hendrick motorsports, and a Driver of mark martin, and a Positi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "saturday_and_sundays_programming_as_of_s" ( "time" text, "show_name" text, "local_networked" text, "ad_freq" text, "news_freq" text ); Question: Which time has a local/networked value of Local,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "saturday_and_sundays_programming_as_of_s" ( "time" text, "show_name" text, "local_networked" text, "ad_freq" text, "news_freq" text ); Question: Which time has a news frequency of 1 hour and sh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "saturday_and_sundays_programming_as_of_s" ( "time" text, "show_name" text, "local_networked" text, "ad_freq" text, "news_freq" text ); Question: What is the ad frequency for the show named Heal...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "saturday_and_sundays_programming_as_of_s" ( "time" text, "show_name" text, "local_networked" text, "ad_freq" text, "news_freq" text ); Question: What is the news frequency for the show Locker R...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "saturday_and_sundays_programming_as_of_s" ( "time" text, "show_name" text, "local_networked" text, "ad_freq" text, "news_freq" text ); Question: What is the local/networked value for the show w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "heat_2" ( "rank" real, "athletes" text, "country" text, "time" text, "notes" text ); Question: When france had a rank larger than 2, what was their time? <|assistant|> SELECT "time" FROM "heat_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "heat_2" ( "rank" real, "athletes" text, "country" text, "time" text, "notes" text ); Question: What was the time for the country of kazakhstan? <|assistant|> SELECT "time" FROM "heat_2" WHERE "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "heat_2" ( "rank" real, "athletes" text, "country" text, "time" text, "notes" text ); Question: What athletes represented the country of germany? <|assistant|> SELECT "athletes" FROM "heat_2" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "heat_2" ( "rank" real, "athletes" text, "country" text, "time" text, "notes" text ); Question: What was the rank for the finish time of 1:42.054? <|assistant|> SELECT AVG("rank") FROM "heat_2" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "heat_2" ( "rank" real, "athletes" text, "country" text, "time" text, "notes" text ); Question: Which country had a rank smaller than 7 and a time of 1:43.189? <|assistant|> SELECT "country" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results_by_team" ( "club" text, "winners" real, "last_final_won" text, "runners_up" real, "last_final_lost" text ); Question: what is the club when the runners-up is 1 and the last final won is...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results_by_team" ( "club" text, "winners" real, "last_final_won" text, "runners_up" real, "last_final_lost" text ); Question: what is the last final won when runners-up is 1 and club is rijeka?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results_by_team" ( "club" text, "winners" real, "last_final_won" text, "runners_up" real, "last_final_lost" text ); Question: How many times is runners-up less than 0? <|assistant|> SELECT COUN...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "football_league_division_two" ( "game" real, "date" text, "opponent" text, "venue" text, "result" text, "attendance" real ); Question: How many games have a Result of 4–0, and an Attendance l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "football_league_division_two" ( "game" real, "date" text, "opponent" text, "venue" text, "result" text, "attendance" real ); Question: Which Result has a Game larger than 6, and an Attendance...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "football_league_division_two" ( "game" real, "date" text, "opponent" text, "venue" text, "result" text, "attendance" real ); Question: Which Result has a Venue of away, and a Game smaller tha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "football_league_division_two" ( "game" real, "date" text, "opponent" text, "venue" text, "result" text, "attendance" real ); Question: Which Result has a Venue of home, and a Date of 3 octobe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles" ( "location" text, "year" text, "champion" text, "runner_up" text, "score" text, "name" text ); Question: What is the score of 1993? <|assistant|> SELECT "score" FROM "doubles" WHERE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles" ( "location" text, "year" text, "champion" text, "runner_up" text, "score" text, "name" text ); Question: What is the Name when the runner-up was Sania Mirza Elena Vesnina? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles" ( "location" text, "year" text, "champion" text, "runner_up" text, "score" text, "name" text ); Question: What is the name with a Score of 6–3, 6–3? <|assistant|> SELECT "name" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles" ( "location" text, "year" text, "champion" text, "runner_up" text, "score" text, "name" text ); Question: What was the location in 2009? <|assistant|> SELECT "location" FROM "doubles...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_conversion_period_1867_1887" ( "class" text, "railway_number_s" text, "quantity_rebuilt" real, "rebuild_year_s" text, "type" text ); Question: What's the railway number of a D(rebuild) cl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_conversion_period_1867_1887" ( "class" text, "railway_number_s" text, "quantity_rebuilt" real, "rebuild_year_s" text, "type" text ); Question: What the least quantity having a T2A class? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "heat_3" ( "rank" real, "lane" real, "athlete" text, "nationality" text, "time" real, "react" real ); Question: Which lane did the swimmer who had a Reaction time of 0.185 and a time of 20.9 s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "heat_3" ( "rank" real, "lane" real, "athlete" text, "nationality" text, "time" real, "react" real ); Question: What was the 200-metre time for the swimmer from Slovenia in lane 9? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "heat_3" ( "rank" real, "lane" real, "athlete" text, "nationality" text, "time" real, "react" real ); Question: Who was the swimmer from Dominica who had a time of 21.2 and swam in lane 7? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "seventh_round" ( "pick" real, "team" text, "player" text, "position" text, "college" text ); Question: What player had a pick higher than 53, and a position of defensive tackle? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "seventh_round" ( "pick" real, "team" text, "player" text, "position" text, "college" text ); Question: What team is Jim Garcia category:Articles with Hcards on? <|assistant|> SELECT "team" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "seventh_round" ( "pick" real, "team" text, "player" text, "position" text, "college" text ); Question: Who is the pick from the Purdue College? <|assistant|> SELECT "pick" FROM "seventh_round" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "records" ( "world_record" text, "snatch" text, "marcin_do_ga_pol" text, "199kg" text, "w_adys_awowo_poland" text ); Question: What shows for Marcin Dołęga ( POL )when the world record shows oly...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "records" ( "world_record" text, "snatch" text, "marcin_do_ga_pol" text, "199kg" text, "w_adys_awowo_poland" text ); Question: What is the snatch when Marcin Dołęga ( POL ) was 430kg? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "records" ( "world_record" text, "snatch" text, "marcin_do_ga_pol" text, "199kg" text, "w_adys_awowo_poland" text ); Question: What shows for Władysławowo, Poland when the world record was clean...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "records" ( "world_record" text, "snatch" text, "marcin_do_ga_pol" text, "199kg" text, "w_adys_awowo_poland" text ); Question: What shows for Władysławowo, Poland when the world record shows oly...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text ); Question: What date has 0-6700-30838-2-9 for a catalog? <|assistant|> SELECT "date" FROM "release_h...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text ); Question: What's the date in the United Kingdom having a catalog of reveal50cd/lp? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: What day was king's cup 1996? <|assistant|> SELECT "date" FROM "international_goal...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: What was the score for king's cup 1996? <|assistant|> SELECT "score" FROM "interna...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: What was the result when the score was 5-1? <|assistant|> SELECT "result" FROM "in...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ); Question: What tournament had an A in 2012 and Q2 in 2010? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ); Question: What's the 2010 when they had a Q2 in 2009? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ); Question: What's the 2012 during Wimbledon and had a Q3 in 2008? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ); Question: What's the tournament name when they had an A in 2011 & 2012? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ); Question: What's the 2012 when 2009 was 205? <|assistant|> SELECT "2012" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "and" ( "peak" text, "country" text, "elevation_m" real, "prominence_m" real, "col_m" real ); Question: How much Col (m) has a Prominence (m) of 2,344? <|assistant|> SELECT COUNT("col_m") FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "and" ( "peak" text, "country" text, "elevation_m" real, "prominence_m" real, "col_m" real ); Question: Which Prominence (m) has a Col (m) of 350? <|assistant|> SELECT AVG("prominence_m") FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "and" ( "peak" text, "country" text, "elevation_m" real, "prominence_m" real, "col_m" real ); Question: Which Elevation (m) has a Prominence (m) smaller than 2,456, and a Peak of mount kyllini, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "heat_4" ( "rank" real, "athlete" text, "country" text, "time" text, "notes" text ); Question: Who was the athlete from Lithuania? <|assistant|> SELECT "athlete" FROM "heat_4" WHERE "country"='l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fairfax_county_board_of_supervisors_resu" ( "year" text, "subject" text, "party" text, "votes" real, "opponent" text ); Question: How many votes did Jeannemarie Devolites Davis get in 1995-Spec...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fairfax_county_board_of_supervisors_resu" ( "year" text, "subject" text, "party" text, "votes" real, "opponent" text ); Question: Who was the subject for the year of 2007? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fairfax_county_board_of_supervisors_resu" ( "year" text, "subject" text, "party" text, "votes" real, "opponent" text ); Question: Which party has a voting total greater than 4,478? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "in" ( "nat" text, "name" text, "moving_from" text, "type" text, "transfer_window" text, "ends" real, "transfer_fee" text ); Question: Which Type has a Nat of geo? <|assistant|> SELECT "type...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "in" ( "nat" text, "name" text, "moving_from" text, "type" text, "transfer_window" text, "ends" real, "transfer_fee" text ); Question: Which Moving from has a Nat of ned? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "in" ( "nat" text, "name" text, "moving_from" text, "type" text, "transfer_window" text, "ends" real, "transfer_fee" text ); Question: Which Ends have a Name of zambrano? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "in" ( "nat" text, "name" text, "moving_from" text, "type" text, "transfer_window" text, "ends" real, "transfer_fee" text ); Question: Which Transfer fee has a Moving from of youth system, a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "in" ( "nat" text, "name" text, "moving_from" text, "type" text, "transfer_window" text, "ends" real, "transfer_fee" text ); Question: Which Transfer fee has Ends larger than 2011, and a Mov...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "equestrian" ( "athlete" text, "class" text, "horse" text, "event" text, "result" text, "rank" text ); Question: What is the result for the Toscane Horse in the freestyle test? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "equestrian" ( "athlete" text, "class" text, "horse" text, "event" text, "result" text, "rank" text ); Question: What horse has a 66.452 result? <|assistant|> SELECT "horse" FROM "equestrian" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "equestrian" ( "athlete" text, "class" text, "horse" text, "event" text, "result" text, "rank" text ); Question: What event did Sjerstin Vermeulen receive a 66.452 result? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "equestrian" ( "athlete" text, "class" text, "horse" text, "event" text, "result" text, "rank" text ); Question: What class had a Championship Test event with a 62.516 result? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "equestrian" ( "athlete" text, "class" text, "horse" text, "event" text, "result" text, "rank" text ); Question: What horse has a 65.863 result? <|assistant|> SELECT "horse" FROM "equestrian" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "engines" ( "model" text, "years" text, "engine" text, "displacement" text, "power" text, "fuel_system" text ); Question: What is the displacement for the model 1400? <|assistant|> SELECT "dis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "engines" ( "model" text, "years" text, "engine" text, "displacement" text, "power" text, "fuel_system" text ); Question: What is the displacement when the fuel system is carburettor, and a po...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "engines" ( "model" text, "years" text, "engine" text, "displacement" text, "power" text, "fuel_system" text ); Question: What engine with the years of 1975-84 has a model of 1600? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "engines" ( "model" text, "years" text, "engine" text, "displacement" text, "power" text, "fuel_system" text ); Question: What displacement has a model of 2000? <|assistant|> SELECT "displacem...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "engines" ( "model" text, "years" text, "engine" text, "displacement" text, "power" text, "fuel_system" text ); Question: What engine with years of 1975-84 has a displacement of 1585cc? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "engines" ( "model" text, "years" text, "engine" text, "displacement" text, "power" text, "fuel_system" text ); Question: What is the power for the years 1975-84? <|assistant|> SELECT "power" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "al_ahly_results" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); Question: What is the 2nd leg in match with team 2 of Teram? <|assistant|> SELECT "2nd_leg" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "tv_time" text, "attendance" text ); Question: What was the result of the December 15, 2002 game? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "tv_time" text, "attendance" text ); Question: What date was the game that was attended by 69,024? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "tv_time" text, "attendance" text ); Question: On what date was the week 17 game? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "volleyball_at_the_2008_summer_olympics_w" ( "name" text, "height" text, "weight" text, "spike" text, "2008_club" text ); Question: What is the name of the 2008 club for Istres Volleyball? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "p_series_1939_1944" ( "model" text, "built" text, "quantity" real, "seats" real, "length" text, "engine" text ); Question: What is the Model of the Engine with 29 Seats Built in 1941–1942? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "p_series_1939_1944" ( "model" text, "built" text, "quantity" real, "seats" real, "length" text, "engine" text ); Question: What is the Quantity of the engine Model PG-2901? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_clubs" ( "team" text, "matches" real, "wins" real, "wins_pct" text, "draws" real, "draws_pct" text, "losses" real, "losses_pct" text, "against" real, "for_against_ratio" text ); Qu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_clubs" ( "team" text, "matches" real, "wins" real, "wins_pct" text, "draws" real, "draws_pct" text, "losses" real, "losses_pct" text, "against" real, "for_against_ratio" text ); Qu...