text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "player_roster" ( "surname" text, "first" text, "d_o_b" text, "bats" text, "throws" text, "position" text ); Question: Which DOB has Bats of s, and a Position of inf? <|assistant|> SELECT "d_o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "geneva_race_track_switzerland" ( "date" text, "race" text, "race_track" text, "category" text, "lap_length" text ); Question: What is the Lap Length of the race with a Grand Prix Fia Category? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "geneva_race_track_switzerland" ( "date" text, "race" text, "race_track" text, "category" text, "lap_length" text ); Question: What is the Race on July 30, 1950 with a Formula 2 Fia, non-champio...
<|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 his record when the ...
<|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: How many rounds did the match...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ratings" ( "air_date" text, "rating" real, "share" real, "18_49" text, "viewers_live_m" real, "viewers_dvr_7_m" text ); Question: What is the rating that has live viewers over 3.06 and DVR vi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ratings" ( "air_date" text, "rating" real, "share" real, "18_49" text, "viewers_live_m" real, "viewers_dvr_7_m" text ); Question: What is the sum of the live viewers for episodes with share o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ratings" ( "air_date" text, "rating" real, "share" real, "18_49" text, "viewers_live_m" real, "viewers_dvr_7_m" text ); Question: What is the sum of the ratings for episodes with live viewers...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "long_range_am_stations" ( "frequency" real, "callsign" text, "brand" text, "city_of_license" text, "website" text, "webcast" text ); Question: Which Callsign includes a frequency under 1210, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "long_range_am_stations" ( "frequency" real, "callsign" text, "brand" text, "city_of_license" text, "website" text, "webcast" text ); Question: Which website includes a webcast of listen live,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "long_range_am_stations" ( "frequency" real, "callsign" text, "brand" text, "city_of_license" text, "website" text, "webcast" text ); Question: The KTRH.com website includes which type of webc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "long_range_am_stations" ( "frequency" real, "callsign" text, "brand" text, "city_of_license" text, "website" text, "webcast" text ); Question: Which website includes a webcast of listen live,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "long_range_am_stations" ( "frequency" real, "callsign" text, "brand" text, "city_of_license" text, "website" text, "webcast" text ); Question: Which long range AM station has the lowest frequ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_1" ( "games" real, "drawn" real, "lost" real, "points_difference" text, "points" real ); Question: Which Games is the highest one that has a Drawn smaller than 0? <|assistant|> SELECT MAX...
<|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_and_venues" ( "team" text, "location" text, "venue" text, "capacity" real, "position_in_2000" text ); Question: Which Position in 2000 has a Capacity larger than 10,080, and a Venue of ce...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams_and_venues" ( "team" text, "location" text, "venue" text, "capacity" real, "position_in_2000" text ); Question: Which Capacity has a Location of mogilev? <|assistant|> SELECT SUM("capacit...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "california" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text ); Question: What was the District of California 2 result? <|assistant|> SELECT "result" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "california" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text ); Question: What was the district Incumbent Julius Kahn was in that was smaller than 1906? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "california" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text ); Question: What was the lowest re-elected result for Sylvester C. Smith? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "california" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text ); Question: What was the result for Julius Kahn's first election of 1898? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "south_carolina" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text ); Question: Which party had a result of retired democratic hold and a first elected earli...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "south_carolina" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text ); Question: Which district had a first elected in 1882 with a result of re-elected? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "average_chart" ( "rank_by_average" real, "place" real, "couple" text, "total" real, "number_of_dances" real, "average" real ); Question: Which Average is the lowest one that has a Total small...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "average_chart" ( "rank_by_average" real, "place" real, "couple" text, "total" real, "number_of_dances" real, "average" real ); Question: Which Couple has a Rank by average larger than 3, and ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "average_chart" ( "rank_by_average" real, "place" real, "couple" text, "total" real, "number_of_dances" real, "average" real ); Question: Which Rank by average is the lowest one that has a Tot...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ice_dancing" ( "rank" real, "name" text, "club" text, "nation" text, "points" real ); Question: What nation are carolina hermann / daniel hermann from? <|assistant|> SELECT "nation" FROM "ice_d...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ice_dancing" ( "rank" real, "name" text, "club" text, "nation" text, "points" real ); Question: What is the rank associated with 141.48 points? <|assistant|> SELECT "rank" FROM "ice_dancing" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ice_dancing" ( "rank" real, "name" text, "club" text, "nation" text, "points" real ); Question: What competitors are scored 124.51 points? <|assistant|> SELECT "name" FROM "ice_dancing" WHERE "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "statewide" ( "date" text, "state" text, "george_h_w_bush" text, "bob_dole" text, "pat_robertson" text, "jack_kemp" text, "pete_du_pont" text ); Question: At what percent was Pat Robertson w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "statewide" ( "date" text, "state" text, "george_h_w_bush" text, "bob_dole" text, "pat_robertson" text, "jack_kemp" text, "pete_du_pont" text ); Question: When George H.W. Bush had 81%, and ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "statewide" ( "date" text, "state" text, "george_h_w_bush" text, "bob_dole" text, "pat_robertson" text, "jack_kemp" text, "pete_du_pont" text ); Question: When Pat Robertson was at 16%, what...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "statewide" ( "date" text, "state" text, "george_h_w_bush" text, "bob_dole" text, "pat_robertson" text, "jack_kemp" text, "pete_du_pont" text ); Question: When Bob Dole had 26%, and George H...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "statewide" ( "date" text, "state" text, "george_h_w_bush" text, "bob_dole" text, "pat_robertson" text, "jack_kemp" text, "pete_du_pont" text ); Question: When Bob Dole had 26%, and Pete du ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "statewide" ( "date" text, "state" text, "george_h_w_bush" text, "bob_dole" text, "pat_robertson" text, "jack_kemp" text, "pete_du_pont" text ); Question: When Pat Robertson had 19%, and Bob...
<|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, "venue" text, "attendance" real ); Question: Attendance larger than 45,710, and a Venue of metropolitan stadium had what ...
<|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, "venue" text, "attendance" real ); Question: Date of october 10, 1965 had what lowest attendance? <|assistant|> SELECT MI...
<|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, "venue" text, "attendance" real ); Question: Opponent of chicago bears involved what date? <|assistant|> SELECT "date" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_7" ( "date" text, "episode" real, "performer_1" text, "performer_2" text, "performer_3" text, "performer_4" text ); Question: Performer 2 of compilation 2 is what performer 1? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_7" ( "date" text, "episode" real, "performer_1" text, "performer_2" text, "performer_3" text, "performer_4" text ); Question: Performer 1 of greg proops, and a Date of 25 august 1995 i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_7" ( "date" text, "episode" real, "performer_1" text, "performer_2" text, "performer_3" text, "performer_4" text ); Question: Performer 1 of greg proops, and a Performer 3 of ryan stil...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_7" ( "date" text, "episode" real, "performer_1" text, "performer_2" text, "performer_3" text, "performer_4" text ); Question: Performer 1 of Stephen Frost, and a Performer 2 of Josie L...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification_leadership" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "asian_rider_classification" text, "te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification_leadership" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "asian_rider_classification" text, "te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification_leadership" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "asian_rider_classification" text, "te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification_leadership" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "asian_rider_classification" text, "te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification_leadership" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "asian_rider_classification" text, "te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2006_2007" ( "date" text, "site" text, "sport" text, "winning_team" text, "series" text ); Question: Which winning team has Iowa city as the site, and december 3, 2006 as the date? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2006_2007" ( "date" text, "site" text, "sport" text, "winning_team" text, "series" text ); Question: What site has november 30, 2006 as the date? <|assistant|> SELECT "site" FROM "2006_2007" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2006_2007" ( "date" text, "site" text, "sport" text, "winning_team" text, "series" text ); Question: What winning team has volleyball as the sport? <|assistant|> SELECT "winning_team" FROM "200...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule_and_results" ( "game" real, "january" real, "opponent" text, "score" text, "record" text ); Question: What is the total number in January when the St. Louis Blues had a game smaller th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule_and_results" ( "game" real, "january" real, "opponent" text, "score" text, "record" text ); Question: What is the January sum with the record of 17-20-2 with a game smaller than 39? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "record" text ); Question: What was the record when the New York Knicks played at the Boston Garden? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "record" text ); Question: When the record was 7-2, what was the score for the game? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "record" text ); Question: On what date was the record 4-2? <|assistant|> SELECT "date" FROM "game_log" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "males_rank" real, "females_rank" real, "state" text, "hiv_awareness_malespct" real, "females_pct" real ); Question: Which Females Rank is the highest one that has Females (%) lar...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "males_rank" real, "females_rank" real, "state" text, "hiv_awareness_malespct" real, "females_pct" real ); Question: How many Females (%) have Females Rank smaller than 21, and a ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "males_rank" real, "females_rank" real, "state" text, "hiv_awareness_malespct" real, "females_pct" real ); Question: How many Females (%) have a State of karnataka, and Males Rank...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "males_rank" real, "females_rank" real, "state" text, "hiv_awareness_malespct" real, "females_pct" real ); Question: Which Males Rank is the highest one that has Females (%) small...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "males_rank" real, "females_rank" real, "state" text, "hiv_awareness_malespct" real, "females_pct" real ); Question: Which Females (%) has an HIV awareness (males%) larger than 92...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_scorers" ( "name" text, "championship" real, "fa_cup" real, "league_cup" real, "total" real ); Question: League Cup smaller than 0 is what sum of the total? <|assistant|> SELECT SUM("total"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_scorers" ( "name" text, "championship" real, "fa_cup" real, "league_cup" real, "total" real ); Question: Championship larger than 3, and a FA Cup smaller than 3, and a Total smaller than 6 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_5_4_1" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: Which Opponent has a Surface of hard on 28 august 1993? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_5_4_1" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: WHICH Outcome IS ON 18 july 1993? <|assistant|> SELECT "outcome" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_5_4_1" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: WHICH Outcome has aN Opponent of pascale paradis-mangon? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_5_4_1" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: Which Score has aN Outcome of winner on 4 november 1990? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_5_4_1" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: Which Tournament has an Opponent of susan sloane? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_5_4_1" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: Which Tournament has an Opponent of meike babel? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "november" real, "opponent" text, "score" text, "record" text, "points" real ); Question: Which Game has a November of 29? <|assistant|> SELECT SUM("game") FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "november" real, "opponent" text, "score" text, "record" text, "points" real ); Question: Which Points have a Record of 12–2–4–1, and a November larger than 22?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "november" real, "opponent" text, "score" text, "record" text, "points" real ); Question: Which Record has a Game of 19? <|assistant|> SELECT "record" FROM "reg...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "november" real, "opponent" text, "score" text, "record" text, "points" real ); Question: How many Novembers have a Game larger than 14, and an Opponent of minn...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "november" real, "opponent" text, "score" text, "record" text, "points" real ); Question: Which November is the lowest one that has a Record of 12–2–4–1? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "march" real, "opponent" text, "score" text, "record" text, "points" real ); Question: What day has a record of 25–30–13 and less than 63 points? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "march" real, "opponent" text, "score" text, "record" text, "points" real ); Question: Which opponent has 63 points? <|assistant|> SELECT "opponent" FROM "regul...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "architecture_support" ( "distribution" text, "x86_64" text, "ia64" text, "ppc64" text, "sparc32" text, "hppa" text, "mips" text, "s390" text, "s390x" text, "alpha" text, "m68k" text ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "architecture_support" ( "distribution" text, "x86_64" text, "ia64" text, "ppc64" text, "sparc32" text, "hppa" text, "mips" text, "s390" text, "s390x" text, "alpha" text, "m68k" text ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "architecture_support" ( "distribution" text, "x86_64" text, "ia64" text, "ppc64" text, "sparc32" text, "hppa" text, "mips" text, "s390" text, "s390x" text, "alpha" text, "m68k" text ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "korvpalli_meistriliiga_finals" ( "season" text, "winner" text, "result" text, "runner_up" text, "1st_of_regular_season" text, "record" text, "champion_s_coach" text, "finals_mvp" text ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women_s_doubles_performance_timeline" ( "tournament" text, "1988" text, "1989" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women_s_doubles_performance_timeline" ( "tournament" text, "1988" text, "1989" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women_s_doubles_performance_timeline" ( "tournament" text, "1988" text, "1989" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women_s_doubles_performance_timeline" ( "tournament" text, "1988" text, "1989" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women_s_doubles_performance_timeline" ( "tournament" text, "1988" text, "1989" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women_s_doubles_performance_timeline" ( "tournament" text, "1988" text, "1989" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school" text ); Question: Which school picked a back in round 16, after pick 89? <|assistant|> SELECT "school" FROM "nfl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" text, "record" text ); Question: Who was the visitor in the game that had Ottawa as t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" text, "record" text ); Question: What was the score in the game where Carolina was th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text ); Question: What was the date of the game that had a loss of Johnson (9-8)? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "men" ( "athlete" text, "country" text, "run_1" real, "run_2" real, "run_3" real ); Question: Who had a Run 1 smaller than 51.96, a Run 2 larger than 51.13, and a Run 3 of 52.53? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "men" ( "athlete" text, "country" text, "run_1" real, "run_2" real, "run_3" real ); Question: Who had a run 2 of 50.67? <|assistant|> SELECT "athlete" FROM "men" WHERE "run_2"=50.67;<|endoftext|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "men" ( "athlete" text, "country" text, "run_1" real, "run_2" real, "run_3" real ); Question: What was john farrow's run 2 associated with a run 1 of greater than 52.25? <|assistant|> SELECT MAX...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "november" real, "opponent" text, "score" text, "record" text, "points" real ); Question: What was the Score in the game against the Buffalo Sabres? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "assists" ( "rank" real, "name" text, "team" text, "games" real, "assists" real ); Question: Rank smaller than 4, and a Name of dalma ivΓ‘nyi involved which lowest game? <|assistant|> SELECT MIN(...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "assists" ( "rank" real, "name" text, "team" text, "games" real, "assists" real ); Question: Name of sue bird that involves what team? <|assistant|> SELECT "team" FROM "assists" WHERE "name"='su...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "episodes" ( "episode" text, "season" real, "production_code" text, "original_air_date" text, "directed_by" text ); Question: Which episode was directed by Bob Anderson with a production code of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "episodes" ( "episode" text, "season" real, "production_code" text, "original_air_date" text, "directed_by" text ); Question: Who was the director of the episode with a season after 8 and an epi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_5_jamaican_100_m_athletes_women" ( "rank" real, "time" real, "athlete" text, "nation" text, "date" text, "location" text ); Question: Date of 7 september 1996 includes which highest rank ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_5_jamaican_100_m_athletes_women" ( "rank" real, "time" real, "athlete" text, "nation" text, "date" text, "location" text ); Question: Time of 10.82 has what location? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_5_jamaican_100_m_athletes_women" ( "rank" real, "time" real, "athlete" text, "nation" text, "date" text, "location" text ); Question: Date of 10 july 2009 includes what athlete? <|assista...