text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_22577693_1" ( "details" text, "host_nation_s" text, "final_venue" text, "winner" text, "result" text, "runner_up" text ); Question: Who was the winner if the final venue is Kowloon Cri...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_22570439_1" ( "series_num" real, "season_num" real, "episode_title" text, "written_by" text, "directed_by" text, "u_s_viewers_millions" text, "original_air_date" text ); Question: Ho...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_22570439_1" ( "series_num" real, "season_num" real, "episode_title" text, "written_by" text, "directed_by" text, "u_s_viewers_millions" text, "original_air_date" text ); Question: Ho...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_22570439_1" ( "series_num" real, "season_num" real, "episode_title" text, "written_by" text, "directed_by" text, "u_s_viewers_millions" text, "original_air_date" text ); Question: Ho...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_22570439_1" ( "series_num" real, "season_num" real, "episode_title" text, "written_by" text, "directed_by" text, "u_s_viewers_millions" text, "original_air_date" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_22570439_1" ( "series_num" real, "season_num" real, "episode_title" text, "written_by" text, "directed_by" text, "u_s_viewers_millions" text, "original_air_date" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rebel_army_radio_awards_2010" ( "best_male_mc" text, "best_female_mc" text, "best_male_artist" text, "best_female_artist" text, "best_male_lyricist" text, "best_female_lyricist" text, "best_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1970s" ( "year" real, "network" text, "race_caller" text, "s_host" text, "s_analyst" text, "reporters" text, "trophy_presentation" text ); Question: In 1976, who was the reporter for the Be...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1970s" ( "year" real, "network" text, "race_caller" text, "s_host" text, "s_analyst" text, "reporters" text, "trophy_presentation" text ); Question: Who called the race in 1978? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1970s" ( "year" real, "network" text, "race_caller" text, "s_host" text, "s_analyst" text, "reporters" text, "trophy_presentation" text ); Question: For the race called by Marshall Cassidy,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1970s" ( "year" real, "network" text, "race_caller" text, "s_host" text, "s_analyst" text, "reporters" text, "trophy_presentation" text ); Question: Who were the reporters for the 1977 Belm...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1990s" ( "year" real, "network" text, "race_caller" text, "s_host" text, "s_analyst" text, "reporters" text, "trophy_presentation" text ); Question: Who called the race in 1998? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rankings_at_season_s_end" ( "position" real, "1990_1991" text, "1991_1992" text, "1992_1993" text, "1993_1994" text, "1994_1995" text ); Question: Who was ranked in the same position in 1991-...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rankings_at_season_s_end" ( "position" real, "1990_1991" text, "1991_1992" text, "1992_1993" text, "1993_1994" text, "1994_1995" text ); Question: Who was ranked in the same position in 1991-...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rankings_at_season_s_end" ( "position" real, "1990_1991" text, "1991_1992" text, "1992_1993" text, "1993_1994" text, "1994_1995" text ); Question: In what position was Mike Ray ranked in 1993...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rankings_at_season_s_end" ( "position" real, "1990_1991" text, "1991_1992" text, "1992_1993" text, "1993_1994" text, "1994_1995" text ); Question: Who was ranked in the same position in 1990-...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rankings_at_season_s_end" ( "position" real, "1990_1991" text, "1991_1992" text, "1992_1993" text, "1993_1994" text, "1994_1995" text ); Question: Who was ranked in the same position in 1990-...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rankings_at_season_s_end" ( "position" real, "1990_1991" text, "1991_1992" text, "1992_1993" text, "1993_1994" text, "1994_1995" text ); Question: What position was Drew Kachtik ranked at in ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rankings_at_season_s_end" ( "position" real, "2005_2006" text, "2006_2007" text, "2007_2008" text, "2008_2009" text, "2009_2010" text ); Question: who was position 3 in 2007-2008? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rankings_at_season_s_end" ( "position" real, "2005_2006" text, "2006_2007" text, "2007_2008" text, "2008_2009" text, "2009_2010" text ); Question: what is the total number of 2006-2007 and 20...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rankings_at_season_s_end" ( "position" real, "2005_2006" text, "2006_2007" text, "2007_2008" text, "2008_2009" text, "2009_2010" text ); Question: what isthe total number of seasons for chris...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rankings_at_season_s_end" ( "position" real, "2005_2006" text, "2006_2007" text, "2007_2008" text, "2008_2009" text, "2009_2010" text ); Question: what is the position for chris crowther in 2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_by_season_results" ( "season" text, "games" real, "won" real, "lost" real, "tied" real, "points" real, "winning_pct_pct" text, "goals_for" real, "goals_against" real, "standing"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_by_season_results" ( "season" text, "games" real, "won" real, "lost" real, "tied" real, "points" real, "winning_pct_pct" text, "goals_for" real, "goals_against" real, "standing"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_by_season_results" ( "season" text, "games" real, "won" real, "lost" real, "tied" real, "points" real, "winning_pct_pct" text, "goals_for" real, "goals_against" real, "standing"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "wins_7" ( "year" real, "championship" text, "54_holes" text, "winning_score" text, "margin" text, "runner_s_up" text ); Question: Name the year for willie goggin <|assistant|> SELECT "year" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "wins_7" ( "year" real, "championship" text, "54_holes" text, "winning_score" text, "margin" text, "runner_s_up" text ); Question: Name the margin for 4 shot deficit <|assistant|> SELECT "marg...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "wins_7" ( "year" real, "championship" text, "54_holes" text, "winning_score" text, "margin" text, "runner_s_up" text ); Question: Name the winning score for pga championship <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "wins_7" ( "year" real, "championship" text, "54_holes" text, "winning_score" text, "margin" text, "runner_s_up" text ); Question: Name the runners up for 1 shot deficit <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "wins_7" ( "year" real, "championship" text, "54_holes" text, "winning_score" text, "margin" text, "runner_s_up" text ); Question: Name the least year for walter hagen <|assistant|> SELECT MIN...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "legends_over_45_doubles" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text ); Question: What was t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "legends_over_45_doubles" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text ); Question: What was t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "legends_over_45_doubles" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text ); Question: Who were t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "legends_over_45_doubles" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text ); Question: What was t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "legends_over_45_doubles" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text ); Question: What was t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_26_19_titles_7_runners_up" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text ); Question: Name the number of ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_26_19_titles_7_runners_up" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text ); Question: Name the surface fo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_26_19_titles_7_runners_up" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text ); Question: Name the championsh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_26_19_titles_7_runners_up" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text ); Question: Name the championsh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2260452_1" ( "year" real, "date" text, "driver" text, "team" text, "manufacturer" text, "laps" text, "miles_km" text, "race_time" text, "average_speed_mph" text ); Question: If t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2260452_1" ( "year" real, "date" text, "driver" text, "team" text, "manufacturer" text, "laps" text, "miles_km" text, "race_time" text, "average_speed_mph" text ); Question: What...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2260452_1" ( "year" real, "date" text, "driver" text, "team" text, "manufacturer" text, "laps" text, "miles_km" text, "race_time" text, "average_speed_mph" text ); Question: If t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_end_rankings" ( "rank" real, "1980_81" text, "1981_82" text, "1982_83" text, "1983_84" text, "1984_85" text ); Question: Who is every entry for 1981-82 when 1984-85 is Marci Drexler? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_end_rankings" ( "rank" real, "1980_81" text, "1981_82" text, "1982_83" text, "1983_84" text, "1984_85" text ); Question: What is every entry for 1980-81 when 1984-85 is Liz Alvarado? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_end_rankings" ( "rank" real, "1980_81" text, "1981_82" text, "1982_83" text, "1983_84" text, "1984_85" text ); Question: What is every entry for 1980-81 when 1983-84 is Caryn McKinney?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_end_rankings" ( "rank" real, "1980_81" text, "1981_82" text, "1982_83" text, "1983_84" text, "1984_85" text ); Question: What is every entry for 1980-81 when 1983-84 is Heather McKay? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_end_rankings" ( "rank" real, "1980_81" text, "1981_82" text, "1982_83" text, "1983_84" text, "1984_85" text ); Question: What is every entry for 1982-83 for rank 1? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_end_rankings" ( "rank" real, "1980_81" text, "1981_82" text, "1982_83" text, "1983_84" text, "1984_85" text ); Question: How many entries for 1983-84 when 1984-85 is Terri Gilreath? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "contestants" ( "position" text, "name" text, "jersey_number" real, "age" real, "height" text, "weight" real, "college" text, "result" text ); Question: How many heights are listed for Jes...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "contestants" ( "position" text, "name" text, "jersey_number" real, "age" real, "height" text, "weight" real, "college" text, "result" text ); Question: What is the result for Wisconsin? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "contestants" ( "position" text, "name" text, "jersey_number" real, "age" real, "height" text, "weight" real, "college" text, "result" text ); Question: What is the result for Steve Gonzal...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "contestants" ( "position" text, "name" text, "jersey_number" real, "age" real, "height" text, "weight" real, "college" text, "result" text ); Question: What are the positions for Menlo Co...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2263152_1" ( "version" text, "release_date" text, "distribution_mechanism" text, "features" text, "security_issues" text ); Question: If the distribution mechanism is the Microsoft websi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2263152_1" ( "version" text, "release_date" text, "distribution_mechanism" text, "features" text, "security_issues" text ); Question: With the distribution mechanism of Microsoft website...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2263152_1" ( "version" text, "release_date" text, "distribution_mechanism" text, "features" text, "security_issues" text ); Question: If the security issues is 99-025 and the distributio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2263152_1" ( "version" text, "release_date" text, "distribution_mechanism" text, "features" text, "security_issues" text ); Question: With the version of 1.5a, what is the release date? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2263152_1" ( "version" text, "release_date" text, "distribution_mechanism" text, "features" text, "security_issues" text ); Question: If the distribution mechanism is windows nt 4.0 opti...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2263152_1" ( "version" text, "release_date" text, "distribution_mechanism" text, "features" text, "security_issues" text ); Question: If the version is 1.5b, what is the distribution mec...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_22645714_5" ( "conference" text, "regular_season_winner" text, "conference_player_of_the_year" text, "conference_tournament" text, "tournament_venue_city" text, "tournament_winner" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_22645714_5" ( "conference" text, "regular_season_winner" text, "conference_player_of_the_year" text, "conference_tournament" text, "tournament_venue_city" text, "tournament_winner" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_22645714_5" ( "conference" text, "regular_season_winner" text, "conference_player_of_the_year" text, "conference_tournament" text, "tournament_venue_city" text, "tournament_winner" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2263674_1" ( "romanised_name" text, "chinese_name" text, "age_at_appointment" real, "portfolio" text, "prior_occupation" text ); Question: How old was the official with Chinese name 孫明揚...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2263674_1" ( "romanised_name" text, "chinese_name" text, "age_at_appointment" real, "portfolio" text, "prior_occupation" text ); Question: What's 撁愛詩's romanised name? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2263674_1" ( "romanised_name" text, "chinese_name" text, "age_at_appointment" real, "portfolio" text, "prior_occupation" text ); Question: What's the romanised name of the official who w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2263674_1" ( "romanised_name" text, "chinese_name" text, "age_at_appointment" real, "portfolio" text, "prior_occupation" text ); Question: What was Anthony Leung Kam-Chung previous posit...
<|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, "series" text ); Question: Li...
<|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, "series" text ); Question: Ho...
<|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, "series" text ); Question: Li...
<|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, "series" text ); Question: Ho...
<|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: Na...
<|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: Na...
<|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: Na...
<|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: Na...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_22651355_3" ( "june_10_11" text, "march_27_29" text, "january_15_16" text, "november_3" text, "august_21_22" text ); Question: What value can you find under the column "august 21-22" and...
<|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: Ho...
<|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: Ho...
<|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: Na...
<|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: Na...
<|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: Na...
<|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: Na...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000s" ( "year" real, "network" text, "race_caller" text, "s_host" text, "s_analyst" text, "reporters" text, "trophy_presentation" text ); Question: Name the network for 2007 total <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000s" ( "year" real, "network" text, "race_caller" text, "s_host" text, "s_analyst" text, "reporters" text, "trophy_presentation" text ); Question: Name the analysts <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_8" ( "edition" text, "round" text, "date" text, "partnering" text, "against" text, "surface" text, "opponents" text, "w_l" text, "result" text ); Question: What was the result f...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_8" ( "edition" text, "round" text, "date" text, "partnering" text, "against" text, "surface" text, "opponents" text, "w_l" text, "result" text ); Question: Which round has a win...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2266230_1" ( "year" text, "date" text, "driver" text, "team" text, "manufacturer" text, "laps" text, "miles_km" text, "race_time" text, "average_speed_mph" text, "report" text )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2266230_1" ( "year" text, "date" text, "driver" text, "team" text, "manufacturer" text, "laps" text, "miles_km" text, "race_time" text, "average_speed_mph" text, "report" text )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "a" ( "district_name" text, "dist_id" real, "isd" text, "county" text, "authorizing_agency" text, "date_opened" text, "services" text ); Question: What is the date opened if thedistrict ID i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "a" ( "district_name" text, "dist_id" real, "isd" text, "county" text, "authorizing_agency" text, "date_opened" text, "services" text ); Question: If the district name is the Academy of Flin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "a" ( "district_name" text, "dist_id" real, "isd" text, "county" text, "authorizing_agency" text, "date_opened" text, "services" text ); Question: If the district ID is 74907, what is the na...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "a" ( "district_name" text, "dist_id" real, "isd" text, "county" text, "authorizing_agency" text, "date_opened" text, "services" text ); Question: If the name of the district is the Charyl S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2266976_1" ( "year" text, "date" text, "driver" text, "team" text, "manufacturer" text, "laps" text, "miles_km" text, "race_time" text, "average_speed_mph" text, "report" text )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2266976_1" ( "year" text, "date" text, "driver" text, "team" text, "manufacturer" text, "laps" text, "miles_km" text, "race_time" text, "average_speed_mph" text, "report" text )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2266976_1" ( "year" text, "date" text, "driver" text, "team" text, "manufacturer" text, "laps" text, "miles_km" text, "race_time" text, "average_speed_mph" text, "report" text )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2266976_1" ( "year" text, "date" text, "driver" text, "team" text, "manufacturer" text, "laps" text, "miles_km" text, "race_time" text, "average_speed_mph" text, "report" text )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2266976_1" ( "year" text, "date" text, "driver" text, "team" text, "manufacturer" text, "laps" text, "miles_km" text, "race_time" text, "average_speed_mph" text, "report" text )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2266976_1" ( "year" text, "date" text, "driver" text, "team" text, "manufacturer" text, "laps" text, "miles_km" text, "race_time" text, "average_speed_mph" text, "report" text )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule_and_results" ( "rnd" real, "date" text, "race_name" text, "length" text, "track" text, "location" text, "pole_position" text, "winning_driver" text ); Question: Name the race nam...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule_and_results" ( "rnd" real, "date" text, "race_name" text, "length" text, "track" text, "location" text, "pole_position" text, "winning_driver" text ); Question: Name the location...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule_and_results" ( "rnd" real, "date" text, "race_name" text, "length" text, "track" text, "location" text, "pole_position" text, "winning_driver" text ); Question: Name the race nam...