text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1949994_7" ( "no" real, "country" text, "local_title" text, "format" text, "start_date" text, "end_date" text, "episodes" text, "premiere_air_dates" text ); Question: Where was the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1949994_7" ( "no" real, "country" text, "local_title" text, "format" text, "start_date" text, "end_date" text, "episodes" text, "premiere_air_dates" text ); Question: When did the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1949994_7" ( "no" real, "country" text, "local_title" text, "format" text, "start_date" text, "end_date" text, "episodes" text, "premiere_air_dates" text ); Question: When did the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1949994_7" ( "no" real, "country" text, "local_title" text, "format" text, "start_date" text, "end_date" text, "episodes" text, "premiere_air_dates" text ); Question: What's the fo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1949994_7" ( "no" real, "country" text, "local_title" text, "format" text, "start_date" text, "end_date" text, "episodes" text, "premiere_air_dates" text ); Question: What's season...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1949994_7" ( "no" real, "country" text, "local_title" text, "format" text, "start_date" text, "end_date" text, "episodes" text, "premiere_air_dates" text ); Question: When did the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19501664_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: Name t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19501664_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: Name t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19501664_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: Name t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19495707_1" ( "application" text, "latest_release_date_and_version" text, "developed_by" text, "platforms" text, "mainly_used_for" text, "license" text ); Question: Name the platforms ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19495707_1" ( "application" text, "latest_release_date_and_version" text, "developed_by" text, "platforms" text, "mainly_used_for" text, "license" text ); Question: Name the license fo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19495707_1" ( "application" text, "latest_release_date_and_version" text, "developed_by" text, "platforms" text, "mainly_used_for" text, "license" text ); Question: Name the number of ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19495707_1" ( "application" text, "latest_release_date_and_version" text, "developed_by" text, "platforms" text, "mainly_used_for" text, "license" text ); Question: Name the license fo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19495707_1" ( "application" text, "latest_release_date_and_version" text, "developed_by" text, "platforms" text, "mainly_used_for" text, "license" text ); Question: Name the number of ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19495707_1" ( "application" text, "latest_release_date_and_version" text, "developed_by" text, "platforms" text, "mainly_used_for" text, "license" text ); Question: Name the applicatio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1949994_8" ( "no" real, "country" text, "local_title" text, "format" text, "start_date" text, "end_date" text, "episodes" real, "premiere_air_dates" text ); Question: What series n...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1949994_8" ( "no" real, "country" text, "local_title" text, "format" text, "start_date" text, "end_date" text, "episodes" real, "premiere_air_dates" text ); Question: What was the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1949994_8" ( "no" real, "country" text, "local_title" text, "format" text, "start_date" text, "end_date" text, "episodes" real, "premiere_air_dates" text ); Question: What were the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1949994_8" ( "no" real, "country" text, "local_title" text, "format" text, "start_date" text, "end_date" text, "episodes" real, "premiere_air_dates" text ); Question: What series n...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1949994_8" ( "no" real, "country" text, "local_title" text, "format" text, "start_date" text, "end_date" text, "episodes" real, "premiere_air_dates" text ); Question: What was the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19508635_1" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text ); Question: Name the week number for the beatles <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19508635_1" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text ); Question: Name the result for 1980s <|assistant|> SELECT "re...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19508635_1" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text ); Question: Name the order number for 1960s <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19508635_1" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text ); Question: Name the result for dolly parton <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19508635_1" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text ); Question: Name the song choice for michael jackson <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_three_2011" ( "series_num" real, "episode_num" real, "title" text, "written_by" text, "directed_by" text, "viewers" real, "original_airdate" text ); Question: What is the largest ser...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_three_2011" ( "series_num" real, "episode_num" real, "title" text, "written_by" text, "directed_by" text, "viewers" real, "original_airdate" text ); Question: What is the latest epis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_three_2011" ( "series_num" real, "episode_num" real, "title" text, "written_by" text, "directed_by" text, "viewers" real, "original_airdate" text ); Question: What was the original a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_three_2011" ( "series_num" real, "episode_num" real, "title" text, "written_by" text, "directed_by" text, "viewers" real, "original_airdate" text ); Question: What is the title of th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_three_2011" ( "series_num" real, "episode_num" real, "title" text, "written_by" text, "directed_by" text, "viewers" real, "original_airdate" text ); Question: What was the original a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_10_games_of_400_or_more_yards_by_cat" ( "rank" text, "rating" text, "completion_percentage" text, "touchdown_percentage" text, "yards_per_attempt" text, "total_yards" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_10_games_of_400_or_more_yards_by_cat" ( "rank" text, "rating" text, "completion_percentage" text, "touchdown_percentage" text, "yards_per_attempt" text, "total_yards" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_10_games_of_400_or_more_yards_by_cat" ( "rank" text, "rating" text, "completion_percentage" text, "touchdown_percentage" text, "yards_per_attempt" text, "total_yards" text ); Question: Ho...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_two_2009" ( "series_num" real, "episode_num" real, "title" text, "written_by" text, "directed_by" text, "viewers" real, "original_airdate" text ); Question: What is the series number...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_two_2009" ( "series_num" real, "episode_num" real, "title" text, "written_by" text, "directed_by" text, "viewers" real, "original_airdate" text ); Question: If the title if the Lost ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_two_2009" ( "series_num" real, "episode_num" real, "title" text, "written_by" text, "directed_by" text, "viewers" real, "original_airdate" text ); Question: What is the title for the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "total_playoff_berths_while_in_the_afl_af" ( "team" text, "division_titles" real, "playoff_berths" real, "afl_titles" real, "afc_championships" real, "super_bowl_championships" real ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "total_playoff_berths_while_in_the_afl_af" ( "team" text, "division_titles" real, "playoff_berths" real, "afl_titles" real, "afc_championships" real, "super_bowl_championships" real ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "total_playoff_berths_while_in_the_afl_af" ( "team" text, "division_titles" real, "playoff_berths" real, "afl_titles" real, "afc_championships" real, "super_bowl_championships" real ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19523708_1" ( "draw" real, "artist" text, "original" text, "english_meaning" text, "language" text, "authors" text ); Question: How many authors are present when the original was Carry...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19523708_1" ( "draw" real, "artist" text, "original" text, "english_meaning" text, "language" text, "authors" text ); Question: What was the draw for the english meaning Eyes that Neve...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19523708_1" ( "draw" real, "artist" text, "original" text, "english_meaning" text, "language" text, "authors" text ); Question: What is the highest draw represented? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19523708_1" ( "draw" real, "artist" text, "original" text, "english_meaning" text, "language" text, "authors" text ); Question: Who was the artist for the origin Shake it, Europe? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams" ( "previous_season_2007_2008" text, "team" text, "town" text, "arena_capacity" text, "website" text, "head_coach" text, "foreign_players_max_2" text ); Question: What is the arena ca...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams" ( "previous_season_2007_2008" text, "team" text, "town" text, "arena_capacity" text, "website" text, "head_coach" text, "foreign_players_max_2" text ); Question: What is the arena ca...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams" ( "previous_season_2007_2008" text, "team" text, "town" text, "arena_capacity" text, "website" text, "head_coach" text, "foreign_players_max_2" text ); Question: Who are the foreign ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams" ( "previous_season_2007_2008" text, "team" text, "town" text, "arena_capacity" text, "website" text, "head_coach" text, "foreign_players_max_2" text ); Question: What are the previou...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2013_national_color_guard_competition_re" ( "region" text, "wing" text, "inspection" real, "standard" real, "indoor" real, "outdoor" real, "written" real, "panel_quiz" real, "mile_run" r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2013_national_color_guard_competition_re" ( "region" text, "wing" text, "inspection" real, "standard" real, "indoor" real, "outdoor" real, "written" real, "panel_quiz" real, "mile_run" r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2013_national_color_guard_competition_re" ( "region" text, "wing" text, "inspection" real, "standard" real, "indoor" real, "outdoor" real, "written" real, "panel_quiz" real, "mile_run" r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2013_national_color_guard_competition_re" ( "region" text, "wing" text, "inspection" real, "standard" real, "indoor" real, "outdoor" real, "written" real, "panel_quiz" real, "mile_run" r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2013_national_color_guard_competition_re" ( "region" text, "wing" text, "inspection" real, "standard" real, "indoor" real, "outdoor" real, "written" real, "panel_quiz" real, "mile_run" r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "detailed_criteria" ( "rank" text, "name" text, "lifespan" text, "country" text, "wins" real, "majors" real, "winning_span" text, "span_years" real ); Question: What is the winning span of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "detailed_criteria" ( "rank" text, "name" text, "lifespan" text, "country" text, "wins" real, "majors" real, "winning_span" text, "span_years" real ); Question: What is the winning span in...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "detailed_criteria" ( "rank" text, "name" text, "lifespan" text, "country" text, "wins" real, "majors" real, "winning_span" text, "span_years" real ); Question: What is the winning span fo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "detailed_criteria" ( "rank" text, "name" text, "lifespan" text, "country" text, "wins" real, "majors" real, "winning_span" text, "span_years" real ); Question: What is the winning span wi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19576091_1" ( "scorecard" real, "date" text, "venue" text, "team_1" text, "team_2" text, "result" text, "man_of_the_match" text ); Question: How many scorecards are there for the mat...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19576091_1" ( "scorecard" real, "date" text, "venue" text, "team_1" text, "team_2" text, "result" text, "man_of_the_match" text ); Question: How many venues were there for the match ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19576091_1" ( "scorecard" real, "date" text, "venue" text, "team_1" text, "team_2" text, "result" text, "man_of_the_match" text ); Question: What was the venue for the match on Octob...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19576091_1" ( "scorecard" real, "date" text, "venue" text, "team_1" text, "team_2" text, "result" text, "man_of_the_match" text ); Question: Who was the man of the match when the Roc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1958768_3" ( "district" text, "vacator" text, "reason_for_change" text, "successor" text, "date_successor_seated" text ); Question: Name the vacator for wisconsin 1st <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1958768_3" ( "district" text, "vacator" text, "reason_for_change" text, "successor" text, "date_successor_seated" text ); Question: Name the successor for pennsylvania 15th <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19598014_2" ( "rnd" real, "circuit" text, "lmp1_winning_team" text, "lmp2_winning_team" text, "gt2_winning_team" text, "challenge_winning_team" text, "results" text ); Question: Name...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19598014_2" ( "rnd" real, "circuit" text, "lmp1_winning_team" text, "lmp2_winning_team" text, "gt2_winning_team" text, "challenge_winning_team" text, "results" text ); Question: Name...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19598014_2" ( "rnd" real, "circuit" text, "lmp1_winning_team" text, "lmp2_winning_team" text, "gt2_winning_team" text, "challenge_winning_team" text, "results" text ); Question: Name...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "demographics" ( "country" text, "area_km" real, "population" real, "population_density_per_km" real, "hdi_2011" text, "capital" text ); Question: Which capitals have an area of exactly 377930...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "demographics" ( "country" text, "area_km" real, "population" real, "population_density_per_km" real, "hdi_2011" text, "capital" text ); Question: What is the total number of capitals that hav...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "demographics" ( "country" text, "area_km" real, "population" real, "population_density_per_km" real, "hdi_2011" text, "capital" text ); Question: What capital has a population of exactly 1339...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "demographics" ( "country" text, "area_km" real, "population" real, "population_density_per_km" real, "hdi_2011" text, "capital" text ); Question: How many populations have a capital of Hong K...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "wise_district_demographics_http_gov_bih_" ( "districts_of_bihar" text, "total_population_2001" real, "male_population_2001" real, "female_population_2001" real, "growth_rate_1981_91" text, "gr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "wise_district_demographics_http_gov_bih_" ( "districts_of_bihar" text, "total_population_2001" real, "male_population_2001" real, "female_population_2001" real, "growth_rate_1981_91" text, "gr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "wise_district_demographics_http_gov_bih_" ( "districts_of_bihar" text, "total_population_2001" real, "male_population_2001" real, "female_population_2001" real, "growth_rate_1981_91" text, "gr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "wise_district_demographics_http_gov_bih_" ( "districts_of_bihar" text, "total_population_2001" real, "male_population_2001" real, "female_population_2001" real, "growth_rate_1981_91" text, "gr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "wise_district_demographics_http_gov_bih_" ( "districts_of_bihar" text, "total_population_2001" real, "male_population_2001" real, "female_population_2001" real, "growth_rate_1981_91" text, "gr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "marriage_statistics" ( "year" text, "marriages_between_men" real, "marriages_between_women" real, "same_sex_marriages" real, "total_marriages" real, "pct_same_sex_marriages" text ); Question:...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "marriage_statistics" ( "year" text, "marriages_between_men" real, "marriages_between_women" real, "same_sex_marriages" real, "total_marriages" real, "pct_same_sex_marriages" text ); Question:...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "marriage_statistics" ( "year" text, "marriages_between_men" real, "marriages_between_women" real, "same_sex_marriages" real, "total_marriages" real, "pct_same_sex_marriages" text ); Question:...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "marriage_statistics" ( "year" text, "marriages_between_men" real, "marriages_between_women" real, "same_sex_marriages" real, "total_marriages" real, "pct_same_sex_marriages" text ); Question:...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19632728_1" ( "season_num" real, "episode_num" real, "title" text, "director_s" text, "writer_s" text, "original_air_date" text ); Question: When was the episode number 2 originally ai...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19632728_1" ( "season_num" real, "episode_num" real, "title" text, "director_s" text, "writer_s" text, "original_air_date" text ); Question: When was the episode titled "The Parachute ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19632728_1" ( "season_num" real, "episode_num" real, "title" text, "director_s" text, "writer_s" text, "original_air_date" text ); Question: Who was the writer of the episode titled "T...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19632728_1" ( "season_num" real, "episode_num" real, "title" text, "director_s" text, "writer_s" text, "original_air_date" text ); Question: What was the highest season number? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pga_tour_wins_8" ( "no" real, "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text ); Question: What was the margin of victory o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pga_tour_wins_8" ( "no" real, "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text ); Question: How many to par has the winning ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pga_tour_wins_8" ( "no" real, "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text ); Question: What is the minimum number of th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pga_tour_wins_8" ( "no" real, "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text ); Question: What is the total number of Joh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "competitors_and_betting" ( "sp" text, "number" real, "horse" text, "age" real, "handicap_st_lb" text, "jockey" text, "trainer" text, "owner" text, "colours" text, "finishing_position" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "competitors_and_betting" ( "sp" text, "number" real, "horse" text, "age" real, "handicap_st_lb" text, "jockey" text, "trainer" text, "owner" text, "colours" text, "finishing_position" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "competitors_and_betting" ( "sp" text, "number" real, "horse" text, "age" real, "handicap_st_lb" text, "jockey" text, "trainer" text, "owner" text, "colours" text, "finishing_position" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "competitors_and_betting" ( "sp" text, "number" real, "horse" text, "age" real, "handicap_st_lb" text, "jockey" text, "trainer" text, "owner" text, "colours" text, "finishing_position" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "persian_title" text, "director" text, "result" text ); Question: If the film title nominated is Baran, what was the r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "persian_title" text, "director" text, "result" text ); Question: For the Persian Title میم مثل مادر, what were the re...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "persian_title" text, "director" text, "result" text ); Question: For the Persian title گبه, What was the film title u...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "buses" ( "fleet_num" text, "year" real, "manufacture" text, "model" text, "length_ft" real, "engine" text, "transmission" text ); Question: What year had an Allison B400R transmission and a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "buses" ( "fleet_num" text, "year" real, "manufacture" text, "model" text, "length_ft" real, "engine" text, "transmission" text ); Question: What is the fleet number when the length (ft) is ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "buses" ( "fleet_num" text, "year" real, "manufacture" text, "model" text, "length_ft" real, "engine" text, "transmission" text ); Question: What is the fleet number when the transmission is...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "buses" ( "fleet_num" text, "year" real, "manufacture" text, "model" text, "length_ft" real, "engine" text, "transmission" text ); Question: Which year had a transmission of Voith D863.4 and...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_one" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text ); Question: Name the college/junior club team for ian turnb...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_three" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text ); Question: Name the position for nhl team being los ange...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_three" ( "pick_num" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text ); Question: Name the nhl times for jeff jacques <|assista...