text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "franchises" (
"team" text,
"province" text,
"owner_s" text,
"price" text,
"captain" text,
"head_coach" text,
"icon_player" text
);
Question: What's the price of the team whose captain is Sa... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "franchises" (
"team" text,
"province" text,
"owner_s" text,
"price" text,
"captain" text,
"head_coach" text,
"icon_player" text
);
Question: What team is from the Eastern province?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "franchises" (
"team" text,
"province" text,
"owner_s" text,
"price" text,
"captain" text,
"head_coach" text,
"icon_player" text
);
Question: Who's the head coach of the team with a price of... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "franchises" (
"team" text,
"province" text,
"owner_s" text,
"price" text,
"captain" text,
"head_coach" text,
"icon_player" text
);
Question: In how many teams is Waqar Younis the head coach... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "franchises" (
"team" text,
"province" text,
"owner_s" text,
"price" text,
"captain" text,
"head_coach" text,
"icon_player" text
);
Question: What province does the Ruhuna Royals team come f... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "team_roster_season_2009_2010" (
"shirt_no" real,
"nationality" text,
"player" text,
"birth_date" text,
"height" real,
"position" text
);
Question: When was Alexey Kuleshov born?
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "summary" (
"colt_model_no" text,
"military_designation" text,
"barrel_length" text,
"barrel" text,
"handguard_type" text,
"buttstock_type" text,
"pistol_grip_type" text,
"lower_receiver_ty... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "summary" (
"colt_model_no" text,
"military_designation" text,
"barrel_length" text,
"barrel" text,
"handguard_type" text,
"buttstock_type" text,
"pistol_grip_type" text,
"lower_receiver_ty... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "summary" (
"colt_model_no" text,
"military_designation" text,
"barrel_length" text,
"barrel" text,
"handguard_type" text,
"buttstock_type" text,
"pistol_grip_type" text,
"lower_receiver_ty... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "summary" (
"colt_model_no" text,
"military_designation" text,
"barrel_length" text,
"barrel" text,
"handguard_type" text,
"buttstock_type" text,
"pistol_grip_type" text,
"lower_receiver_ty... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_19925114_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 "table1_19925114_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 "table1_19925114_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 "series_1" (
"episode" text,
"first_broadcast" text,
"rufus_guest" text,
"marcus_guest" text,
"winner" text
);
Question: Name the rufus guest for 15 december 2008
<|assistant|>
SELECT COUNT("ruf... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_1" (
"episode" text,
"first_broadcast" text,
"rufus_guest" text,
"marcus_guest" text,
"winner" text
);
Question: Name the winner for jason byrne
<|assistant|>
SELECT "winner" FROM "serie... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_1" (
"episode" text,
"first_broadcast" text,
"rufus_guest" text,
"marcus_guest" text,
"winner" text
);
Question: Name the rufus guest for episode 1x07
<|assistant|>
SELECT "rufus_guest" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_1" (
"episode" text,
"first_broadcast" text,
"rufus_guest" text,
"marcus_guest" text,
"winner" text
);
Question: Name the winner for 26 january 2009
<|assistant|>
SELECT "winner" FROM "s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_19930660_2" (
"episode" text,
"first_broadcast" text,
"rufus_guest" text,
"marcus_guest" text,
"winner" text
);
Question: When was episode 2x11 aired for the first time?
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_19930660_2" (
"episode" text,
"first_broadcast" text,
"rufus_guest" text,
"marcus_guest" text,
"winner" text
);
Question: Who won the episode in which Sean Lock was Rufus's guest?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_19930660_2" (
"episode" text,
"first_broadcast" text,
"rufus_guest" text,
"marcus_guest" text,
"winner" text
);
Question: When was the episode 2x10 aired for the first time?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_19930660_2" (
"episode" text,
"first_broadcast" text,
"rufus_guest" text,
"marcus_guest" text,
"winner" text
);
Question: Who was Marcus's guest in the episode when Rufus's guest was Ror... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "seasonal_ratings" (
"season" real,
"timeslot_edt" text,
"season_premiere" text,
"season_finale" text,
"tv_season" text,
"rank_spanish_language" real,
"viewers_in_millions" text
);
Question:... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "seasonal_ratings" (
"season" real,
"timeslot_edt" text,
"season_premiere" text,
"season_finale" text,
"tv_season" text,
"rank_spanish_language" real,
"viewers_in_millions" text
);
Question:... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "other" (
"index_year" text,
"author_editor_source" text,
"year_of_publication" text,
"countries_sampled" real,
"world_ranking_1" text,
"ranking_l_a_2" text
);
Question: How many items were un... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "other" (
"index_year" text,
"author_editor_source" text,
"year_of_publication" text,
"countries_sampled" real,
"world_ranking_1" text,
"ranking_l_a_2" text
);
Question: What was the author/ed... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "other" (
"index_year" text,
"author_editor_source" text,
"year_of_publication" text,
"countries_sampled" real,
"world_ranking_1" text,
"ranking_l_a_2" text
);
Question: How many years were li... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "other" (
"index_year" text,
"author_editor_source" text,
"year_of_publication" text,
"countries_sampled" real,
"world_ranking_1" text,
"ranking_l_a_2" text
);
Question: What was the publicati... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "other" (
"index_year" text,
"author_editor_source" text,
"year_of_publication" text,
"countries_sampled" real,
"world_ranking_1" text,
"ranking_l_a_2" text
);
Question: How many years were re... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "intel_centrino" (
"wireless_lan" text,
"chipset" text,
"centrino" text,
"processor" text,
"codename" text,
"release_date" real,
"process_technology" text,
"microarchitecture" text
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "intel_centrino" (
"wireless_lan" text,
"chipset" text,
"centrino" text,
"processor" text,
"codename" text,
"release_date" real,
"process_technology" text,
"microarchitecture" text
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "intel_centrino" (
"wireless_lan" text,
"chipset" text,
"centrino" text,
"processor" text,
"codename" text,
"release_date" real,
"process_technology" text,
"microarchitecture" text
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "intel_centrino" (
"wireless_lan" text,
"chipset" text,
"centrino" text,
"processor" text,
"codename" text,
"release_date" real,
"process_technology" text,
"microarchitecture" text
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "intel_centrino" (
"wireless_lan" text,
"chipset" text,
"centrino" text,
"processor" text,
"codename" text,
"release_date" real,
"process_technology" text,
"microarchitecture" text
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "aircraft" (
"number" real,
"registration" text,
"first_flew" text,
"last_flew" text,
"flying_hours" real,
"location" text
);
Question: on 19 april 1985 how many of number last flew
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "aircraft" (
"number" real,
"registration" text,
"first_flew" text,
"last_flew" text,
"flying_hours" real,
"location" text
);
Question: what is the registration located on 31 january 1975 wher... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "aircraft" (
"number" real,
"registration" text,
"first_flew" text,
"last_flew" text,
"flying_hours" real,
"location" text
);
Question: at what location is the last flew on 11 june 2000
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "aircraft" (
"number" real,
"registration" text,
"first_flew" text,
"last_flew" text,
"flying_hours" real,
"location" text
);
Question: how many number is located at registration f-bvff?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "commentators_and_spokespersons" (
"year_s" real,
"television_commentator" text,
"dual_television_commentator" text,
"radio_commentator" text,
"spokesperson" text
);
Question: Who is the televis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "commentators_and_spokespersons" (
"year_s" real,
"television_commentator" text,
"dual_television_commentator" text,
"radio_commentator" text,
"spokesperson" text
);
Question: Who is the televis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "commentators_and_spokespersons" (
"year_s" real,
"television_commentator" text,
"dual_television_commentator" text,
"radio_commentator" text,
"spokesperson" text
);
Question: What is the year w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "commentators_and_spokespersons" (
"year_s" real,
"television_commentator" text,
"dual_television_commentator" text,
"radio_commentator" text,
"spokesperson" text
);
Question: Who is the televis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_19995378_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_19995378_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_19995378_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_19995378_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "population" (
"language" text,
"concepci_n_municipality_pct" real,
"san_javier_municipality_pct" real,
"san_ram_n_municipality_pct" real,
"san_juli_n_municipality_pct" real,
"san_antonio_de_lo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "population" (
"language" text,
"concepci_n_municipality_pct" real,
"san_javier_municipality_pct" real,
"san_ram_n_municipality_pct" real,
"san_juli_n_municipality_pct" real,
"san_antonio_de_lo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "population" (
"language" text,
"concepci_n_municipality_pct" real,
"san_javier_municipality_pct" real,
"san_ram_n_municipality_pct" real,
"san_juli_n_municipality_pct" real,
"san_antonio_de_lo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "population" (
"language" text,
"concepci_n_municipality_pct" real,
"san_javier_municipality_pct" real,
"san_ram_n_municipality_pct" real,
"san_juli_n_municipality_pct" real,
"san_antonio_de_lo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "population" (
"language" text,
"concepci_n_municipality_pct" real,
"san_javier_municipality_pct" real,
"san_ram_n_municipality_pct" real,
"san_juli_n_municipality_pct" real,
"san_antonio_de_lo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "population" (
"language" text,
"concepci_n_municipality_pct" real,
"san_javier_municipality_pct" real,
"san_ram_n_municipality_pct" real,
"san_juli_n_municipality_pct" real,
"san_antonio_de_lo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "films_in_series" (
"num" real,
"title" text,
"maneater" text,
"television_premiere" text,
"dvd_release" text,
"writer" text,
"director" text,
"producer" text
);
Question: How many total n... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "films_in_series" (
"num" real,
"title" text,
"maneater" text,
"television_premiere" text,
"dvd_release" text,
"writer" text,
"director" text,
"producer" text
);
Question: How many numbers... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "films_in_series" (
"num" real,
"title" text,
"maneater" text,
"television_premiere" text,
"dvd_release" text,
"writer" text,
"director" text,
"producer" text
);
Question: How many dvd rel... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "films_in_series" (
"num" real,
"title" text,
"maneater" text,
"television_premiere" text,
"dvd_release" text,
"writer" text,
"director" text,
"producer" text
);
Question: When was the dvd... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Fo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: st... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: ho... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: st... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: ho... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: ho... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "lb1_and_lb4" (
"year" text,
"horsepower" text,
"torque" text,
"fuel_system" text,
"compression_ratio" text,
"rpo" text,
"applications" real
);
Question: Name the most applications for 1986
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "lb1_and_lb4" (
"year" text,
"horsepower" text,
"torque" text,
"fuel_system" text,
"compression_ratio" text,
"rpo" text,
"applications" real
);
Question: Name the torque for 1986
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_details" (
"season" real,
"network" text,
"host" text,
"contestants" real,
"winner" text,
"destination" text
);
Question: What network showed the season with Australia as the destinati... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_details" (
"season" real,
"network" text,
"host" text,
"contestants" real,
"winner" text,
"destination" text
);
Question: What was the latest season with 20 contestants?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_details" (
"season" real,
"network" text,
"host" text,
"contestants" real,
"winner" text,
"destination" text
);
Question: What season was won by Ashutosh Kaushik?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_details" (
"season" real,
"network" text,
"host" text,
"contestants" real,
"winner" text,
"destination" text
);
Question: What was the destination of the season won by Anwar Syed?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_details" (
"season" real,
"network" text,
"host" text,
"contestants" real,
"winner" text,
"destination" text
);
Question: What season was won by Anthony Yeh?
<|assistant|>
SELECT "seas... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_details" (
"season" real,
"network" text,
"host" text,
"contestants" real,
"winner" text,
"destination" text
);
Question: Who won the season with Africa as its destination?
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_20042805_2" (
"ostrich" text,
"hamerkop" text,
"hadeda_ibis" text,
"african_spoonbill" text,
"whitefaced_duck" text,
"knobbilled_duck" text
);
Question: What is the African Spoonbill w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_20042805_2" (
"ostrich" text,
"hamerkop" text,
"hadeda_ibis" text,
"african_spoonbill" text,
"whitefaced_duck" text,
"knobbilled_duck" text
);
Question: What is the Hadeda Ibis when th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_20042805_2" (
"ostrich" text,
"hamerkop" text,
"hadeda_ibis" text,
"african_spoonbill" text,
"whitefaced_duck" text,
"knobbilled_duck" text
);
Question: What is the African Spoonbill w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_20042805_2" (
"ostrich" text,
"hamerkop" text,
"hadeda_ibis" text,
"african_spoonbill" text,
"whitefaced_duck" text,
"knobbilled_duck" text
);
Question: What is the Hadeda Ibis when th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_20042805_2" (
"ostrich" text,
"hamerkop" text,
"hadeda_ibis" text,
"african_spoonbill" text,
"whitefaced_duck" text,
"knobbilled_duck" text
);
Question: What is the African Spoonbill w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_20042805_2" (
"ostrich" text,
"hamerkop" text,
"hadeda_ibis" text,
"african_spoonbill" text,
"whitefaced_duck" text,
"knobbilled_duck" text
);
Question: What is the Hadeda Ibis when th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar_and_results" (
"round" real,
"location" text,
"country" text,
"date" text,
"fastest_qualifying" text,
"winning_pilot" text,
"winning_aircraft" text
);
Question: Name the winni... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar_and_results" (
"round" real,
"location" text,
"country" text,
"date" text,
"fastest_qualifying" text,
"winning_pilot" text,
"winning_aircraft" text
);
Question: Name the most ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar_and_results" (
"round" real,
"location" text,
"country" text,
"date" text,
"fastest_qualifying" text,
"winning_pilot" text,
"winning_aircraft" text
);
Question: Name the count... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_20046379_3" (
"no_in_series" text,
"no_in_season" text,
"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 "table1_20046379_3" (
"no_in_series" text,
"no_in_season" text,
"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 "table1_20046379_3" (
"no_in_series" text,
"no_in_season" text,
"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 "table1_20046379_3" (
"no_in_series" text,
"no_in_season" text,
"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 "table1_20046379_3" (
"no_in_series" text,
"no_in_season" text,
"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 "table1_2006661_1" (
"year" real,
"date" text,
"type" text,
"species" text,
"author_species" text,
"value" text,
"scott" text,
"yvert" real,
"mitchell" real,
"sta_gib" real,
"order" t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2006661_1" (
"year" real,
"date" text,
"type" text,
"species" text,
"author_species" text,
"value" text,
"scott" text,
"yvert" real,
"mitchell" real,
"sta_gib" real,
"order" t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "demographics" (
"no" real,
"barangay" text,
"area_in_km_2" text,
"rank" real,
"population_2000" real,
"population_2007" real,
"population_2010" real,
"population_density_2010" text
);
Que... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "demographics" (
"no" real,
"barangay" text,
"area_in_km_2" text,
"rank" real,
"population_2000" real,
"population_2007" real,
"population_2010" real,
"population_density_2010" text
);
Que... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "demographics" (
"no" real,
"barangay" text,
"area_in_km_2" text,
"rank" real,
"population_2000" real,
"population_2007" real,
"population_2010" real,
"population_density_2010" text
);
Que... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "demographics" (
"no" real,
"barangay" text,
"area_in_km_2" text,
"rank" real,
"population_2000" real,
"population_2007" real,
"population_2010" real,
"population_density_2010" text
);
Que... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "demographics" (
"no" real,
"barangay" text,
"area_in_km_2" text,
"rank" real,
"population_2000" real,
"population_2007" real,
"population_2010" real,
"population_density_2010" text
);
Que... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"representative" text,
"state" text,
"training" text,
"title" text,
"appointment" text,
"presentation_of_credentials" text,
"termination_of_mission" text,
"reason" text
);
Que... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"representative" text,
"state" text,
"training" text,
"title" text,
"appointment" text,
"presentation_of_credentials" text,
"termination_of_mission" text,
"reason" text
);
Que... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"representative" text,
"state" text,
"training" text,
"title" text,
"appointment" text,
"presentation_of_credentials" text,
"termination_of_mission" text,
"reason" text
);
Que... |
<|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,
"director" text,
"result" text
);
Question: When was the film Här har du ditt liv used in nomin... |
<|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,
"director" text,
"result" text
);
Question: What's the original title of the film Zozo?
<|assis... |
<|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,
"director" text,
"result" text
);
Question: What's the original title of The New Land?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "women_s_doubles_15_3_titles_5_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: Name the championsh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "women_s_doubles_15_3_titles_5_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: Name the outcome fo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "women_s_doubles_15_3_titles_5_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: Name the opponets f... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.