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
);
Quest... |
<|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
);
Quest... |
<|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
);
Quest... |
<|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: ... |
<|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: ... |
<|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: ... |
<|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 w... |
<|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... |
<|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... |
<|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 elapse... |
<|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 re... |
<|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 ... |
<|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 "... |
<|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 wit... |
<|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|... |
<|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 ... |
<|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 ... |
<|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... |
<|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... |
<|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 "Dan... |
<|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"... |
<|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 ... |
<|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,10... |
<|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 th... |
<|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 th... |
<|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 t... |
<|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 t... |
<|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 t... |
<|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 a... |
<|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 refractai... |
<|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 roma... |
<|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 orig... |
<|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 ... |
<|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 i... |
<|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 ma... |
<|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 i... |
<|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" rea... |
<|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" rea... |
<|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" rea... |
<|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 ... |
<|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 wi... |
<|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... |
<|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... |
<|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... |
<|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 ma... |
<|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 nu... |
<|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... |
<|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 man... |
<|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 wro... |
<|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 ... |
<|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... |
<|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... |
<|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... |
<|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... |
<|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 wh... |
<|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 title... |
<|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?
<|assi... |
<|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"... |
<|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:... |
<|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:... |
<|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:... |
<|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 M... |
<|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, ... |
<|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... |
<|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)?
<|assi... |
<|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?
<|assistan... |
<|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... |
<|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?
<|assistan... |
<|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"... |
<|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"... |
<|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"... |
<|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"... |
<|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"... |
<|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"... |
<|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 ... |
<|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 ... |
<|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 r... |
<|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 "pro... |
<|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 wh... |
<|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 ... |
<|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 o... |
<|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 wer... |
<|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?
<|assis... |
<|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 ... |
<|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?
<|assistan... |
<|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-p... |
<|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 c... |
<|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 locat... |
<|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 confe... |
<|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 locat... |
<|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 a... |
<|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 c... |
<|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 b... |
<|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 p... |
<|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... |
<|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 b... |
<|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 r... |
<|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 p... |
<|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... |
<|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 episo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.