text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cast_of_major_productions_1954_1999" ( "character" text, "1954_broadway" text, "1955_broadcast" text, "1960_broadcast" text, "1979_broadway" text, "1990_broadway" text, "1991_broadway" text,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cast_of_major_productions_1954_1999" ( "character" text, "1954_broadway" text, "1955_broadcast" text, "1960_broadcast" text, "1979_broadway" text, "1990_broadway" text, "1991_broadway" text,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tv_ratings" ( "year" real, "broadcast_date" text, "bbc_one_total_viewing" real, "bbc_one_rank" text, "bbc_two_total_viewing" text, "bbc_two_rank" text ); Question: What date was BBC One total...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tv_ratings" ( "year" real, "broadcast_date" text, "bbc_one_total_viewing" real, "bbc_one_rank" text, "bbc_two_total_viewing" text, "bbc_two_rank" text ); Question: How many years did BBC One ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tv_ratings" ( "year" real, "broadcast_date" text, "bbc_one_total_viewing" real, "bbc_one_rank" text, "bbc_two_total_viewing" text, "bbc_two_rank" text ); Question: What year was the BBC two t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nomenclature_of_t3_ss_proteins" ( "function_genus" text, "shigella" text, "salmonella" text, "yersinia" text, "escherichia" text ); Question: how many ↓ function / genus → with escherichia bei...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nomenclature_of_t3_ss_proteins" ( "function_genus" text, "shigella" text, "salmonella" text, "yersinia" text, "escherichia" text ); Question: what's the salmonella with escherichia being espd <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nomenclature_of_t3_ss_proteins" ( "function_genus" text, "shigella" text, "salmonella" text, "yersinia" text, "escherichia" text ); Question: what's the ↓ function / genus → with shigella being...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nomenclature_of_t3_ss_proteins" ( "function_genus" text, "shigella" text, "salmonella" text, "yersinia" text, "escherichia" text ); Question: what's the salmonella with shigella being ipgc <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nomenclature_of_t3_ss_proteins" ( "function_genus" text, "shigella" text, "salmonella" text, "yersinia" text, "escherichia" text ); Question: what's the salmonella with escherichia being sepb (...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nomenclature_of_t3_ss_proteins" ( "function_genus" text, "shigella" text, "salmonella" text, "yersinia" text, "escherichia" text ); Question: what's the shigella with yersinia being yscp <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10321805_1" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "director" text, "result" text ); Question: How many original titles did Marriage Italian...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10321805_1" ( "year_ceremony" text, "film_title_used_in_nomination" text, "original_title" text, "director" text, "result" text ); Question: What year was a movie with the original title...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10335_1" ( "camp" text, "estimated_deaths" text, "operational" text, "occupied_territory" text, "current_country_of_location" text, "primary_means_for_mass_killings" text ); Question: ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10335_1" ( "camp" text, "estimated_deaths" text, "operational" text, "occupied_territory" text, "current_country_of_location" text, "primary_means_for_mass_killings" text ); Question: ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10335_1" ( "camp" text, "estimated_deaths" text, "operational" text, "occupied_territory" text, "current_country_of_location" text, "primary_means_for_mass_killings" text ); Question: ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10335_1" ( "camp" text, "estimated_deaths" text, "operational" text, "occupied_territory" text, "current_country_of_location" text, "primary_means_for_mass_killings" text ); Question: ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10335_1" ( "camp" text, "estimated_deaths" text, "operational" text, "occupied_territory" text, "current_country_of_location" text, "primary_means_for_mass_killings" text ); Question: ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10335_1" ( "camp" text, "estimated_deaths" text, "operational" text, "occupied_territory" text, "current_country_of_location" text, "primary_means_for_mass_killings" text ); Question: ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10360823_1" ( "round" real, "choice" real, "overall" real, "player_name" text, "position" text, "college" text ); Question: Which overall pick was traded to the Cleveland Browns? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10360823_1" ( "round" real, "choice" real, "overall" real, "player_name" text, "position" text, "college" text ); Question: Overall pick 240 was a pick in which round? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10360823_1" ( "round" real, "choice" real, "overall" real, "player_name" text, "position" text, "college" text ); Question: Which overall pick number went to college at Youngstown Stat...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10360823_1" ( "round" real, "choice" real, "overall" real, "player_name" text, "position" text, "college" text ); Question: What position is played by pick 255 overall? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10360823_1" ( "round" real, "choice" real, "overall" real, "player_name" text, "position" text, "college" text ); Question: Which player was chosen in round 17? <|assistant|> SELECT "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, "vikings_points" real, "opponents" real, "record" text, "attendance" real ); Question: The record of 7-3 had the larg...
<|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, "vikings_points" real, "opponents" real, "record" text, "attendance" real ); Question: The record of 9-4 was against ...
<|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, "vikings_points" real, "opponents" real, "record" text, "attendance" real ); Question: The game number of 8 had a rec...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10360656_1" ( "round" real, "choice" real, "overall" real, "player_name" text, "position" text, "college" text ); Question: What round was Steve Stonebreaker drafted? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10360656_1" ( "round" real, "choice" real, "overall" real, "player_name" text, "position" text, "college" text ); Question: Who was the top picki n the draft? <|assistant|> SELECT MIN(...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10360656_1" ( "round" real, "choice" real, "overall" real, "player_name" text, "position" text, "college" text ); Question: What round was Bill Hill drafted? <|assistant|> SELECT "choi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10360656_1" ( "round" real, "choice" real, "overall" real, "player_name" text, "position" text, "college" text ); Question: What was the name of the quarterback drafted? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10361625_1" ( "round" real, "choice" real, "overall" real, "player_name" text, "position" text, "college" text ); Question: Where is the college where Keith Hartwig plays? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10361625_1" ( "round" real, "choice" real, "overall" real, "player_name" text, "position" text, "college" text ); Question: What is the name of the linebacker at Illinois college? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10361625_1" ( "round" real, "choice" real, "overall" real, "player_name" text, "position" text, "college" text ); Question: What is the greatest round of overall 83? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10361625_1" ( "round" real, "choice" real, "overall" real, "player_name" text, "position" text, "college" text ); Question: Which round did Tommy Kramer play in> <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10361625_1" ( "round" real, "choice" real, "overall" real, "player_name" text, "position" text, "college" text ); Question: What is Rice's collage score? <|assistant|> SELECT "overall"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10361230_1" ( "round" real, "choice" real, "overall" real, "player_name" text, "position" text, "college" text ); Question: Where does the defensive back position appear first? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10361230_1" ( "round" real, "choice" real, "overall" real, "player_name" text, "position" text, "college" text ); Question: What is Bruce Cerone overall? <|assistant|> SELECT MIN("over...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10361230_1" ( "round" real, "choice" real, "overall" real, "player_name" text, "position" text, "college" text ); Question: Which player went to Emporia State? <|assistant|> SELECT "pl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10361230_1" ( "round" real, "choice" real, "overall" real, "player_name" text, "position" text, "college" text ); Question: What is the highest choice? <|assistant|> SELECT MAX("choice...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10361230_1" ( "round" real, "choice" real, "overall" real, "player_name" text, "position" text, "college" text ); Question: What college did Bill Cappleman go to? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "headstamps_and_colour_coding" ( "headstamp_id" text, "primer_annulus_color" text, "bullet_tip_color" text, "other_features" text, "functional_type" text ); Question: For the headstamp id of h2,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "headstamps_and_colour_coding" ( "headstamp_id" text, "primer_annulus_color" text, "bullet_tip_color" text, "other_features" text, "functional_type" text ); Question: For the functional type of ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "headstamps_and_colour_coding" ( "headstamp_id" text, "primer_annulus_color" text, "bullet_tip_color" text, "other_features" text, "functional_type" text ); Question: How many primers annulus co...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "headstamps_and_colour_coding" ( "headstamp_id" text, "primer_annulus_color" text, "bullet_tip_color" text, "other_features" text, "functional_type" text ); Question: How many bullet tips colors...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_statistics" ( "year" real, "games" real, "games_started" real, "completions" real, "attempts" real, "completion_pct" text, "yards" real, "yards_attempt" text, "touchdowns" real, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_statistics" ( "year" real, "games" real, "games_started" real, "completions" real, "attempts" real, "completion_pct" text, "yards" real, "yards_attempt" text, "touchdowns" real, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_statistics" ( "year" real, "games" real, "games_started" real, "completions" real, "attempts" real, "completion_pct" text, "yards" real, "yards_attempt" text, "touchdowns" real, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10402018_1" ( "character" text, "australia_new_zealand_sydney_first_run_melbourne_auckland" text, "london" text, "toronto_broadway" text, "brazil" text, "uk_tour" text, "us_tour" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10402018_1" ( "character" text, "australia_new_zealand_sydney_first_run_melbourne_auckland" text, "london" text, "toronto_broadway" text, "brazil" text, "uk_tour" text, "us_tour" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10402018_1" ( "character" text, "australia_new_zealand_sydney_first_run_melbourne_auckland" text, "london" text, "toronto_broadway" text, "brazil" text, "uk_tour" text, "us_tour" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team" ( "school_year" text, "class_a" text, "class_aa" text, "class_aaa" text, "class_aaaa" text, "class_aaaaa" text ); Question: Who was Class AAA during the school year of 2000-01? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team" ( "school_year" text, "class_a" text, "class_aa" text, "class_aaa" text, "class_aaaa" text, "class_aaaaa" text ); Question: Who was Class AAA during the same year that Class A was (tie)...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team" ( "school_year" text, "class_a" text, "class_aa" text, "class_aaa" text, "class_aaaa" text, "class_aaaaa" text ); Question: Who was Class AAAAA during the school year of 1995-96? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team" ( "school_year" text, "class_a" text, "class_aa" text, "class_aaa" text, "class_aaaa" text, "class_aaaaa" text ); Question: Who was Class AAA during the same year that Class AAAAA was B...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team" ( "school_year" text, "class_a" text, "class_aa" text, "class_aaa" text, "class_aaaa" text, "class_aaaaa" text ); Question: What was the total number of Class AAA during the same year t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10392906_2" ( "week" real, "date" text, "kickoff" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real ); Question: How many records a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10392906_2" ( "week" real, "date" text, "kickoff" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real ); Question: How many opponents...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10392906_2" ( "week" real, "date" text, "kickoff" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real ); Question: In what week was t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10413597_5" ( "no_in_series" real, "no_in_season" real, "title" text, "setting" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "original_air_date" text ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10413597_5" ( "no_in_series" real, "no_in_season" real, "title" text, "setting" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "original_air_date" text ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10413597_5" ( "no_in_series" real, "no_in_season" real, "title" text, "setting" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "original_air_date" text ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10413597_4" ( "no_in_series" real, "no_in_season" real, "title" text, "setting" text, "directed_by" text, "written_by" text, "original_air_date" text ); Question: What episode number...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "song_list" ( "date" text, "album_name" text, "track" text, "track_title" text, "lyricist" text, "music_genre_style" text, "major_instrument_s" text, "lyrics_theme_style" text, "duration"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "song_list" ( "date" text, "album_name" text, "track" text, "track_title" text, "lyricist" text, "music_genre_style" text, "major_instrument_s" text, "lyrics_theme_style" text, "duration"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "song_list" ( "date" text, "album_name" text, "track" text, "track_title" text, "lyricist" text, "music_genre_style" text, "major_instrument_s" text, "lyrics_theme_style" text, "duration"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "song_list" ( "date" text, "album_name" text, "track" text, "track_title" text, "lyricist" text, "music_genre_style" text, "major_instrument_s" text, "lyrics_theme_style" text, "duration"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "song_list" ( "date" text, "album_name" text, "track" text, "track_title" text, "lyricist" text, "music_genre_style" text, "major_instrument_s" text, "lyrics_theme_style" text, "duration"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "song_list" ( "date" text, "album_name" text, "track" text, "track_title" text, "lyricist" text, "music_genre_style" text, "major_instrument_s" text, "lyrics_theme_style" text, "duration"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "year_by_year" ( "year" real, "division" real, "league" text, "regular_season" text, "playoffs" text, "open_cup" text ); Question: What is the playoffs for the usl pro select league? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "year_by_year" ( "year" real, "division" real, "league" text, "regular_season" text, "playoffs" text, "open_cup" text ); Question: What is the number of the division for the 1st round? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_summary" ( "season" text, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_laps" real, "podiums" real, "points" real, "position" text ); Question: What w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_summary" ( "season" text, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_laps" real, "podiums" real, "points" real, "position" text ); Question: What i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_summary" ( "season" text, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_laps" real, "podiums" real, "points" real, "position" text ); Question: What i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_summary" ( "season" text, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_laps" real, "podiums" real, "points" real, "position" text ); Question: What i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_summary" ( "season" text, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_laps" real, "podiums" real, "points" real, "position" text ); Question: What i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10470082_3" ( "no" real, "num" real, "title" text, "director" text, "writer" text, "us_air_date" text, "storyteller" text, "villains" text ); Question: How many writers had an US a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10470082_3" ( "no" real, "num" real, "title" text, "director" text, "writer" text, "us_air_date" text, "storyteller" text, "villains" text ); Question: How many villians were in No...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "year_by_year" ( "year" real, "division" real, "league" text, "regular_season" text, "playoffs" text, "open_cup" text ); Question: what being the maximum year where regular season is 4th, nort...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "year_by_year" ( "year" real, "division" real, "league" text, "regular_season" text, "playoffs" text, "open_cup" text ); Question: what is the total number of playoffs where regular season is ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "year_by_year" ( "year" real, "division" real, "league" text, "regular_season" text, "playoffs" text, "open_cup" text ); Question: what is the maximum division <|assistant|> SELECT MAX("divisi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "year_by_year" ( "year" real, "division" real, "league" text, "regular_season" text, "playoffs" text, "open_cup" text ); Question: what's the league where regular season is 2nd, northwest <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "year_by_year" ( "year" real, "division" real, "league" text, "regular_season" text, "playoffs" text, "open_cup" text ); Question: what are all the regular season where year is 2011 <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10470082_5" ( "no" real, "num" real, "title" text, "director" text, "writer" text, "us_air_date" text, "storyteller" text, "villains" text ); Question: How many titles have the num...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10470082_5" ( "no" real, "num" real, "title" text, "director" text, "writer" text, "us_air_date" text, "storyteller" text, "villains" text ); Question: How many have Mrs. briar as ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10470082_5" ( "no" real, "num" real, "title" text, "director" text, "writer" text, "us_air_date" text, "storyteller" text, "villains" text ); Question: how many have the number 8 <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10470082_5" ( "no" real, "num" real, "title" text, "director" text, "writer" text, "us_air_date" text, "storyteller" text, "villains" text ); Question: How many have the title "the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10470082_6" ( "no" real, "num" real, "title" text, "director" text, "writer" text, "us_air_date" text, "storyteller" text, "villains" text ); Question: What is the name of the epis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10470082_6" ( "no" real, "num" real, "title" text, "director" text, "writer" text, "us_air_date" text, "storyteller" text, "villains" text ); Question: Who is the storyteller in th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10470082_6" ( "no" real, "num" real, "title" text, "director" text, "writer" text, "us_air_date" text, "storyteller" text, "villains" text ); Question: Who wrote Episode #3? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10470082_7" ( "no" real, "num" real, "title" text, "director" text, "writer" text, "us_air_date" text, "storyteller" text, "villains" text ); Question: Who are the villains in the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10470082_7" ( "no" real, "num" real, "title" text, "director" text, "writer" text, "us_air_date" text, "storyteller" text, "villains" text ); Question: How many villains appeared i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10470082_7" ( "no" real, "num" real, "title" text, "director" text, "writer" text, "us_air_date" text, "storyteller" text, "villains" text ); Question: Who are the villains in the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10470082_7" ( "no" real, "num" real, "title" text, "director" text, "writer" text, "us_air_date" text, "storyteller" text, "villains" text ); Question: What is the largest # for an...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fisher_s_iris_data" ( "sepal_length" text, "sepal_width" text, "petal_length" text, "petal_width" text, "species" text ); Question: Name the species when petal width is 2.0 and petal length is ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fisher_s_iris_data" ( "sepal_length" text, "sepal_width" text, "petal_length" text, "petal_width" text, "species" text ); Question: Name the sepal width for i.virginica with petal length of 5.1...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fisher_s_iris_data" ( "sepal_length" text, "sepal_width" text, "petal_length" text, "petal_width" text, "species" text ); Question: Name the number of species with sepal width of 3.4 and sepal ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fisher_s_iris_data" ( "sepal_length" text, "sepal_width" text, "petal_length" text, "petal_width" text, "species" text ); Question: Name the sepal length for sepal width of 2.8 and petal length...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fisher_s_iris_data" ( "sepal_length" text, "sepal_width" text, "petal_length" text, "petal_width" text, "species" text ); Question: Name the sepal width when sepal length is 6.5 and petal width...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fisher_s_iris_data" ( "sepal_length" text, "sepal_width" text, "petal_length" text, "petal_width" text, "species" text ); Question: Name the sepal lengh when sepal width is 2.9 and petal width ...