text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: What number of Points are show...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: What is the Lowest lost for Te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: What is the highest number of ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "number_of_championships_by_school" ( "university" text, "men_s" real, "women_s" real, "runner_up" real, "total_championships" real ); Question: What is the average number of runner-up that Nati...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "number_of_championships_by_school" ( "university" text, "men_s" real, "women_s" real, "runner_up" real, "total_championships" real ); Question: What is the lowest number of total championships ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "number_of_championships_by_school" ( "university" text, "men_s" real, "women_s" real, "runner_up" real, "total_championships" real ); Question: How many runner-ups does the university with more...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "number_of_championships_by_school" ( "university" text, "men_s" real, "women_s" real, "runner_up" real, "total_championships" real ); Question: What is the average total championships of the un...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "number_of_championships_by_school" ( "university" text, "men_s" real, "women_s" real, "runner_up" real, "total_championships" real ); Question: What is the lowest number of total championships ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1916_state_election_results" ( "office" text, "republican_ticket" text, "democratic_ticket" text, "socialist_ticket" text, "prohibition_ticket" text, "progressive_ticket" text, "independence...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1916_state_election_results" ( "office" text, "republican_ticket" text, "democratic_ticket" text, "socialist_ticket" text, "prohibition_ticket" text, "progressive_ticket" text, "independence...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1916_state_election_results" ( "office" text, "republican_ticket" text, "democratic_ticket" text, "socialist_ticket" text, "prohibition_ticket" text, "progressive_ticket" text, "independence...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1916_state_election_results" ( "office" text, "republican_ticket" text, "democratic_ticket" text, "socialist_ticket" text, "prohibition_ticket" text, "progressive_ticket" text, "independence...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1916_state_election_results" ( "office" text, "republican_ticket" text, "democratic_ticket" text, "socialist_ticket" text, "prohibition_ticket" text, "progressive_ticket" text, "independence...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1916_state_election_results" ( "office" text, "republican_ticket" text, "democratic_ticket" text, "socialist_ticket" text, "prohibition_ticket" text, "progressive_ticket" text, "independence...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1898_state_election_results" ( "office" text, "republican_ticket" text, "democratic_ticket" text, "socialist_labor_ticket" text, "prohibition_ticket" text, "independent_citizens_ticket" text )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1898_state_election_results" ( "office" text, "republican_ticket" text, "democratic_ticket" text, "socialist_labor_ticket" text, "prohibition_ticket" text, "independent_citizens_ticket" text )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1898_state_election_results" ( "office" text, "republican_ticket" text, "democratic_ticket" text, "socialist_labor_ticket" text, "prohibition_ticket" text, "independent_citizens_ticket" text )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1898_state_election_results" ( "office" text, "republican_ticket" text, "democratic_ticket" text, "socialist_labor_ticket" text, "prohibition_ticket" text, "independent_citizens_ticket" text )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1898_state_election_results" ( "office" text, "republican_ticket" text, "democratic_ticket" text, "socialist_labor_ticket" text, "prohibition_ticket" text, "independent_citizens_ticket" text )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1898_state_election_results" ( "office" text, "republican_ticket" text, "democratic_ticket" text, "socialist_labor_ticket" text, "prohibition_ticket" text, "independent_citizens_ticket" text )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real ); Question: What is the lowest grid number when Colin Edwards is the rider? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real ); Question: What is the time/retired when there are less than 22 laps and honda is th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real ); Question: What is the average number of laps when the grid number is 9? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real ); Question: What is the highest number of laps when honda is the manufacturer and the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real ); Question: Who is the rider when the grid number is 3? <|assistant|> SELECT "rider" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real ); Question: How many laps were driven when the time/retired is +44.284? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "coins" ( "value" text, "equiv" text, "diameter" text, "weight" text, "composition" text ); Question: What is the value of the coin weighing 10.5 g and made of cupronickel? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "coins" ( "value" text, "equiv" text, "diameter" text, "weight" text, "composition" text ); Question: What is the coin with a € equivalency of 0.30 made of? <|assistant|> SELECT "composition" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "coins" ( "value" text, "equiv" text, "diameter" text, "weight" text, "composition" text ); Question: What is the coin that weighs 3 g made of? <|assistant|> SELECT "composition" FROM "coins" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "coins" ( "value" text, "equiv" text, "diameter" text, "weight" text, "composition" text ); Question: What is the diameter of the coin with a € equivalence of 0.60? <|assistant|> SELECT "diamete...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "coins" ( "value" text, "equiv" text, "diameter" text, "weight" text, "composition" text ); Question: How much does the coin with a 14mm diameter weigh? <|assistant|> SELECT "weight" FROM "coins...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "monster_radio_stations" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "coverage" text ); Question: What is the coverage for the 99.5mhz frequency? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "monster_radio_stations" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "coverage" text ); Question: What is the power in kW corresponding to the station that covers Gen...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "monster_radio_stations" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "coverage" text ); Question: What is the branding for the station with a frequency of 93.1mhz and...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "monster_radio_stations" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "coverage" text ); Question: What is the frequency for the 10kw station with DXEZ as its callsign...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "monster_radio_stations" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "coverage" text ); Question: What is the frequency for the station with DYBT as its callsign? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "monster_radio_stations" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "coverage" text ); Question: What is the branding for the station with a frequency of 93.1mhz and...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "past_winners" ( "year" real, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text ); Question: What is Women's Doubles, when Year i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "brazil_s_15_busiest_airports_by_passenge" ( "rank" real, "location" text, "total_passengers" real, "annual_change" text, "capacity_in_use" text ); Question: Can you tell me lowest Rank that has...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "brazil_s_15_busiest_airports_by_passenge" ( "rank" real, "location" text, "total_passengers" real, "annual_change" text, "capacity_in_use" text ); Question: Can you tell me the lowest Total Pas...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "brazil_s_15_busiest_airports_by_passenge" ( "rank" real, "location" text, "total_passengers" real, "annual_change" text, "capacity_in_use" text ); Question: Can you tell me the Annual change th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "lpga_tour_career_summary" ( "year" real, "tournaments_played" real, "cuts_made" real, "wins" real, "best_finish" text, "earnings" text, "scoring_average" real ); Question: What is the avera...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "lpga_tour_career_summary" ( "year" real, "tournaments_played" real, "cuts_made" real, "wins" real, "best_finish" text, "earnings" text, "scoring_average" real ); Question: What is the total...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "standings" ( "locale" text, "skip" text, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" text ); Question: What is Madeleine Dupont's shot pct.? <|assis...
<|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: Ca...
<|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: Ca...
<|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: Ca...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "member_schools" ( "school" text, "location" text, "enrolment" real, "founded" real, "denomination" text, "boys_girls" text, "day_boarding" text, "year_entered_competition" real, "school_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "preseason" ( "week" text, "date" text, "opponent" text, "result" text, "game_site" text, "record" text, "attendance" real ); Question: What's the highest attendance for a game the Texan's p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "preseason" ( "week" text, "date" text, "opponent" text, "result" text, "game_site" text, "record" text, "attendance" real ); Question: Who did the Texan's play on Week 4? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "preseason" ( "week" text, "date" text, "opponent" text, "result" text, "game_site" text, "record" text, "attendance" real ); Question: What's the date for HOF week? <|assistant|> SELECT "da...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_goalscorers" ( "name" text, "league" text, "fa_cup" text, "league_cup" text, "football_league_trophy" text, "watney_cup" text, "welsh_cup" text, "total" text ); Question: What is Tota...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "candidate" text, "votes" real, "percentage" text, "counties" real, "delegates" real ); Question: What is the lowest number of delegates when John McCain was the candidate with less ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "candidate" text, "votes" real, "percentage" text, "counties" real, "delegates" real ); Question: What is the sum of Counties when there were 701,761 votes and less than 57 delegates...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "candidate" text, "votes" real, "percentage" text, "counties" real, "delegates" real ); Question: What is the highest Counties when Mitt Romney was the candidate with less than 0 del...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "candidate" text, "votes" real, "percentage" text, "counties" real, "delegates" real ); Question: What is the name of the candidate with more than 4,060 votes and more than 0 delegat...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "candidate" text, "votes" real, "percentage" text, "counties" real, "delegates" real ); Question: What is the number of votes when Ron Paul is the candidate with less than 0 counties...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_scorers" ( "player" text, "position" text, "premier_league" real, "fa_cup" real, "league_cup" real, "uefa_cup" real, "total" real ); Question: What is the sum of totals associated with ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_scorers" ( "player" text, "position" text, "premier_league" real, "fa_cup" real, "league_cup" real, "uefa_cup" real, "total" real ); Question: What is the sum of totals for FA Cup value...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "roster" ( "name" text, "pos" text, "height" text, "weight" real, "year" text, "hometown_previous_school" text ); Question: What is the Hometown of the person with a height of 5'8"? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "roster" ( "name" text, "pos" text, "height" text, "weight" real, "year" text, "hometown_previous_school" text ); Question: What is the average Weight of the person who is 6'9"? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "roster" ( "name" text, "pos" text, "height" text, "weight" real, "year" text, "hometown_previous_school" text ); Question: What is the Hometown of Tim Williams? <|assistant|> SELECT "hometown...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "roster" ( "name" text, "pos" text, "height" text, "weight" real, "year" text, "hometown_previous_school" text ); Question: What is the Year of the person who is 6'1", and weighs more than 165...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fide_april_2008_top_ten" ( "rank" real, "prev" real, "player" text, "rating" real, "chng" text ); Question: What player has a rating greater than 2746, with a prev less than 4, and +4 as the ch...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fide_april_2008_top_ten" ( "rank" real, "prev" real, "player" text, "rating" real, "chng" text ); Question: What chng has a rank greater than 6, with 12 as a prev? <|assistant|> SELECT "chng" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fide_april_2008_top_ten" ( "rank" real, "prev" real, "player" text, "rating" real, "chng" text ); Question: What is the highest prev that has 9 as the rank, with a rating less than 2746? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "volleyball_at_the_2004_summer_olympics_m" ( "name" text, "date_of_birth" text, "height" real, "weight" real, "spike" real, "block" real ); Question: How many blocks have a weight greater than...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "volleyball_at_the_2004_summer_olympics_m" ( "name" text, "date_of_birth" text, "height" real, "weight" real, "spike" real, "block" real ); Question: What is the lowest block that has 328 as t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "volleyball_at_the_2004_summer_olympics_m" ( "name" text, "date_of_birth" text, "height" real, "weight" real, "spike" real, "block" real ); Question: What is the lowest block that has a height...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "volleyball_at_the_2004_summer_olympics_m" ( "name" text, "date_of_birth" text, "height" real, "weight" real, "spike" real, "block" real ); Question: What is the highest block that has 15.09.1...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_11_teams" ( "club" text, "city" text, "stadium" text, "2009_season" text, "group" text ); Question: Which City has a Stadium of estadio san cristóbal? <|assistant|> SELECT "city" FROM "201...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_11_teams" ( "club" text, "city" text, "stadium" text, "2009_season" text, "group" text ); Question: When in 2009 season has a Group of group b, and cancha del mystic with a Club of el teca...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_11_teams" ( "club" text, "city" text, "stadium" text, "2009_season" text, "group" text ); Question: WHich Club has a City of colón? <|assistant|> SELECT "club" FROM "2010_11_teams" WHERE "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_11_teams" ( "club" text, "city" text, "stadium" text, "2009_season" text, "group" text ); Question: WHat kind of 2009 season has a City of panama city, and a Group of group b? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_11_teams" ( "club" text, "city" text, "stadium" text, "2009_season" text, "group" text ); Question: Which City has a Club of suntracs f.c.? <|assistant|> SELECT "city" FROM "2010_11_teams"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_11_teams" ( "club" text, "city" text, "stadium" text, "2009_season" text, "group" text ); Question: Which Stadium has a City of panama city, and a Group of group a, and a 2009 season of 1s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "calendar" ( "round" text, "date" text, "matches" real, "clubs" text, "prize_money" text ); Question: What is the highest Matches, when Prize Money is £5,000? <|assistant|> SELECT MAX("matches")...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "calendar" ( "round" text, "date" text, "matches" real, "clubs" text, "prize_money" text ); Question: What is Date, when Matches is less than 32, and when Round is Fifth Round Proper? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "calendar" ( "round" text, "date" text, "matches" real, "clubs" text, "prize_money" text ); Question: What is the average Matches, when Round is Third Qualifying Round? <|assistant|> SELECT AVG(...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "calendar" ( "round" text, "date" text, "matches" real, "clubs" text, "prize_money" text ); Question: What is the total number of Matches, when Clubs is 588 → 406? <|assistant|> SELECT COUNT("ma...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "calendar" ( "round" text, "date" text, "matches" real, "clubs" text, "prize_money" text ); Question: What is Prize Money, when Matches is less than 73, and when Round is Third Round Proper? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_wins_5" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text ); Question: For the tournament played on a hard surface and ending with a score of ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_wins_5" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text ); Question: For the tournament played on September 25, 1995, who was the Finals opp...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_wins_5" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text ); Question: Which tournament was played on September 25, 1995? <|assistant|> SELECT...
<|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 was the time for the bou...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "players_out_on_loan" ( "nat" text, "name" text, "since" real, "app_l_c_e" text, "goals_l_c_e" text, "ends" real, "transfer_fee" text, "notes" text ); Question: What is Notes, when App(L/C...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "players_out_on_loan" ( "nat" text, "name" text, "since" real, "app_l_c_e" text, "goals_l_c_e" text, "ends" real, "transfer_fee" text, "notes" text ); Question: What is Nat., when Ends is ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "players_out_on_loan" ( "nat" text, "name" text, "since" real, "app_l_c_e" text, "goals_l_c_e" text, "ends" real, "transfer_fee" text, "notes" text ); Question: What is the lowest Since, w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real ); Question: What is the Time/Retired of the Newman-Haas Racing team in under 51 laps? <|assistant|> SELECT "ti...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real ); Question: What are the lowest laps Alex Tagliani did for the Forsythe Racing team? <|assistant|> SELECT MIN(...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_slam_record" ( "event" text, "2007_08" text, "2008_09" text, "2009_10" text, "2010_11" text ); Question: What is the Event when DNP shows for 2007–08? <|assistant|> SELECT "event" FROM "g...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_slam_record" ( "event" text, "2007_08" text, "2008_09" text, "2009_10" text, "2010_11" text ); Question: What is the 2008–09 when the 2009–10 shows q? <|assistant|> SELECT "2008_09" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_slam_record" ( "event" text, "2007_08" text, "2008_09" text, "2009_10" text, "2010_11" text ); Question: What is the 2009–10 when the 2007–08 shows n/a, and an Event of colonial square la...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_slam_record" ( "event" text, "2007_08" text, "2008_09" text, "2009_10" text, "2010_11" text ); Question: What is the Event when the 2008–09 is sf? <|assistant|> SELECT "event" FROM "grand...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_slam_record" ( "event" text, "2007_08" text, "2008_09" text, "2009_10" text, "2010_11" text ); Question: What is the 2010–11 when the Event is colonial square ladies classic? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_slam_record" ( "event" text, "2007_08" text, "2008_09" text, "2009_10" text, "2010_11" text ); Question: What is the 2007–08 when the event was autumn gold? <|assistant|> SELECT "2007_08"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "composition_of_the_15th_seanad" ( "administrative_panel" real, "agricultural_panel" real, "cultural_and_educational_panel" real, "industrial_and_commercial_panel" real, "labour_panel" real, "n...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "composition_of_the_15th_seanad" ( "administrative_panel" real, "agricultural_panel" real, "cultural_and_educational_panel" real, "industrial_and_commercial_panel" real, "labour_panel" real, "n...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "composition_of_the_15th_seanad" ( "administrative_panel" real, "agricultural_panel" real, "cultural_and_educational_panel" real, "industrial_and_commercial_panel" real, "labour_panel" real, "n...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "composition_of_the_15th_seanad" ( "administrative_panel" real, "agricultural_panel" real, "cultural_and_educational_panel" real, "industrial_and_commercial_panel" real, "labour_panel" real, "n...