text
stringlengths 310
1.28k
|
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "lifetime_grosses" (
"year" real,
"film" text,
"budget" text,
"domestic_box_office" text,
"foreign_box_office" text,
"total" text,
"us_dvd_sales" text,
"total_with_dvd_sales" text
);
Question: What was the domestic box office for the film that had a foreign box office of $26,600,000?
<|assistant|>
SELECT "domestic_box_office" FROM "lifetime_grosses" WHERE "foreign_box_office"='$26,600,000';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "lifetime_grosses" (
"year" real,
"film" text,
"budget" text,
"domestic_box_office" text,
"foreign_box_office" text,
"total" text,
"us_dvd_sales" text,
"total_with_dvd_sales" text
);
Question: What was the domestic box office for "House on Haunted Hill"?
<|assistant|>
SELECT "domestic_box_office" FROM "lifetime_grosses" WHERE "film"='House on Haunted Hill';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "lifetime_grosses" (
"year" real,
"film" text,
"budget" text,
"domestic_box_office" text,
"foreign_box_office" text,
"total" text,
"us_dvd_sales" text,
"total_with_dvd_sales" text
);
Question: What was the budget for "Thirteen Ghosts"?
<|assistant|>
SELECT "budget" FROM "lifetime_grosses" WHERE "film"='Thirteen Ghosts';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_member_schools" (
"school" text,
"location" text,
"enrolment" real,
"founded" real,
"denomination" text,
"boys_girls" text,
"day_boarding" text,
"school_colors" text
);
Question: What is every school for the Adelaide location?
<|assistant|>
SELECT "school" FROM "current_member_schools" WHERE "location"='Adelaide';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_member_schools" (
"school" text,
"location" text,
"enrolment" real,
"founded" real,
"denomination" text,
"boys_girls" text,
"day_boarding" text,
"school_colors" text
);
Question: How many values for founded when enrollment is 850?
<|assistant|>
SELECT COUNT("founded") FROM "current_member_schools" WHERE "enrolment"=850;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_member_schools" (
"school" text,
"location" text,
"enrolment" real,
"founded" real,
"denomination" text,
"boys_girls" text,
"day_boarding" text,
"school_colors" text
);
Question: What is every denomination for the school Seymour college?
<|assistant|>
SELECT "denomination" FROM "current_member_schools" WHERE "school"='Seymour College';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2011_events" (
"date" text,
"event_num" text,
"event" text,
"winner" text,
"prize" text,
"entries" text,
"prize_pool" text,
"elapsed_time" text
);
Question: Event number 38m was held on which date?
<|assistant|>
SELECT "date" FROM "2011_events" WHERE "event_num"='38M';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2011_events" (
"date" text,
"event_num" text,
"event" text,
"winner" text,
"prize" text,
"entries" text,
"prize_pool" text,
"elapsed_time" text
);
Question: Who won the $109 no limit hold'em w/rebuys [turbo]?
<|assistant|>
SELECT "winner" FROM "2011_events" WHERE "event"='$109 No Limit Hold''em w/rebuys [Turbo]';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2011_events" (
"date" text,
"event_num" text,
"event" text,
"winner" text,
"prize" text,
"entries" text,
"prize_pool" text,
"elapsed_time" text
);
Question: Which event had 25,883 entries?
<|assistant|>
SELECT "event" FROM "2011_events" WHERE "entries"='25,883';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2011_events" (
"date" text,
"event_num" text,
"event" text,
"winner" text,
"prize" text,
"entries" text,
"prize_pool" text,
"elapsed_time" text
);
Question: How many categories for elapsed time exist for the $16.50 fixed-limit badugi game?
<|assistant|>
SELECT COUNT("elapsed_time") FROM "2011_events" WHERE "event"='$16.50 Fixed-Limit Badugi';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2011_events" (
"date" text,
"event_num" text,
"event" text,
"winner" text,
"prize" text,
"entries" text,
"prize_pool" text,
"elapsed_time" text
);
Question: How many elapsed times were recorded for the game that had a prize pool of $1,678,200?
<|assistant|>
SELECT COUNT("elapsed_time") FROM "2011_events" WHERE "prize_pool"='$1,678,200';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "submissions" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"slovak_title" text,
"director" text,
"result" text
);
Question: What year did jaroslav vojtek category:articles with hcards Direct?
<|assistant|>
SELECT "year_ceremony" FROM "submissions" WHERE "director"='Jaroslav Vojtek Category:Articles with hCards';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "submissions" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"slovak_title" text,
"director" text,
"result" text
);
Question: What was the result for Gypsy?
<|assistant|>
SELECT "result" FROM "submissions" WHERE "film_title_used_in_nomination"='Gypsy';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "submissions" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"slovak_title" text,
"director" text,
"result" text
);
Question: HOw many films did martin repka category:articles with hcards direct?
<|assistant|>
SELECT COUNT("film_title_used_in_nomination") FROM "submissions" WHERE "director"='Martin Repka Category:Articles with hCards';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "submissions" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"slovak_title" text,
"director" text,
"result" text
);
Question: What was the result for City of the Sun?
<|assistant|>
SELECT "result" FROM "submissions" WHERE "film_title_used_in_nomination"='City of the Sun';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "submissions" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"language_s" text,
"director" text,
"result" text
);
Question: What was the language for the movie "Late Bloomers"?
<|assistant|>
SELECT "language_s" FROM "submissions" WHERE "film_title_used_in_nomination"='Late Bloomers';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "submissions" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"language_s" text,
"director" text,
"result" text
);
Question: How many original titles were listed as "If the Sun Never Returns"?
<|assistant|>
SELECT COUNT("original_title") FROM "submissions" WHERE "film_title_used_in_nomination"='If the Sun Never Returns';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "submissions" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"language_s" text,
"director" text,
"result" text
);
Question: What was the language of "Mein Name Ist Bach"?
<|assistant|>
SELECT "language_s" FROM "submissions" WHERE "film_title_used_in_nomination"='Mein Name Ist Bach';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "submissions" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"language_s" text,
"director" text,
"result" text
);
Question: What was the year for the film "Vitus"?
<|assistant|>
SELECT "year_ceremony" FROM "submissions" WHERE "original_title"='Vitus';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "submissions" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"language_s" text,
"director" text,
"result" text
);
Question: How many films are titled "Dans la Ville Blanche"?
<|assistant|>
SELECT COUNT("film_title_used_in_nomination") FROM "submissions" WHERE "original_title"='Dans la ville blanche';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22053239_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
);
Question: How many of the writers had 5.35 viewers?
<|assistant|>
SELECT COUNT("written_by") FROM "table1_22053239_1" WHERE "u_s_viewers_millions"='5.35';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2012_events" (
"date" text,
"event_num" text,
"event" text,
"winner" text,
"prize" text,
"entries" text,
"prize_pool" text,
"elapsed_time" text
);
Question: What was the elapsed time for the championship that had $9,377.42 in prize money?
<|assistant|>
SELECT "elapsed_time" FROM "2012_events" WHERE "prize"='$9,377.42';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2012_events" (
"date" text,
"event_num" text,
"event" text,
"winner" text,
"prize" text,
"entries" text,
"prize_pool" text,
"elapsed_time" text
);
Question: Who won a prize pool of $61,100?
<|assistant|>
SELECT "winner" FROM "2012_events" WHERE "prize_pool"='$61,100';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2012_events" (
"date" text,
"event_num" text,
"event" text,
"winner" text,
"prize" text,
"entries" text,
"prize_pool" text,
"elapsed_time" text
);
Question: What was the prize pool for the event number 27H?
<|assistant|>
SELECT "prize_pool" FROM "2012_events" WHERE "event_num"='27H';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2012_events" (
"date" text,
"event_num" text,
"event" text,
"winner" text,
"prize" text,
"entries" text,
"prize_pool" text,
"elapsed_time" text
);
Question: What is the event name with the number 8M?
<|assistant|>
SELECT "event" FROM "2012_events" WHERE "event_num"='8M';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "population" (
"country" text,
"area_000s" text,
"1950_mil" text,
"1970_mil" text,
"1980_mil" text,
"1985_mil" text,
"annual_growth_1950_1985" text,
"density_1980" text
);
Question: Name the total number 1980 mil for soviet union
<|assistant|>
SELECT COUNT("1980_mil") FROM "population" WHERE "country"='Soviet Union';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "population" (
"country" text,
"area_000s" text,
"1950_mil" text,
"1970_mil" text,
"1980_mil" text,
"1985_mil" text,
"annual_growth_1950_1985" text,
"density_1980" text
);
Question: Name the country for 37.23 1985
<|assistant|>
SELECT "country" FROM "population" WHERE "1985_mil"='37.23';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "population" (
"country" text,
"area_000s" text,
"1950_mil" text,
"1970_mil" text,
"1980_mil" text,
"1985_mil" text,
"annual_growth_1950_1985" text,
"density_1980" text
);
Question: Name the country for 2.16
<|assistant|>
SELECT "country" FROM "population" WHERE "1970_mil"='2.16';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "submissions" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"languages" text,
"director" text,
"result" text
);
Question: How many languages have elles as the film title used in nomination?
<|assistant|>
SELECT COUNT("languages") FROM "submissions" WHERE "film_title_used_in_nomination"='Elles';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "submissions" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"languages" text,
"director" text,
"result" text
);
Question: How many languages is refractaire as the film title used in nomination?
<|assistant|>
SELECT COUNT("languages") FROM "submissions" WHERE "film_title_used_in_nomination"='Refractaire';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "submissions" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"languages" text,
"director" text,
"result" text
);
Question: How many languages have le roman de renart as the original title?
<|assistant|>
SELECT COUNT("languages") FROM "submissions" WHERE "original_title"='Le Roman de Renart';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "submissions" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"languages" text,
"director" text,
"result" text
);
Question: Who is the director of the original title perl oder pica?
<|assistant|>
SELECT "director" FROM "submissions" WHERE "original_title"='Perl oder Pica';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "submissions" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"languages" text,
"director" text,
"result" text
);
Question: What is the result of the 2005 (78th) year ceremony?
<|assistant|>
SELECT "result" FROM "submissions" WHERE "year_ceremony"='2005 (78th)';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22078691_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
Question: What is the title that has 14.59 u.s. viewers (millions)?
<|assistant|>
SELECT "title" FROM "table1_22078691_2" WHERE "u_s_viewers_millions"='14.59';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22078691_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
Question: How many number of series have the title "call of silence"?
<|assistant|>
SELECT "no_in_series" FROM "table1_22078691_2" WHERE "title"='\"Call of Silence\"';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22078691_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
Question: What is the title that had 13.59 u.s. viewers (millions)?
<|assistant|>
SELECT "title" FROM "table1_22078691_2" WHERE "u_s_viewers_millions"='13.59';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "lpga_tour_career_summary" (
"year" real,
"tournaments_played" real,
"cuts_made" real,
"wins" real,
"3rds" real,
"top_10s" real,
"best_finish" text,
"earnings" text,
"money_list_rank" real,
"scoring_average" text
);
Question: If the earning amount is $309,886, what is the money list ranking?
<|assistant|>
SELECT "money_list_rank" FROM "lpga_tour_career_summary" WHERE "earnings"='309,886';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "lpga_tour_career_summary" (
"year" real,
"tournaments_played" real,
"cuts_made" real,
"wins" real,
"3rds" real,
"top_10s" real,
"best_finish" text,
"earnings" text,
"money_list_rank" real,
"scoring_average" text
);
Question: What was the maximum number of wins?
<|assistant|>
SELECT MAX("wins") FROM "lpga_tour_career_summary";<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "lpga_tour_career_summary" (
"year" real,
"tournaments_played" real,
"cuts_made" real,
"wins" real,
"3rds" real,
"top_10s" real,
"best_finish" text,
"earnings" text,
"money_list_rank" real,
"scoring_average" text
);
Question: If the year is 2010, what was the average score?
<|assistant|>
SELECT "scoring_average" FROM "lpga_tour_career_summary" WHERE "year"=2010;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar" (
"event" real,
"round" real,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
);
Question: How many times did Tim Macrow and Joey Foster both got the fastest lap and pole position respectively?
<|assistant|>
SELECT COUNT("event") FROM "race_calendar" WHERE "fastest_lap"='Tim Macrow' AND "pole_position"='Joey Foster';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar" (
"event" real,
"round" real,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
);
Question: What was the winning team where Tim Macrow won the fastest lap on Queensland Raceway circuit?
<|assistant|>
SELECT "winning_team" FROM "race_calendar" WHERE "circuit"='Queensland Raceway' AND "fastest_lap"='Tim Macrow';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22078972_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
Question: What's the series number of the episode whose writer is David North?
<|assistant|>
SELECT MAX("no_in_series") FROM "table1_22078972_2" WHERE "written_by"='David North';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22078972_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
Question: What's the series number of the episode seen by 17.04 million people in the US?
<|assistant|>
SELECT MAX("no_in_series") FROM "table1_22078972_2" WHERE "u_s_viewers_millions"='17.04';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22078972_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
Question: What's the title of the episode first seen by 18.15 million people in the US?
<|assistant|>
SELECT "title" FROM "table1_22078972_2" WHERE "u_s_viewers_millions"='18.15';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22078972_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
Question: How many millions of people in the US saw the episode with series number 103?
<|assistant|>
SELECT "u_s_viewers_millions" FROM "table1_22078972_2" WHERE "no_in_series"=103;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22078906_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"u_s_viewers_millions" text
);
Question: What number episode in the series was watched by 15.89 million U.S. viewers?
<|assistant|>
SELECT "no_in_series" FROM "table1_22078906_2" WHERE "u_s_viewers_millions"='15.89';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22078906_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"u_s_viewers_millions" text
);
Question: What is the title of the episode directed by William Webb?
<|assistant|>
SELECT "title" FROM "table1_22078906_2" WHERE "directed_by"='William Webb';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22078906_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"u_s_viewers_millions" text
);
Question: How many millions of U.S. viewers watched the episode titled "Once a Hero"?
<|assistant|>
SELECT "u_s_viewers_millions" FROM "table1_22078906_2" WHERE "title"='\"Once a Hero\"';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22078906_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"u_s_viewers_millions" text
);
Question: Who wrote the episode titled "In the Dark"?
<|assistant|>
SELECT "written_by" FROM "table1_22078906_2" WHERE "title"='\"In the Dark\"';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "finals" (
"season" text,
"champion" text,
"runner_up" text,
"result" text,
"league_mvp" text,
"finals_mvp" text,
"winning_coach" text
);
Question: What was the final score when River Plate was the runner-up?
<|assistant|>
SELECT "result" FROM "finals" WHERE "runner_up"='River Plate';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "campaign_expenses" (
"candidate_party" text,
"amount_raised_php" text,
"amount_spent_php" text,
"votes" real,
"spent_per_vote_php" text,
"spent_per_voter_php" text
);
Question: What was spent per voter when total amount spent was 210,280,000?
<|assistant|>
SELECT "spent_per_voter_php" FROM "campaign_expenses" WHERE "amount_spent_php"='210,280,000';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "campaign_expenses" (
"candidate_party" text,
"amount_raised_php" text,
"amount_spent_php" text,
"votes" real,
"spent_per_vote_php" text,
"spent_per_voter_php" text
);
Question: What was spent per voter when the spent per vote was 20.07?
<|assistant|>
SELECT "spent_per_voter_php" FROM "campaign_expenses" WHERE "spent_per_vote_php"='20.07';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22123920_4" (
"dates_mdy" text,
"gross_sales" text,
"tickets_sold_available" text,
"shows_sellout" text,
"sellout_pct" text
);
Question: Between November 25–30, 2008 the sellout rate was at 75%, indicating that the ration between shows to sellout was what?
<|assistant|>
SELECT "shows_sellout" FROM "table1_22123920_4" WHERE "sellout_pct"='75%';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22123920_4" (
"dates_mdy" text,
"gross_sales" text,
"tickets_sold_available" text,
"shows_sellout" text,
"sellout_pct" text
);
Question: During the period in which gross sales totals for "The Show Girl Must Go On" reached $2,628,457, what did the numbers show for tickets sold/ available at the box office?
<|assistant|>
SELECT "tickets_sold_available" FROM "table1_22123920_4" WHERE "gross_sales"='$2,628,457';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22123920_4" (
"dates_mdy" text,
"gross_sales" text,
"tickets_sold_available" text,
"shows_sellout" text,
"sellout_pct" text
);
Question: Which specific dates encompass the time period when "The Show Girl Must Go On" showed a gross sales figure total of $2,877,906?
<|assistant|>
SELECT "dates_mdy" FROM "table1_22123920_4" WHERE "gross_sales"='$2,877,906';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22102732_1" (
"year_ceremony" text,
"english_title" text,
"spanish_title" text,
"director" text,
"result" text
);
Question: What year and the corresponding ceremony was the english titled movie "time out" submitted?
<|assistant|>
SELECT "year_ceremony" FROM "table1_22102732_1" WHERE "english_title"='Time Out';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22102732_1" (
"year_ceremony" text,
"english_title" text,
"spanish_title" text,
"director" text,
"result" text
);
Question: How many english titles were directed by carlos moreno?
<|assistant|>
SELECT COUNT("english_title") FROM "table1_22102732_1" WHERE "director"='Carlos Moreno';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "honour_roll" (
"year" real,
"w_l_d" text,
"position" text,
"chairman" text,
"ceo" text,
"coach" text,
"captain" text,
"vice_captain" text,
"best_and_fairest" text,
"leading_goalkicker" text
);
Question: How many years was their W/L/D record 13:10:0?
<|assistant|>
SELECT COUNT("chairman") FROM "honour_roll" WHERE "w_l_d"='13:10:0';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22098274_1" (
"date" text,
"time" text,
"opponent" text,
"ranknum" text,
"site" text,
"result" text,
"attendance" text,
"winning_pitcher" text,
"losing_pitcher" text
);
Question: What is the rank # of kelli miller the winning pitcher?
<|assistant|>
SELECT "ranknum" FROM "table1_22098274_1" WHERE "winning_pitcher"='Kelli Miller';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22098274_1" (
"date" text,
"time" text,
"opponent" text,
"ranknum" text,
"site" text,
"result" text,
"attendance" text,
"winning_pitcher" text,
"losing_pitcher" text
);
Question: How many number of site have May 1, 2004 as the date?
<|assistant|>
SELECT COUNT("site") FROM "table1_22098274_1" WHERE "date"='May 1, 2004';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22098274_1" (
"date" text,
"time" text,
"opponent" text,
"ranknum" text,
"site" text,
"result" text,
"attendance" text,
"winning_pitcher" text,
"losing_pitcher" text
);
Question: At what time is the site usf softball field • tampa, fl and w4-0 is the result?
<|assistant|>
SELECT "time" FROM "table1_22098274_1" WHERE "site"='USF Softball Field • Tampa, FL' AND "result"='W4-0';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22118197_1" (
"year_ceremony" text,
"english_title" text,
"portuguese_title" text,
"director" text,
"result" text
);
Question: What was the result for the film with the English name of Morning Undersea?
<|assistant|>
SELECT "result" FROM "table1_22118197_1" WHERE "english_title"='Morning Undersea';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22118197_1" (
"year_ceremony" text,
"english_title" text,
"portuguese_title" text,
"director" text,
"result" text
);
Question: What was the result of the film with the Portuguese title, Um Filme Falado?
<|assistant|>
SELECT "result" FROM "table1_22118197_1" WHERE "portuguese_title"='Um Filme Falado';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22118197_1" (
"year_ceremony" text,
"english_title" text,
"portuguese_title" text,
"director" text,
"result" text
);
Question: What is the Portuguese name of the film who's English title is, Belle Toujours?
<|assistant|>
SELECT "portuguese_title" FROM "table1_22118197_1" WHERE "english_title"='Belle Toujours';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "submissions" (
"year_ceremony" text,
"english_title" text,
"vietnamese_title" text,
"director" text,
"result" text
);
Question: What is every result for the ceremony year of 2007 (80th)?
<|assistant|>
SELECT "result" FROM "submissions" WHERE "year_ceremony"='2007 (80th)';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "submissions" (
"year_ceremony" text,
"english_title" text,
"vietnamese_title" text,
"director" text,
"result" text
);
Question: What is every English title for the result of nominee?
<|assistant|>
SELECT "english_title" FROM "submissions" WHERE "result"='Nominee';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "submissions" (
"year_ceremony" text,
"english_title" text,
"vietnamese_title" text,
"director" text,
"result" text
);
Question: How many directors have vietnamese titles of Gate, Gate, Paragate?
<|assistant|>
SELECT COUNT("director") FROM "submissions" WHERE "vietnamese_title"='Gate, gate, paragate';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "submissions" (
"year_ceremony" text,
"english_title" text,
"vietnamese_title" text,
"director" text,
"result" text
);
Question: What is every ceremony year for the result of nominee?
<|assistant|>
SELECT "year_ceremony" FROM "submissions" WHERE "result"='Nominee';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_221315_3" (
"pilot" text,
"organization" text,
"total_flights" real,
"usaf_space_flights" real,
"fai_space_flights" real,
"max_mach" text,
"max_speed_mph" real,
"max_altitude_miles" text
);
Question: Who was the pilot of max altitude of 55.9 miles?
<|assistant|>
SELECT "pilot" FROM "table1_221315_3" WHERE "max_altitude_miles"='55.9';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_221315_3" (
"pilot" text,
"organization" text,
"total_flights" real,
"usaf_space_flights" real,
"fai_space_flights" real,
"max_mach" text,
"max_speed_mph" real,
"max_altitude_miles" text
);
Question: What is the highest number of fai space flights when max mach is 5.65?
<|assistant|>
SELECT MAX("fai_space_flights") FROM "table1_221315_3" WHERE "max_mach"='5.65';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_221315_3" (
"pilot" text,
"organization" text,
"total_flights" real,
"usaf_space_flights" real,
"fai_space_flights" real,
"max_mach" text,
"max_speed_mph" real,
"max_altitude_miles" text
);
Question: What was the maximum altitude for Neil Armstrong?
<|assistant|>
SELECT "max_altitude_miles" FROM "table1_221315_3" WHERE "pilot"='Neil Armstrong';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_221315_3" (
"pilot" text,
"organization" text,
"total_flights" real,
"usaf_space_flights" real,
"fai_space_flights" real,
"max_mach" text,
"max_speed_mph" real,
"max_altitude_miles" text
);
Question: How many numbers were recorded under max speed for 1 USAF space flight and total flights 34?
<|assistant|>
SELECT COUNT("max_speed_mph") FROM "table1_221315_3" WHERE "usaf_space_flights"=1 AND "total_flights"=34;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_221315_3" (
"pilot" text,
"organization" text,
"total_flights" real,
"usaf_space_flights" real,
"fai_space_flights" real,
"max_mach" text,
"max_speed_mph" real,
"max_altitude_miles" text
);
Question: What were all USAF space flights when the aximum speed was 3822?
<|assistant|>
SELECT "usaf_space_flights" FROM "table1_221315_3" WHERE "max_speed_mph"=3822;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_221315_3" (
"pilot" text,
"organization" text,
"total_flights" real,
"usaf_space_flights" real,
"fai_space_flights" real,
"max_mach" text,
"max_speed_mph" real,
"max_altitude_miles" text
);
Question: What was the max mach when the maximum speed was 3887?
<|assistant|>
SELECT "max_mach" FROM "table1_221315_3" WHERE "max_speed_mph"=3887;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "european_record" (
"season" text,
"round" real,
"opponents" text,
"home_leg" text,
"away_leg" text,
"aggregate" text
);
Question: What is the record for the away leg in round 1 and aggregate 2-0?
<|assistant|>
SELECT "away_leg" FROM "european_record" WHERE "round"=1 AND "aggregate"='2-0';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_221375_1" (
"district" text,
"municipalities" real,
"parishes" real,
"province_of_1936" text,
"region" text
);
Question: Name the parishes for beira baixa province
<|assistant|>
SELECT COUNT("parishes") FROM "table1_221375_1" WHERE "province_of_1936"='Beira Baixa Province';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_221375_1" (
"district" text,
"municipalities" real,
"parishes" real,
"province_of_1936" text,
"region" text
);
Question: Name the most municipalities for alto alentejo province (partly ribatejo)
<|assistant|>
SELECT MAX("municipalities") FROM "table1_221375_1" WHERE "province_of_1936"='Alto Alentejo Province (partly Ribatejo)';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_221375_1" (
"district" text,
"municipalities" real,
"parishes" real,
"province_of_1936" text,
"region" text
);
Question: Name province of 1936 viana do castelo
<|assistant|>
SELECT "province_of_1936" FROM "table1_221375_1" WHERE "district"='Viana do Castelo';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "doubles_9_finals_5_titles_4_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: What was the score when the partner is Rafael Osuna?
<|assistant|>
SELECT "score" FROM "doubles_9_finals_5_titles_4_runner_ups" WHERE "partner"='Rafael Osuna';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "doubles_9_finals_5_titles_4_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: What was the outcome of the game when the partner is Rafael Osuna?
<|assistant|>
SELECT "outcome" FROM "doubles_9_finals_5_titles_4_runner_ups" WHERE "partner"='Rafael Osuna';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "doubles_9_finals_5_titles_4_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: What is the surface of the French Championships?
<|assistant|>
SELECT "surface" FROM "doubles_9_finals_5_titles_4_runner_ups" WHERE "championship"='French Championships';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "doubles_9_finals_5_titles_4_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: How many outcomes were there for matches played with Chuck McKinley on grass in 1962?
<|assistant|>
SELECT COUNT("outcome") FROM "doubles_9_finals_5_titles_4_runner_ups" WHERE "surface"='Grass' AND "partner"='Chuck McKinley' AND "year"=1962;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "european_record" (
"season" real,
"round" real,
"opponents" text,
"home_leg" text,
"away_leg" text,
"aggregate" text
);
Question: What was the home leg score against partizani tirana?
<|assistant|>
SELECT "home_leg" FROM "european_record" WHERE "opponents"='Partizani Tirana';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "european_record" (
"season" real,
"round" real,
"opponents" text,
"home_leg" text,
"away_leg" text,
"aggregate" text
);
Question: What round did they face fc st. gallen?
<|assistant|>
SELECT COUNT("round") FROM "european_record" WHERE "opponents"='FC St. Gallen';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "european_record" (
"season" real,
"round" real,
"opponents" text,
"home_leg" text,
"away_leg" text,
"aggregate" text
);
Question: What was the home leg score against fc schalke 04?
<|assistant|>
SELECT "home_leg" FROM "european_record" WHERE "opponents"='FC Schalke 04';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "goalscorers" (
"player" text,
"bundesliga" real,
"dfb_pokal" real,
"uefa_intertoto_cup" real,
"uefa_cup" real,
"dfb_ligapokal" real,
"total" real
);
Question: How many dfb-pokal did kevin-prince boateng have?
<|assistant|>
SELECT COUNT("dfb_pokal") FROM "goalscorers" WHERE "player"='Kevin-Prince Boateng';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "conference_tournament_championships" (
"tournament" real,
"conference" text,
"championship_game_opponent" text,
"score" text,
"location" text,
"head_coach" text
);
Question: Who is the head coach when Miami University is the championship game opponent?
<|assistant|>
SELECT "head_coach" FROM "conference_tournament_championships" WHERE "championship_game_opponent"='Miami University';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "conference_tournament_championships" (
"tournament" real,
"conference" text,
"championship_game_opponent" text,
"score" text,
"location" text,
"head_coach" text
);
Question: What is the location when 2-1 is the score?
<|assistant|>
SELECT "location" FROM "conference_tournament_championships" WHERE "score"='2-1';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "conference_tournament_championships" (
"tournament" real,
"conference" text,
"championship_game_opponent" text,
"score" text,
"location" text,
"head_coach" text
);
Question: What is the conference when Ferris State is the championship game opponent?
<|assistant|>
SELECT "conference" FROM "conference_tournament_championships" WHERE "championship_game_opponent"='Ferris State';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "conference_tournament_championships" (
"tournament" real,
"conference" text,
"championship_game_opponent" text,
"score" text,
"location" text,
"head_coach" text
);
Question: What is the location of the 1999 tournament?
<|assistant|>
SELECT "location" FROM "conference_tournament_championships" WHERE "tournament"=1999;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "conference_tournament_championships" (
"tournament" real,
"conference" text,
"championship_game_opponent" text,
"score" text,
"location" text,
"head_coach" text
);
Question: How many scores are there when the championship game opponent is Miami University?
<|assistant|>
SELECT COUNT("score") FROM "conference_tournament_championships" WHERE "championship_game_opponent"='Miami University';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "conference_tournament_championships" (
"tournament" real,
"conference" text,
"championship_game_opponent" text,
"score" text,
"location" text,
"head_coach" text
);
Question: Who is the head coach for the score of 4-3?
<|assistant|>
SELECT "head_coach" FROM "conference_tournament_championships" WHERE "score"='4-3';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "laboratory_findings_in_various_platelet_" (
"condition" text,
"prothrombin_time" text,
"partial_thromboplastin_time" text,
"bleeding_time" text,
"platelet_count" text
);
Question: What is the bleeding time when the platelet count is decreased or unaffected?
<|assistant|>
SELECT "bleeding_time" FROM "laboratory_findings_in_various_platelet_" WHERE "platelet_count"='Decreased or unaffected';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "laboratory_findings_in_various_platelet_" (
"condition" text,
"prothrombin_time" text,
"partial_thromboplastin_time" text,
"bleeding_time" text,
"platelet_count" text
);
Question: What is the partial thromboplastin time when the condition factor x deficiency as seen in amyloid purpura?
<|assistant|>
SELECT "partial_thromboplastin_time" FROM "laboratory_findings_in_various_platelet_" WHERE "condition"='Factor X deficiency as seen in amyloid purpura';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "laboratory_findings_in_various_platelet_" (
"condition" text,
"prothrombin_time" text,
"partial_thromboplastin_time" text,
"bleeding_time" text,
"platelet_count" text
);
Question: How many time does the platelet count occur when prothrombin time and bleeding time are prolonged?
<|assistant|>
SELECT COUNT("platelet_count") FROM "laboratory_findings_in_various_platelet_" WHERE "prothrombin_time"='Prolonged' AND "bleeding_time"='Prolonged';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "laboratory_findings_in_various_platelet_" (
"condition" text,
"prothrombin_time" text,
"partial_thromboplastin_time" text,
"bleeding_time" text,
"platelet_count" text
);
Question: What is the bleeding time for the disseminated intravascular coagulation condition?
<|assistant|>
SELECT COUNT("bleeding_time") FROM "laboratory_findings_in_various_platelet_" WHERE "condition"='Disseminated intravascular coagulation';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "laboratory_findings_in_various_platelet_" (
"condition" text,
"prothrombin_time" text,
"partial_thromboplastin_time" text,
"bleeding_time" text,
"platelet_count" text
);
Question: What is the result for partial thromboplastin time when prothrombin time and bleeding time are prolonged?
<|assistant|>
SELECT "partial_thromboplastin_time" FROM "laboratory_findings_in_various_platelet_" WHERE "prothrombin_time"='Prolonged' AND "bleeding_time"='Prolonged';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "laboratory_findings_in_various_platelet_" (
"condition" text,
"prothrombin_time" text,
"partial_thromboplastin_time" text,
"bleeding_time" text,
"platelet_count" text
);
Question: What is the platelet count when partial thromboplastin time and bleeding time are unaffected?
<|assistant|>
SELECT "platelet_count" FROM "laboratory_findings_in_various_platelet_" WHERE "partial_thromboplastin_time"='Unaffected' AND "bleeding_time"='Unaffected';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "new_zealand_tv2" (
"episode_number" real,
"title" text,
"original_airing" text,
"timeslot" text,
"viewers" real,
"top_50_ranking" real,
"scripted_show_ranking" real
);
Question: What is the lowest top 50 ranking that the episode titled "the god-why-don't-you-love-me blues" received?
<|assistant|>
SELECT MIN("top_50_ranking") FROM "new_zealand_tv2" WHERE "title"='The God-Why-Don''t-You-Love-Me Blues';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "new_zealand_tv2" (
"episode_number" real,
"title" text,
"original_airing" text,
"timeslot" text,
"viewers" real,
"top_50_ranking" real,
"scripted_show_ranking" real
);
Question: Which episodes originally aired on April 19, 2010?
<|assistant|>
SELECT "title" FROM "new_zealand_tv2" WHERE "original_airing"='April 19, 2010';<|endoftext|>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.