text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "replaced_pageants" (
"country_territory" text,
"former_pageant" text,
"last_competed" real,
"new_pageant" text,
"franchise_since" real
);
Question: How many new pageants does Aruba have?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "replaced_pageants" (
"country_territory" text,
"former_pageant" text,
"last_competed" real,
"new_pageant" text,
"franchise_since" real
);
Question: which is the new pageant from spain?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_16" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text,
"report" text
);
Question: Who was the away team ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "argentine_clubs_in_international_competi" (
"team" text,
"intercontinental" text,
"recopa_1996" text,
"supercopa_1996" text,
"conmebol_1996" text,
"copa_libertadores_1997" text
);
Question: w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "argentine_clubs_in_international_competi" (
"team" text,
"intercontinental" text,
"recopa_1996" text,
"supercopa_1996" text,
"conmebol_1996" text,
"copa_libertadores_1997" text
);
Question: w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "argentine_clubs_in_international_competi" (
"team" text,
"intercontinental" text,
"recopa_1996" text,
"supercopa_1996" text,
"conmebol_1996" text,
"copa_libertadores_1997" text
);
Question: w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_19" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text,
"report" text
);
Question: What's the maximum cro... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_19" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text,
"report" text
);
Question: What are the away team... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_19" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text,
"report" text
);
Question: What are the ground wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_19" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text,
"report" text
);
Question: What are the ground wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_18" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text,
"report" text
);
Question: Name the home team for... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_18" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text,
"report" text
);
Question: Name the away team sco... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_22" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text,
"report" text
);
Question: Who made the report wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_22" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text,
"report" text
);
Question: Who played Richmond at... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_22" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text,
"report" text
);
Question: Who has the home groun... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "south_carolina" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
Question: Who were all candidate when incumbent was D. Wyatt Aiken... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "south_carolina" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
Question: How many incumbents for the district of South Carolina 5... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "south_carolina" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
Question: Who was everyone first elected when incumbent was John J... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "juniors" (
"year" real,
"boys_singles" text,
"girls_singles" text,
"boys_doubles" text,
"girls_doubles" text,
"mixed_doubles" text
);
Question: When the girls singles is lindaweni fanetri wha... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "juniors" (
"year" real,
"boys_singles" text,
"girls_singles" text,
"boys_doubles" text,
"girls_doubles" text,
"mixed_doubles" text
);
Question: When the girls doubles is ayu pratiwi anggi wid... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "juniors" (
"year" real,
"boys_singles" text,
"girls_singles" text,
"boys_doubles" text,
"girls_doubles" text,
"mixed_doubles" text
);
Question: When mixed doubles is didit juang indrianto yay... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "juniors" (
"year" real,
"boys_singles" text,
"girls_singles" text,
"boys_doubles" text,
"girls_doubles" text,
"mixed_doubles" text
);
Question: When mixed doubles is danny bawa chrisnanta deb... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "juniors" (
"year" real,
"boys_singles" text,
"girls_singles" text,
"boys_doubles" text,
"girls_doubles" text,
"mixed_doubles" text
);
Question: When girls doubles is anneke feinya agustin we... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14325653_2" (
"year_ceremony" text,
"video_game" text,
"publisher_s" text,
"platform_s_a" text,
"result" text
);
Question: Name the total number of publishers for flushed away
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14325653_2" (
"year_ceremony" text,
"video_game" text,
"publisher_s" text,
"platform_s_a" text,
"result" text
);
Question: Name the publisher for resident evil 4
<|assistant|>
SELECT "pu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14330096_4" (
"totalnum" real,
"seriesnum" real,
"title" text,
"writer" text,
"director" text,
"original_air_date" text
);
Question: What is the highest total number?
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14330096_4" (
"totalnum" real,
"seriesnum" real,
"title" text,
"writer" text,
"director" text,
"original_air_date" text
);
Question: How many of the episodes have Roger Goldby as the d... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14330096_4" (
"totalnum" real,
"seriesnum" real,
"title" text,
"writer" text,
"director" text,
"original_air_date" text
);
Question: Which episodes have Patrick Lau as the director and... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_agr_reactors" (
"agr_power_station" text,
"net_m_we" real,
"construction_started" real,
"connected_to_grid" real,
"commercial_operation" real,
"accounting_closure_date" real
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_agr_reactors" (
"agr_power_station" text,
"net_m_we" real,
"construction_started" real,
"connected_to_grid" real,
"commercial_operation" real,
"accounting_closure_date" real
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_agr_reactors" (
"agr_power_station" text,
"net_m_we" real,
"construction_started" real,
"connected_to_grid" real,
"commercial_operation" real,
"accounting_closure_date" real
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_agr_reactors" (
"agr_power_station" text,
"net_m_we" real,
"construction_started" real,
"connected_to_grid" real,
"commercial_operation" real,
"accounting_closure_date" real
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "scoring_leaders" (
"player" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
);
Question: Name the most extra points for john heston
<|assistant|>
SELECT MAX("ext... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "michigan_63_oberlin_0" (
"player" text,
"position" text,
"starter" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
);
Question: Who scored the most points?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "michigan_63_oberlin_0" (
"player" text,
"position" text,
"starter" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
);
Question: What position did Joe Maddock... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "michigan_63_oberlin_0" (
"player" text,
"position" text,
"starter" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
);
Question: How many extra points did Pau... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "michigan_86_ohio_state_0" (
"player" text,
"position" text,
"starter" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
);
Question: How many points did Albert... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "michigan_86_ohio_state_0" (
"player" text,
"position" text,
"starter" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
);
Question: What positions did Paul Jo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "michigan_86_ohio_state_0" (
"player" text,
"position" text,
"starter" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
);
Question: What is the least amount o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "scoring_summary" (
"player" text,
"touchdowns_5_points" real,
"extra_points_1_point" real,
"field_goals_5_points" real,
"safeties_2_points" real,
"total_points" real
);
Question: How many ext... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "scoring_summary" (
"player" text,
"touchdowns_5_points" real,
"extra_points_1_point" real,
"field_goals_5_points" real,
"safeties_2_points" real,
"total_points" real
);
Question: How many 5 p... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "scoring_summary" (
"player" text,
"touchdowns_5_points" real,
"extra_points_1_point" real,
"field_goals_5_points" real,
"safeties_2_points" real,
"total_points" real
);
Question: How many pla... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "michigan_65_ohio_normal_0" (
"player" text,
"position" text,
"starter" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
);
Question: Name the most field goals... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "michigan_65_ohio_normal_0" (
"player" text,
"position" text,
"starter" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
);
Question: Name the number of points... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "michigan_65_ohio_normal_0" (
"player" text,
"position" text,
"starter" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
);
Question: Na,e the number of field ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "michigan_65_ohio_normal_0" (
"player" text,
"position" text,
"starter" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
);
Question: Name the most extra point... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "michigan_48_ohio_northern_0" (
"player" text,
"position" text,
"starter" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
);
Question: What positions does Tom... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "michigan_48_ohio_northern_0" (
"player" text,
"position" text,
"starter" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
);
Question: What positions does Hal... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "michigan_48_ohio_northern_0" (
"player" text,
"position" text,
"starter" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
);
Question: How many points does Cl... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "michigan_72_american_medical_school_0" (
"player" text,
"position" text,
"starter" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
);
Question: How many poin... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "michigan_72_american_medical_school_0" (
"player" text,
"position" text,
"starter" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
);
Question: Was there a s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "michigan_72_american_medical_school_0" (
"player" text,
"position" text,
"starter" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
);
Question: How many touc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "michigan_72_american_medical_school_0" (
"player" text,
"position" text,
"starter" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
);
Question: How many maxi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "presenters" (
"series" text,
"main_presenter" text,
"co_presenter" text,
"comedian" text,
"uk_co_presenter" text
);
Question: Who are the UK co-presenters that have Joe Swash as a co-presenter ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "presenters" (
"series" text,
"main_presenter" text,
"co_presenter" text,
"comedian" text,
"uk_co_presenter" text
);
Question: What series have Caroline Flack as a main presenter?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "presenters" (
"series" text,
"main_presenter" text,
"co_presenter" text,
"comedian" text,
"uk_co_presenter" text
);
Question: Who is the co-presenter of the series Seven (2007)?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "presenters" (
"series" text,
"main_presenter" text,
"co_presenter" text,
"comedian" text,
"uk_co_presenter" text
);
Question: Who is the main presenter of the series Twelve (2012)?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "presenters" (
"series" text,
"main_presenter" text,
"co_presenter" text,
"comedian" text,
"uk_co_presenter" text
);
Question: Who is the UK co-presenters that have Joe Swash as a co-presenter o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_1_2002" (
"celebrity" text,
"famous_for" text,
"entered" text,
"exited" text,
"finished" text
);
Question: What position did Nell McAndrew finish?
<|assistant|>
SELECT "finished" FROM "s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_1_2002" (
"celebrity" text,
"famous_for" text,
"entered" text,
"exited" text,
"finished" text
);
Question: Who was the champion boxer?
<|assistant|>
SELECT "celebrity" FROM "series_1_200... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_1_2002" (
"celebrity" text,
"famous_for" text,
"entered" text,
"exited" text,
"finished" text
);
Question: When did Darren Day enter?
<|assistant|>
SELECT "entered" FROM "series_1_2002" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_1_2002" (
"celebrity" text,
"famous_for" text,
"entered" text,
"exited" text,
"finished" text
);
Question: What position did Tara Palmer-Tomkinson finish?
<|assistant|>
SELECT "finished"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_1_2002" (
"celebrity" text,
"famous_for" text,
"entered" text,
"exited" text,
"finished" text
);
Question: When did the 4th finisher enter?
<|assistant|>
SELECT "entered" FROM "series_1_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_1_2002" (
"celebrity" text,
"famous_for" text,
"entered" text,
"exited" text,
"finished" text
);
Question: When did Darren Day enter?
<|assistant|>
SELECT "entered" FROM "series_1_2002" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_2_2003" (
"celebrity" text,
"famous_for" text,
"entered" text,
"exited" text,
"finished" text
);
Question: How many people finished 9th?
<|assistant|>
SELECT COUNT("exited") FROM "series... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_details" (
"series" text,
"presenters" text,
"start_date" text,
"end_date" text,
"days_in_camp" real,
"camp_mates" real,
"winner" text,
"highest_viewers_millions" text,
"lowest_vi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14346353_1" (
"series_num" real,
"title" text,
"story_by" text,
"teleplay_by" text,
"directed_by" text,
"original_air_date" text
);
Question: Who directed series #4 that was teleplayed... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14346353_1" (
"series_num" real,
"title" text,
"story_by" text,
"teleplay_by" text,
"directed_by" text,
"original_air_date" text
);
Question: What is the title of series #1?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14345690_5" (
"celebrity" text,
"famous_for" text,
"entered" text,
"exited" text,
"finished" text
);
Question: What is the finished place where exited is day 11?
<|assistant|>
SELECT "fi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14345690_5" (
"celebrity" text,
"famous_for" text,
"entered" text,
"exited" text,
"finished" text
);
Question: Who is the famous for that finished 2nd?
<|assistant|>
SELECT "famous_for" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14345690_5" (
"celebrity" text,
"famous_for" text,
"entered" text,
"exited" text,
"finished" text
);
Question: What is the famous for where the finished is 5th?
<|assistant|>
SELECT "fam... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14345690_5" (
"celebrity" text,
"famous_for" text,
"entered" text,
"exited" text,
"finished" text
);
Question: What is the exited day where the celebrity is vic reeves?
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14345690_5" (
"celebrity" text,
"famous_for" text,
"entered" text,
"exited" text,
"finished" text
);
Question: what is the celebrity where the finished is 5th?
<|assistant|>
SELECT "cele... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ohio" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" text,
"result" text,
"candidates" text
);
Question: When was incumbent John Thomas Wilson first elected?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ohio" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" text,
"result" text,
"candidates" text
);
Question: Who were the candidates in the election where John Beatty was the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ohio" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" text,
"result" text,
"candidates" text
);
Question: Who was the incumbent in the Ohio 16 district?
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "relegation" (
"team" text,
"average" text,
"points" real,
"played" real,
"1991_92" text,
"1992_93" text,
"1993_94" real
);
Question: What is the average for the team with n/a in 1992 and 37... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "relegation" (
"team" text,
"average" text,
"points" real,
"played" real,
"1991_92" text,
"1992_93" text,
"1993_94" real
);
Question: What is the result in 91-92 for the team with a 1.053 av... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "relegation" (
"team" text,
"average" text,
"points" real,
"played" real,
"1991_92" text,
"1992_93" text,
"1993_94" real
);
Question: What is the 92'-93 result for the team with 55 in 91'-92... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "relegation" (
"team" text,
"average" text,
"points" real,
"played" real,
"1991_92" text,
"1992_93" text,
"1993_94" real
);
Question: What is the average for the team with 39 in 1991-92?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "team_roster_season_2012_13" (
"shirt_no" real,
"nationality" text,
"player" text,
"birth_date" text,
"height" real,
"position" text
);
Question: Name the birth date for shirt number 7
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "team_roster_season_2012_13" (
"shirt_no" real,
"nationality" text,
"player" text,
"birth_date" text,
"height" real,
"position" text
);
Question: Name the maximum height for yury berezhko
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "relegation" (
"team" text,
"average" text,
"points" real,
"played" real,
"1989_90" text,
"1990_91" text,
"1991_1992" real
);
Question: Name the least points where 1989-90 is 31
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "relegation" (
"team" text,
"average" text,
"points" real,
"played" real,
"1989_90" text,
"1990_91" text,
"1991_1992" real
);
Question: Name the 1991-1992 for river plate
<|assistant|>
SELEC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1439045_5" (
"model" text,
"year" text,
"die_size_mm_2_1" text,
"config_core_2" text,
"m_triangles_s_1" real,
"m_pixel_s_1" real,
"bus_width_bit" text,
"direct_x" text,
"open_gl" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1439045_5" (
"model" text,
"year" text,
"die_size_mm_2_1" text,
"config_core_2" text,
"m_triangles_s_1" real,
"m_pixel_s_1" real,
"bus_width_bit" text,
"direct_x" text,
"open_gl" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1439045_5" (
"model" text,
"year" text,
"die_size_mm_2_1" text,
"config_core_2" text,
"m_triangles_s_1" real,
"m_pixel_s_1" real,
"bus_width_bit" text,
"direct_x" text,
"open_gl" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "relegation" (
"team" text,
"average" text,
"points" real,
"played" real,
"1991_92" text,
"1992_93" text,
"1993_94" real
);
Question: Name the total number of 1991-92 for 1992-93 for 44
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "relegation" (
"team" text,
"average" text,
"points" real,
"played" real,
"1991_92" text,
"1992_93" text,
"1993_94" real
);
Question: Name the team for average 1.026 for 1991-92 being 40
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "barangays" (
"barangay" text,
"population_2010" real,
"economic_class" text,
"land_area_in_sqm" real,
"punong_barangay_term_2010_2013" text
);
Question: Name the economic class for punong baran... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "barangays" (
"barangay" text,
"population_2010" real,
"economic_class" text,
"land_area_in_sqm" real,
"punong_barangay_term_2010_2013" text
);
Question: Name the economic class for arnold g. ap... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "barangays" (
"barangay" text,
"population_2010" real,
"economic_class" text,
"land_area_in_sqm" real,
"punong_barangay_term_2010_2013" text
);
Question: Name the economic class for artemoio m. ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "kuopio" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" text,
"2nd_m" text,
"points" text,
"overall_nt_points" text,
"overall_wc_points_rank" text
);
Question: Name the total numb... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "kuopio" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" text,
"2nd_m" text,
"points" text,
"overall_nt_points" text,
"overall_wc_points_rank" text
);
Question: Name the overall wc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "kuopio" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" text,
"2nd_m" text,
"points" text,
"overall_nt_points" text,
"overall_wc_points_rank" text
);
Question: Name the number of ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1439096_1" (
"episode_no" real,
"title" text,
"director" text,
"writer_s" text,
"original_air_date_atv" text,
"production_no" real
);
Question: What was the original air date (atv) of ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1439096_1" (
"episode_no" real,
"title" text,
"director" text,
"writer_s" text,
"original_air_date_atv" text,
"production_no" real
);
Question: Who was the director of the episode orig... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1439096_1" (
"episode_no" real,
"title" text,
"director" text,
"writer_s" text,
"original_air_date_atv" text,
"production_no" real
);
Question: What is the lowest production number?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1439096_1" (
"episode_no" real,
"title" text,
"director" text,
"writer_s" text,
"original_air_date_atv" text,
"production_no" real
);
Question: What is the title of the episode with th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1439096_1" (
"episode_no" real,
"title" text,
"director" text,
"writer_s" text,
"original_air_date_atv" text,
"production_no" real
);
Question: What was the original air date (atv) of ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.