text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "lpga_tour_wins_7" (
"no" real,
"date" text,
"tournament" text,
"winning_score" text,
"to_par" text,
"margin_of_victory" text,
"runner_s_up" text
);
Question: How many tournaments were at si... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "lpga_tour_wins_7" (
"no" real,
"date" text,
"tournament" text,
"winning_score" text,
"to_par" text,
"margin_of_victory" text,
"runner_s_up" text
);
Question: Margin of victory on no. 4 was?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "lpga_tour_wins_7" (
"no" real,
"date" text,
"tournament" text,
"winning_score" text,
"to_par" text,
"margin_of_victory" text,
"runner_s_up" text
);
Question: Who was the runner up when the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21655290_1" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"director" text,
"result" text
);
Question: Which film title used in nomination has the y... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21655290_1" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"director" text,
"result" text
);
Question: Who is the director of kon-tiki original titl... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21655290_1" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"director" text,
"result" text
);
Question: Which film title used in nomination has vinte... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ladies_european_tour_wins_6" (
"no" real,
"date" text,
"tournament" text,
"winning_score" text,
"to_par" text,
"margin_of_victory" text,
"runner_s_up" text,
"winners_share" real
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ladies_european_tour_wins_6" (
"no" real,
"date" text,
"tournament" text,
"winning_score" text,
"to_par" text,
"margin_of_victory" text,
"runner_s_up" text,
"winners_share" real
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ladies_european_tour_wins_6" (
"no" real,
"date" text,
"tournament" text,
"winning_score" text,
"to_par" text,
"margin_of_victory" text,
"runner_s_up" text,
"winners_share" real
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ladies_european_tour_wins_6" (
"no" real,
"date" text,
"tournament" text,
"winning_score" text,
"to_par" text,
"margin_of_victory" text,
"runner_s_up" text,
"winners_share" real
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21666472_1" (
"no_in_total" text,
"no_in_series" text,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: What number in series is "Diamonds"?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21666472_1" (
"no_in_total" text,
"no_in_series" text,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: Who directed "A Tale of Two Hitmen"?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21666472_1" (
"no_in_total" text,
"no_in_series" text,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: How many number in series's are writte... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21666472_1" (
"no_in_total" text,
"no_in_series" text,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: What number in series is "Judas Kiss"?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21666472_1" (
"no_in_total" text,
"no_in_series" text,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: What was the original airdate of "A Ni... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_216655_1" (
"university" text,
"established_as_a_university" real,
"first_establishment" real,
"student_population_fte_2009" real,
"research_grants_2009_in_billion_sek" text
);
Question:... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_216655_1" (
"university" text,
"established_as_a_university" real,
"first_establishment" real,
"student_population_fte_2009" real,
"research_grants_2009_in_billion_sek" text
);
Question:... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_216655_1" (
"university" text,
"established_as_a_university" real,
"first_establishment" real,
"student_population_fte_2009" real,
"research_grants_2009_in_billion_sek" text
);
Question:... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_216655_1" (
"university" text,
"established_as_a_university" real,
"first_establishment" real,
"student_population_fte_2009" real,
"research_grants_2009_in_billion_sek" text
);
Question:... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_216655_1" (
"university" text,
"established_as_a_university" real,
"first_establishment" real,
"student_population_fte_2009" real,
"research_grants_2009_in_billion_sek" text
);
Question:... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "all_winners_of_olympiatravet" (
"year" real,
"horse" text,
"driver" text,
"trainer" text,
"country_of_owner" text,
"odds_of_winner" text,
"winning_time_km_rate" text
);
Question: When were ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "all_winners_of_olympiatravet" (
"year" real,
"horse" text,
"driver" text,
"trainer" text,
"country_of_owner" text,
"odds_of_winner" text,
"winning_time_km_rate" text
);
Question: What was t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "all_winners_of_olympiatravet" (
"year" real,
"horse" text,
"driver" text,
"trainer" text,
"country_of_owner" text,
"odds_of_winner" text,
"winning_time_km_rate" text
);
Question: What were ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "all_winners_of_olympiatravet" (
"year" real,
"horse" text,
"driver" text,
"trainer" text,
"country_of_owner" text,
"odds_of_winner" text,
"winning_time_km_rate" text
);
Question: How many c... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "all_winners_of_olympiatravet" (
"year" real,
"horse" text,
"driver" text,
"trainer" text,
"country_of_owner" text,
"odds_of_winner" text,
"winning_time_km_rate" text
);
Question: How many h... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2168295_1" (
"district" text,
"headquarters" text,
"area_km" real,
"population_2011" real,
"division" text
);
Question: If the headquarters is Bharatpur, what is the maximum area?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2168295_1" (
"district" text,
"headquarters" text,
"area_km" real,
"population_2011" real,
"division" text
);
Question: If the district is Chittorgarh, what is the area?
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2168295_1" (
"district" text,
"headquarters" text,
"area_km" real,
"population_2011" real,
"division" text
);
Question: If the 2011 population is 3685681, what is the name of the headqua... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2168295_1" (
"district" text,
"headquarters" text,
"area_km" real,
"population_2011" real,
"division" text
);
Question: What is the minimum area id the 2011 population is 3067549?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2168295_1" (
"district" text,
"headquarters" text,
"area_km" real,
"population_2011" real,
"division" text
);
Question: What is the 2011 population if the headquarters is Chittorgarh?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "municipalities" (
"municipality" text,
"type" text,
"district" text,
"area_km" text,
"population_2010" real,
"pop_density_per_km" text,
"no_of_barangays" real,
"municipal_mayor" text
);
Q... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "municipalities" (
"municipality" text,
"type" text,
"district" text,
"area_km" text,
"population_2010" real,
"pop_density_per_km" text,
"no_of_barangays" real,
"municipal_mayor" text
);
Q... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "municipalities" (
"municipality" text,
"type" text,
"district" text,
"area_km" text,
"population_2010" real,
"pop_density_per_km" text,
"no_of_barangays" real,
"municipal_mayor" text
);
Q... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "municipalities" (
"municipality" text,
"type" text,
"district" text,
"area_km" text,
"population_2010" real,
"pop_density_per_km" text,
"no_of_barangays" real,
"municipal_mayor" text
);
Q... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "municipalities" (
"municipality" text,
"type" text,
"district" text,
"area_km" text,
"population_2010" real,
"pop_density_per_km" text,
"no_of_barangays" real,
"municipal_mayor" text
);
Q... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21696800_1" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: What'... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21696800_1" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: How m... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21696800_1" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: How m... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21696800_1" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: How m... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
"wins" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
"team_s" text
)... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
"wins" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
"team_s" text
)... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21690339_1" (
"country" text,
"pct_of_imports_from_russia" text,
"pct_cut" text,
"diversification" text,
"gas_storage" text,
"alternative_fuel" text
);
Question: What wast the percent ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21690339_1" (
"country" text,
"pct_of_imports_from_russia" text,
"pct_cut" text,
"diversification" text,
"gas_storage" text,
"alternative_fuel" text
);
Question: What was the gas stora... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21690339_1" (
"country" text,
"pct_of_imports_from_russia" text,
"pct_cut" text,
"diversification" text,
"gas_storage" text,
"alternative_fuel" text
);
Question: What was the percent c... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21690339_1" (
"country" text,
"pct_of_imports_from_russia" text,
"pct_cut" text,
"diversification" text,
"gas_storage" text,
"alternative_fuel" text
);
Question: What country had 20% i... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21690339_1" (
"country" text,
"pct_of_imports_from_russia" text,
"pct_cut" text,
"diversification" text,
"gas_storage" text,
"alternative_fuel" text
);
Question: What country had a 100... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ratings" (
"season" real,
"network" text,
"timeslot" text,
"season_premiere" text,
"season_finale" text,
"tv_season" text,
"rank_rank_denotes_the_relative_position_of_the_television_series_w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ratings" (
"season" real,
"network" text,
"timeslot" text,
"season_premiere" text,
"season_finale" text,
"tv_season" text,
"rank_rank_denotes_the_relative_position_of_the_television_series_w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "important_originating_express_trains" (
"train_no" text,
"train_name" text,
"destination" text,
"category" text,
"frequency" text
);
Question: What is the category for trains numbered 16609/166... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "important_originating_express_trains" (
"train_no" text,
"train_name" text,
"destination" text,
"category" text,
"frequency" text
);
Question: What trains have a category of express and a weekl... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "important_originating_express_trains" (
"train_no" text,
"train_name" text,
"destination" text,
"category" text,
"frequency" text
);
Question: What is the train name that has a destination of T... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "important_originating_express_trains" (
"train_no" text,
"train_name" text,
"destination" text,
"category" text,
"frequency" text
);
Question: What is the frequency of trains numbered 12671/126... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "important_originating_express_trains" (
"train_no" text,
"train_name" text,
"destination" text,
"category" text,
"frequency" text
);
Question: How many destinations have a weekly frequency and ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "important_originating_express_trains" (
"train_no" text,
"train_name" text,
"destination" text,
"category" text,
"frequency" text
);
Question: What is the number of frequencies that have a dest... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "draft_picks" (
"round_num" real,
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team" text
);
Question: What is the pick # for player david grannis?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "draft_picks" (
"round_num" real,
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team" text
);
Question: Which player belongs to deerfield academy (M... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "draft_picks" (
"round_num" real,
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team" text
);
Question: Which nationality is kitchener rangers (ohl)... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "draft_picks" (
"round_num" real,
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team" text
);
Question: Which nationality is player Brian Wilks?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "draft_picks" (
"round_num" real,
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team" text
);
Question: How many positions is player Tom Glavine?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21726793_1" (
"no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: who directed t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21726793_1" (
"no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: what is the to... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21726793_1" (
"no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: who wrote the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "year_by_year_statistics" (
"year" text,
"maac" text,
"overall" text,
"regular_season_results" text,
"maac_tournament_result" text,
"ncaa_seed" text,
"ncaa_round" text
);
Question: What is t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "year_by_year_statistics" (
"year" text,
"maac" text,
"overall" text,
"regular_season_results" text,
"maac_tournament_result" text,
"ncaa_seed" text,
"ncaa_round" text
);
Question: What is t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "year_by_year_statistics" (
"year" text,
"maac" text,
"overall" text,
"regular_season_results" text,
"maac_tournament_result" text,
"ncaa_seed" text,
"ncaa_round" text
);
Question: How many ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "year_by_year_statistics" (
"year" text,
"maac" text,
"overall" text,
"regular_season_results" text,
"maac_tournament_result" text,
"ncaa_seed" text,
"ncaa_round" text
);
Question: How many ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "year_by_year_statistics" (
"year" text,
"maac" text,
"overall" text,
"regular_season_results" text,
"maac_tournament_result" text,
"ncaa_seed" text,
"ncaa_round" text
);
Question: In which ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "year_by_year_statistics" (
"year" text,
"maac" text,
"overall" text,
"regular_season_results" text,
"maac_tournament_result" text,
"ncaa_seed" text,
"ncaa_round" text
);
Question: What is t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2175858_1" (
"year" real,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
)... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2175858_1" (
"year" real,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
)... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2175858_1" (
"year" real,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
)... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2175858_1" (
"year" real,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
)... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2175858_1" (
"year" real,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
)... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2175858_1" (
"year" real,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
)... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21781578_2" (
"season_no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
);
Question: What w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21781578_2" (
"season_no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
);
Question: What w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21781578_2" (
"season_no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
);
Question: What w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21781578_2" (
"season_no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
);
Question: What w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21781578_2" (
"season_no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
);
Question: What w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
);
Question: What was the date of the game in week 3?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
);
Question: What was the final score when the game was @ ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
);
Question: What was the total number of weeks where the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
);
Question: What was the location for when the opponent w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
);
Question: What was the final score when the attendance ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
);
Question: What location was the game on October 6?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nielsen_ratings" (
"season" text,
"timeslot_times_listed_are_eastern_time" text,
"season_premiere" text,
"season_finale" text,
"tv_season" text,
"ranking" real,
"viewers_in_millions_of_house... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nielsen_ratings" (
"season" text,
"timeslot_times_listed_are_eastern_time" text,
"season_premiere" text,
"season_finale" text,
"tv_season" text,
"ranking" real,
"viewers_in_millions_of_house... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nielsen_ratings" (
"season" text,
"timeslot_times_listed_are_eastern_time" text,
"season_premiere" text,
"season_finale" text,
"tv_season" text,
"ranking" real,
"viewers_in_millions_of_house... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nielsen_ratings" (
"season" text,
"timeslot_times_listed_are_eastern_time" text,
"season_premiere" text,
"season_finale" text,
"tv_season" text,
"ranking" real,
"viewers_in_millions_of_house... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "names_and_fleet_details" (
"original_number" text,
"uic_number" text,
"name" text,
"constructer" text,
"constructor_number" real,
"year" real,
"withdrawn" text,
"kilometers_worked" real
);... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "names_and_fleet_details" (
"original_number" text,
"uic_number" text,
"name" text,
"constructer" text,
"constructor_number" real,
"year" real,
"withdrawn" text,
"kilometers_worked" real
);... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "names_and_fleet_details" (
"original_number" text,
"uic_number" text,
"name" text,
"constructer" text,
"constructor_number" real,
"year" real,
"withdrawn" text,
"kilometers_worked" real
);... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "names_and_fleet_details" (
"original_number" text,
"uic_number" text,
"name" text,
"constructer" text,
"constructor_number" real,
"year" real,
"withdrawn" text,
"kilometers_worked" real
);... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "names_and_fleet_details" (
"original_number" text,
"uic_number" text,
"name" text,
"constructer" text,
"constructor_number" real,
"year" real,
"withdrawn" text,
"kilometers_worked" real
);... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "jersey_progress" (
"stage_winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"metas_volantes_classification" text,
"team_classification... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "jersey_progress" (
"stage_winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"metas_volantes_classification" text,
"team_classification... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
);
Question: How many people were present at the July 10 g... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
);
Question: What was the final score of the game played o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
);
Question: What's the record achieved in the gamed playe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
);
Question: During what week was the July 10 game played?... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.