text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "episodes" ( "episode_num" real, "series_num" real, "title" text, "director" text, "writer" text, "original_airdate" text, "viewers_in_millions" text ); Question: What date did "getting even" originally air? <|assistant|> SELECT "original_airdate" FROM "episodes" WHERE "title"='\"Getting Even\"';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "episodes" ( "episode_num" real, "series_num" real, "title" text, "director" text, "writer" text, "original_airdate" text, "viewers_in_millions" text ); Question: Who wrote episode 26 in the series? <|assistant|> SELECT "writer" FROM "episodes" WHERE "episode_num"=26;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "characteristics_of_telephone_cable_as_a_" ( "frequency_hz" text, "r_km" text, "l_m_h_km" text, "g_s_km" text, "c_n_f_km" text ); Question: What is the g (μs/km)when the frequency (hz) is 100k? <|assistant|> SELECT "g_s_km" FROM "characteristics_of_telephone_cable_as_a_" WHERE "frequency_hz"='100k';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "characteristics_of_telephone_cable_as_a_" ( "frequency_hz" text, "r_km" text, "l_m_h_km" text, "g_s_km" text, "c_n_f_km" text ); Question: What is the r (ω/km) when the frequency is 10k? <|assistant|> SELECT "r_km" FROM "characteristics_of_telephone_cable_as_a_" WHERE "frequency_hz"='10k';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "characteristics_of_telephone_cable_as_a_" ( "frequency_hz" text, "r_km" text, "l_m_h_km" text, "g_s_km" text, "c_n_f_km" text ); Question: What is the c (nf/km) when the r (ω/km) is 463.59? <|assistant|> SELECT "c_n_f_km" FROM "characteristics_of_telephone_cable_as_a_" WHERE "r_km"='463.59';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "characteristics_of_telephone_cable_as_a_" ( "frequency_hz" text, "r_km" text, "l_m_h_km" text, "g_s_km" text, "c_n_f_km" text ); Question: what is the c (nf/km) when the l (mh/km) is 0.6099? <|assistant|> SELECT "c_n_f_km" FROM "characteristics_of_telephone_cable_as_a_" WHERE "l_m_h_km"='0.6099';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "characteristics_of_telephone_cable_as_a_" ( "frequency_hz" text, "r_km" text, "l_m_h_km" text, "g_s_km" text, "c_n_f_km" text ); Question: what is the frequency (hz) when the g (μs/km) is 53.205? <|assistant|> SELECT "frequency_hz" FROM "characteristics_of_telephone_cable_as_a_" WHERE "g_s_km"='53.205';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "country" text, "exports" text, "imports" text, "total_trade" text, "trade_balance" text ); Question: In the country United Arab Emirates, what is the number of imports? <|assistant|> SELECT "imports" FROM "see_also" WHERE "country"='United Arab Emirates';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "country" text, "exports" text, "imports" text, "total_trade" text, "trade_balance" text ); Question: Where the number of exports are 6,099.06, what is the total trade? <|assistant|> SELECT "total_trade" FROM "see_also" WHERE "exports"='6,099.06';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "country" text, "exports" text, "imports" text, "total_trade" text, "trade_balance" text ); Question: In which country are there 1,278.13 exports? <|assistant|> SELECT "country" FROM "see_also" WHERE "exports"='1,278.13';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "country" text, "exports" text, "imports" text, "total_trade" text, "trade_balance" text ); Question: Where the total trade is 14,954.86, what are the exports? <|assistant|> SELECT "exports" FROM "see_also" WHERE "total_trade"='14,954.86';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "country" text, "exports" text, "imports" text, "total_trade" text, "trade_balance" text ); Question: In the country Switzerland, what is the total trade? <|assistant|> SELECT "total_trade" FROM "see_also" WHERE "country"='Switzerland';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "country" text, "exports" text, "imports" text, "total_trade" text, "trade_balance" text ); Question: Where the exports is 13,608.65, what is the total trade? <|assistant|> SELECT "total_trade" FROM "see_also" WHERE "exports"='13,608.65';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournament_results" ( "dates" text, "tournament" text, "location" text, "prize_fund" real, "winner" text, "owgr_pts" real ); Question: What is the location for tournament on Jul 8-11? <|assistant|> SELECT "location" FROM "tournament_results" WHERE "dates"='Jul 8-11';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournament_results" ( "dates" text, "tournament" text, "location" text, "prize_fund" real, "winner" text, "owgr_pts" real ); Question: What is the date of the tournament at Hokkaidō with prize of ¥150000000? <|assistant|> SELECT "dates" FROM "tournament_results" WHERE "location"='Hokkaidō' AND "prize_fund"=150000000;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournament_results" ( "dates" text, "tournament" text, "location" text, "prize_fund" real, "winner" text, "owgr_pts" real ); Question: What is the prize for the tournament at Ibaraki? <|assistant|> SELECT "prize_fund" FROM "tournament_results" WHERE "location"='Ibaraki';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_26150013_1" ( "no_in_series" text, "no_in_season" text, "title" text, "animation_directors" text, "written_by" text, "original_air_date" text ); Question: How many titles are there for the original air date April 3, 2012? <|assistant|> SELECT COUNT("title") FROM "table1_26150013_1" WHERE "original_air_date"='April 3, 2012';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "silver_label" ( "road_race" text, "distance" text, "location" text, "country" text, "month_held" text ); Question: What are all of the area where distance is marathon and month held is february <|assistant|> SELECT "location" FROM "silver_label" WHERE "distance"='Marathon' AND "month_held"='February';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "silver_label" ( "road_race" text, "distance" text, "location" text, "country" text, "month_held" text ); Question: What's the whole range of united states where road race is ottawa marathon <|assistant|> SELECT COUNT("country") FROM "silver_label" WHERE "road_race"='Ottawa Marathon';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bronze_label" ( "road_race" text, "distance" text, "location" text, "country" text, "month_held" text ); Question: What race is held in Germany in the month of May? <|assistant|> SELECT "road_race" FROM "bronze_label" WHERE "country"='Germany' AND "month_held"='May';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bronze_label" ( "road_race" text, "distance" text, "location" text, "country" text, "month_held" text ); Question: How many times a year is the Brighton Marathon held? <|assistant|> SELECT COUNT("month_held") FROM "bronze_label" WHERE "distance"='Marathon' AND "location"='Brighton';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bronze_label" ( "road_race" text, "distance" text, "location" text, "country" text, "month_held" text ); Question: What month is the Paris 20k Road Race held? <|assistant|> SELECT "month_held" FROM "bronze_label" WHERE "location"='Paris';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bronze_label" ( "road_race" text, "distance" text, "location" text, "country" text, "month_held" text ); Question: How many times a year is the Paris 20k road race held? <|assistant|> SELECT COUNT("month_held") FROM "bronze_label" WHERE "road_race"='Paris 20K';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bronze_label" ( "road_race" text, "distance" text, "location" text, "country" text, "month_held" text ); Question: What is the name of the road race held in Omsk, Russia? <|assistant|> SELECT "road_race" FROM "bronze_label" WHERE "location"='Omsk';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "gold_label" ( "road_race" text, "distance" text, "location" text, "country" text, "month_held" text ); Question: Where was the istanbul marathon? <|assistant|> SELECT "location" FROM "gold_label" WHERE "road_race"='Istanbul Marathon';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "gold_label" ( "road_race" text, "distance" text, "location" text, "country" text, "month_held" text ); Question: How long was the great manchester run? <|assistant|> SELECT "distance" FROM "gold_label" WHERE "road_race"='Great Manchester Run';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "gold_label" ( "road_race" text, "distance" text, "location" text, "country" text, "month_held" text ); Question: In which country was the xiamen international marathon? <|assistant|> SELECT "country" FROM "gold_label" WHERE "road_race"='Xiamen International Marathon';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "gold_label" ( "road_race" text, "distance" text, "location" text, "country" text, "month_held" text ); Question: In which city was the berlin marathon? <|assistant|> SELECT "location" FROM "gold_label" WHERE "road_race"='Berlin Marathon';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "gold_label" ( "road_race" text, "distance" text, "location" text, "country" text, "month_held" text ); Question: How many races were in fukuoka, japan? <|assistant|> SELECT COUNT("road_race") FROM "gold_label" WHERE "country"='Japan' AND "location"='Fukuoka';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_26168687_3" ( "no_in_series" real, "no_in_season" real, "title" text, "vessel_type" text, "vessel_operator" text, "narrated_by" text, "original_air_date" real ); Question: How many times is the vessel operator canadian coast guard? <|assistant|> SELECT COUNT("no_in_series") FROM "table1_26168687_3" WHERE "vessel_operator"='Canadian Coast Guard';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_26168687_3" ( "no_in_series" real, "no_in_season" real, "title" text, "vessel_type" text, "vessel_operator" text, "narrated_by" text, "original_air_date" real ); Question: What is the vessel type for vessel operator Jumbo shipping? <|assistant|> SELECT "vessel_type" FROM "table1_26168687_3" WHERE "vessel_operator"='Jumbo Shipping';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_26168687_3" ( "no_in_series" real, "no_in_season" real, "title" text, "vessel_type" text, "vessel_operator" text, "narrated_by" text, "original_air_date" real ); Question: Who narrated when the vessel operator is de beers? <|assistant|> SELECT "narrated_by" FROM "table1_26168687_3" WHERE "vessel_operator"='De Beers';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2618061_1" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: How many episodes had the production code 66210? <|assistant|> SELECT COUNT("no_in_series") FROM "table1_2618061_1" WHERE "production_code"=66210;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2618061_1" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: What was the original air date of "kiss the girls and make them die"? <|assistant|> SELECT "original_air_date" FROM "table1_2618061_1" WHERE "title"='\"Kiss the Girls and Make Them Die\"';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2618061_1" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: How many episodes were directed by james quinn? <|assistant|> SELECT COUNT("written_by") FROM "table1_2618061_1" WHERE "directed_by"='James Quinn';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2618061_1" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: What is the title of the episode written by daniel sackheim? <|assistant|> SELECT "title" FROM "table1_2618061_1" WHERE "directed_by"='Daniel Sackheim';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_26176081_29" ( "name" text, "gp" real, "solo" real, "ast" real, "total" real, "tfl_yds" text, "no_yds" text, "br_up" real, "no_yds" text, "avg" text, "td" real, "long" real, "rcv_yds" text, "ff" real, "blkd_kick" real ); Question: What is the lowest brup when long is 94? <|assistant|> SELECT MIN("br_up") FROM "table1_26176081_29" WHERE "long"=94;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_26176081_29" ( "name" text, "gp" real, "solo" real, "ast" real, "total" real, "tfl_yds" text, "no_yds" text, "br_up" real, "no_yds" text, "avg" text, "td" real, "long" real, "rcv_yds" text, "ff" real, "blkd_kick" real ); Question: What is the lowest gp? <|assistant|> SELECT MIN("gp") FROM "table1_26176081_29";<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_26176081_29" ( "name" text, "gp" real, "solo" real, "ast" real, "total" real, "tfl_yds" text, "no_yds" text, "br_up" real, "no_yds" text, "avg" text, "td" real, "long" real, "rcv_yds" text, "ff" real, "blkd_kick" real ); Question: What is the highest ff when solo is 56? <|assistant|> SELECT MAX("ff") FROM "table1_26176081_29" WHERE "solo"=56;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_26176081_29" ( "name" text, "gp" real, "solo" real, "ast" real, "total" real, "tfl_yds" text, "no_yds" text, "br_up" real, "no_yds" text, "avg" text, "td" real, "long" real, "rcv_yds" text, "ff" real, "blkd_kick" real ); Question: What is the name when tfl-yds is 2-2? <|assistant|> SELECT "name" FROM "table1_26176081_29" WHERE "tfl_yds"='2-2';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_26176081_29" ( "name" text, "gp" real, "solo" real, "ast" real, "total" real, "tfl_yds" text, "no_yds" text, "br_up" real, "no_yds" text, "avg" text, "td" real, "long" real, "rcv_yds" text, "ff" real, "blkd_kick" real ); Question: What is no-yds when no.-yds is 1-13? <|assistant|> SELECT "no_yds" FROM "table1_26176081_29" WHERE "no_yds"='1-13';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_summary" ( "season" real, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_laps" real, "podiums" real, "points" real, "position" text ); Question: what are the maximum f/laps? <|assistant|> SELECT MAX("f_laps") FROM "career_summary";<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_summary" ( "season" real, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_laps" real, "podiums" real, "points" real, "position" text ); Question: how many wins had series formula renault 2.0 nec and the position is 18th? <|assistant|> SELECT "wins" FROM "career_summary" WHERE "series"='Formula Renault 2.0 NEC' AND "position"='18th';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_summary" ( "season" real, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_laps" real, "podiums" real, "points" real, "position" text ); Question: what are the minimum poles? <|assistant|> SELECT MIN("poles") FROM "career_summary";<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2618072_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: When was the original air date written by michael s. chernuchin & joe morgenstern? <|assistant|> SELECT "original_air_date" FROM "table1_2618072_1" WHERE "written_by"='Michael S. Chernuchin & Joe Morgenstern';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2618072_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: Who is the written by when the title is "his hour upon the stage"? <|assistant|> SELECT "written_by" FROM "table1_2618072_1" WHERE "title"='\"His Hour Upon the Stage\"';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2618072_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: Who is the directed by when the production code is 67425? <|assistant|> SELECT "directed_by" FROM "table1_2618072_1" WHERE "production_code"=67425;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2618119_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text ); Question: Who are all writers with original air date of October 23, 1996? <|assistant|> SELECT "written_by" FROM "table1_2618119_1" WHERE "original_air_date"='October 23, 1996';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2618119_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text ); Question: How many titles have directors of matthew Penn and number in series of 143? <|assistant|> SELECT COUNT("title") FROM "table1_2618119_1" WHERE "directed_by"='Matthew Penn' AND "no_in_series"=143;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2618119_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text ); Question: How many numbers in series were for the number in season of 8? <|assistant|> SELECT COUNT("no_in_series") FROM "table1_2618119_1" WHERE "no_in_season"=8;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2618113_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Question: Who directed k0122? <|assistant|> SELECT "directed_by" FROM "table1_2618113_1" WHERE "production_code"='K0122';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2618113_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Question: Which season had k0104? <|assistant|> SELECT MAX("no_in_season") FROM "table1_2618113_1" WHERE "production_code"='K0104';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2618113_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Question: Which season had "angel"? <|assistant|> SELECT "no_in_season" FROM "table1_2618113_1" WHERE "title"='\"Angel\"';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2618113_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Question: What was the airdate of k0120? <|assistant|> SELECT "original_air_date" FROM "table1_2618113_1" WHERE "production_code"='K0120';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2618251_1" ( "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" text ); Question: What are the original air date(s) for "gunplay"? <|assistant|> SELECT "original_air_date" FROM "table1_2618251_1" WHERE "title"='\"Gunplay\"';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2618251_1" ( "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" text ); Question: Who directed the episode "dining out"? <|assistant|> SELECT "directed_by" FROM "table1_2618251_1" WHERE "title"='\"Dining Out\"';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" text, "primary_conference" text, "colors" text ); Question: What is the institution with the nickname seahawks? <|assistant|> SELECT "institution" FROM "current_members" WHERE "nickname"='Seahawks';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" text, "primary_conference" text, "colors" text ); Question: What is the colors for the nickname engineers? <|assistant|> SELECT "colors" FROM "current_members" WHERE "nickname"='Engineers';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" text, "primary_conference" text, "colors" text ); Question: How many have the colors blue & gold? <|assistant|> SELECT COUNT("institution") FROM "current_members" WHERE "colors"='Blue & Gold';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" text, "primary_conference" text, "colors" text ); Question: What is the institution with the nickname engineers? <|assistant|> SELECT "institution" FROM "current_members" WHERE "nickname"='Engineers';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" text, "primary_conference" text, "colors" text ); Question: What is the enrollment for the colors green & black? <|assistant|> SELECT "enrollment" FROM "current_members" WHERE "colors"='Green & Black';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "freedom_conference" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "joined_mac" real ); Question: What institution(s) are located in wilkes-barre, pennsylvania? <|assistant|> SELECT "institution" FROM "freedom_conference" WHERE "location"='Wilkes-Barre, Pennsylvania';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "freedom_conference" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "joined_mac" real ); Question: What is the highest enrollment schools that joined the mac in 1997? <|assistant|> SELECT MAX("enrollment") FROM "freedom_conference" WHERE "joined_mac"=1997;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "freedom_conference" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "joined_mac" real ); Question: What is the enrollment at delaware valley college? <|assistant|> SELECT MAX("joined_mac") FROM "freedom_conference" WHERE "institution"='Delaware Valley College';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "freedom_conference" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "joined_mac" real ); Question: What year did the the school with the nickname eagles join the mac? <|assistant|> SELECT MIN("joined_mac") FROM "freedom_conference" WHERE "nickname"='Eagles';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "founding_religious_affiliation" text, "enrollment" real, "joined" real ); Question: Which institution's nickname is the Bobcats? <|assistant|> SELECT "institution" FROM "current_members" WHERE "nickname"='Bobcats';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "founding_religious_affiliation" text, "enrollment" real, "joined" real ); Question: What is the enrollment at the institution in New London, Connecticut? <|assistant|> SELECT "enrollment" FROM "current_members" WHERE "location"='New London, Connecticut';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "founding_religious_affiliation" text, "enrollment" real, "joined" real ); Question: When did the institution located in Lewiston, Maine join the conference? <|assistant|> SELECT "joined" FROM "current_members" WHERE "location"='Lewiston, Maine';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "founding_religious_affiliation" text, "enrollment" real, "joined" real ); Question: Which institution's nickname is the Polar Bears? <|assistant|> SELECT "institution" FROM "current_members" WHERE "nickname"='Polar Bears';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "joined" text ); Question: What is the nickname of Linfield College? <|assistant|> SELECT "nickname" FROM "current_members" WHERE "institution"='Linfield College';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "joined" text ); Question: When was the private/baptist school founded? <|assistant|> SELECT "founded" FROM "current_members" WHERE "type"='Private/Baptist';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "joined" text ); Question: How many different items appear in the enrollment column that joined in 1931, 1949 1? <|assistant|> SELECT COUNT("enrollment") FROM "current_members" WHERE "joined"='1931, 1949 1';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "joined" text ); Question: What is the location of the University that joined in 1926, 1996 2? <|assistant|> SELECT "location" FROM "current_members" WHERE "joined"='1926, 1996 2';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "joined" text ); Question: When was the earliest founded university? <|assistant|> SELECT MIN("founded") FROM "current_members";<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "season" text, "games" real, "won" real, "lost" real, "tied" real, "points" real, "goals_for" real, "goals_against" real, "standing" text ); Question: What was the team standing if the won 130 goals against another team? <|assistant|> SELECT "standing" FROM "regular_season" WHERE "goals_against"=130;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "football" text, "joined" real ); Question: What is every type for the location of Roanoke, Virginia? <|assistant|> SELECT "type" FROM "current_members" WHERE "location"='Roanoke, Virginia';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "football" text, "joined" real ); Question: How many values for joined occur at Guilford College? <|assistant|> SELECT COUNT("joined") FROM "current_members" WHERE "institution"='Guilford College';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "football" text, "joined" real ); Question: What is every institution with the nickname of Quakers? <|assistant|> SELECT "institution" FROM "current_members" WHERE "nickname"='Quakers';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "football" text, "joined" real ); Question: What is every entry for football when enrollment is 998? <|assistant|> SELECT "football" FROM "current_members" WHERE "enrollment"=998;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "football" text, "joined" real ); Question: What is the least value of joined? <|assistant|> SELECT MIN("joined") FROM "current_members";<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "football" text, "joined" real ); Question: What is every institution with the nickname of Wildcats? <|assistant|> SELECT "institution" FROM "current_members" WHERE "nickname"='WildCats';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_26199130_1" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "rank_week" text, "original_air_date" text, "production_code" text ); Question: What is the title of the episode with production code 2alf03? <|assistant|> SELECT "title" FROM "table1_26199130_1" WHERE "production_code"='2ALF03';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_26199130_1" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "rank_week" text, "original_air_date" text, "production_code" text ); Question: What was the rank (week) for episode number 34? <|assistant|> SELECT "rank_week" FROM "table1_26199130_1" WHERE "no"=34;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_26199130_1" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "rank_week" text, "original_air_date" text, "production_code" text ); Question: What numbered episode had 11.96 million US viewers? <|assistant|> SELECT MAX("no") FROM "table1_26199130_1" WHERE "u_s_viewers_million"='11.96';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_26200084_1" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "rank_week" text, "original_air_date" text, "production_code" text ); Question: How many episode numbers were directed by Steven DePaul and titled "Sudden Flight"? <|assistant|> SELECT COUNT("num") FROM "table1_26200084_1" WHERE "directed_by"='Steven DePaul' AND "title"='\"Sudden Flight\"';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_26200084_1" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "rank_week" text, "original_air_date" text, "production_code" text ); Question: What was the ranking of episode #19? <|assistant|> SELECT "rank_week" FROM "table1_26200084_1" WHERE "num"=19;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_26200084_1" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "rank_week" text, "original_air_date" text, "production_code" text ); Question: What was the production code of the episode ranked 28? <|assistant|> SELECT "production_code" FROM "table1_26200084_1" WHERE "rank_week"='28';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_26200084_1" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "rank_week" text, "original_air_date" text, "production_code" text ); Question: What was the title of the episode directed by David Mamet? <|assistant|> SELECT "title" FROM "table1_26200084_1" WHERE "directed_by"='David Mamet';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_26198709_1" ( "no" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "rank_week" real, "original_air_date" text, "production_code" text ); Question: What is the production code for the episode that had 18.07 million viewers? <|assistant|> SELECT "production_code" FROM "table1_26198709_1" WHERE "u_s_viewers_million"='18.07';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_26198709_1" ( "no" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "rank_week" real, "original_air_date" text, "production_code" text ); Question: What is the weeks rank for the episode with the production code 1alf05? <|assistant|> SELECT MAX("rank_week") FROM "table1_26198709_1" WHERE "production_code"='1ALF05';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_26198709_1" ( "no" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "rank_week" real, "original_air_date" text, "production_code" text ); Question: How many air dates does the episode with 15.50 million viewers have? <|assistant|> SELECT COUNT("original_air_date") FROM "table1_26198709_1" WHERE "u_s_viewers_million"='15.50';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_26198709_1" ( "no" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "rank_week" real, "original_air_date" text, "production_code" text ); Question: Who wrote the episode with 18.07 million viewers? <|assistant|> SELECT "written_by" FROM "table1_26198709_1" WHERE "u_s_viewers_million"='18.07';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "standings" ( "club" text, "wins" real, "losses" real, "points_for" real, "points_against" real, "percentage" text, "points" real ); Question: How many points were scored against the Toronto Rebels? <|assistant|> SELECT MAX("points_against") FROM "standings" WHERE "club"='Toronto Rebels';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "standings" ( "club" text, "wins" real, "losses" real, "points_for" real, "points_against" real, "percentage" text, "points" real ); Question: How many points did the Toronto Downtown Dingos score? <|assistant|> SELECT MIN("points_for") FROM "standings" WHERE "club"='Toronto Downtown Dingos';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "standings" ( "club" text, "wins" real, "losses" real, "points_for" real, "points_against" real, "percentage" text, "points" real ); Question: How many losses does Toronto Downtown Dingos have? <|assistant|> SELECT "losses" FROM "standings" WHERE "club"='Toronto Downtown Dingos';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "standings" ( "club" text, "wins" real, "losses" real, "points_for" real, "points_against" real, "percentage" text, "points" real ); Question: What is the percentage listed for the team who scored 63 points? <|assistant|> SELECT "percentage" FROM "standings" WHERE "points_for"=63;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "standings" ( "club" text, "wins" real, "losses" real, "points_for" real, "points_against" real, "percentage" text, "points" real ); Question: How many losses does Central Blues have? <|assistant|> SELECT MAX("losses") FROM "standings" WHERE "club"='Central Blues';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "notes" ( "specimen_weight_size" text, "calculated_activity_bq" real, "calculated_activity_ci" text, "estimated_activity_gr_api" text, "estimated_exposure_m_rem_hr" text ); Question: if the estimated exposure ( mrem )/hr* is 0.28, what is the specimen weight/size? <|assistant|> SELECT COUNT("specimen_weight_size") FROM "notes" WHERE "estimated_exposure_m_rem_hr"='0.28';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "notes" ( "specimen_weight_size" text, "calculated_activity_bq" real, "calculated_activity_ci" text, "estimated_activity_gr_api" text, "estimated_exposure_m_rem_hr" text ); Question: If the specimen weight /size is 1000 g / 8.79 cm, what is the estimated exposure ( mrem )/hr*? <|assistant|> SELECT "estimated_exposure_m_rem_hr" FROM "notes" WHERE "specimen_weight_size"='1000 g / 8.79 cm';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "notes" ( "specimen_weight_size" text, "calculated_activity_bq" real, "calculated_activity_ci" text, "estimated_activity_gr_api" text, "estimated_exposure_m_rem_hr" text ); Question: If the calculated activity (CI) is 4.96×10 −11, what is the specimen weight/size? <|assistant|> SELECT "specimen_weight_size" FROM "notes" WHERE "calculated_activity_ci"='4.96×10 −11';<|endoftext|>