text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29273182_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
);
Question: Who wrote t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29273182_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
);
Question: What is the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29273182_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
);
Question: Who wrote t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29273182_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
);
Question: Who directe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29273390_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_million" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29273390_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_million" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29273390_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_million" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar_and_results" (
"rnd" real,
"circuit" text,
"location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"most_laps_led" text,
"winning_driver" text,
"winning_tea... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar_and_results" (
"rnd" real,
"circuit" text,
"location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"most_laps_led" text,
"winning_driver" text,
"winning_tea... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar_and_results" (
"rnd" real,
"circuit" text,
"location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"most_laps_led" text,
"winning_driver" text,
"winning_tea... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29289372_1" (
"city_municipality" text,
"population_2010" real,
"area_km" text,
"pop_density_per_km" text,
"income_classification" text
);
Question: When 318676 is the population of 2010... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29289372_1" (
"city_municipality" text,
"population_2010" real,
"area_km" text,
"pop_density_per_km" text,
"income_classification" text
);
Question: When itogon, benguet is the city/muni... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29289372_1" (
"city_municipality" text,
"population_2010" real,
"area_km" text,
"pop_density_per_km" text,
"income_classification" text
);
Question: When 82.74 is the area in kilometers ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29289372_1" (
"city_municipality" text,
"population_2010" real,
"area_km" text,
"pop_density_per_km" text,
"income_classification" text
);
Question: When 106 is the area in kilometers sq... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29273243_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
);
Question: How many ep... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29273243_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
);
Question: What season... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29273243_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
);
Question: How many pe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29273243_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
);
Question: Who wrote e... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29273243_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
);
Question: Who wrote t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"episode" real,
"airdate" text,
"iron_chef" text,
"challenger" text,
"theme_ingredient" text,
"winner" text
);
Question: Who was the challenger when guillaume brahimi was the iron ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"episode" real,
"airdate" text,
"iron_chef" text,
"challenger" text,
"theme_ingredient" text,
"winner" text
);
Question: Who was the iron chef when herb Faust was the challenger?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"episode" real,
"airdate" text,
"iron_chef" text,
"challenger" text,
"theme_ingredient" text,
"winner" text
);
Question: What date did the episode air when guy grossi won?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "characters" (
"character" text,
"original_cast_2009" text,
"revival_cast_2010" text,
"wales_cast_2012" text,
"new_zealand_cast_2012" text,
"australian_cast_2012" text
);
Question: In the 2010... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "characters" (
"character" text,
"original_cast_2009" text,
"revival_cast_2010" text,
"wales_cast_2012" text,
"new_zealand_cast_2012" text,
"australian_cast_2012" text
);
Question: In the 2012... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "characters" (
"character" text,
"original_cast_2009" text,
"revival_cast_2010" text,
"wales_cast_2012" text,
"new_zealand_cast_2012" text,
"australian_cast_2012" text
);
Question: Who played ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "characters" (
"character" text,
"original_cast_2009" text,
"revival_cast_2010" text,
"wales_cast_2012" text,
"new_zealand_cast_2012" text,
"australian_cast_2012" text
);
Question: In the 2012... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "characters" (
"character" text,
"original_cast_2009" text,
"revival_cast_2010" text,
"wales_cast_2012" text,
"new_zealand_cast_2012" text,
"australian_cast_2012" text
);
Question: In the orig... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "characters" (
"character" text,
"original_cast_2009" text,
"revival_cast_2010" text,
"wales_cast_2012" text,
"new_zealand_cast_2012" text,
"australian_cast_2012" text
);
Question: In the orig... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29296103_10" (
"week_of" text,
"tournament" text,
"champion" text,
"runner_up" text,
"semifinalists" text,
"quarterfinalists" text
);
Question: which tournament was the champion nick s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29296103_10" (
"week_of" text,
"tournament" text,
"champion" text,
"runner_up" text,
"semifinalists" text,
"quarterfinalists" text
);
Question: Which tournament was runner-up paul ann... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29296103_10" (
"week_of" text,
"tournament" text,
"champion" text,
"runner_up" text,
"semifinalists" text,
"quarterfinalists" text
);
Question: Who were the semifinalists when sammy gi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29296103_10" (
"week_of" text,
"tournament" text,
"champion" text,
"runner_up" text,
"semifinalists" text,
"quarterfinalists" text
);
Question: which tournament was the champion pat ca... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29296103_10" (
"week_of" text,
"tournament" text,
"champion" text,
"runner_up" text,
"semifinalists" text,
"quarterfinalists" text
);
Question: Which tournament was on the week of 24 ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29296103_10" (
"week_of" text,
"tournament" text,
"champion" text,
"runner_up" text,
"semifinalists" text,
"quarterfinalists" text
);
Question: How many runner ups were there for the c... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pune_lonavala_service" (
"train_number" real,
"train_name" text,
"departure_pune" text,
"arrival_lonavla" text,
"frequency" text,
"origin" text
);
Question: which train number departs pune at... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pune_lonavala_service" (
"train_number" real,
"train_name" text,
"departure_pune" text,
"arrival_lonavla" text,
"frequency" text,
"origin" text
);
Question: which train number arrives in lona... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pune_lonavala_service" (
"train_number" real,
"train_name" text,
"departure_pune" text,
"arrival_lonavla" text,
"frequency" text,
"origin" text
);
Question: which train name arrives in lonavl... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pune_lonavala_service" (
"train_number" real,
"train_name" text,
"departure_pune" text,
"arrival_lonavla" text,
"frequency" text,
"origin" text
);
Question: how many trains run daily to lonav... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pune_lonavala_service" (
"train_number" real,
"train_name" text,
"departure_pune" text,
"arrival_lonavla" text,
"frequency" text,
"origin" text
);
Question: how many trains have the number 99... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pune_lonavala_service" (
"train_number" real,
"train_name" text,
"departure_pune" text,
"arrival_lonavla" text,
"frequency" text,
"origin" text
);
Question: what time does the train that arri... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29295463_9" (
"week_of" text,
"tournament" text,
"champion" text,
"runner_up" text,
"semifinalists" text,
"quarterfinalists" text
);
Question: Who became the champion for the 1984 Gran... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29295463_9" (
"week_of" text,
"tournament" text,
"champion" text,
"runner_up" text,
"semifinalists" text,
"quarterfinalists" text
);
Question: Who were the quarter-finalists in the eve... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29295463_9" (
"week_of" text,
"tournament" text,
"champion" text,
"runner_up" text,
"semifinalists" text,
"quarterfinalists" text
);
Question: Who was the champion in the tournament wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29295463_9" (
"week_of" text,
"tournament" text,
"champion" text,
"runner_up" text,
"semifinalists" text,
"quarterfinalists" text
);
Question: Who were the semifinalists in the tournam... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1850s" (
"year" real,
"number_of_tropical_storms" real,
"number_of_hurricanes" real,
"number_of_major_hurricanes" real,
"deaths" text,
"strongest_storm" text
);
Question: How many years saw 3... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1860s" (
"year" real,
"number_of_tropical_storms" real,
"number_of_hurricanes" real,
"number_of_major_hurricanes" real,
"deaths" text,
"strongest_storm" text
);
Question: What is the largest ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1860s" (
"year" real,
"number_of_tropical_storms" real,
"number_of_hurricanes" real,
"number_of_major_hurricanes" real,
"deaths" text,
"strongest_storm" text
);
Question: When the death is no... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1860s" (
"year" real,
"number_of_tropical_storms" real,
"number_of_hurricanes" real,
"number_of_major_hurricanes" real,
"deaths" text,
"strongest_storm" text
);
Question: What is the lowest o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29302711_13" (
"rk" real,
"name" text,
"country" text,
"matches_played" real,
"matches_won" real,
"points" real,
"prize_money_usd" real
);
Question: What country offered a prize of 6... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29302711_13" (
"rk" real,
"name" text,
"country" text,
"matches_played" real,
"matches_won" real,
"points" real,
"prize_money_usd" real
);
Question: What country does the player name... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1870s" (
"year" real,
"number_of_tropical_storms" real,
"number_of_hurricanes" real,
"number_of_major_hurricanes" real,
"deaths" text,
"strongest_storm" text
);
Question: How many deaths did ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1870s" (
"year" real,
"number_of_tropical_storms" real,
"number_of_hurricanes" real,
"number_of_major_hurricanes" real,
"deaths" text,
"strongest_storm" text
);
Question: What is the maximum ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1870s" (
"year" real,
"number_of_tropical_storms" real,
"number_of_hurricanes" real,
"number_of_major_hurricanes" real,
"deaths" text,
"strongest_storm" text
);
Question: How many deaths did ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29329432_1" (
"no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: Name the numbe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29329432_1" (
"no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: Name the least... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cube_film_series" (
"name" text,
"occupation" text,
"gender" text,
"prison_connection" text,
"played_by" text,
"status" text
);
Question: How many characters does Maurice Dean Wint play in th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cube_film_series" (
"name" text,
"occupation" text,
"gender" text,
"prison_connection" text,
"played_by" text,
"status" text
);
Question: What is Joan Leaven's occupation?
<|assistant|>
SELEC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cube_film_series" (
"name" text,
"occupation" text,
"gender" text,
"prison_connection" text,
"played_by" text,
"status" text
);
Question: What gender is Quentin?
<|assistant|>
SELECT "gender"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cube_film_series" (
"name" text,
"occupation" text,
"gender" text,
"prison_connection" text,
"played_by" text,
"status" text
);
Question: Who played the mathematics student?
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cube_film_series" (
"name" text,
"occupation" text,
"gender" text,
"prison_connection" text,
"played_by" text,
"status" text
);
Question: How many prisons is Joan Leaven connected with?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classification_leadership" (
"stage" real,
"winner" text,
"general_classification" text,
"mountains_classification" text,
"sprint_classification" text,
"young_rider_classification" text,
"te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classification_leadership" (
"stage" real,
"winner" text,
"general_classification" text,
"mountains_classification" text,
"sprint_classification" text,
"young_rider_classification" text,
"te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classification_leadership" (
"stage" real,
"winner" text,
"general_classification" text,
"mountains_classification" text,
"sprint_classification" text,
"young_rider_classification" text,
"te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classification_leadership" (
"stage" real,
"winner" text,
"general_classification" text,
"mountains_classification" text,
"sprint_classification" text,
"young_rider_classification" text,
"te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classification_leadership" (
"stage" real,
"winner" text,
"general_classification" text,
"mountains_classification" text,
"sprint_classification" text,
"young_rider_classification" text,
"te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29302781_12" (
"week_of" text,
"tournament" text,
"champion" text,
"runner_up" text,
"semifinalists" text,
"quarterfinalists" text
);
Question: In the week of what was the runner-up Pa... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29302781_12" (
"week_of" text,
"tournament" text,
"champion" text,
"runner_up" text,
"semifinalists" text,
"quarterfinalists" text
);
Question: Who were the semifinalists when the runn... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29302781_12" (
"week_of" text,
"tournament" text,
"champion" text,
"runner_up" text,
"semifinalists" text,
"quarterfinalists" text
);
Question: Who were the semifinalists when the runn... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29302781_12" (
"week_of" text,
"tournament" text,
"champion" text,
"runner_up" text,
"semifinalists" text,
"quarterfinalists" text
);
Question: Who were the semifinalists in the week o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29302816_8" (
"week_of" text,
"tournament" text,
"champion" text,
"runner_up" text,
"semifinalists" text,
"quarterfinalists" text
);
Question: What are the quarterfinalists when the ru... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_293465_1" (
"rank_2011" real,
"country" text,
"production_in_2011_1_000_ton" real,
"share_2011" text,
"rank_2010" real,
"production_in_2010_1_000_ton" real
);
Question: When indonesia ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_293465_1" (
"rank_2011" real,
"country" text,
"production_in_2011_1_000_ton" real,
"share_2011" text,
"rank_2010" real,
"production_in_2010_1_000_ton" real
);
Question: When 5 is the r... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_293465_1" (
"rank_2011" real,
"country" text,
"production_in_2011_1_000_ton" real,
"share_2011" text,
"rank_2010" real,
"production_in_2010_1_000_ton" real
);
Question: When sweden is ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_293465_1" (
"rank_2011" real,
"country" text,
"production_in_2011_1_000_ton" real,
"share_2011" text,
"rank_2010" real,
"production_in_2010_1_000_ton" real
);
Question: When 75849 is t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar_and_results" (
"round" real,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
);
Question: Valmir Benavides wo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar_and_results" (
"round" real,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
);
Question: Who was the winner ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_situation" (
"provider" text,
"country" text,
"subscribers_2005_thousands" real,
"subscribers_2006_thousands" real,
"growth_pct" text
);
Question: What is the fewest number of 2005 subs... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_situation" (
"provider" text,
"country" text,
"subscribers_2005_thousands" real,
"subscribers_2006_thousands" real,
"growth_pct" text
);
Question: What is the maximum number of 2006 sub... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_situation" (
"provider" text,
"country" text,
"subscribers_2005_thousands" real,
"subscribers_2006_thousands" real,
"growth_pct" text
);
Question: What is the maximum number of 2006 sub... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_situation" (
"provider" text,
"country" text,
"subscribers_2005_thousands" real,
"subscribers_2006_thousands" real,
"growth_pct" text
);
Question: How many subscribers, in 2006, does Gl... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_situation" (
"provider" text,
"country" text,
"subscribers_2005_thousands" real,
"subscribers_2006_thousands" real,
"growth_pct" text
);
Question: How many 2006 subscribers are named Vo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "personnel_and_sponsorship" (
"team" text,
"chairman" text,
"head_coach" text,
"captain" text,
"kitmaker" text,
"shirt_sponsor" text
);
Question: Name the number of captains for barcelona
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "personnel_and_sponsorship" (
"team" text,
"chairman" text,
"head_coach" text,
"captain" text,
"kitmaker" text,
"shirt_sponsor" text
);
Question: Name the chairman for iker casillas
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "personnel_and_sponsorship" (
"team" text,
"chairman" text,
"head_coach" text,
"captain" text,
"kitmaker" text,
"shirt_sponsor" text
);
Question: Name the team for javier clemente
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29391888_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
);
Question: What is the sea... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29391888_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
);
Question: What is the ser... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29391888_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
);
Question: Who wrote the e... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29391888_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
);
Question: What is the ori... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29391888_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
);
Question: What is the pro... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29391888_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
);
Question: Who directed th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"num" real,
"name" text,
"position" text,
"height" text,
"weight" real,
"year" text,
"former_school" text,
"hometown" text
);
Question: What is the former school of the player f... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"num" real,
"name" text,
"position" text,
"height" text,
"weight" real,
"year" text,
"former_school" text,
"hometown" text
);
Question: What is the hometown of Jarrid Famous?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"num" real,
"name" text,
"position" text,
"height" text,
"weight" real,
"year" text,
"former_school" text,
"hometown" text
);
Question: What number is the player whose hometown ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"num" real,
"name" text,
"position" text,
"height" text,
"weight" real,
"year" text,
"former_school" text,
"hometown" text
);
Question: What year is the player whose number is 3... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"num" real,
"name" text,
"position" text,
"height" text,
"weight" real,
"year" text,
"former_school" text,
"hometown" text
);
Question: What is the height of Anthony Crater?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"num" real,
"name" text,
"position" text,
"height" text,
"weight" real,
"year" text,
"former_school" text,
"hometown" text
);
Question: What is the former school of the player f... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "top_recipient_countries_of_remittances_i" (
"country" text,
"remittances_2008" text,
"remittances_2009" text,
"remittances_2010" text,
"remittances_2011" text
);
Question: how many countries ha... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "top_recipient_countries_of_remittances_i" (
"country" text,
"remittances_2008" text,
"remittances_2009" text,
"remittances_2010" text,
"remittances_2011" text
);
Question: how many remittances ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "top_recipient_countries_of_remittances_i" (
"country" text,
"remittances_2008" text,
"remittances_2009" text,
"remittances_2010" text,
"remittances_2011" text
);
Question: how many remittances ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "top_recipient_countries_of_remittances_i" (
"country" text,
"remittances_2008" text,
"remittances_2009" text,
"remittances_2010" text,
"remittances_2011" text
);
Question: how many countiers ha... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.