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, "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: 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: 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: 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 "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: In...
<|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: 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: 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 "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: 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: 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: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27764201_2" ( "week" real, "date" text, "kickoff" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real ); Question: How many times did...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27764201_2" ( "week" real, "date" text, "kickoff" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real ); Question: Where did the Cent...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27764201_2" ( "week" real, "date" text, "kickoff" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real ); Question: What time was the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "notes" ( "no" real, "player" text, "club" text, "test_career" text, "tests" real, "catches" real, "stumpings" real, "total_dismissals" real ); Question: How many total catches did the pla...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27771406_1" ( "no" real, "player" text, "club" text, "test_career" text, "tests" real, "catches" real, "stumpings" real, "total_dismissals" real ); Question: How many total dismiss...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27771406_1" ( "no" real, "player" text, "club" text, "test_career" text, "tests" real, "catches" real, "stumpings" real, "total_dismissals" real ); Question: The player for what cl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27771406_1" ( "no" real, "player" text, "club" text, "test_career" text, "tests" real, "catches" real, "stumpings" real, "total_dismissals" real ); Question: What is the most amoun...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27771406_1" ( "no" real, "player" text, "club" text, "test_career" text, "tests" real, "catches" real, "stumpings" real, "total_dismissals" real ); Question: What club did Cyril Ch...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27771406_1" ( "no" real, "player" text, "club" text, "test_career" text, "tests" real, "catches" real, "stumpings" real, "total_dismissals" real ); Question: How many catches did C...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_season" ( "season" real, "driver" text, "owner" text, "number" text, "make" text, "starts" text, "wins" real, "top_tens" real, "poles" real, "points_margin" text ); Question: Name ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_season" ( "season" real, "driver" text, "owner" text, "number" text, "make" text, "starts" text, "wins" real, "top_tens" real, "poles" real, "points_margin" text ); Question: Name ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_season" ( "season" real, "driver" text, "owner" text, "number" text, "make" text, "starts" text, "wins" real, "top_tens" real, "poles" real, "points_margin" text ); Question: Name ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27776266_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27776266_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27776266_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27776266_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_ten" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text ); Question: Which school players have a number of 255 <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_ten" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text ); Question: what educational institute does wes swinson attend ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_ten" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text ); Question: which part on the team does rick schuhwerk play <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_four" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text ); Question: For college/junior/club team is brandon wheat king...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_four" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text ); Question: For player is jamal mayers mention the minimum pic...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_four" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text ); Question: For player is john jakopin mention the total numbe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_four" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text ); Question: For nhl team is san jose sharks mention all the co...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_four" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text ); Question: For player is adam wiesel mention all the college/...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_two" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text ); Question: How many values are displayed under pick for Vlasti...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_two" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text ); Question: How many positions does Janne Niinimaa play? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_two" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text ); Question: How many teams does Lee Sorochan play for? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_two" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text ); Question: What player belongs to the Chicago Blackhawks? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_two" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text ); Question: How many teams does Maxim Bets play for? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_eleven" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text ); Question: What was the minimum pick by the Florida Panther...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_seven" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text ); Question: What NHL team picked Ryan Meade for the draft? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_seven" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text ); Question: What college team did Ryan Golden come from? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_seven" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text ); Question: How many different nationalities is pick number 1...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_seven" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text ); Question: What college team did the pick for Pittsburgh Pe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_seven" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text ); Question: What NHL team picked Tom White? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_peaks" ( "entry_date_a" text, "single" text, "artist" text, "peak" real, "peak_reached_a" text, "weeks_in_top_10" real ); Question: How many weeks in the top 10 was spent by a song perfo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_peaks" ( "entry_date_a" text, "single" text, "artist" text, "peak" real, "peak_reached_a" text, "weeks_in_top_10" real ); Question: How long has the longest song spent in the top 10? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_nine" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text ); Question: What college/junior/club team did dmitri gorenko p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_nine" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text ); Question: What position does krylja sovetov (russia) play? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_nine" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text ); Question: What position(s) does barrie moore play? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "affiliate_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "current_conference" text, "pac_12_sports" text ); Question: How...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "affiliate_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "current_conference" text, "pac_12_sports" text ); Question: Whe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "affiliate_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "current_conference" text, "pac_12_sports" text ); Question: Whi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "affiliate_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "current_conference" text, "pac_12_sports" text ); Question: Whe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "affiliate_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "current_conference" text, "pac_12_sports" text ); Question: Whi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "affiliate_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "current_conference" text, "pac_12_sports" text ); Question: Whi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "player_statistics" ( "shirt_number" real, "player_name" text, "games_played" real, "total_points" real, "2_points" real, "3_points" real, "free_throw" real ); Question: Name the least games...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_season" ( "season" real, "driver" text, "owner" text, "no" real, "manufacturer" text, "starts" text, "wins" real, "top_tens" real, "poles" real, "points_margin" text ); Question: w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27823058_1" ( "series_num" real, "episode_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text ); Question: Which episodes did Katie Palmer write? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27823058_1" ( "series_num" real, "episode_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text ); Question: What's the highest series number ? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "territories_of_eastern_wu" ( "province" text, "provincial_capital" text, "commandery" text, "commandery_capital" text, "no_of_counties" real ); Question: when changsha 長沙 is the commandery what...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "territories_of_eastern_wu" ( "province" text, "provincial_capital" text, "commandery" text, "commandery_capital" text, "no_of_counties" real ); Question: When yidu 宜都 is the commandery what is ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "territories_of_eastern_wu" ( "province" text, "provincial_capital" text, "commandery" text, "commandery_capital" text, "no_of_counties" real ); Question: When nanhai 南海 is the commandery what i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "territories_of_eastern_wu" ( "province" text, "provincial_capital" text, "commandery" text, "commandery_capital" text, "no_of_counties" real ); Question: When zhang'an county 章安縣 is the command...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "territories_of_eastern_wu" ( "province" text, "provincial_capital" text, "commandery" text, "commandery_capital" text, "no_of_counties" real ); Question: When gaoliang 高涼 is the commandery what...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27832075_2" ( "series_num" real, "episode_num" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: What is t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27832075_2" ( "series_num" real, "episode_num" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: How many ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27832075_2" ( "series_num" real, "episode_num" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: Who direc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27832075_2" ( "series_num" real, "episode_num" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: What is t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "world_championship_winners" ( "year" real, "location" text, "distance_miles" real, "rider_names" text, "horse_name" text, "best_conditioned_horse" text ); Question: What are all the Riders wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "world_championship_winners" ( "year" real, "location" text, "distance_miles" real, "rider_names" text, "horse_name" text, "best_conditioned_horse" text ); Question: What was the distance (in ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "world_championship_winners" ( "year" real, "location" text, "distance_miles" real, "rider_names" text, "horse_name" text, "best_conditioned_horse" text ); Question: Who were the winning rider...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "world_championship_winners" ( "year" real, "location" text, "distance_miles" real, "rider_names" text, "horse_name" text, "best_conditioned_horse" text ); Question: How many different riders ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "world_championship_winners" ( "year" real, "location" text, "distance_miles" real, "rider_names" text, "horse_name" text, "best_conditioned_horse" text ); Question: What was the total distanc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27833469_1" ( "series_num" real, "season_num" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: Who direct...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27833469_1" ( "series_num" real, "season_num" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: How many s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27833469_1" ( "series_num" real, "season_num" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: What is th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27833469_1" ( "series_num" real, "season_num" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: What is th...