text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_15" ( "episode" text, "first_broadcast" text, "seans_team" text, "jons_team" text, "scores" text ); Question: Name the first broadcast for tina malone and joe wilkinson <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_15" ( "episode" text, "first_broadcast" text, "seans_team" text, "jons_team" text, "scores" text ); Question: Name the number of jons team for 15x10 <|assistant|> SELECT COUNT("jons_team...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_15" ( "episode" text, "first_broadcast" text, "seans_team" text, "jons_team" text, "scores" text ); Question: Name the scores for chris ramsey and carol vorderman <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_15" ( "episode" text, "first_broadcast" text, "seans_team" text, "jons_team" text, "scores" text ); Question: Name the total number of jons team for 15x07 <|assistant|> SELECT COUNT("jon...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_6" ( "episode" text, "first_broadcast" text, "seans_team" text, "jasons_team" text, "scores" text ); Question: Name all of Jason's teams that appeared on episode 6x02? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_6" ( "episode" text, "first_broadcast" text, "seans_team" text, "jasons_team" text, "scores" text ); Question: In how many episodes were Vanessa Feltz and Lee Mack the team for Sean? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_6" ( "episode" text, "first_broadcast" text, "seans_team" text, "jasons_team" text, "scores" text ); Question: Name the episode(s) that featured Duncan James and Johnny Vegas as Jason's ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_season" ( "sf_round" real, "country" text, "location" text, "date" text, "driver" text, "race_1_pts" real, "race_2_pts" real, "race_3" text, "race_total_pts" real ); Question: What...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_season" ( "sf_round" real, "country" text, "location" text, "date" text, "driver" text, "race_1_pts" real, "race_2_pts" real, "race_3" text, "race_total_pts" real ); Question: How ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_season" ( "sf_round" real, "country" text, "location" text, "date" text, "driver" text, "race_1_pts" real, "race_2_pts" real, "race_3" text, "race_total_pts" real ); Question: How ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_23294081_11" ( "no" real, "num" real, "original_airdate" text, "performer_1" text, "performer_2" text, "performer_3" text, "performer_4" text, "u_s_viewers_millions" text ); Questi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_23294081_11" ( "no" real, "num" real, "original_airdate" text, "performer_1" text, "performer_2" text, "performer_3" text, "performer_4" text, "u_s_viewers_millions" text ); Questi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_23294081_11" ( "no" real, "num" real, "original_airdate" text, "performer_1" text, "performer_2" text, "performer_3" text, "performer_4" text, "u_s_viewers_millions" text ); Questi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_23294081_11" ( "no" real, "num" real, "original_airdate" text, "performer_1" text, "performer_2" text, "performer_3" text, "performer_4" text, "u_s_viewers_millions" text ); Questi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_7" ( "episode" text, "first_broadcast" text, "seans_team" text, "jasons_team" text, "scores" text ); Question: Name the episode for vic reeves and claudia winkleman <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_7" ( "episode" text, "first_broadcast" text, "seans_team" text, "jasons_team" text, "scores" text ); Question: Name the number of scores for episode 7x05 <|assistant|> SELECT COUNT("scor...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_7" ( "episode" text, "first_broadcast" text, "seans_team" text, "jasons_team" text, "scores" text ); Question: Name the seans team being 13 november 2008 <|assistant|> SELECT "seans_team...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_7" ( "episode" text, "first_broadcast" text, "seans_team" text, "jasons_team" text, "scores" text ); Question: Name the total number of seans team being 7x04 <|assistant|> SELECT COUNT("...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_7" ( "episode" text, "first_broadcast" text, "seans_team" text, "jasons_team" text, "scores" text ); Question: Name the total number of scores for 7x10 <|assistant|> SELECT COUNT("scores...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2008_season" ( "sf_round" real, "country" text, "location" text, "date" text, "driver" text, "race_1_pts" real, "race_2_pts" real, "race_total_pts" real ); Question: How many dates have a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2008_season" ( "sf_round" real, "country" text, "location" text, "date" text, "driver" text, "race_1_pts" real, "race_2_pts" real, "race_total_pts" real ); Question: What is every points ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2008_season" ( "sf_round" real, "country" text, "location" text, "date" text, "driver" text, "race_1_pts" real, "race_2_pts" real, "race_total_pts" real ); Question: What is the lowest nu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2008_season" ( "sf_round" real, "country" text, "location" text, "date" text, "driver" text, "race_1_pts" real, "race_2_pts" real, "race_total_pts" real ); Question: Who is every driver f...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2008_season" ( "sf_round" real, "country" text, "location" text, "date" text, "driver" text, "race_1_pts" real, "race_2_pts" real, "race_total_pts" real ); Question: What is the highest v...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_6_2_titles_4_runner_ups" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text ); Question: What is the surface f...
<|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, "attendance" real, "record" text, "points" real ); Question: What was the score on October 29? <|assi...
<|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, "attendance" real, "record" text, "points" real ); Question: How many opponents were there with the r...
<|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, "attendance" real, "record" text, "points" real ); Question: What was the record on October 17? <|ass...
<|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, "attendance" real, "record" text, "points" real ); Question: What date did they play agains the New Y...
<|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, "attendance" real, "record" text, "points" real ); Question: How many points were there scored on Oct...
<|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, "attendance" real, "record" text, "points" real ); Question: How many different scores are there for ...
<|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, "attendance" real, "record" text, "points" real ); Question: When was the game with 13-5-6 record pla...
<|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, "attendance" real, "record" text, "points" real ); Question: What's the minimal number of points scor...
<|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, "attendance" real, "record" text, "points" real ); Question: How many different games against Florida...
<|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, "attendance" real, "record" text, "points" real ); Question: What was the record in the November 7 ga...
<|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, "attendance" real, "record" text, "points" real ); Question: How many times was there a record of 49-...
<|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, "attendance" real, "record" text, "points" real ); Question: How many scores had a date of March 6? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performances_18_10" ( "edition" text, "round" text, "date" text, "against" text, "surface" text, "opponent" text, "result" text, "outcome" text ); Question: If the date is 7-21-20...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performances_18_10" ( "edition" text, "round" text, "date" text, "against" text, "surface" text, "opponent" text, "result" text, "outcome" text ); Question: If the opponent is Kri...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar" ( "round" real, "location" text, "circuit" text, "date" text, "pole_position" text, "winning_driver" text, "winning_team" text ); Question: Who is the winning team when max b...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar" ( "round" real, "location" text, "circuit" text, "date" text, "pole_position" text, "winning_driver" text, "winning_team" text ); Question: In which location is aci vallelung...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar" ( "round" real, "location" text, "circuit" text, "date" text, "pole_position" text, "winning_driver" text, "winning_team" text ); Question: Who held the pole position in misa...
<|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, "attendance" real, "record" text, "points" real ); Question: List the results for all games which inv...
<|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, "attendance" real, "record" text, "points" real ); Question: Calculate the highest points where the w...
<|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, "attendance" real, "record" text, "points" real ); Question: what are the previous performance detail...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2331549_1" ( "year" real, "host_city" text, "host_school" text, "champion" text, "second_place" text, "third_place" text ); Question: Which years did Michigan state university come in ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2331549_1" ( "year" real, "host_city" text, "host_school" text, "champion" text, "second_place" text, "third_place" text ); Question: Who were the champions in years where michigan tec...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2331549_1" ( "year" real, "host_city" text, "host_school" text, "champion" text, "second_place" text, "third_place" text ); Question: What was the host city in years where the host sch...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2331549_1" ( "year" real, "host_city" text, "host_school" text, "champion" text, "second_place" text, "third_place" text ); Question: Who came in second place when the champion was sou...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_career_runs" ( "rank" real, "runs" real, "player" text, "matches" real, "innings" real, "not_out" real, "average" text ); Question: If the average is 45.65, what is the total number of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_career_runs" ( "rank" real, "runs" real, "player" text, "matches" real, "innings" real, "not_out" real, "average" text ); Question: What is the name of the player if the innings is 82?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_career_runs" ( "rank" real, "runs" real, "player" text, "matches" real, "innings" real, "not_out" real, "average" text ); Question: If the innings is 68, what is the average? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_career_runs" ( "rank" real, "runs" real, "player" text, "matches" real, "innings" real, "not_out" real, "average" text ); Question: If the runs is 5028, what is the matches maximum? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_dismissals_in_test_career_wicketkee" ( "rank" real, "dismissals" real, "player" text, "caught" real, "stumped" real, "matches" real, "innings" real ); Question: Name the least dismissa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_dismissals_in_test_career_wicketkee" ( "rank" real, "dismissals" real, "player" text, "caught" real, "stumped" real, "matches" real, "innings" real ); Question: Name the number of dism...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_dismissals_in_test_career_wicketkee" ( "rank" real, "dismissals" real, "player" text, "caught" real, "stumped" real, "matches" real, "innings" real ); Question: Name the least dismissa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nascar_nationwide_series" ( "year" real, "starts" real, "wins" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nascar_nationwide_series" ( "year" real, "starts" real, "wins" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nascar_nationwide_series" ( "year" real, "starts" real, "wins" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nascar_nationwide_series" ( "year" real, "starts" real, "wins" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_summary" ( "season" real, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_laps" real, "podiums" real, "points" text, "position" text ); Question: How ma...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_summary" ( "season" real, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_laps" real, "podiums" real, "points" text, "position" text ); Question: How ma...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_summary" ( "season" real, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_laps" real, "podiums" real, "points" text, "position" text ); Question: Which ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_summary" ( "season" real, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_laps" real, "podiums" real, "points" text, "position" text ); Question: How ma...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "wnit_player_stats" ( "player" text, "games_played" real, "minutes" real, "field_goals" real, "three_pointers" real, "free_throws" real, "rebounds" real, "assists" real, "blocks" real, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "wnit_player_stats" ( "player" text, "games_played" real, "minutes" real, "field_goals" real, "three_pointers" real, "free_throws" real, "rebounds" real, "assists" real, "blocks" real, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "wnit_player_stats" ( "player" text, "games_played" real, "minutes" real, "field_goals" real, "three_pointers" real, "free_throws" real, "rebounds" real, "assists" real, "blocks" real, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "wnit_player_stats" ( "player" text, "games_played" real, "minutes" real, "field_goals" real, "three_pointers" real, "free_throws" real, "rebounds" real, "assists" real, "blocks" real, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "wnit_player_stats" ( "player" text, "games_played" real, "minutes" real, "field_goals" real, "three_pointers" real, "free_throws" real, "rebounds" real, "assists" real, "blocks" real, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "player_stats" ( "player" text, "games_played" real, "minutes" real, "field_goals" real, "three_pointers" real, "free_throws" real, "rebounds" real, "assists" real, "blocks" real, "stea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "player_stats" ( "player" text, "games_played" real, "minutes" real, "field_goals" real, "three_pointers" real, "free_throws" real, "rebounds" real, "assists" real, "blocks" real, "stea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "player_stats" ( "player" text, "games_played" real, "minutes" real, "field_goals" real, "three_pointers" real, "free_throws" real, "rebounds" real, "assists" real, "blocks" real, "stea...
<|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, "orangemen_points" real, "opponents" real, "record" text ); Question: What was the Orangemen record during game 3? <|as...
<|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, "orangemen_points" real, "opponents" real, "record" text ); Question: What was the record for the Orangemen when they p...
<|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, "orangemen_points" real, "opponents" real, "record" text ); Question: How many points did the Orangemen score in game 1...
<|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, "orangemen_points" real, "opponents" real, "record" text ); Question: Who did the Orangemen play against when their rec...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "movies" ( "year" real, "title_of_movie" text, "name_of_role" text, "nature_of_role" text, "co_artists" text, "location" text ); Question: Name the location for 2007 <|assistant|> SELECT "loca...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "provincial_results" ( "province" text, "mahmoud_ahmadinejad" real, "mehdi_karroubi" real, "mir_hossein_mousavi" real, "mohsen_rezaee" real, "spoiled_ballots" real, "total_votes" real ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "provincial_results" ( "province" text, "mahmoud_ahmadinejad" real, "mehdi_karroubi" real, "mir_hossein_mousavi" real, "mohsen_rezaee" real, "spoiled_ballots" real, "total_votes" real ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "provincial_results" ( "province" text, "mahmoud_ahmadinejad" real, "mehdi_karroubi" real, "mir_hossein_mousavi" real, "mohsen_rezaee" real, "spoiled_ballots" real, "total_votes" real ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "provincial_results" ( "province" text, "mahmoud_ahmadinejad" real, "mehdi_karroubi" real, "mir_hossein_mousavi" real, "mohsen_rezaee" real, "spoiled_ballots" real, "total_votes" real ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "provincial_results" ( "province" text, "mahmoud_ahmadinejad" real, "mehdi_karroubi" real, "mir_hossein_mousavi" real, "mohsen_rezaee" real, "spoiled_ballots" real, "total_votes" real ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "provincial_results" ( "province" text, "mahmoud_ahmadinejad" real, "mehdi_karroubi" real, "mir_hossein_mousavi" real, "mohsen_rezaee" real, "spoiled_ballots" real, "total_votes" real ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "calendar" ( "round" real, "finishing_date" text, "rally_name" text, "rally_base" text, "surface" text, "support_category" text ); Question: Name surface for 8 round <|assistant|> SELECT "surf...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "calendar" ( "round" real, "finishing_date" text, "rally_name" text, "rally_base" text, "surface" text, "support_category" text ); Question: Name the rally base for 5 round <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "calendar" ( "round" real, "finishing_date" text, "rally_name" text, "rally_base" text, "surface" text, "support_category" text ); Question: Name the rally base for rallye de france alsace <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "drivers" ( "pos" real, "driver" text, "starts" real, "finishes" real, "wins" real, "podiums" real, "stage_wins" real, "power_stage_wins" real, "points" real ); Question: What is the low...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "drivers" ( "pos" real, "driver" text, "starts" real, "finishes" real, "wins" real, "podiums" real, "stage_wins" real, "power_stage_wins" real, "points" real ); Question: What driver(s) ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "constructors" ( "pos" real, "constructor" text, "chassis" text, "starts" real, "finishes" real, "wins" real, "podiums" real, "stage_wins" real, "power_stage_wins" real, "points" real )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "constructors" ( "pos" real, "constructor" text, "chassis" text, "starts" real, "finishes" real, "wins" real, "podiums" real, "stage_wins" real, "power_stage_wins" real, "points" real )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "constructors" ( "pos" real, "constructor" text, "chassis" text, "starts" real, "finishes" real, "wins" real, "podiums" real, "stage_wins" real, "power_stage_wins" real, "points" real )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ibc_tv_stations" ( "branding" text, "callsign" text, "ch_num" text, "power_k_w" text, "station_type" text, "location_transmitter_site" text ); Question: When relay is the station type and 5kw...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ibc_tv_stations" ( "branding" text, "callsign" text, "ch_num" text, "power_k_w" text, "station_type" text, "location_transmitter_site" text ); Question: When dxrt-tv is the callsign what is t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ibc_tv_stations" ( "branding" text, "callsign" text, "ch_num" text, "power_k_w" text, "station_type" text, "location_transmitter_site" text ); Question: When dxzb-tv is the call sign what is ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ibc_tv_stations" ( "branding" text, "callsign" text, "ch_num" text, "power_k_w" text, "station_type" text, "location_transmitter_site" text ); Question: When dxcc-tv is the call sign how many...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ibc_tv_stations" ( "branding" text, "callsign" text, "ch_num" text, "power_k_w" text, "station_type" text, "location_transmitter_site" text ); Question: When dwhr-tv is the call sign how many...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_three" ( "num" real, "title" text, "original_airdate" text, "timeslot" text, "viewers_millions" text, "nightly_rank" real, "weekly_rank" real ); Question: What date did Episode 22 or...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_three" ( "num" real, "title" text, "original_airdate" text, "timeslot" text, "viewers_millions" text, "nightly_rank" real, "weekly_rank" real ); Question: What episode premier receiv...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_three" ( "num" real, "title" text, "original_airdate" text, "timeslot" text, "viewers_millions" text, "nightly_rank" real, "weekly_rank" real ); Question: When did "The Intervention"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_three" ( "num" real, "title" text, "original_airdate" text, "timeslot" text, "viewers_millions" text, "nightly_rank" real, "weekly_rank" real ); Question: What timeslot received 0.67...