text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_14098_1" ( "country_or_territory_with_flag" text, "area_km_per_sqmi" text, "population_july_2009_est" real, "population_density_per_km" text, "capital" text ); Question: What country'c c...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cast" ( "character_name" text, "voice_actor_japanese" text, "voice_actor_english_1997_saban" text, "voice_actor_english_1998_pioneer" text, "voice_actor_english_2006_fu_nimation" text ); Questi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cast" ( "character_name" text, "voice_actor_japanese" text, "voice_actor_english_1997_saban" text, "voice_actor_english_1998_pioneer" text, "voice_actor_english_2006_fu_nimation" text ); Questi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cast" ( "character_name" text, "voice_actor_japanese" text, "voice_actor_english_1997_saban" text, "voice_actor_english_1998_pioneer" text, "voice_actor_english_2006_fu_nimation" text ); Questi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cast" ( "character_name" text, "voice_actor_japanese" text, "voice_actor_english_1997_saban" text, "voice_actor_english_1998_pioneer" text, "voice_actor_english_2006_fu_nimation" text ); Questi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cast" ( "character_name" text, "voice_actor_japanese" text, "voice_actor_english_1997_saban" text, "voice_actor_english_1998_pioneer" text, "voice_actor_english_2006_fu_nimation" text ); Questi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "college_sports" ( "school" text, "mascot" text, "conference" text, "national_titles" real, "founded" real ); Question: how many big wins does peru state college have <|assistant|> SELECT COUNT(...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "college_sports" ( "school" text, "mascot" text, "conference" text, "national_titles" real, "founded" real ); Question: which school has 14 large championships <|assistant|> SELECT "school" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "college_sports" ( "school" text, "mascot" text, "conference" text, "national_titles" real, "founded" real ); Question: how many overall championships does concordia university have <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "use" ( "edo_flight" real, "shuttle" text, "mission" text, "launch_date" text, "duration" text, "primary_payload_s" text ); Question: what's the duration with mission being sts-87 <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "use" ( "edo_flight" real, "shuttle" text, "mission" text, "launch_date" text, "duration" text, "primary_payload_s" text ); Question: what's the edo flight with duration being 17 days, 15 hour...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "use" ( "edo_flight" real, "shuttle" text, "mission" text, "launch_date" text, "duration" text, "primary_payload_s" text ); Question: what's the primary payload(s) with launch date being july ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "use" ( "edo_flight" real, "shuttle" text, "mission" text, "launch_date" text, "duration" text, "primary_payload_s" text ); Question: what's the mission with primary payload(s) being spacelab ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "use" ( "edo_flight" real, "shuttle" text, "mission" text, "launch_date" text, "duration" text, "primary_payload_s" text ); Question: what's the shuttle with primary payload(s) being united st...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "use" ( "edo_flight" real, "shuttle" text, "mission" text, "launch_date" text, "duration" text, "primary_payload_s" text ); Question: how many primary payload(s) with shuttle being columbia a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_seasons_and_teams" ( "season" real, "class" text, "team" text, "motorcycle" text, "type" text, "races" real, "wins" real, "podiums" real, "poles" real, "fastest_laps" real, "pts" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_seasons_and_teams" ( "season" real, "class" text, "team" text, "motorcycle" text, "type" text, "races" real, "wins" real, "podiums" real, "poles" real, "fastest_laps" real, "pts" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_seasons_and_teams" ( "season" real, "class" text, "team" text, "motorcycle" text, "type" text, "races" real, "wins" real, "podiums" real, "poles" real, "fastest_laps" real, "pts" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_seasons_and_teams" ( "season" real, "class" text, "team" text, "motorcycle" text, "type" text, "races" real, "wins" real, "podiums" real, "poles" real, "fastest_laps" real, "pts" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_seasons_and_teams" ( "season" real, "class" text, "team" text, "motorcycle" text, "type" text, "races" real, "wins" real, "podiums" real, "poles" real, "fastest_laps" real, "pts" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_seasons_and_teams" ( "season" real, "class" text, "team" text, "motorcycle" text, "type" text, "races" real, "wins" real, "podiums" real, "poles" real, "fastest_laps" real, "pts" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "weekly_awards" ( "month" text, "week" real, "overall" text, "offensive" text, "defensive" text, "transition" text, "rookie" text ); Question: Who was the defensive award winner in February ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "weekly_awards" ( "month" text, "week" real, "overall" text, "offensive" text, "defensive" text, "transition" text, "rookie" text ); Question: Who was the offensive award winner the week whe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "weekly_awards" ( "month" text, "week" real, "overall" text, "offensive" text, "defensive" text, "transition" text, "rookie" text ); Question: Who was the defensive award winner when the roo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "weekly_awards" ( "month" text, "week" real, "overall" text, "offensive" text, "defensive" text, "transition" text, "rookie" text ); Question: Who won the rookie award the week the transitio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "high_schools_grades_9_12" ( "high_school" text, "type" text, "established" real, "enrollment" real, "mascot" text, "wiaa_classification" text, "notes" text ); Question: What is the lowest e...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "high_schools_grades_9_12" ( "high_school" text, "type" text, "established" real, "enrollment" real, "mascot" text, "wiaa_classification" text, "notes" text ); Question: What is the WIAA cla...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "high_schools_grades_9_12" ( "high_school" text, "type" text, "established" real, "enrollment" real, "mascot" text, "wiaa_classification" text, "notes" text ); Question: When was Mount Tahom...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "high_schools_grades_9_12" ( "high_school" text, "type" text, "established" real, "enrollment" real, "mascot" text, "wiaa_classification" text, "notes" text ); Question: What's the note abou...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "supervisors" ( "year" real, "1st_district" text, "2nd_district" text, "3rd_district" text, "4th_district" text, "5th_district" text ); Question: Who was in the 4th district in 1924? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "supervisors" ( "year" real, "1st_district" text, "2nd_district" text, "3rd_district" text, "4th_district" text, "5th_district" text ); Question: List all the years with Cecil M. Featherly in ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "supervisors" ( "year" real, "1st_district" text, "2nd_district" text, "3rd_district" text, "4th_district" text, "5th_district" text ); Question: What is the last year that Howard A. Wassum wa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schools" ( "school_name" text, "city" text, "students" real, "fte_teachers" text, "pupil_teacher_ratio" text, "school_level" text, "low_grade" text, "high_grade" text ); Question: List al...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schools" ( "school_name" text, "city" text, "students" real, "fte_teachers" text, "pupil_teacher_ratio" text, "school_level" text, "low_grade" text, "high_grade" text ); Question: What is...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schools" ( "school_name" text, "city" text, "students" real, "fte_teachers" text, "pupil_teacher_ratio" text, "school_level" text, "low_grade" text, "high_grade" text ); Question: How man...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_14158567_1" ( "member_elect" text, "party" text, "district" text, "election_date" text, "congress" text, "reason_for_non_seating" text ); Question: What edition of congress for member-...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1416612_1" ( "state" text, "highest_point" text, "highest_elevation" text, "lowest_point" text, "lowest_elevation" text, "mean_elevation" text ); Question: how many mean elevation wit...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1416612_1" ( "state" text, "highest_point" text, "highest_elevation" text, "lowest_point" text, "lowest_elevation" text, "mean_elevation" text ); Question: what's the highest point wit...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1416612_1" ( "state" text, "highest_point" text, "highest_elevation" text, "lowest_point" text, "lowest_elevation" text, "mean_elevation" text ); Question: what's the lowest elevation ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1416612_1" ( "state" text, "highest_point" text, "highest_elevation" text, "lowest_point" text, "lowest_elevation" text, "mean_elevation" text ); Question: what's the lowest point with...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1416612_1" ( "state" text, "highest_point" text, "highest_elevation" text, "lowest_point" text, "lowest_elevation" text, "mean_elevation" text ); Question: what's the state with highes...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_version" ( "song_title" text, "artist" text, "language" text, "decade" text, "genre" text, "exportable" text, "family_friendly" text ); Question: What language for the glam genre? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_version" ( "song_title" text, "artist" text, "language" text, "decade" text, "genre" text, "exportable" text, "family_friendly" text ); Question: What game allow the 1980s to be ex...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_version" ( "song_title" text, "artist" text, "language" text, "decade" text, "genre" text, "exportable" text, "family_friendly" text ); Question: How many family friendly games are...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "losers_knockout" ( "home_1st_leg" text, "home_2nd_leg" text, "1st_leg" text, "2nd_leg" text, "aggregate" text ); Question: When 0-1 is the aggregate what are the home (1st leg)? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "losers_knockout" ( "home_1st_leg" text, "home_2nd_leg" text, "1st_leg" text, "2nd_leg" text, "aggregate" text ); Question: When 2-0 is the 1st leg what are the home (2nd leg)? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "losers_knockout" ( "home_1st_leg" text, "home_2nd_leg" text, "1st_leg" text, "2nd_leg" text, "aggregate" text ); Question: When belgrano is the home (1st leg) what is the home (2nd leg)? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "losers_knockout" ( "home_1st_leg" text, "home_2nd_leg" text, "1st_leg" text, "2nd_leg" text, "aggregate" text ); Question: When platense is the home (2nd leg) what is the 2nd leg? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "losers_knockout" ( "home_1st_leg" text, "home_2nd_leg" text, "1st_leg" text, "2nd_leg" text, "aggregate" text ); Question: When altos hornos zapla is the home (1st leg) what is overall amount ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "losers_knockout" ( "home_1st_leg" text, "home_2nd_leg" text, "1st_leg" text, "2nd_leg" text, "aggregate" text ); Question: When temperley is the home (2nd leg) what is the home (1st leg)? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners_knockout" ( "home_1st_leg" text, "home_2nd_leg" text, "1st_leg" text, "2nd_leg" text, "aggregate" text ); Question: How many 2nd legs had an aggregate of 2-4? <|assistant|> SELECT COUNT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners_knockout" ( "home_1st_leg" text, "home_2nd_leg" text, "1st_leg" text, "2nd_leg" text, "aggregate" text ); Question: How many home (2nd leg) had a 1st leg 1-1? <|assistant|> SELECT COUNT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners_knockout" ( "home_1st_leg" text, "home_2nd_leg" text, "1st_leg" text, "2nd_leg" text, "aggregate" text ); Question: How many 2nd legs are there where home (1st leg) is Independiente? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners_knockout" ( "home_1st_leg" text, "home_2nd_leg" text, "1st_leg" text, "2nd_leg" text, "aggregate" text ); Question: Who was in home (2nd leg) when Talleres was in home (1st leg) <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners_knockout" ( "home_1st_leg" text, "home_2nd_leg" text, "1st_leg" text, "2nd_leg" text, "aggregate" text ); Question: Who was in 2nd leg when Boca Juniors was in home (1st leg)? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000_version" ( "cast" text, "1951_bbc" text, "1957_bbc" text, "1968_bbc" text, "1970_film" text, "2000_carlton_television" text ); Question: Name the 1968 bbc for 1957 bbc anneke wills <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000_version" ( "cast" text, "1951_bbc" text, "1957_bbc" text, "1968_bbc" text, "1970_film" text, "2000_carlton_television" text ); Question: Name the 2000 carlton television for 1951 bbc joh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000_version" ( "cast" text, "1951_bbc" text, "1957_bbc" text, "1968_bbc" text, "1970_film" text, "2000_carlton_television" text ); Question: Name the cast for 1957 bcc for jean anderson <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000_version" ( "cast" text, "1951_bbc" text, "1957_bbc" text, "1968_bbc" text, "1970_film" text, "2000_carlton_television" text ); Question: Name the 1970 film when 1951 bbc is michael croud...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000_version" ( "cast" text, "1951_bbc" text, "1957_bbc" text, "1968_bbc" text, "1970_film" text, "2000_carlton_television" text ); Question: Name the cast for 1951 bbc being carole lorimer <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000_version" ( "cast" text, "1951_bbc" text, "1957_bbc" text, "1968_bbc" text, "1970_film" text, "2000_carlton_television" text ); Question: Name the 1970 film for when 1968 being neil mcder...
<|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, "avg_attendance" real ); Question: Name the playoffs for 2nd round open...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "year_by_year" ( "year" real, "league" text, "reg_season" text, "playoffs" text, "us_open_cup" text, "avg_attendance" real ); Question: What was the regular season standings for the year when ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "administrative_division" ( "s_car_plate_starting_1937" text, "voivodeship_or_city" text, "capital" text, "area_1930_in_1_000skm_2" text, "population_1931_in_1_000s" text ); Question: Name the p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "administrative_division" ( "s_car_plate_starting_1937" text, "voivodeship_or_city" text, "capital" text, "area_1930_in_1_000skm_2" text, "population_1931_in_1_000s" text ); Question: Name the s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "administrative_division" ( "s_car_plate_starting_1937" text, "voivodeship_or_city" text, "capital" text, "area_1930_in_1_000skm_2" text, "population_1931_in_1_000s" text ); Question: Name the p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "administrative_division" ( "s_car_plate_starting_1937" text, "voivodeship_or_city" text, "capital" text, "area_1930_in_1_000skm_2" text, "population_1931_in_1_000s" text ); Question: Name the s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_14249278_1" ( "bit_15" real, "bits_14_12" real, "bits_11_0" text, "mnemonic" text, "description" text ); Question: Name the most bits 14-12 for output from accumulator to character bus <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1425948_1" ( "chassis_manufacturer" text, "chassis_model" text, "body_model" text, "number_in_fleet" real, "fleet_numbers" text ); Question: what is smallest number in fleet for chassis ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1425948_1" ( "chassis_manufacturer" text, "chassis_model" text, "body_model" text, "number_in_fleet" real, "fleet_numbers" text ); Question: Which chassis manufacturer is for fleet numbe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1425948_1" ( "chassis_manufacturer" text, "chassis_model" text, "body_model" text, "number_in_fleet" real, "fleet_numbers" text ); Question: Chassis model Scania K360ua has what minimum ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "module_specifications" ( "designation" text, "bus_width_bits" real, "channels" text, "clock_rate_m_hz" real, "bandwidth_mb_s" real ); Question: Name the channels when designation is pc700 <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "module_specifications" ( "designation" text, "bus_width_bits" real, "channels" text, "clock_rate_m_hz" real, "bandwidth_mb_s" real ); Question: Name the maximum clock rate mhz <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "module_specifications" ( "designation" text, "bus_width_bits" real, "channels" text, "clock_rate_m_hz" real, "bandwidth_mb_s" real ); Question: Name the bus width bits when bandwidth mb/s is 32...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "module_specifications" ( "designation" text, "bus_width_bits" real, "channels" text, "clock_rate_m_hz" real, "bandwidth_mb_s" real ); Question: Name the least clock rate mhz <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "module_specifications" ( "designation" text, "bus_width_bits" real, "channels" text, "clock_rate_m_hz" real, "bandwidth_mb_s" real ); Question: Name the least clock rate mhz when designation is...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "module_specifications" ( "designation" text, "bus_width_bits" real, "channels" text, "clock_rate_m_hz" real, "bandwidth_mb_s" real ); Question: Name the number of clock rate mhz when bandwidth ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "elementary_schools_grades_k_6" ( "elementary_schools" text, "mascot" text, "address" text, "principal_2013_2014" text, "assistant_principal_2013_2014" text ); Question: Which elementary schools...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "elementary_schools_grades_k_6" ( "elementary_schools" text, "mascot" text, "address" text, "principal_2013_2014" text, "assistant_principal_2013_2014" text ); Question: Who are all the assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_14263158_3" ( "competition" text, "stage" text, "result" text, "opponent" text, "position" text, "scorers" text ); Question: Who played in the series that resulted in matches with the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "name" text, "2011_census" real, "2006_census" real, "pct_change" text, "land_area_km" text, "density_pop_km" text, "population_rank" real ); Question: Where was there a chang...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "name" text, "2011_census" real, "2006_census" real, "pct_change" text, "land_area_km" text, "density_pop_km" text, "population_rank" real ); Question: When the change is 8.8%...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "name" text, "2011_census" real, "2006_census" real, "pct_change" text, "land_area_km" text, "density_pop_km" text, "population_rank" real ); Question: How many locations had ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "name" text, "2011_census" real, "2006_census" real, "pct_change" text, "land_area_km" text, "density_pop_km" text, "population_rank" real ); Question: When the 2006 census h...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "name" text, "2011_census" real, "2006_census" real, "pct_change" text, "land_area_km" text, "density_pop_km" text, "population_rank" real ); Question: When the % change is 8....
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "name" text, "2011_census" real, "2006_census" real, "pct_change" text, "land_area_km" text, "density_pop_km" text, "population_rank" real ); Question: When the population ran...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "all_time_results_record" ( "team" text, "first_played" real, "played" real, "win" real, "draw" real, "loss" real, "points_for" real, "ponts_against" real, "last_meeting" real ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "all_time_results_record" ( "team" text, "first_played" real, "played" real, "win" real, "draw" real, "loss" real, "points_for" real, "ponts_against" real, "last_meeting" real ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "all_time_results_record" ( "team" text, "first_played" real, "played" real, "win" real, "draw" real, "loss" real, "points_for" real, "ponts_against" real, "last_meeting" real ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "all_time_results_record" ( "team" text, "first_played" real, "played" real, "win" real, "draw" real, "loss" real, "points_for" real, "ponts_against" real, "last_meeting" real ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "serial_details_by_episode" ( "episode" text, "broadcast_date" text, "run_time" text, "viewers_in_millions" text, "archive" text ); Question: What are all the run times with 8.2 million viewers?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "serial_details_by_episode" ( "episode" text, "broadcast_date" text, "run_time" text, "viewers_in_millions" text, "archive" text ); Question: What are all the episodes with an episode run time o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "serial_details_by_episode" ( "episode" text, "broadcast_date" text, "run_time" text, "viewers_in_millions" text, "archive" text ); Question: How many episodes had a broadcast date and run time ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "members" ( "institution" text, "location" text, "established" real, "gained_university_status" real, "vice_chancellor" text, "total_number_of_students" real, "research_funding_000" real ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "members" ( "institution" text, "location" text, "established" real, "gained_university_status" real, "vice_chancellor" text, "total_number_of_students" real, "research_funding_000" real ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "members" ( "institution" text, "location" text, "established" real, "gained_university_status" real, "vice_chancellor" text, "total_number_of_students" real, "research_funding_000" real ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "members" ( "institution" text, "location" text, "established" real, "gained_university_status" real, "vice_chancellor" text, "total_number_of_students" real, "research_funding_000" real ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "replaced_pageants" ( "country_territory" text, "former_pageant" text, "last_competed" real, "new_pageant" text, "franchise_since" real ); Question: which country has miss universe Hungary as fo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "replaced_pageants" ( "country_territory" text, "former_pageant" text, "last_competed" real, "new_pageant" text, "franchise_since" real ); Question: which is the former pageant in the country wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "replaced_pageants" ( "country_territory" text, "former_pageant" text, "last_competed" real, "new_pageant" text, "franchise_since" real ); Question: when did new zealand last compete? <|assistan...