text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "writers_guild_of_america" ( "year" real, "category" text, "recipients_and_nominees" text, "role_episode" text, "result" text ); Question: Which result has a recipients and nominees of outstandi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "writers_guild_of_america" ( "year" real, "category" text, "recipients_and_nominees" text, "role_episode" text, "result" text ); Question: What recipients and nominees have outstanding achieveme...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "writers_guild_of_america" ( "year" real, "category" text, "recipients_and_nominees" text, "role_episode" text, "result" text ); Question: What result has outstanding achievement in drama, as th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "qualified_competitors" ( "position" real, "gymnast" text, "a_score" real, "b_score" real, "total" real ); Question: What is the total for Danny Pinheiro Rodrigues ( fra ), in a Position smaller...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "qualified_competitors" ( "position" real, "gymnast" text, "a_score" real, "b_score" real, "total" real ); Question: What is the total for Chen Yibing ( chn ), when his B Score was smaller than ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "qualified_competitors" ( "position" real, "gymnast" text, "a_score" real, "b_score" real, "total" real ); Question: What is the A Score when the B Score is more than 9.05, and the total is less...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "qualified_competitors" ( "position" real, "gymnast" text, "a_score" real, "b_score" real, "total" real ); Question: What is the position for Oleksandr Vorobiov ( ukr ), when the total was large...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "qualified_competitors" ( "position" real, "gymnast" text, "a_score" real, "b_score" real, "total" real ); Question: What is the total for Robert Stanescu ( rou ), when the B Score is larger tha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "repechage" ( "rank" real, "rowers" text, "country" text, "time" text, "notes" text ); Question: Poland has what notes? <|assistant|> SELECT "notes" FROM "repechage" WHERE "country"='poland';<|e...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "repechage" ( "rank" real, "rowers" text, "country" text, "time" text, "notes" text ); Question: What is Croatia's rank? <|assistant|> SELECT "rank" FROM "repechage" WHERE "country"='croatia';<|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "repechage" ( "rank" real, "rowers" text, "country" text, "time" text, "notes" text ); Question: When rank is 5, what is the rowers? <|assistant|> SELECT "rowers" FROM "repechage" WHERE "rank"=5...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "repechage" ( "rank" real, "rowers" text, "country" text, "time" text, "notes" text ); Question: What is the average rank for Denmark? <|assistant|> SELECT AVG("rank") FROM "repechage" WHERE "co...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_housing_and_construction_ministe" ( "minister" text, "party" text, "governments" text, "term_start" text, "term_end" text ); Question: What is the end of the term for Kadima that starte...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_housing_and_construction_ministe" ( "minister" text, "party" text, "governments" text, "term_start" text, "term_end" text ); Question: Whose term started on 4 May 2006? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "performance_and_rankings_timeline" ( "2005_06" text, "2006_07" text, "2007_08" text, "2009_10" text, "2010_11" text, "2011_12" text, "2012_13" text ); Question: Which 2005/ 06 has a 2006/ 0...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "performance_and_rankings_timeline" ( "2005_06" text, "2006_07" text, "2007_08" text, "2009_10" text, "2010_11" text, "2011_12" text, "2012_13" text ); Question: Which 2005/ 06 has a 2011/ 1...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "performance_and_rankings_timeline" ( "2005_06" text, "2006_07" text, "2007_08" text, "2009_10" text, "2010_11" text, "2011_12" text, "2012_13" text ); Question: Which the 2007/ 08 has a 200...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "performance_and_rankings_timeline" ( "2005_06" text, "2006_07" text, "2007_08" text, "2009_10" text, "2010_11" text, "2011_12" text, "2012_13" text ); Question: Which 2010/ 11 has a 2011/ 1...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "performance_and_rankings_timeline" ( "2005_06" text, "2006_07" text, "2007_08" text, "2009_10" text, "2010_11" text, "2011_12" text, "2012_13" text ); Question: Which in 2007/ 08 has a 2009...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "performance_and_rankings_timeline" ( "2005_06" text, "2006_07" text, "2007_08" text, "2009_10" text, "2010_11" text, "2011_12" text, "2012_13" text ); Question: Name the 2010/ 11 which has ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What's the number of bronze when they are ranked 29, had a total more than 3 an...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What's the bronze medal count for Rank 33 when the silver count was less than 2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: How many silver for rank 22 when gold count was more than 0 and Bronze count wa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What's the bronze count for South Africa (RSA) with a total more than 16? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "provinces" ( "province" text, "inhabitants" real, "established" real, "president" text, "party" text, "election" real ); Question: What was the lowest election result for President Leonardo M...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "provinces" ( "province" text, "inhabitants" real, "established" real, "president" text, "party" text, "election" real ); Question: What is the party affiliation for President Stefano Baccelli...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "provinces" ( "province" text, "inhabitants" real, "established" real, "president" text, "party" text, "election" real ); Question: What is the average election result for the province of Gros...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "legislation_sponsored_by_john_mc_cain" ( "years_covered" text, "all_bills_sponsored" real, "all_amendments_sponsored" real, "all_bills_cosponsored" real, "all_amendments_cosponsored" real, "bi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "legislation_sponsored_by_john_mc_cain" ( "years_covered" text, "all_bills_sponsored" real, "all_amendments_sponsored" real, "all_bills_cosponsored" real, "all_amendments_cosponsored" real, "bi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "legislation_sponsored_by_john_mc_cain" ( "years_covered" text, "all_bills_sponsored" real, "all_amendments_sponsored" real, "all_bills_cosponsored" real, "all_amendments_cosponsored" real, "bi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "legislation_sponsored_by_john_mc_cain" ( "years_covered" text, "all_bills_sponsored" real, "all_amendments_sponsored" real, "all_bills_cosponsored" real, "all_amendments_cosponsored" real, "bi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "legislation_sponsored_by_john_mc_cain" ( "years_covered" text, "all_bills_sponsored" real, "all_amendments_sponsored" real, "all_bills_cosponsored" real, "all_amendments_cosponsored" real, "bi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "heats" ( "heat" real, "lane" real, "name" text, "nationality" text, "time" text ); Question: What is the Lane of the swimmer from Uzbekistan in Heat 1? <|assistant|> SELECT COUNT("lane") FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_radio_stations_in_malaysia" ( "frequency" text, "station" text, "operator" text, "country_of_origin" text, "transmitter_location" text, "format" text ); Question: Which station has a ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_radio_stations_in_malaysia" ( "frequency" text, "station" text, "operator" text, "country_of_origin" text, "transmitter_location" text, "format" text ); Question: Where is the transmi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_radio_stations_in_malaysia" ( "frequency" text, "station" text, "operator" text, "country_of_origin" text, "transmitter_location" text, "format" text ); Question: Which station is fro...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "single_game" ( "rank" real, "player" text, "county" text, "tally" text, "total" real, "opposition" text ); Question: Name the Tally of an Opposition of westmeath? <|assistant|> SELECT "tally"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "individuals" ( "position" real, "gymnast" text, "floor" text, "pommel_horse" text, "rings" text, "vault" text, "parallel_bars" text, "horizontal_bar" text, "total" real ); Question: Wha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "individuals" ( "position" real, "gymnast" text, "floor" text, "pommel_horse" text, "rings" text, "vault" text, "parallel_bars" text, "horizontal_bar" text, "total" real ); Question: Wha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "individuals" ( "position" real, "gymnast" text, "floor" text, "pommel_horse" text, "rings" text, "vault" text, "parallel_bars" text, "horizontal_bar" text, "total" real ); Question: Who...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "individuals" ( "position" real, "gymnast" text, "floor" text, "pommel_horse" text, "rings" text, "vault" text, "parallel_bars" text, "horizontal_bar" text, "total" real ); Question: Wha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "individuals" ( "position" real, "gymnast" text, "floor" text, "pommel_horse" text, "rings" text, "vault" text, "parallel_bars" text, "horizontal_bar" text, "total" real ); Question: Wit...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "heat_1" ( "rank" real, "athletes" text, "country" text, "time" text, "notes" text ); Question: What is the Rank of the Athletes with a Time of 3:43.491? <|assistant|> SELECT COUNT("rank") FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "heat_1" ( "rank" real, "athletes" text, "country" text, "time" text, "notes" text ); Question: What are the Notes of the Athletes from Germany? <|assistant|> SELECT "notes" FROM "heat_1" WHERE ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "heat_1" ( "rank" real, "athletes" text, "country" text, "time" text, "notes" text ); Question: What is the Rank of the Athletes from Ukraine? <|assistant|> SELECT COUNT("rank") FROM "heat_1" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "event" text, "date" text, "location" text, "winning_skip" text, "runner_up_skip" text ); Question: What location did Sherry Middaugh win in? <|assistant|> SELECT "location" FROM "wi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "event" text, "date" text, "location" text, "winning_skip" text, "runner_up_skip" text ); Question: What event did Patti Lank have the winning skip? <|assistant|> SELECT "event" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "event" text, "date" text, "location" text, "winning_skip" text, "runner_up_skip" text ); Question: What date shows Binia Feltscher-Beeli as the runner-up skip? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "event" text, "date" text, "location" text, "winning_skip" text, "runner_up_skip" text ); Question: What person was the runner-up skip when Julie Reddick was the winning skip? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "total_fertility_rate" ( "brazil_100pct" text, "white_47_73pct" text, "black_7_61pct" text, "yellow_1_09pct" text, "brown_multiracial_43_13pct" text, "indians_0_43pct" text ); Question: What's...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list" ( "name" text, "type" text, "population_2011" real, "population_2006" real, "area_km_2" real ); Question: What is the sum of the area in km with a population of 110 in 2011? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list" ( "name" text, "type" text, "population_2011" real, "population_2006" real, "area_km_2" real ); Question: What is the average population in 2006 that has more than 5 people in 2011 and an...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "semifinal_2" ( "rank" real, "lane" real, "athlete" text, "nationality" text, "time" real, "react" real ); Question: What is the lowest lane with a 0.216 react? <|assistant|> SELECT MIN("lane"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "semifinal_2" ( "rank" real, "lane" real, "athlete" text, "nationality" text, "time" real, "react" real ); Question: What is the total rank for the lane before 2? <|assistant|> SELECT SUM("ran...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "readers_choice" ( "year" real, "game" text, "genre" text, "platform_s" text, "developer_s" text ); Question: What genre is the game from the year 2007? <|assistant|> SELECT "genre" FROM "reader...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "readers_choice" ( "year" real, "game" text, "genre" text, "platform_s" text, "developer_s" text ); Question: What is the Game that came out before the year 2009 for the Playstation 3? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "readers_choice" ( "year" real, "game" text, "genre" text, "platform_s" text, "developer_s" text ); Question: What is the earliest year that had the Legend of Zelda: Twilight Princess game? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: Who was the opponent on November 15, 1981? <|assistant|> SELECT "opponent" FROM "schedule" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1950s" ( "debut_year" real, "player" text, "games" real, "goals" real, "years_at_club" text ); Question: Which Debut year has a Player of noel carroll, and Games smaller than 12? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1950s" ( "debut_year" real, "player" text, "games" real, "goals" real, "years_at_club" text ); Question: Which Goals have a Player of noel carroll? <|assistant|> SELECT MIN("goals") FROM "1950s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1950s" ( "debut_year" real, "player" text, "games" real, "goals" real, "years_at_club" text ); Question: How many debut years have Years at club of 1950–1951, and Games larger than 14? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "greatest_hits_best_of_compilations" ( "title" text, "label" text, "year_of_release" real, "country_of_release" text, "peaches" text ); Question: Which title has origianal sound entertainment as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "greatest_hits_best_of_compilations" ( "title" text, "label" text, "year_of_release" real, "country_of_release" text, "peaches" text ); Question: What was the earliest year of release for Peache...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "greatest_hits_best_of_compilations" ( "title" text, "label" text, "year_of_release" real, "country_of_release" text, "peaches" text ); Question: What was the latest year of release for the grea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "greatest_hits_best_of_compilations" ( "title" text, "label" text, "year_of_release" real, "country_of_release" text, "peaches" text ); Question: When the country of release is EU, what is the l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "k" ( "township" text, "county" text, "pop_2010" real, "land_sqmi" real, "water_sqmi" real, "latitude" real, "longitude" real, "geo_id" real, "ansi_code" real ); Question: what is the hi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "k" ( "township" text, "county" text, "pop_2010" real, "land_sqmi" real, "water_sqmi" real, "latitude" real, "longitude" real, "geo_id" real, "ansi_code" real ); Question: what is the la...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "k" ( "township" text, "county" text, "pop_2010" real, "land_sqmi" real, "water_sqmi" real, "latitude" real, "longitude" real, "geo_id" real, "ansi_code" real ); Question: what is the ge...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "membership" ( "school" text, "location" text, "mascot" text, "enrollment" real, "ihsaa_class" text, "county" text, "year_joined" real, "previous_conference" text ); Question: Name the low...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "membership" ( "school" text, "location" text, "mascot" text, "enrollment" real, "ihsaa_class" text, "county" text, "year_joined" real, "previous_conference" text ); Question: Name the IHS...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "membership" ( "school" text, "location" text, "mascot" text, "enrollment" real, "ihsaa_class" text, "county" text, "year_joined" real, "previous_conference" text ); Question: Name the IHS...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "membership" ( "school" text, "location" text, "mascot" text, "enrollment" real, "ihsaa_class" text, "county" text, "year_joined" real, "previous_conference" text ); Question: where is Mas...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "membership" ( "school" text, "location" text, "mascot" text, "enrollment" real, "ihsaa_class" text, "county" text, "year_joined" real, "previous_conference" text ); Question: What kind of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000s" ( "year" real, "title" text, "director" text, "studio_s" text, "notes" text ); Question: What studio had the director Peter Lord Nick Park before 2004? <|assistant|> SELECT "studio_s" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000s" ( "year" real, "title" text, "director" text, "studio_s" text, "notes" text ); Question: What studio did Paul Greengrass direct in 2007? <|assistant|> SELECT "studio_s" FROM "2000s" WHER...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "parallel_bars_event_final_qualifiers" ( "position" text, "gymnast" text, "a_score" real, "b_score" real, "total" real ); Question: What is the A score when the B score is more than 9.15 and the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "railbuses" ( "class" text, "railway_number_s" text, "quantity" real, "year_s_of_manufacture" text, "axle_arrangement_uic" text ); Question: what is the quantity when the year of manufacture is ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "railbuses" ( "class" text, "railway_number_s" text, "quantity" real, "year_s_of_manufacture" text, "axle_arrangement_uic" text ); Question: what is the class when the quantity is 4? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: Who were the opponents on Week 8? <|assistant|> SELECT "opponent" FROM "schedule" WHERE "wee...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2012_statistics_at_least_1_000_000_passe" ( "country" text, "airport" text, "city" text, "2012" real, "change_12_11" text ); Question: When the city is agadir what is the change (12/11)? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles" ( "year" real, "a_side" text, "b_side" text, "catalog_number" text, "label" text ); Question: What is the catalog number of Venus Demilo's A-side? <|assistant|> SELECT "catalog_number"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles" ( "year" real, "a_side" text, "b_side" text, "catalog_number" text, "label" text ); Question: What year did the B-Side of Just Squeeze Me come out? <|assistant|> SELECT "year" FROM "si...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles" ( "year" real, "a_side" text, "b_side" text, "catalog_number" text, "label" text ); Question: What label has the 817 catalog? <|assistant|> SELECT "label" FROM "singles" WHERE "catalog...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles" ( "year" real, "a_side" text, "b_side" text, "catalog_number" text, "label" text ); Question: What is the A-side for it Never Entered My Mind, Part 2? <|assistant|> SELECT "a_side" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles" ( "year" real, "a_side" text, "b_side" text, "catalog_number" text, "label" text ); Question: What is the A-side for catalog 902? <|assistant|> SELECT "a_side" FROM "singles" WHERE "ca...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "railbuses" ( "class" text, "railway_number_s" text, "quantity" text, "year_s_of_manufacture" text, "type" text ); Question: What is the class of the a1 bm type? <|assistant|> SELECT "class" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "railbuses" ( "class" text, "railway_number_s" text, "quantity" text, "year_s_of_manufacture" text, "type" text ); Question: What is the quantity of the aw class? <|assistant|> SELECT "quantity"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "railbuses" ( "class" text, "railway_number_s" text, "quantity" text, "year_s_of_manufacture" text, "type" text ); Question: What is the class with 1 quantity? <|assistant|> SELECT "class" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "railbuses" ( "class" text, "railway_number_s" text, "quantity" text, "year_s_of_manufacture" text, "type" text ); Question: What is the railway number of the aw class? <|assistant|> SELECT "rai...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" text, "date" text, "opponent" text, "score" text, "location_attendance" text, "record" text ); Question: What was the game when the record was 31-15? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" text, "date" text, "opponent" text, "score" text, "location_attendance" text, "record" text ); Question: What was the date of the game with a score of W 106-100? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "twin_cylinder_race" ( "rank" text, "rider" text, "team" text, "speed" text, "time" text ); Question: What is the speed for rank 1? <|assistant|> SELECT "speed" FROM "twin_cylinder_race" WHERE "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "twin_cylinder_race" ( "rank" text, "rider" text, "team" text, "speed" text, "time" text ); Question: What team has a Rank Ret, and rider Frank A Applebee? <|assistant|> SELECT "team" FROM "twin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "global_usage_share_data_from_get_clicky_" ( "period" text, "internet_explorer" text, "chrome" text, "firefox" text, "safari" text, "opera" text, "other_mozilla" text ); Question: What inter...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "global_usage_share_data_from_get_clicky_" ( "period" text, "internet_explorer" text, "chrome" text, "firefox" text, "safari" text, "opera" text, "other_mozilla" text ); Question: What is th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "global_usage_share_data_from_get_clicky_" ( "period" text, "internet_explorer" text, "chrome" text, "firefox" text, "safari" text, "opera" text, "other_mozilla" text ); Question: What other...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "global_usage_share_data_from_get_clicky_" ( "period" text, "internet_explorer" text, "chrome" text, "firefox" text, "safari" text, "opera" text, "other_mozilla" text ); Question: What inter...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "global_usage_share_data_from_get_clicky_" ( "period" text, "internet_explorer" text, "chrome" text, "firefox" text, "safari" text, "opera" text, "other_mozilla" text ); Question: What perio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "sandy_bridge_quad_core_32_nm" ( "model_number" text, "s_spec_number" text, "cores" text, "frequency" text, "turbo" text, "l2_cache" text, "l3_cache" text, "gpu_model" text, "gpu_frequenc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "sandy_bridge_quad_core_32_nm" ( "model_number" text, "s_spec_number" text, "cores" text, "frequency" text, "turbo" text, "l2_cache" text, "l3_cache" text, "gpu_model" text, "gpu_frequenc...