text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "conto_tv_teleitalia" ( "television_service" text, "country" text, "language" text, "content" text, "hdtv" text, "package_option" text ); Question: Which television service has programmi per a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "conto_tv_teleitalia" ( "television_service" text, "country" text, "language" text, "content" text, "hdtv" text, "package_option" text ); Question: Which television service has a qualsiasi pac...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_ladder" ( "ballarat_fl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real ); Question: What is the total number of wins for Darley of Ballarat FL against larger...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_ladder" ( "ballarat_fl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real ); Question: What is the lowest draw that has less than 4 wins, 14 losses, and against...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_ladder" ( "ballarat_fl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real ); Question: What is the average Byes that has Ballarat FL of Sunbury against more tha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_ladder" ( "ballarat_fl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real ); Question: What is the average draws with more than 1 win, 14 losses, and against le...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_ladder" ( "ballarat_fl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real ); Question: What was the lowest draw from Ballarat FL of sunbury, and byes larger tha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opinion_polls" ( "party" text, "medium_gallup_march_2008" real, "strategic_marketing_march_2008" real, "ce_sid_may_2008" real, "medium_gallup_may_2008" real ); Question: What is the highest med...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opinion_polls" ( "party" text, "medium_gallup_march_2008" real, "strategic_marketing_march_2008" real, "ce_sid_may_2008" real, "medium_gallup_may_2008" real ); Question: What is the sum of Medi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "monday" ( "8_00" text, "8_30" text, "9_00" text, "9_30" text, "10_00" text ); Question: What show is on at 9:30 when Dating in the Dark is on at 10:00? <|assistant|> SELECT "9_30" FROM "monday"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "monday" ( "8_00" text, "8_30" text, "9_00" text, "9_30" text, "10_00" text ); Question: What show is on at 9:00 when Law & Order: Criminal Intent is on at 9:30 and The Great American Road Trip ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "monday" ( "8_00" text, "8_30" text, "9_00" text, "9_30" text, "10_00" text ); Question: What show is on at 9:00 when The Bachelorette is on at 8:30? <|assistant|> SELECT "9_00" FROM "monday" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_record" ( "season" text, "competition" text, "round" text, "club" text, "home" text, "away" text ); Question: Which away has apoel as the club? <|assistant|> SELECT "away" FROM "euro...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_record" ( "season" text, "competition" text, "round" text, "club" text, "home" text, "away" text ); Question: Which away has uefa cup as the competition, group f as the round, with e...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "accidents_and_incidents" ( "location" text, "aircraft" text, "tail_number" text, "aircraft_damage" text, "fatalities" text ); Question: In what location were the fatalities unknown for the Ju-5...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "accidents_and_incidents" ( "location" text, "aircraft" text, "tail_number" text, "aircraft_damage" text, "fatalities" text ); Question: In what location was the tail number ZS-SPF? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "accidents_and_incidents" ( "location" text, "aircraft" text, "tail_number" text, "aircraft_damage" text, "fatalities" text ); Question: What was the location of the Ju-52 aircraft? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "accidents_and_incidents" ( "location" text, "aircraft" text, "tail_number" text, "aircraft_damage" text, "fatalities" text ); Question: How many fatalities occurred for an unknown tail number? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "accidents_and_incidents" ( "location" text, "aircraft" text, "tail_number" text, "aircraft_damage" text, "fatalities" text ); Question: What was the tail number with 3/3 fatalities? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "accidents_and_incidents" ( "location" text, "aircraft" text, "tail_number" text, "aircraft_damage" text, "fatalities" text ); Question: How many fatalities occurred for the Ju-52 aircraft? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "goal" real, "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: What was the score for a goal of 6? <|assistant|> SELECT "score" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "goal" real, "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: Where was the match held on July 17, 1999? <|assistant|> SELECT "ve...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1910_state_election_results" ( "office" text, "democratic_ticket" text, "republican_ticket" text, "socialist_ticket" text, "independence_league_ticket" text, "prohibition_ticket" text, "soci...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "angiosperms" ( "name" text, "novelty" text, "status" text, "authors" text, "unit" text, "location" text ); Question: What name has gen et sp nov as the novelty? <|assistant|> SELECT "name" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "angiosperms" ( "name" text, "novelty" text, "status" text, "authors" text, "unit" text, "location" text ); Question: What authors have clarno formation as the unit, actinidia oregonensis as t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "angiosperms" ( "name" text, "novelty" text, "status" text, "authors" text, "unit" text, "location" text ); Question: What novelty has USA as the location, and coryloides as the name? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "angiosperms" ( "name" text, "novelty" text, "status" text, "authors" text, "unit" text, "location" text ); Question: What status has paleopanax as the name? <|assistant|> SELECT "status" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "angiosperms" ( "name" text, "novelty" text, "status" text, "authors" text, "unit" text, "location" text ); Question: What unit has gen et sp nov as the novelty? <|assistant|> SELECT "unit" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pga_tour_wins_20" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text ); Question: Which date was the Memorial Tournament held on, when Payne St...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_slam_record" ( "event" text, "2006_07" text, "2007_08" text, "2008_09" text, "2009_10" text, "2010_11" text, "2011_12" text, "2012_13" text ); Question: What grand slam event has a ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_slam_record" ( "event" text, "2006_07" text, "2007_08" text, "2008_09" text, "2009_10" text, "2010_11" text, "2011_12" text, "2012_13" text ); Question: What is the 2009-10 result t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_slam_record" ( "event" text, "2006_07" text, "2007_08" text, "2008_09" text, "2009_10" text, "2010_11" text, "2011_12" text, "2012_13" text ); Question: What is the 2007-08 result w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_slam_record" ( "event" text, "2006_07" text, "2007_08" text, "2008_09" text, "2009_10" text, "2010_11" text, "2011_12" text, "2012_13" text ); Question: What is the result in 2008-0...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_slam_record" ( "event" text, "2006_07" text, "2007_08" text, "2008_09" text, "2009_10" text, "2010_11" text, "2011_12" text, "2012_13" text ); Question: What result in 2006-07 has a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_slam_record" ( "event" text, "2006_07" text, "2007_08" text, "2008_09" text, "2009_10" text, "2010_11" text, "2011_12" text, "2012_13" text ); Question: What is the 2008-09 result h...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women" ( "year" real, "actor" text, "award" text, "series" text, "result" text ); Question: What year gave a nominated result for the room 222 series? <|assistant|> SELECT COUNT("year") FROM "w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women" ( "year" real, "actor" text, "award" text, "series" text, "result" text ); Question: What was actor Teresa Graves's series before the year 1993? <|assistant|> SELECT "series" FROM "women...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "trams" ( "class" text, "quantity" real, "manufacturer" text, "motor" text, "seats" real ); Question: Which motor's quantity was more than 8, and a class of bs 1915? <|assistant|> SELECT "motor"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "trams" ( "class" text, "quantity" real, "manufacturer" text, "motor" text, "seats" real ); Question: Which motor's class was bs 1910? <|assistant|> SELECT "motor" FROM "trams" WHERE "class"='bs...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "trams" ( "class" text, "quantity" real, "manufacturer" text, "motor" text, "seats" real ); Question: What is the quantity when the seats number was 16 and the class was kss 1913? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_2_2008" ( "advocate_num_1" text, "advocate_num_2" text, "root_of_all_evil" text, "poll_winner" text, "original_air_date" text ); Question: What is the Root of All Evil with an Original a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_b" ( "place_posici_n" real, "team_equipo" text, "played_pj" real, "won_pg" real, "draw_pe" real, "lost_pp" real, "goals_scored_gf" real, "goals_conceded_gc" real, "dif" real, "po...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "composition_of_the_6th_seanad" ( "administrative_panel" real, "agricultural_panel" real, "cultural_and_educational_panel" real, "industrial_and_commercial_panel" real, "labour_panel" real, "na...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_countries" ( "rank" real, "country" text, "winner" real, "runner_up" real, "losing_semi_finalist" real ); Question: Which Rank has a Losing Semi- finalist larger than 1, and a Winner smalle...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_countries" ( "rank" real, "country" text, "winner" real, "runner_up" real, "losing_semi_finalist" real ); Question: Which Rank has a Country of costa rica, and a Losing Semi- finalist large...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_countries" ( "rank" real, "country" text, "winner" real, "runner_up" real, "losing_semi_finalist" real ); Question: Which Rank has a Runner -up smaller than 0? <|assistant|> SELECT MAX("ran...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "year" text, "dates" text, "champion" text, "country" text, "score" text, "tournament_location" text, "purse" real, "winner_s_share" real ); Question: What is the Winner's shar...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "year" text, "dates" text, "champion" text, "country" text, "score" text, "tournament_location" text, "purse" real, "winner_s_share" real ); Question: What Year was the United ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "year" text, "dates" text, "champion" text, "country" text, "score" text, "tournament_location" text, "purse" real, "winner_s_share" real ); Question: What is the highest Purse...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "football_wrestling" ( "television_service" text, "country" text, "language" text, "content" text, "hdtv" text, "package_option" text ); Question: Which country has a qualsiasi tranne sky hd p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "football_wrestling" ( "television_service" text, "country" text, "language" text, "content" text, "hdtv" text, "package_option" text ); Question: Which package/option has sky wwe 24/7 televis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "football_wrestling" ( "television_service" text, "country" text, "language" text, "content" text, "hdtv" text, "package_option" text ); Question: What is the package/option for the calcio con...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "football_wrestling" ( "television_service" text, "country" text, "language" text, "content" text, "hdtv" text, "package_option" text ); Question: What is the language of the television servic...
<|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: What kind of bike had a grid less than 23, an accident under time, and Graeme Gow...
<|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: Who was the rider with more than 5 laps on a grid bigger than 29 on a Honda CBR60...
<|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: Who was the rider with a grid of 36? <|assistant|> SELECT "rider" FROM "superspor...
<|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 bike had a grid less than 35 and time at 37:58.607? <|assistant|> SELECT "b...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "yugoslavia" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "director" text, "result" text ); Question: What is Result, when Director is Veljko Bulajić cate...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "yugoslavia" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "director" text, "result" text ); Question: What is Result, when Director is Mirza Idrizović cat...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "yugoslavia" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "director" text, "result" text ); Question: What is Original title, when Film title used in nomi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "yugoslavia" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "director" text, "result" text ); Question: What is Original title, when Director is Veljko Bula...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "yugoslavia" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "director" text, "result" text ); Question: What is Film title used in nomination, when Year (Ce...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "yugoslavia" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "director" text, "result" text ); Question: What is Director, when Result is nominee, and when Y...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_united_states_national_ice_hocke" ( "position" text, "jersey_num" real, "name" text, "height_cm" real, "weight_kg" real, "birthdate" text, "birthplace" text, "previous_club_team" t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams" ( "season" text, "skip" text, "third" text, "second" text, "lead" text ); Question: What is the Lead for the 1999–00 season? <|assistant|> SELECT "lead" FROM "teams" WHERE "season"='1999...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams" ( "season" text, "skip" text, "third" text, "second" text, "lead" text ); Question: What is the Second when the third is don walchuk? <|assistant|> SELECT "second" FROM "teams" WHERE "th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams" ( "season" text, "skip" text, "third" text, "second" text, "lead" text ); Question: What is the Season when the Lead was don bartlett, and the third was don walchuk, and a Second of cart...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams" ( "season" text, "skip" text, "third" text, "second" text, "lead" text ); Question: What is the Skip when the Third was john morris? <|assistant|> SELECT "skip" FROM "teams" WHERE "third...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams" ( "season" text, "skip" text, "third" text, "second" text, "lead" text ); Question: What is the Third when the Lead was don bartlett, the Second was carter rycroft, and a Season of 2003–...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams" ( "season" text, "skip" text, "third" text, "second" text, "lead" text ); Question: What is the Lead when the Second was marc kennedy, in the 2012–13 season? <|assistant|> SELECT "lead" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "clubs_stadiums_and_locations" ( "team" text, "city" text, "state" text, "home_venue" text, "capacity" text ); Question: What is the name of the city with a capacity of 41,311? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "clubs_stadiums_and_locations" ( "team" text, "city" text, "state" text, "home_venue" text, "capacity" text ); Question: What is the State with Suwon as the city <|assistant|> SELECT "state" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "clubs_stadiums_and_locations" ( "team" text, "city" text, "state" text, "home_venue" text, "capacity" text ); Question: What is the State with a home venue of suwon sports complex? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "clubs_stadiums_and_locations" ( "team" text, "city" text, "state" text, "home_venue" text, "capacity" text ); Question: What is the team name for Chungju? <|assistant|> SELECT "team" FROM "club...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "clubs_stadiums_and_locations" ( "team" text, "city" text, "state" text, "home_venue" text, "capacity" text ); Question: What is the Team with a venue of Anyang Stadium? <|assistant|> SELECT "te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "clubs_stadiums_and_locations" ( "team" text, "city" text, "state" text, "home_venue" text, "capacity" text ); Question: What is the State with Gwangju Fc as the team? <|assistant|> SELECT "stat...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round_saturday" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is the To par, when the Player is Loren Roberts? <|assistant|> SELECT "to_par"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round_saturday" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is the To par, when the Score is 68-71-69=208? <|assistant|> SELECT "to_par" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round_saturday" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is the Place, when the Score is 68-70-71=209? <|assistant|> SELECT "place" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round_saturday" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is the Place, when the Player is Chris Dimarco? <|assistant|> SELECT "place" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round_saturday" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is the Score, when the Country is United States, when the Place is T3, and whe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_10_2_titles_8_runners_up" ( "outcome" text, "date" text, "surface" text, "opponent" text, "score" text ); Question: What is the score where the opponent was Mardy Fish? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_champion_9" ( "date" text, "tournament" text, "surface" text, "partnering" text, "opponent_in_the_final" text, "score" text ); Question: What surface was played on with a score of 6–4...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_champion_9" ( "date" text, "tournament" text, "surface" text, "partnering" text, "opponent_in_the_final" text, "score" text ); Question: What is the name of the tournament played 13 N...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_champion_9" ( "date" text, "tournament" text, "surface" text, "partnering" text, "opponent_in_the_final" text, "score" text ); Question: Which tournament was played on 12 February 200...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round_num" real, "pick_num" real, "player" text, "position" text, "college" text ); Question: What is the average round number with wide receiver as position and Clark University ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "british_universities_and_colleges_sport" ( "team" text, "university" text, "location" text, "year_entered_league" real, "2013_14_division" text ); Question: Which team had a year entering the l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "british_universities_and_colleges_sport" ( "team" text, "university" text, "location" text, "year_entered_league" real, "2013_14_division" text ); Question: What is the year of entry for the Un...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "british_universities_and_colleges_sport" ( "team" text, "university" text, "location" text, "year_entered_league" real, "2013_14_division" text ); Question: What is the 2013-2014 division for t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "british_universities_and_colleges_sport" ( "team" text, "university" text, "location" text, "year_entered_league" real, "2013_14_division" text ); Question: Which university was in the Western ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2008_ladder" ( "ballarat_fl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real ); Question: What is the least amount of draws with an against of 1261? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cover_version" ( "album" text, "release_date" text, "label" text, "format" text, "covered_song" text, "original_song" text ); Question: What label shows an Album of cover version v? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cover_version" ( "album" text, "release_date" text, "label" text, "format" text, "covered_song" text, "original_song" text ); Question: What is the Label for the Covered Song named " sign o' ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cover_version" ( "album" text, "release_date" text, "label" text, "format" text, "covered_song" text, "original_song" text ); Question: What is the Label when the album shows cover version vi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cover_version" ( "album" text, "release_date" text, "label" text, "format" text, "covered_song" text, "original_song" text ); Question: What is the Release date for the Covered Song named " s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cover_version" ( "album" text, "release_date" text, "label" text, "format" text, "covered_song" text, "original_song" text ); Question: What shows as the Original Song when the Covered Song w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cover_version" ( "album" text, "release_date" text, "label" text, "format" text, "covered_song" text, "original_song" text ); Question: What is the name of the Covered Song when the Album sho...
<|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, "attendance" text ); Question: What is the sum of Week when there were 67,968 people in attendance? <|assistant|> SELECT SU...