text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_7_2_titles_5_runners_up" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: Name the outcome for zurich ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_7_2_titles_5_runners_up" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: Name the number of surfaces ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pairs" ( "rank" real, "ws_points" real, "name" text, "country" text, "08_09_i_o_best" real, "08_09_gp_jgp_best" real, "08_09_gp_jgp_2nd" real, "08_09_oi_best" real, "08_09_oi_2nd" real, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pairs" ( "rank" real, "ws_points" real, "name" text, "country" text, "08_09_i_o_best" real, "08_09_gp_jgp_best" real, "08_09_gp_jgp_2nd" real, "08_09_oi_best" real, "08_09_oi_2nd" real, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pairs" ( "rank" real, "ws_points" real, "name" text, "country" text, "08_09_i_o_best" real, "08_09_gp_jgp_best" real, "08_09_gp_jgp_2nd" real, "08_09_oi_best" real, "08_09_oi_2nd" real, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "jersey_progress" ( "stage_winner" text, "general_classification" text, "sprint_classification" text, "mountains_classification" text, "youth_classification" text, "aggressive_rider" text, "t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "jersey_progress" ( "stage_winner" text, "general_classification" text, "sprint_classification" text, "mountains_classification" text, "youth_classification" text, "aggressive_rider" text, "t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "jersey_progress" ( "stage_winner" text, "general_classification" text, "sprint_classification" text, "mountains_classification" text, "youth_classification" text, "aggressive_rider" text, "t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "profiles" ( "profile" text, "bandwidth_m_hz" text, "number_of_carriers" real, "carrier_bandwidth_k_hz" text, "power_d_bm" text, "max_downstream_throughput_mbit_s" real ); Question: List all m...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "profiles" ( "profile" text, "bandwidth_m_hz" text, "number_of_carriers" real, "carrier_bandwidth_k_hz" text, "power_d_bm" text, "max_downstream_throughput_mbit_s" real ); Question: What are t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "profiles" ( "profile" text, "bandwidth_m_hz" text, "number_of_carriers" real, "carrier_bandwidth_k_hz" text, "power_d_bm" text, "max_downstream_throughput_mbit_s" real ); Question: What are t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "profiles" ( "profile" text, "bandwidth_m_hz" text, "number_of_carriers" real, "carrier_bandwidth_k_hz" text, "power_d_bm" text, "max_downstream_throughput_mbit_s" real ); Question: List all d...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "profiles" ( "profile" text, "bandwidth_m_hz" text, "number_of_carriers" real, "carrier_bandwidth_k_hz" text, "power_d_bm" text, "max_downstream_throughput_mbit_s" real ); Question: What is th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_23958944_5" ( "no_by_series" real, "no_by_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_number" real, "u_s_viewers_in_mill...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_23958944_5" ( "no_by_series" real, "no_by_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_number" real, "u_s_viewers_in_mill...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_23958944_5" ( "no_by_series" real, "no_by_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_number" real, "u_s_viewers_in_mill...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_23958944_5" ( "no_by_series" real, "no_by_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_number" real, "u_s_viewers_in_mill...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_23958944_5" ( "no_by_series" real, "no_by_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_number" real, "u_s_viewers_in_mill...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_23958944_6" ( "no_by_series" real, "no_by_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_number" real, "u_s_viewers_in_mill...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_23958944_6" ( "no_by_series" real, "no_by_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_number" real, "u_s_viewers_in_mill...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_23958944_2" ( "no_by_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_number" real, "u_s_viewers_in_millions" text ); Question...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_23958944_2" ( "no_by_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_number" real, "u_s_viewers_in_millions" text ); Question...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_23958944_2" ( "no_by_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_number" real, "u_s_viewers_in_millions" text ); Question...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_23958944_2" ( "no_by_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_number" real, "u_s_viewers_in_millions" text ); Question...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_23958944_2" ( "no_by_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_number" real, "u_s_viewers_in_millions" text ); Question...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season_statistics" ( "name" text, "nationality" text, "position" text, "athletica_career" text, "appearances" real, "starts" real, "minutes" real, "goals" real, "assists" real );...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_songs_released_in_2007" ( "song_title" text, "artist" text, "year" real, "genre" text, "single_pack_name" text, "release_date" text, "family_friendly" text, "additional_rock_band_3...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_songs_released_in_2007" ( "song_title" text, "artist" text, "year" real, "genre" text, "single_pack_name" text, "release_date" text, "family_friendly" text, "additional_rock_band_3...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_songs_released_in_2007" ( "song_title" text, "artist" text, "year" real, "genre" text, "single_pack_name" text, "release_date" text, "family_friendly" text, "additional_rock_band_3...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_songs_released_in_2007" ( "song_title" text, "artist" text, "year" real, "genre" text, "single_pack_name" text, "release_date" text, "family_friendly" text, "additional_rock_band_3...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_songs_released_in_2007" ( "song_title" text, "artist" text, "year" real, "genre" text, "single_pack_name" text, "release_date" text, "family_friendly" text, "additional_rock_band_3...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "all_time_saint_louis_athletica_statistic" ( "name" text, "nationality" text, "position" text, "athletica_career" text, "appearances" real, "starts" real, "minutes" real, "goals" real, "a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoff_statistics" ( "name" text, "nationality" text, "position" text, "appearances" real, "starts" real, "minutes" real, "goals" real ); Question: What is the position of the player who i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoff_statistics" ( "name" text, "nationality" text, "position" text, "appearances" real, "starts" real, "minutes" real, "goals" real ); Question: What is the most amount of goals any of ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_songs_released_in_2008" ( "song_title" text, "artist" text, "year" text, "genre" text, "single_pack_name" text, "release_date" text, "family_friendly" text, "additional_rock_band_3...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_songs_released_in_2008" ( "song_title" text, "artist" text, "year" text, "genre" text, "single_pack_name" text, "release_date" text, "family_friendly" text, "additional_rock_band_3...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_23981882_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: What i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000_2002_specials" ( "special" text, "original_airdate" text, "iron_chef" text, "challenger" text, "challenger_specialty" text, "theme_ingredient" text, "winner" text ); Question: What is ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000_2002_specials" ( "special" text, "original_airdate" text, "iron_chef" text, "challenger" text, "challenger_specialty" text, "theme_ingredient" text, "winner" text ); Question: Who was ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000_2002_specials" ( "special" text, "original_airdate" text, "iron_chef" text, "challenger" text, "challenger_specialty" text, "theme_ingredient" text, "winner" text ); Question: Who was ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000_2002_specials" ( "special" text, "original_airdate" text, "iron_chef" text, "challenger" text, "challenger_specialty" text, "theme_ingredient" text, "winner" text ); Question: Who was ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1993" ( "overall_episode_num" real, "original_airdate" text, "iron_chef" text, "challenger" text, "challenger_specialty" text, "theme_ingredient" text, "winner" text ); Question: How many e...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1993" ( "overall_episode_num" real, "original_airdate" text, "iron_chef" text, "challenger" text, "challenger_specialty" text, "theme_ingredient" text, "winner" text ); Question: What episo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1993" ( "overall_episode_num" real, "original_airdate" text, "iron_chef" text, "challenger" text, "challenger_specialty" text, "theme_ingredient" text, "winner" text ); Question: Who was th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1993" ( "overall_episode_num" real, "original_airdate" text, "iron_chef" text, "challenger" text, "challenger_specialty" text, "theme_ingredient" text, "winner" text ); Question: How many i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary_of_qualification" ( "confederation" text, "teams_started" text, "teams_that_have_secured_qualification" text, "teams_that_can_still_qualify" text, "teams_that_have_been_eliminated" text,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary_of_qualification" ( "confederation" text, "teams_started" text, "teams_that_have_secured_qualification" text, "teams_that_can_still_qualify" text, "teams_that_have_been_eliminated" text,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary_of_qualification" ( "confederation" text, "teams_started" text, "teams_that_have_secured_qualification" text, "teams_that_can_still_qualify" text, "teams_that_have_been_eliminated" text,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary_of_qualification" ( "confederation" text, "teams_started" text, "teams_that_have_secured_qualification" text, "teams_that_can_still_qualify" text, "teams_that_have_been_eliminated" text,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary_of_qualification" ( "confederation" text, "teams_started" text, "teams_that_have_secured_qualification" text, "teams_that_can_still_qualify" text, "teams_that_have_been_eliminated" text,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary_of_qualification" ( "confederation" text, "teams_started" text, "teams_that_have_secured_qualification" text, "teams_that_can_still_qualify" text, "teams_that_have_been_eliminated" text,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "records" ( "world_record" text, "hicham_el_guerrouj_mar" text, "3_26_00" text, "rome_italy" text, "14_july_1998" text ); Question: What is the world record when 14 July 1998 is 13 August 1997? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "records" ( "world_record" text, "hicham_el_guerrouj_mar" text, "3_26_00" text, "rome_italy" text, "14_july_1998" text ); Question: How many of 3:26.00 have a championship record? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "records" ( "world_record" text, "hicham_el_guerrouj_mar" text, "3_26_00" text, "rome_italy" text, "14_july_1998" text ); Question: How many of 3:26.00 when hicham el guerrouj ( mar ) is hudson ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "records" ( "world_record" text, "saif_saaeed_shaheen_qat" text, "7_53_63" text, "brussels_belgium" text, "3_september_2004" text ); Question: When saif saaeed shaheen (qat) is the saif saaeed s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "records" ( "world_record" text, "saif_saaeed_shaheen_qat" text, "7_53_63" text, "brussels_belgium" text, "3_september_2004" text ); Question: When daniel lincoln ( usa ) is the saif saaeed shah...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "records" ( "world_record" text, "saif_saaeed_shaheen_qat" text, "7_53_63" text, "brussels_belgium" text, "3_september_2004" text ); Question: When saif saaeed shaheen ( qat ) is the saif saae...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "records" ( "world_record" text, "jarmila_kratochv_lov_tch" text, "1_53_28" text, "munich_west_germany" text, "26_july_1983" text ); Question: What is the 26 July 1983 total number if Munich, We...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "records" ( "world_record" text, "jarmila_kratochv_lov_tch" text, "1_53_28" text, "munich_west_germany" text, "26_july_1983" text ); Question: If the world record is the African record, what is ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "records" ( "world_record" text, "jarmila_kratochv_lov_tch" text, "1_53_28" text, "munich_west_germany" text, "26_july_1983" text ); Question: If 1:53.28 is 1:54.01, what is the world record? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2400842_1" ( "episode_num" real, "prod_num" real, "title" text, "directed_by" text, "written_by" text, "originalairdate" text, "filmed" text ); Question: How many episodes have the t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2400842_1" ( "episode_num" real, "prod_num" real, "title" text, "directed_by" text, "written_by" text, "originalairdate" text, "filmed" text ); Question: Who directed the epsiode wit...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "statistics" ( "finish" real, "start" real, "car_no" real, "driver" text, "owner_sponsor" text, "car_make" text ); Question: Name the least finish for larry dickson <|assistant|> SELECT MIN("f...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "records" ( "world_record" text, "olimpiada_ivanova_rus" text, "1_25_41" text, "helsinki_finland" text, "7_august_2005" text ); Question: Name the 1:25 for 7 august 2005 being 19 november 2001 <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "records" ( "world_record" text, "kenenisa_bekele_eth" text, "26_17_53" text, "bruxelles_belgium" text, "26_august_2005" text ); Question: Name the 26 august 2005 asian record <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "records" ( "world_record" text, "kenenisa_bekele_eth" text, "26_17_53" text, "bruxelles_belgium" text, "26_august_2005" text ); Question: Name the belgium for 26 august 2005 being 24 august 200...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "records" ( "world_record" text, "kenenisa_bekele_eth" text, "26_17_53" text, "bruxelles_belgium" text, "26_august_2005" text ); Question: Name the total number of kenesia for african record <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_5_winners" ( "year" real, "putri_pariwisata_indonesia" text, "1st_runner_up" text, "2nd_runner_up" text, "3rd_runner_up" text, "4th_runner_up" text ); Question: List the number of runners...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_5_winners" ( "year" real, "putri_pariwisata_indonesia" text, "1st_runner_up" text, "2nd_runner_up" text, "3rd_runner_up" text, "4th_runner_up" text ); Question: Who won 2nd place when rat...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_5_winners" ( "year" real, "putri_pariwisata_indonesia" text, "1st_runner_up" text, "2nd_runner_up" text, "3rd_runner_up" text, "4th_runner_up" text ); Question: Who won 5th place when jea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_5_winners" ( "year" real, "putri_pariwisata_indonesia" text, "1st_runner_up" text, "2nd_runner_up" text, "3rd_runner_up" text, "4th_runner_up" text ); Question: Who won 2nd place when alb...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_5_winners" ( "year" real, "putri_pariwisata_indonesia" text, "1st_runner_up" text, "2nd_runner_up" text, "3rd_runner_up" text, "4th_runner_up" text ); Question: Who won 4th place when aud...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_5_winners" ( "year" real, "putri_pariwisata_indonesia" text, "1st_runner_up" text, "2nd_runner_up" text, "3rd_runner_up" text, "4th_runner_up" text ); Question: Who won 5th place with oli...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_24018430_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_millions"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_24018430_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_millions"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_24018430_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_millions"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_24027047_1" ( "administrative_division" text, "area_km_2011" text, "population_2001_census_adjusted" real, "population_2011_census_adjusted" real, "population_density_km_2011" text ); Qu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_24027047_1" ( "administrative_division" text, "area_km_2011" text, "population_2001_census_adjusted" real, "population_2011_census_adjusted" real, "population_density_km_2011" text ); Qu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_24027047_1" ( "administrative_division" text, "area_km_2011" text, "population_2001_census_adjusted" real, "population_2011_census_adjusted" real, "population_density_km_2011" text ); Qu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_24027047_1" ( "administrative_division" text, "area_km_2011" text, "population_2001_census_adjusted" real, "population_2011_census_adjusted" real, "population_density_km_2011" text ); Qu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_24027047_1" ( "administrative_division" text, "area_km_2011" text, "population_2001_census_adjusted" real, "population_2011_census_adjusted" real, "population_density_km_2011" text ); Qu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "political" ( "municipality" text, "no_of_barangays" real, "area_coordinator" text, "population_2010" real, "pop_density_per_km" text ); Question: What's the area coordinator for the municipalit...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "political" ( "municipality" text, "no_of_barangays" real, "area_coordinator" text, "population_2010" real, "pop_density_per_km" text ); Question: How many different counts of tue number of Bara...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "political" ( "municipality" text, "no_of_barangays" real, "area_coordinator" text, "population_2010" real, "pop_density_per_km" text ); Question: How many Barangays lived in the municipality wi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_24037660_2" ( "rnd" real, "circuit" text, "lmp_winning_team" text, "lmpc_winning_team" text, "gt_winning_team" text, "gtc_winning_team" text, "results" text ); Question: What circuit...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_24037660_2" ( "rnd" real, "circuit" text, "lmp_winning_team" text, "lmpc_winning_team" text, "gt_winning_team" text, "gtc_winning_team" text, "results" text ); Question: How many cir...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_24037660_2" ( "rnd" real, "circuit" text, "lmp_winning_team" text, "lmpc_winning_team" text, "gt_winning_team" text, "gtc_winning_team" text, "results" text ); Question: What was the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_24037660_2" ( "rnd" real, "circuit" text, "lmp_winning_team" text, "lmpc_winning_team" text, "gt_winning_team" text, "gtc_winning_team" text, "results" text ); Question: What was the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team_summaries" ( "team" text, "location" text, "stadium" text, "capacity" real, "manager" text, "captain" text ); Question: Who is the captain in Chaguaramas? <|assistant|> SELECT "captain" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team_summaries" ( "team" text, "location" text, "stadium" text, "capacity" real, "manager" text, "captain" text ); Question: What is the minimum capacity for Sangre Grande Ground? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team_summaries" ( "team" text, "location" text, "stadium" text, "capacity" real, "manager" text, "captain" text ); Question: What is the capacity for Sangre Grande Ground, home of the North E...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team_summaries" ( "team" text, "location" text, "stadium" text, "capacity" real, "manager" text, "captain" text ); Question: San Juan Jabloteh calls which stadium home? <|assistant|> SELECT "...
<|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: What was the innings wh...
<|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: What ist he matches whe...
<|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: What is stumped when in...
<|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: How many matches were 4...
<|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: What is stumped when ma...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "capetian_associate_kings" ( "co_king" text, "relationship_to_monarch" text, "crowned" text, "co_kingship_ceased" text, "reason" text, "monarch" text ); Question: Name the crownded for 17 sept...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "capetian_associate_kings" ( "co_king" text, "relationship_to_monarch" text, "crowned" text, "co_kingship_ceased" text, "reason" text, "monarch" text ); Question: Name the total number of mona...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "capetian_associate_kings" ( "co_king" text, "relationship_to_monarch" text, "crowned" text, "co_kingship_ceased" text, "reason" text, "monarch" text ); Question: Name the reason for 20 july 1...