text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "standings" (
"skip_club" text,
"w" real,
"l" real,
"pf" real,
"pa" real,
"ends_won" real,
"ends_lost" real,
"blank_ends" real,
"stolen_ends" real
);
Question: What are the number of points for associated with exactly 3 stolen ends?
<|assistant|>
SELECT COUNT("pf") FROM "standings" WHERE "stolen_ends"=3;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"name" text,
"num" real,
"position" text,
"height" text,
"weight" real,
"year" text,
"former_school" text,
"hometown" text
);
Question: How many position did a player took while weighing 170?
<|assistant|>
SELECT COUNT("position") FROM "roster" WHERE "weight"=170;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"name" text,
"num" real,
"position" text,
"height" text,
"weight" real,
"year" text,
"former_school" text,
"hometown" text
);
Question: What were the former schools of the player from East Brunswick, NJ?
<|assistant|>
SELECT "former_school" FROM "roster" WHERE "hometown"='East Brunswick, NJ';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"name" text,
"num" real,
"position" text,
"height" text,
"weight" real,
"year" text,
"former_school" text,
"hometown" text
);
Question: What was the height of this Freshman with a forward position?
<|assistant|>
SELECT "height" FROM "roster" WHERE "position"='Forward' AND "year"='Freshman';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "footnotes" (
"num" real,
"prime_minister" text,
"date_of_birth" text,
"start_date_of_first_term" text,
"age_at_beginning_of_first_term" text,
"end_date_of_final_term" text,
"total_time_in_office" text,
"date_of_death" text,
"lifespan" text
);
Question: If the date of birth is 1961-08-09 9 august 1961, what is the start date of (first) term?
<|assistant|>
SELECT "start_date_of_first_term" FROM "footnotes" WHERE "date_of_birth"='1961-08-09 9 August 1961';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "footnotes" (
"num" real,
"prime_minister" text,
"date_of_birth" text,
"start_date_of_first_term" text,
"age_at_beginning_of_first_term" text,
"end_date_of_final_term" text,
"total_time_in_office" text,
"date_of_death" text,
"lifespan" text
);
Question: If the prime minister is Palmer, Geoffrey Geoffrey Palmer, what is the end date of (final) term?
<|assistant|>
SELECT "end_date_of_final_term" FROM "footnotes" WHERE "prime_minister"='Palmer, Geoffrey Geoffrey Palmer';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25200461_9" (
"city" text,
"population" real,
"registered_voters" text,
"democratic" text,
"republican" text,
"d_r_spread" text,
"other" text,
"no_party_preference" text
);
Question: What is the population if the city is Gilroy?
<|assistant|>
SELECT "population" FROM "table1_25200461_9" WHERE "city"='Gilroy';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25200461_9" (
"city" text,
"population" real,
"registered_voters" text,
"democratic" text,
"republican" text,
"d_r_spread" text,
"other" text,
"no_party_preference" text
);
Question: If Democratic is 42.5%, what is the city?
<|assistant|>
SELECT "city" FROM "table1_25200461_9" WHERE "democratic"='42.5%';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25200461_9" (
"city" text,
"population" real,
"registered_voters" text,
"democratic" text,
"republican" text,
"d_r_spread" text,
"other" text,
"no_party_preference" text
);
Question: If the registered voters is 66.8%, what is the minimum population?
<|assistant|>
SELECT MIN("population") FROM "table1_25200461_9" WHERE "registered_voters"='66.8%';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25200461_9" (
"city" text,
"population" real,
"registered_voters" text,
"democratic" text,
"republican" text,
"d_r_spread" text,
"other" text,
"no_party_preference" text
);
Question: What is the other is the city is Los Gatos?
<|assistant|>
SELECT "other" FROM "table1_25200461_9" WHERE "city"='Los Gatos';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25200461_9" (
"city" text,
"population" real,
"registered_voters" text,
"democratic" text,
"republican" text,
"d_r_spread" text,
"other" text,
"no_party_preference" text
);
Question: What is the d-r spread if the no party preference is 31.8%?
<|assistant|>
SELECT "d_r_spread" FROM "table1_25200461_9" WHERE "no_party_preference"='31.8%';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25200461_9" (
"city" text,
"population" real,
"registered_voters" text,
"democratic" text,
"republican" text,
"d_r_spread" text,
"other" text,
"no_party_preference" text
);
Question: If the city is Santa Clara, what is the population total number?
<|assistant|>
SELECT COUNT("population") FROM "table1_25200461_9" WHERE "city"='Santa Clara';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2013_tournament" (
"prefecture" text,
"city_town" text,
"high_school_name" text,
"year_of_previous_participation" text,
"total_number_of_participation" real
);
Question: In what prefecture is Susaki located?
<|assistant|>
SELECT "prefecture" FROM "2013_tournament" WHERE "city_town"='Susaki';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2013_tournament" (
"prefecture" text,
"city_town" text,
"high_school_name" text,
"year_of_previous_participation" text,
"total_number_of_participation" real
);
Question: How many previous years did Maebashi Ikuei high school have a total number of 1 participation?
<|assistant|>
SELECT COUNT("year_of_previous_participation") FROM "2013_tournament" WHERE "total_number_of_participation"=1 AND "high_school_name"='Maebashi Ikuei';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2013_tournament" (
"prefecture" text,
"city_town" text,
"high_school_name" text,
"year_of_previous_participation" text,
"total_number_of_participation" real
);
Question: In what prefecture is Nihon Bunri located?
<|assistant|>
SELECT "prefecture" FROM "2013_tournament" WHERE "high_school_name"='Nihon Bunri';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2013_tournament" (
"prefecture" text,
"city_town" text,
"high_school_name" text,
"year_of_previous_participation" text,
"total_number_of_participation" real
);
Question: In what prefecture is Daito located?
<|assistant|>
SELECT "prefecture" FROM "2013_tournament" WHERE "city_town"='Daito';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2013_tournament" (
"prefecture" text,
"city_town" text,
"high_school_name" text,
"year_of_previous_participation" text,
"total_number_of_participation" real
);
Question: Which high school is located in Kyoto?
<|assistant|>
SELECT "high_school_name" FROM "2013_tournament" WHERE "prefecture"='Kyoto';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2013_tournament" (
"prefecture" text,
"city_town" text,
"high_school_name" text,
"year_of_previous_participation" text,
"total_number_of_participation" real
);
Question: What was the year of previous participation for the school in the Kagoshima prefecture?
<|assistant|>
SELECT "year_of_previous_participation" FROM "2013_tournament" WHERE "prefecture"='Kagoshima';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25216791_3" (
"june_10_11" text,
"march_27_29" text,
"january_15_16" text,
"november_3" text,
"august_21_22" text
);
Question: What was the data on January 15-16 if March 27-29 is March 29, 2006?
<|assistant|>
SELECT "january_15_16" FROM "table1_25216791_3" WHERE "march_27_29"='March 29, 2006';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25216791_3" (
"june_10_11" text,
"march_27_29" text,
"january_15_16" text,
"november_3" text,
"august_21_22" text
);
Question: What was the data on November 3, if the data on January 15-16 is January 15, 2010?
<|assistant|>
SELECT "november_3" FROM "table1_25216791_3" WHERE "january_15_16"='January 15, 2010';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25216791_3" (
"june_10_11" text,
"march_27_29" text,
"january_15_16" text,
"november_3" text,
"august_21_22" text
);
Question: How many datas were recorded on January 15-16 if August 21-22 is 155?
<|assistant|>
SELECT COUNT("january_15_16") FROM "table1_25216791_3" WHERE "august_21_22"='155';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25216791_3" (
"june_10_11" text,
"march_27_29" text,
"january_15_16" text,
"november_3" text,
"august_21_22" text
);
Question: What was the data on January 15-16 if the data recorded June 10-11 is June 10, 1964?
<|assistant|>
SELECT "january_15_16" FROM "table1_25216791_3" WHERE "june_10_11"='June 10, 1964';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "awards_and_milestones" (
"opponent" text,
"played" real,
"won" real,
"lost" real,
"drew" real,
"premiership_points" real,
"points_for" real,
"points_against" real,
"percentage_pct" text
);
Question: How many data are on points for if the percentage is 94.29?
<|assistant|>
SELECT COUNT("points_for") FROM "awards_and_milestones" WHERE "percentage_pct"='94.29';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "awards_and_milestones" (
"opponent" text,
"played" real,
"won" real,
"lost" real,
"drew" real,
"premiership_points" real,
"points_for" real,
"points_against" real,
"percentage_pct" text
);
Question: Who was the opponent with a points for of 177?
<|assistant|>
SELECT "opponent" FROM "awards_and_milestones" WHERE "points_for"=177;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "awards_and_milestones" (
"opponent" text,
"played" real,
"won" real,
"lost" real,
"drew" real,
"premiership_points" real,
"points_for" real,
"points_against" real,
"percentage_pct" text
);
Question: What was the minimum points against if the opponent is Port Adelaide?
<|assistant|>
SELECT MIN("points_against") FROM "awards_and_milestones" WHERE "opponent"='Port Adelaide';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "practice_times_and_leaderboard_600cc" (
"rank" real,
"rider" text,
"sat_29_may" text,
"mon_31_may" text,
"tues_1_june" text,
"wed_2_june" text,
"thurs_3_june" text,
"fri_4_june" text
);
Question: If Thursday 3 June is 20' 27.93 110.615mph, what are the names of the riders?
<|assistant|>
SELECT "rider" FROM "practice_times_and_leaderboard_600cc" WHERE "thurs_3_june"='20'' 27.93 110.615mph';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "practice_times_and_leaderboard_600cc" (
"rank" real,
"rider" text,
"sat_29_may" text,
"mon_31_may" text,
"tues_1_june" text,
"wed_2_june" text,
"thurs_3_june" text,
"fri_4_june" text
);
Question: What is the Tuesday 1 June total number if Monday 31 May is 20' 15.35 111.761mph?
<|assistant|>
SELECT COUNT("tues_1_june") FROM "practice_times_and_leaderboard_600cc" WHERE "mon_31_may"='20'' 15.35 111.761mph';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "practice_times_and_leaderboard_600cc" (
"rank" real,
"rider" text,
"sat_29_may" text,
"mon_31_may" text,
"tues_1_june" text,
"wed_2_june" text,
"thurs_3_june" text,
"fri_4_june" text
);
Question: What is Friday 4 June if Wednesday 2 June is 20' 11.98 112.071mph?
<|assistant|>
SELECT "fri_4_june" FROM "practice_times_and_leaderboard_600cc" WHERE "wed_2_june"='20'' 11.98 112.071mph';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "practice_times_and_leaderboard_600cc" (
"rank" real,
"rider" text,
"sat_29_may" text,
"mon_31_may" text,
"tues_1_june" text,
"wed_2_june" text,
"thurs_3_june" text,
"fri_4_june" text
);
Question: If Tuesday 1 June is 21' 05.27 107.351mph, what is the rider total number?
<|assistant|>
SELECT COUNT("rider") FROM "practice_times_and_leaderboard_600cc" WHERE "tues_1_june"='21'' 05.27 107.351mph';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "practice_times_and_leaderboard_600cc" (
"rank" real,
"rider" text,
"sat_29_may" text,
"mon_31_may" text,
"tues_1_june" text,
"wed_2_june" text,
"thurs_3_june" text,
"fri_4_june" text
);
Question: If Tuesday 1 June is 20' 59.60 107.834mph, what is the rank maximum?
<|assistant|>
SELECT MAX("rank") FROM "practice_times_and_leaderboard_600cc" WHERE "tues_1_june"='20'' 59.60 107.834mph';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "practice_times_and_leaderboard_600cc" (
"rank" real,
"rider" text,
"sat_29_may" text,
"mon_31_may" text,
"tues_1_june" text,
"wed_2_june" text,
"thurs_3_june" text,
"fri_4_june" text
);
Question: What is the Friday 4 June if the Wednesday 2 June is 20' 50.62 108.608mph?
<|assistant|>
SELECT "fri_4_june" FROM "practice_times_and_leaderboard_600cc" WHERE "wed_2_june"='20'' 50.62 108.608mph';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "practice_times_leaderboard_superstock_tt" (
"rank" real,
"rider" text,
"sat_29_may" text,
"mon_31_may" text,
"tues_1_june" text,
"wed_2_june" text,
"thurs_3_june" text,
"fri_4_june" text
);
Question: What is the 2 June time for the rider with time of 17' 48.58 127.111mph on 3 June?
<|assistant|>
SELECT "wed_2_june" FROM "practice_times_leaderboard_superstock_tt" WHERE "thurs_3_june"='17'' 48.58 127.111mph';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "practice_times_leaderboard_superstock_tt" (
"rank" real,
"rider" text,
"sat_29_may" text,
"mon_31_may" text,
"tues_1_june" text,
"wed_2_june" text,
"thurs_3_june" text,
"fri_4_june" text
);
Question: How many times are listed for 31 May for the rider ranked 5?
<|assistant|>
SELECT COUNT("mon_31_may") FROM "practice_times_leaderboard_superstock_tt" WHERE "rank"=5;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "practice_times_leaderboard_superstock_tt" (
"rank" real,
"rider" text,
"sat_29_may" text,
"mon_31_may" text,
"tues_1_june" text,
"wed_2_june" text,
"thurs_3_june" text,
"fri_4_june" text
);
Question: What is the 3 June time for the rider with 2 June time of 17' 45.11 127.525mph?
<|assistant|>
SELECT "thurs_3_june" FROM "practice_times_leaderboard_superstock_tt" WHERE "wed_2_june"='17'' 45.11 127.525mph';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "practice_times_leaderboard_superstock_tt" (
"rank" real,
"rider" text,
"sat_29_may" text,
"mon_31_may" text,
"tues_1_june" text,
"wed_2_june" text,
"thurs_3_june" text,
"fri_4_june" text
);
Question: Who is ranked 2?
<|assistant|>
SELECT "rider" FROM "practice_times_leaderboard_superstock_tt" WHERE "rank"=2;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25235489_2" (
"june_10_11" text,
"march_27_29" text,
"january_15_16" text,
"november_3" text,
"august_21_22" text
);
Question: How many times does November 3rd occur when January 15, 1991 does?
<|assistant|>
SELECT COUNT("november_3") FROM "table1_25235489_2" WHERE "january_15_16"='January 15, 1991';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25235489_2" (
"june_10_11" text,
"march_27_29" text,
"january_15_16" text,
"november_3" text,
"august_21_22" text
);
Question: When November is 153 what is the March number?
<|assistant|>
SELECT "march_27_29" FROM "table1_25235489_2" WHERE "november_3"='153';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25235489_2" (
"june_10_11" text,
"march_27_29" text,
"january_15_16" text,
"november_3" text,
"august_21_22" text
);
Question: How many times does an occurance happen in June when it happens on NOvember 3, 1975?
<|assistant|>
SELECT COUNT("june_10_11") FROM "table1_25235489_2" WHERE "november_3"='November 3, 1975';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25235489_2" (
"june_10_11" text,
"march_27_29" text,
"january_15_16" text,
"november_3" text,
"august_21_22" text
);
Question: When march is 129 what is the August number?
<|assistant|>
SELECT "august_21_22" FROM "table1_25235489_2" WHERE "march_27_29"='129';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25235489_2" (
"june_10_11" text,
"march_27_29" text,
"january_15_16" text,
"november_3" text,
"august_21_22" text
);
Question: How many numbers are there for August when March is 139?
<|assistant|>
SELECT COUNT("august_21_22") FROM "table1_25235489_2" WHERE "march_27_29"='139';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2013_teams" (
"team" text,
"home_city" text,
"home_ground" text,
"in_toppserien_since" real,
"first_appearance" real,
"seasons" real
);
Question: How many teams have been in Topperserien for 8 seasons?
<|assistant|>
SELECT COUNT("team") FROM "2013_teams" WHERE "seasons"=8;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2013_teams" (
"team" text,
"home_city" text,
"home_ground" text,
"in_toppserien_since" real,
"first_appearance" real,
"seasons" real
);
Question: What is the maximum number of seasons for any team?
<|assistant|>
SELECT MAX("seasons") FROM "2013_teams";<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2013_teams" (
"team" text,
"home_city" text,
"home_ground" text,
"in_toppserien_since" real,
"first_appearance" real,
"seasons" real
);
Question: Which teams homeeground is Stemmemyren?
<|assistant|>
SELECT "team" FROM "2013_teams" WHERE "home_ground"='Stemmemyren';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2013_teams" (
"team" text,
"home_city" text,
"home_ground" text,
"in_toppserien_since" real,
"first_appearance" real,
"seasons" real
);
Question: What is the home ground for the team whose home city is Trondheim with 27 seasons?
<|assistant|>
SELECT "home_ground" FROM "2013_teams" WHERE "seasons"=27 AND "home_city"='Trondheim';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2013_teams" (
"team" text,
"home_city" text,
"home_ground" text,
"in_toppserien_since" real,
"first_appearance" real,
"seasons" real
);
Question: What is the home city for the team whose home ground is dnb nor arena?
<|assistant|>
SELECT "home_city" FROM "2013_teams" WHERE "home_ground"='DnB Nor Arena';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2013_teams" (
"team" text,
"home_city" text,
"home_ground" text,
"in_toppserien_since" real,
"first_appearance" real,
"seasons" real
);
Question: What Home city has the home ground Klepp stadion?
<|assistant|>
SELECT "home_city" FROM "2013_teams" WHERE "home_ground"='Klepp Stadion';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25244412_2" (
"rank" real,
"rank_w_o_hydropower" real,
"state" text,
"pct_renewable" text,
"pct_renewable_w_o_hydro" text,
"renewable_electricity_gw_h" real,
"renewable_electricity_w_o_hydro_gw_h" real,
"total_electricity_gw_h" real
);
Question: How many data was given the total electricity in GW-h if the renewable electricity w/o hydro (GW-h) is 3601?
<|assistant|>
SELECT COUNT("total_electricity_gw_h") FROM "table1_25244412_2" WHERE "renewable_electricity_w_o_hydro_gw_h"=3601;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25244412_2" (
"rank" real,
"rank_w_o_hydropower" real,
"state" text,
"pct_renewable" text,
"pct_renewable_w_o_hydro" text,
"renewable_electricity_gw_h" real,
"renewable_electricity_w_o_hydro_gw_h" real,
"total_electricity_gw_h" real
);
Question: How many data was given the total electricity in GW-h if % renewable is 92.3%?
<|assistant|>
SELECT COUNT("total_electricity_gw_h") FROM "table1_25244412_2" WHERE "pct_renewable"='92.3%';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25244412_2" (
"rank" real,
"rank_w_o_hydropower" real,
"state" text,
"pct_renewable" text,
"pct_renewable_w_o_hydro" text,
"renewable_electricity_gw_h" real,
"renewable_electricity_w_o_hydro_gw_h" real,
"total_electricity_gw_h" real
);
Question: What was the maximum rank of the source with renewable percentage w/o hydro is 2.17%?
<|assistant|>
SELECT MAX("rank") FROM "table1_25244412_2" WHERE "pct_renewable_w_o_hydro"='2.17%';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25244412_2" (
"rank" real,
"rank_w_o_hydropower" real,
"state" text,
"pct_renewable" text,
"pct_renewable_w_o_hydro" text,
"renewable_electricity_gw_h" real,
"renewable_electricity_w_o_hydro_gw_h" real,
"total_electricity_gw_h" real
);
Question: How much was the minimum renewable electricity (GW-h) that is ranked 36?
<|assistant|>
SELECT MIN("renewable_electricity_gw_h") FROM "table1_25244412_2" WHERE "rank"=36;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25244412_2" (
"rank" real,
"rank_w_o_hydropower" real,
"state" text,
"pct_renewable" text,
"pct_renewable_w_o_hydro" text,
"renewable_electricity_gw_h" real,
"renewable_electricity_w_o_hydro_gw_h" real,
"total_electricity_gw_h" real
);
Question: What was the state with the total electricity generated is 38380 gw-h?
<|assistant|>
SELECT "state" FROM "table1_25244412_2" WHERE "total_electricity_gw_h"=38380;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25246990_2" (
"no_in_series" text,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_viewers_millions" text,
"original_u_s_air_date" text,
"prod_code" text
);
Question: Who directed the episode titled "Big Time Blogger"?
<|assistant|>
SELECT "directed_by" FROM "table1_25246990_2" WHERE "title"='\"Big Time Blogger\"';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25246990_2" (
"no_in_series" text,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_viewers_millions" text,
"original_u_s_air_date" text,
"prod_code" text
);
Question: What number episode in the series had a production code of 111?
<|assistant|>
SELECT "no_in_series" FROM "table1_25246990_2" WHERE "prod_code"='111';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25246990_2" (
"no_in_series" text,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_viewers_millions" text,
"original_u_s_air_date" text,
"prod_code" text
);
Question: What number episode in the series had a production code of 110?
<|assistant|>
SELECT "no_in_series" FROM "table1_25246990_2" WHERE "prod_code"='110';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25246990_2" (
"no_in_series" text,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_viewers_millions" text,
"original_u_s_air_date" text,
"prod_code" text
);
Question: How many U.S. viewers in millions watched the number 7 episode in the series that was written by Jed Spingarn?
<|assistant|>
SELECT "u_s_viewers_millions" FROM "table1_25246990_2" WHERE "written_by"='Jed Spingarn' AND "no_in_series"='7';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25246990_5" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_viewers_millions" text,
"original_u_s_air_date" text,
"prod_code" real
);
Question: What was the original U.S. air date of the episode directed by Julian Petrillo?
<|assistant|>
SELECT "original_u_s_air_date" FROM "table1_25246990_5" WHERE "directed_by"='Julian Petrillo';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25246990_5" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_viewers_millions" text,
"original_u_s_air_date" text,
"prod_code" real
);
Question: How many different original U.S. air dates appear where the U.S. viewers were 2.5 million?
<|assistant|>
SELECT COUNT("original_u_s_air_date") FROM "table1_25246990_5" WHERE "u_s_viewers_millions"='2.5';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25246990_5" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_viewers_millions" text,
"original_u_s_air_date" text,
"prod_code" real
);
Question: How many U.S. viewers were there for the episode written by Lazar Saric & Jed Spingarn?
<|assistant|>
SELECT "u_s_viewers_millions" FROM "table1_25246990_5" WHERE "written_by"='Lazar Saric & Jed Spingarn';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25246990_5" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_viewers_millions" text,
"original_u_s_air_date" text,
"prod_code" real
);
Question: How many U.S. viewers were there for the number 4 episode in season?
<|assistant|>
SELECT "u_s_viewers_millions" FROM "table1_25246990_5" WHERE "no_in_season"=4;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "demographics" (
"rank" real,
"district" text,
"population" real,
"growth_rate" text,
"sex_ratio" real,
"literacy" text,
"density_km" real
);
Question: Name the least rank
<|assistant|>
SELECT MIN("rank") FROM "demographics";<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "demographics" (
"rank" real,
"district" text,
"population" real,
"growth_rate" text,
"sex_ratio" real,
"literacy" text,
"density_km" real
);
Question: Name the growth rate for hooghly
<|assistant|>
SELECT "growth_rate" FROM "demographics" WHERE "district"='Hooghly';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "demographics" (
"rank" real,
"district" text,
"population" real,
"growth_rate" text,
"sex_ratio" real,
"literacy" text,
"density_km" real
);
Question: Name the total number of rank for east midnapore
<|assistant|>
SELECT COUNT("rank") FROM "demographics" WHERE "district"='East Midnapore';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "demographics" (
"rank" real,
"district" text,
"population" real,
"growth_rate" text,
"sex_ratio" real,
"literacy" text,
"density_km" real
);
Question: Name the total number of rank for growth raate for 14.47
<|assistant|>
SELECT COUNT("rank") FROM "demographics" WHERE "growth_rate"='14.47';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "seasons_summary" (
"season" real,
"champion" text,
"runner_up" text,
"third_place" text,
"top_scorer" text,
"best_player" text
);
Question: Who is the champion of the 1994 season?
<|assistant|>
SELECT "champion" FROM "seasons_summary" WHERE "season"=1994;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "seasons_summary" (
"season" real,
"champion" text,
"runner_up" text,
"third_place" text,
"top_scorer" text,
"best_player" text
);
Question: Who is the best player in the 1998 season?
<|assistant|>
SELECT "best_player" FROM "seasons_summary" WHERE "season"=1998;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "crime_statistics_1960_2009" (
"year" real,
"population" real,
"index" real,
"violent" real,
"property" real,
"murder" real,
"forcible_rape" real,
"robbery" real,
"aggravated_assault" real,
"burglary" real,
"larceny_theft" real,
"vehicle_theft" real
);
Question: What was the largest index the year/s forcible rapes numbered 1084?
<|assistant|>
SELECT MAX("index") FROM "crime_statistics_1960_2009" WHERE "forcible_rape"=1084;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "crime_statistics_1960_2009" (
"year" real,
"population" real,
"index" real,
"violent" real,
"property" real,
"murder" real,
"forcible_rape" real,
"robbery" real,
"aggravated_assault" real,
"burglary" real,
"larceny_theft" real,
"vehicle_theft" real
);
Question: How many violent catagories are listed for the year forcible rapes were 1156?
<|assistant|>
SELECT COUNT("violent") FROM "crime_statistics_1960_2009" WHERE "forcible_rape"=1156;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "crime_statistics_1960_2009" (
"year" real,
"population" real,
"index" real,
"violent" real,
"property" real,
"murder" real,
"forcible_rape" real,
"robbery" real,
"aggravated_assault" real,
"burglary" real,
"larceny_theft" real,
"vehicle_theft" real
);
Question: What was the largest number of aggravated assaults when there were 3811 robberies?
<|assistant|>
SELECT MAX("aggravated_assault") FROM "crime_statistics_1960_2009" WHERE "robbery"=3811;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "crime_statistics_1960_2009" (
"year" real,
"population" real,
"index" real,
"violent" real,
"property" real,
"murder" real,
"forcible_rape" real,
"robbery" real,
"aggravated_assault" real,
"burglary" real,
"larceny_theft" real,
"vehicle_theft" real
);
Question: What was the number of murders the year forcible rapes were at 166?
<|assistant|>
SELECT "murder" FROM "crime_statistics_1960_2009" WHERE "forcible_rape"=166;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "crime_statistics_1960_2009" (
"year" real,
"population" real,
"index" real,
"violent" real,
"property" real,
"murder" real,
"forcible_rape" real,
"robbery" real,
"aggravated_assault" real,
"burglary" real,
"larceny_theft" real,
"vehicle_theft" real
);
Question: How many violent crimes occurred the year that the index was 191037?
<|assistant|>
SELECT "violent" FROM "crime_statistics_1960_2009" WHERE "index"=191037;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25277363_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: What date did "fast friends" originally air?
<|assistant|>
SELECT "original_air_date" FROM "table1_25277363_2" WHERE "title"='\"Fast Friends\"';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25277363_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: Who wrote episode number 149 in the series?
<|assistant|>
SELECT "written_by" FROM "table1_25277363_2" WHERE "no_in_series"=149;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25277363_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: What episode number in the series is "tough love"?
<|assistant|>
SELECT MAX("no_in_series") FROM "table1_25277363_2" WHERE "title"='\"Tough Love\"';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25276528_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: "It's not my job" is the minimum title in no. in season.
<|assistant|>
SELECT MIN("no_in_season") FROM "table1_25276528_2" WHERE "title"='\"It''s Not My Job\"';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25276528_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: What title did Bill Foster direct ?
<|assistant|>
SELECT "title" FROM "table1_25276528_2" WHERE "directed_by"='Bill Foster';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25276528_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: Kim Weiskopf and Jeff Franklin wrote all the no. in series.
<|assistant|>
SELECT "no_in_series" FROM "table1_25276528_2" WHERE "written_by"='Kim Weiskopf and Jeff Franklin';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_songs" (
"song" text,
"singer" text,
"co_singers" text,
"music_director" text,
"lyricist" text,
"co_stars" text,
"movie_album" text,
"year" text,
"additional_info" text
);
Question: Which co-stars did Kalyanji-anandji direct in 1963?
<|assistant|>
SELECT "co_stars" FROM "list_of_songs" WHERE "music_director"='Kalyanji-Anandji' AND "year"='1963';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_songs" (
"song" text,
"singer" text,
"co_singers" text,
"music_director" text,
"lyricist" text,
"co_stars" text,
"movie_album" text,
"year" text,
"additional_info" text
);
Question: Which co-singers appear in the movie Pyaasa?
<|assistant|>
SELECT "co_singers" FROM "list_of_songs" WHERE "movie_album"='Pyaasa';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_songs" (
"song" text,
"singer" text,
"co_singers" text,
"music_director" text,
"lyricist" text,
"co_stars" text,
"movie_album" text,
"year" text,
"additional_info" text
);
Question: What is the additional information in the song mera yaar bana hai dulha
<|assistant|>
SELECT "additional_info" FROM "list_of_songs" WHERE "song"='Mera Yaar Bana Hai Dulha';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_songs" (
"song" text,
"singer" text,
"co_singers" text,
"music_director" text,
"lyricist" text,
"co_stars" text,
"movie_album" text,
"year" text,
"additional_info" text
);
Question: In which years are co-stars mala sinha and amitabh bachchan?
<|assistant|>
SELECT "year" FROM "list_of_songs" WHERE "co_stars"='Mala Sinha and Amitabh Bachchan';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_songs" (
"song" text,
"singer" text,
"co_singers" text,
"music_director" text,
"lyricist" text,
"co_stars" text,
"movie_album" text,
"year" real,
"additional_info" text
);
Question: Which song has Drunkard Groom listed as additional information?
<|assistant|>
SELECT "song" FROM "list_of_songs" WHERE "additional_info"='Drunkard Groom';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_songs" (
"song" text,
"singer" text,
"co_singers" text,
"music_director" text,
"lyricist" text,
"co_stars" text,
"movie_album" text,
"year" real,
"additional_info" text
);
Question: Who was the lyricist for the song with music directed by madan mohan kohli?
<|assistant|>
SELECT "lyricist" FROM "list_of_songs" WHERE "music_director"='Madan Mohan Kohli';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_songs" (
"song" text,
"singer" text,
"co_singers" text,
"music_director" text,
"lyricist" text,
"co_stars" text,
"movie_album" text,
"year" real,
"additional_info" text
);
Question: Which song directed by datta naik had the ending stranza written by Johnny Walker?
<|assistant|>
SELECT "additional_info" FROM "list_of_songs" WHERE "music_director"='Datta Naik';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_songs" (
"song" text,
"singer" text,
"co_singers" text,
"music_director" text,
"lyricist" text,
"co_stars" text,
"movie_album" text,
"year" real,
"additional_info" text
);
Question: In which album can Dil De De Nahin Nahin Dil Le Le be found?
<|assistant|>
SELECT "movie_album" FROM "list_of_songs" WHERE "song"='Dil De De Nahin Nahin Dil Le Le';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "gdp_by_value_added" (
"supply_sector_pct_of_gdp_in_current_prices" text,
"1993_2001" text,
"2002_2005" text,
"2006_2009" text,
"2010_2012" text
);
Question: What was the GDP for 2002-2005 for the construction center?
<|assistant|>
SELECT "2002_2005" FROM "gdp_by_value_added" WHERE "supply_sector_pct_of_gdp_in_current_prices"='Construction';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "gdp_by_value_added" (
"supply_sector_pct_of_gdp_in_current_prices" text,
"1993_2001" text,
"2002_2005" text,
"2006_2009" text,
"2010_2012" text
);
Question: What was GDP for 2006-2009 for the sector that had a 20.1 GDP for 2010-2012?
<|assistant|>
SELECT "2006_2009" FROM "gdp_by_value_added" WHERE "2010_2012"='20.1';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "gdp_by_value_added" (
"supply_sector_pct_of_gdp_in_current_prices" text,
"1993_2001" text,
"2002_2005" text,
"2006_2009" text,
"2010_2012" text
);
Question: What sector had a 1.4 GDP for 2006-2009?
<|assistant|>
SELECT "supply_sector_pct_of_gdp_in_current_prices" FROM "gdp_by_value_added" WHERE "2006_2009"='1.4';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "gdp_by_value_added" (
"supply_sector_pct_of_gdp_in_current_prices" text,
"1993_2001" text,
"2002_2005" text,
"2006_2009" text,
"2010_2012" text
);
Question: What sector had a 17.3 GDP for 1993-2001?
<|assistant|>
SELECT "supply_sector_pct_of_gdp_in_current_prices" FROM "gdp_by_value_added" WHERE "1993_2001"='17.3';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "gdp_by_value_added" (
"supply_sector_pct_of_gdp_in_current_prices" text,
"1993_2001" text,
"2002_2005" text,
"2006_2009" text,
"2010_2012" text
);
Question: The sector that had a 8.7 GDP for 2006-2009 had what GDP for 1993-2001?
<|assistant|>
SELECT "1993_2001" FROM "gdp_by_value_added" WHERE "2006_2009"='8.7';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25284864_3" (
"june_10_11" text,
"march_27_29" text,
"january_15_16" text,
"november_3" text,
"august_21_22" text
);
Question: What is the November 3 result when June 10-11 is 147?
<|assistant|>
SELECT "november_3" FROM "table1_25284864_3" WHERE "june_10_11"='147';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25284864_3" (
"june_10_11" text,
"march_27_29" text,
"january_15_16" text,
"november_3" text,
"august_21_22" text
);
Question: What is the November 3 result when the result for January 15-16 is 141?
<|assistant|>
SELECT "november_3" FROM "table1_25284864_3" WHERE "january_15_16"='141';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25284864_3" (
"june_10_11" text,
"march_27_29" text,
"january_15_16" text,
"november_3" text,
"august_21_22" text
);
Question: What is the November 3 result when the June 10-11 is 147?
<|assistant|>
SELECT "november_3" FROM "table1_25284864_3" WHERE "june_10_11"='147';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25284864_3" (
"june_10_11" text,
"march_27_29" text,
"january_15_16" text,
"november_3" text,
"august_21_22" text
);
Question: What June 10-11 is is that corresponds to March 28, 1968?
<|assistant|>
SELECT "june_10_11" FROM "table1_25284864_3" WHERE "march_27_29"='March 28, 1968';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25284864_3" (
"june_10_11" text,
"march_27_29" text,
"january_15_16" text,
"november_3" text,
"august_21_22" text
);
Question: What January 15-16 is is that corresponds to November 3, 2013?
<|assistant|>
SELECT "january_15_16" FROM "table1_25284864_3" WHERE "november_3"='November 3, 2013';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25286976_2" (
"june_10_11" text,
"march_27_29" text,
"january_15_16" text,
"november_3" text,
"august_21_22" text
);
Question: When 127 is on June 10th to 11th what is November 3rd?
<|assistant|>
SELECT "november_3" FROM "table1_25286976_2" WHERE "june_10_11"='127';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25286976_2" (
"june_10_11" text,
"march_27_29" text,
"january_15_16" text,
"november_3" text,
"august_21_22" text
);
Question: When 129 is on March 27th to 29th what is June 10th to 11th?
<|assistant|>
SELECT "june_10_11" FROM "table1_25286976_2" WHERE "march_27_29"='129';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25286976_2" (
"june_10_11" text,
"march_27_29" text,
"january_15_16" text,
"november_3" text,
"august_21_22" text
);
Question: When 139 is on March 27th to 29th what is August 21st to 22nd?
<|assistant|>
SELECT "august_21_22" FROM "table1_25286976_2" WHERE "march_27_29"='139';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25287007_2" (
"june_10_11" text,
"march_27_29" text,
"january_15_16" text,
"november_3" text,
"august_21_22" text
);
Question: During November 3 where august 21-22 is august 21, 2017?
<|assistant|>
SELECT "november_3" FROM "table1_25287007_2" WHERE "august_21_22"='August 21, 2017';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25287007_2" (
"june_10_11" text,
"march_27_29" text,
"january_15_16" text,
"november_3" text,
"august_21_22" text
);
Question: How many solar eclipse on June 10-11, while November 3 is 153?
<|assistant|>
SELECT "june_10_11" FROM "table1_25287007_2" WHERE "november_3"='153';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25287007_2" (
"june_10_11" text,
"march_27_29" text,
"january_15_16" text,
"november_3" text,
"august_21_22" text
);
Question: How many solar eclipse during August 21-22 where June 10-11 on June 11, 1983?
<|assistant|>
SELECT COUNT("august_21_22") FROM "table1_25287007_2" WHERE "june_10_11"='June 11, 1983';<|endoftext|> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.