text
stringlengths
310
1.28k
<|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 game ended with a final score of 126-108? <|assistant|> SELECT MAX("game"...
<|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 "u_s_television_ratings" ( "season" text, "timeslot" text, "premiere" text, "finale" text, "tv_season" text, "ranking" text, "viewers_in_millions" real ); Question: How many people tuned in ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "u_s_television_ratings" ( "season" text, "timeslot" text, "premiere" text, "finale" text, "tv_season" text, "ranking" text, "viewers_in_millions" real ); Question: What time did the season ...
<|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 "2009_squad_statistics" ( "player" text, "position" text, "weight_height" text, "previous_club" text, "contracted_until" real ); Question: Which Weight & Height has a Player of james donaldson? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_squad_statistics" ( "player" text, "position" text, "weight_height" text, "previous_club" text, "contracted_until" real ); Question: Which Weight & Height has a Player of michael worrincy?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "deployments" ( "from" text, "aircraft" text, "carrier" text, "air_wing" text, "tail_code" text, "area" text ); Question: What was the deployed from date for the a-4b aircraft from westpac wit...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "deployments" ( "from" text, "aircraft" text, "carrier" text, "air_wing" text, "tail_code" text, "area" text ); Question: Which carrier was deployed on 18 July 1968? <|assistant|> SELECT "carr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "deployments" ( "from" text, "aircraft" text, "carrier" text, "air_wing" text, "tail_code" text, "area" text ); Question: What is the type of aircraft that has a tail code of ah-3xx, deployed ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "deployments" ( "from" text, "aircraft" text, "carrier" text, "air_wing" text, "tail_code" text, "area" text ); Question: What was the tail code for the cva-34 carrier with an air wing of cvw-...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "deployments" ( "from" text, "aircraft" text, "carrier" text, "air_wing" text, "tail_code" text, "area" text ); Question: What is the air wing for the craft with a tail code of ah-3xx, deploye...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "deployments" ( "from" text, "aircraft" text, "carrier" text, "air_wing" text, "tail_code" text, "area" text ); Question: What is the air wing for the craft that was deployed from 16 June 1967...
<|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 is the result of the mat...
<|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: The K-1 MMA Romanex event wen...
<|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 is the result for the ma...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_08_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "points_difference" text, "bonus_points" text, "points" text ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_08_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "points_difference" text, "bonus_points" text, "points" text ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_08_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "points_difference" text, "bonus_points" text, "points" text ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_08_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "points_difference" text, "bonus_points" text, "points" text ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_08_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "points_difference" text, "bonus_points" text, "points" text ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_08_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "points_difference" text, "bonus_points" text, "points" text ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: Which is the highest silver that has a gold less than 0? <|assistant|> SELECT M...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the lowest silver that has 1 as the rank, with a bronze greater than 5?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the highest silver that has 9 as the rank, germany as the nation, with ...
<|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 "nfl_draft" ( "round" real, "pick_num" real, "player" text, "position" text, "college" text ); Question: WHo is the Player got a Pick # smaller than 61, and a College of texas? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" real, "pick_num" real, "player" text, "position" text, "college" text ); Question: Name the College which has a Round smaller than 3, and a Pick # larger than 4, and a Posi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" real, "pick_num" real, "player" text, "position" text, "college" text ); Question: Which the highest Round has a Player of mike williams, and a Pick # larger than 4? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" real, "pick_num" real, "player" text, "position" text, "college" text ); Question: Name the average Pick # of mike williams? <|assistant|> SELECT AVG("pick_num") FROM "nfl_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "record" text ); Question: What date did the red wings play against the visitors, buffalo? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "record" text ); Question: Who made the decision when atlanta was the home team? <|assistant|> SELECT "dec...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "record" text ); Question: Who made the decision when detroit was the home team and boston was the visitor...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "record" text ); Question: Who made the decision when toronto was the home team? <|assistant|> SELECT "dec...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text ); Question: The player Cecil Martin with an overall less than 268...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text ); Question: With the pick of 1 Cecil Martin has what number as th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text ); Question: What position does the player play with an overall of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_and_e_ps" ( "title" text, "release_date" text, "format" text, "code" text, "uk_singles_chart" text, "us_modern_rock" text, "album" text ); Question: What is the US modern rock rank ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_and_e_ps" ( "title" text, "release_date" text, "format" text, "code" text, "uk_singles_chart" text, "us_modern_rock" text, "album" text ); Question: What is the format of code 9 402...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_and_e_ps" ( "title" text, "release_date" text, "format" text, "code" text, "uk_singles_chart" text, "us_modern_rock" text, "album" text ); Question: What is the UK singles chart ran...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_and_e_ps" ( "title" text, "release_date" text, "format" text, "code" text, "uk_singles_chart" text, "us_modern_rock" text, "album" text ); Question: What is the format of code pro-c...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mongolia" ( "city" text, "mongolian" text, "mongolian_script" text, "province" text, "population_2008" real ); Question: Which city has the mongolian script of ᠡᠷᠳᠡᠨᠢᠲᠦ? <|assistant|> SELECT "c...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mongolia" ( "city" text, "mongolian" text, "mongolian_script" text, "province" text, "population_2008" real ); Question: Which mongolian has the province of municipality? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ncaa_division_i_tournament_results" ( "year" real, "round" text, "opponent" text, "result" text, "bsu_head_coach" text ); Question: What is the sum of the years with bus conner as the BSU head ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ncaa_division_i_tournament_results" ( "year" real, "round" text, "opponent" text, "result" text, "bsu_head_coach" text ); Question: Who is the BSU head coach of the tournament after 1994 with l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ncaa_division_i_tournament_results" ( "year" real, "round" text, "opponent" text, "result" text, "bsu_head_coach" text ); Question: What is the result in 1994? <|assistant|> SELECT "result" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ncaa_division_i_tournament_results" ( "year" real, "round" text, "opponent" text, "result" text, "bsu_head_coach" text ); Question: What is the result after 1993 of the first four rounds? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ncaa_division_i_tournament_results" ( "year" real, "round" text, "opponent" text, "result" text, "bsu_head_coach" text ); Question: Who was the opponent before 1994 with bobby dye as the BSU he...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ncaa_division_i_tournament_results" ( "year" real, "round" text, "opponent" text, "result" text, "bsu_head_coach" text ); Question: Who is the opponent in 1976? <|assistant|> SELECT "opponent" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "date" text, "venue" text, "opponents" text, "score" text, "competition" text, "match_report" text ); Question: What is Date, when Score is "0-2", and when Opponents is "Bayer Leve...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "date" text, "venue" text, "opponents" text, "score" text, "competition" text, "match_report" text ); Question: What is Competition, when Score is "2-1", and when Date is "October ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "date" text, "venue" text, "opponents" text, "score" text, "competition" text, "match_report" text ); Question: What is Match Report, when Venue is "Westfalenstadion , Dortmund"? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "date" text, "venue" text, "opponents" text, "score" text, "competition" text, "match_report" text ); Question: What is Date, when Venue is "Weserstadion , Bremen"? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "date" text, "venue" text, "opponents" text, "score" text, "competition" text, "match_report" text ); Question: What is Date, when Competition is "F", and when Opponents is "FC Ast...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text ); Question: What is the pick of Charley Taylor, who has an overal...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text ); Question: What is the position of the player with a 143 overall...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text ); Question: What is the average round of the s position player fr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text ); Question: What is the total round of the rb player from Purdue ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards" ( "year" real, "award" text, "category" text, "nominated_work" text, "result" text ); Question: Which category has 24 nominated work? <|assistant|> SELECT "category" FROM "awards" WHERE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: How many Silver medals did the Nation of Croatia receive with a Total medal of ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: How many Gold medals did Australia receive? <|assistant|> SELECT AVG("gold") FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: How many Total medals did the country with 16 Silver and less than 32 Bronze re...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: How many Bronze medals for the Nation with a Rank of 11 and less than 1 Silver?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "writer" ( "year" real, "show" text, "season" real, "episode" text, "episode_number" real, "original_airdate" text ); Question: What is the average Episode Number, when Original Airdate is Mar...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "writer" ( "year" real, "show" text, "season" real, "episode" text, "episode_number" real, "original_airdate" text ); Question: What is Show, when Episode Number is 1, when Year is less than 2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "writer" ( "year" real, "show" text, "season" real, "episode" text, "episode_number" real, "original_airdate" text ); Question: What is the total number of Season(s), when Original Airdate is ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "score" text, "record" text, "streak" text, "attendance" real ); Question: How many games have a Result of l, and a R...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "score" text, "record" text, "streak" text, "attendance" real ); Question: How many people attended the green bay pac...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "score" text, "record" text, "streak" text, "attendance" real ); Question: How many people attended the game whose sc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "score" text, "record" text, "streak" text, "attendance" real ); Question: Which Date has a Score of 24-7, and a Reco...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text ); Question: Lowest round for g that was smaller than 31? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles" ( "tournament" text, "surface" text, "week" text, "winner" text, "finalist" text, "semifinalists" text ); Question: What is the Semifinalists that has a Tournament of Cincinnati? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_competition_history" ( "season" text, "competition" text, "round" text, "club" text, "home" text, "away" text, "aggregate" text ); Question: The Crvena Zvezda club has what aggrega...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "points_for_the_2008_09_season" ( "name" text, "pld" real, "goals" real, "assists" real, "points" real, "pims" real ); Question: What is the total number of assists of the player with 0 goals,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_division" ( "date" text, "opponents" text, "h_a" text, "result_f_a" text, "attendance" real, "league_position" text ); Question: What is league position when manchester played against l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "big_ten_conference_3_10_1" ( "institution" text, "wins" real, "loss" real, "home_wins" real, "home_losses" real, "away_wins" real, "away_losses" real, "neutral_wins" real, "neutral_losse...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "big_ten_conference_3_10_1" ( "institution" text, "wins" real, "loss" real, "home_wins" real, "home_losses" real, "away_wins" real, "away_losses" real, "neutral_wins" real, "neutral_losse...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "big_ten_conference_3_10_1" ( "institution" text, "wins" real, "loss" real, "home_wins" real, "home_losses" real, "away_wins" real, "away_losses" real, "neutral_wins" real, "neutral_losse...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "big_ten_conference_3_10_1" ( "institution" text, "wins" real, "loss" real, "home_wins" real, "home_losses" real, "away_wins" real, "away_losses" real, "neutral_wins" real, "neutral_losse...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "western_conference_quarter_finals_vs_6_c" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "series" text ); Question: Which Decision has a Visitor of calgary, a Scor...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "western_conference_quarter_finals_vs_6_c" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "series" text ); Question: Which Visitor has a Series of 2 – 1? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "western_conference_quarter_finals_vs_6_c" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "series" text ); Question: Which Visitor has a Home of calgary, and a Date...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "western_conference_quarter_finals_vs_6_c" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "series" text ); Question: Which Decision has a Visitor of vancouver, and ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "western_conference_quarter_finals_vs_6_c" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "series" text ); Question: Which Visitor has a Home of vancouver, and a De...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "western_conference_quarter_finals_vs_6_c" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "series" text ); Question: Which Decision has a Series of 3 – 3? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "hot_wheels_v8_supercar_showdown" ( "driver" text, "race_1" text, "race_2" text, "race_3" text, "race_4" text ); Question: What's the value for race 4 when race 1 is dsq? <|assistant|> SELECT "r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "hot_wheels_v8_supercar_showdown" ( "driver" text, "race_1" text, "race_2" text, "race_3" text, "race_4" text ); Question: What's the value for race 4 when race 3 is dns and race 2 is 27? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "hot_wheels_v8_supercar_showdown" ( "driver" text, "race_1" text, "race_2" text, "race_3" text, "race_4" text ); Question: What's the value for race 4 for driver kevin heffernan? <|assistant|> S...
<|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 "top_appearances" ( "rank" real, "player" text, "club_s" text, "year_s" text, "u_17_caps" real ); Question: What rank is the team that has a player named Isco Alarcón? <|assistant|> SELECT "rank...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_appearances" ( "rank" real, "player" text, "club_s" text, "year_s" text, "u_17_caps" real ); Question: What is the rank of Club Valencia with a U-17 Caps of 20? <|assistant|> SELECT COUNT("...
<|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 "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 "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 "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text ); Question: What is the place when the player is Bob Gilder and the money was $20,903? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text ); Question: What is the Place when Fuzzy Zoeller plated in the United States? <|assistan...