text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_18424435_5" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"canadian_air_date" text,
"u_s_air_date" text,
"production_code" real,
"canadian_viewers_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_18424435_5" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"canadian_air_date" text,
"u_s_air_date" text,
"production_code" real,
"canadian_viewers_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_18424435_5" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"canadian_air_date" text,
"u_s_air_date" text,
"production_code" real,
"canadian_viewers_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_18424435_5" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"canadian_air_date" text,
"u_s_air_date" text,
"production_code" real,
"canadian_viewers_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_18424435_5" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"canadian_air_date" text,
"u_s_air_date" text,
"production_code" real,
"canadian_viewers_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "punjab" (
"serial_no" real,
"district" text,
"headquartered_city" text,
"city_population_2009" real,
"city_area_km_2" real
);
Question: In what district is the city listed in Serial number 9?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "punjab" (
"serial_no" real,
"district" text,
"headquartered_city" text,
"city_population_2009" real,
"city_area_km_2" real
);
Question: What is the area of the city in the Sargodha district?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "punjab" (
"serial_no" real,
"district" text,
"headquartered_city" text,
"city_population_2009" real,
"city_area_km_2" real
);
Question: What is the smallest city area?
<|assistant|>
SELECT MIN(... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "episodes" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: If Di Drew is the director, what was the origi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "administrative_districts" (
"district" text,
"s_barangay" real,
"population_2010_census" real,
"area_has" text,
"pop_density_per_km2" text
);
Question: What is the population (2010 census) if s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "administrative_districts" (
"district" text,
"s_barangay" real,
"population_2010_census" real,
"area_has" text,
"pop_density_per_km2" text
);
Question: What is the population (2010 census) if ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "elimination_chamber_entrances_and_elimin" (
"eliminated" real,
"wrestler" text,
"entered" real,
"eliminated_by" text,
"method_of_elimination" text,
"time" text
);
Question: How many entered t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "elimination_chamber_entrances_and_elimin" (
"eliminated" real,
"wrestler" text,
"entered" real,
"eliminated_by" text,
"method_of_elimination" text,
"time" text
);
Question: What was the time ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "elimination_chamber_entrances_and_elimin" (
"eliminated" real,
"wrestler" text,
"entered" real,
"eliminated_by" text,
"method_of_elimination" text,
"time" text
);
Question: What was the time ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "television_stations" (
"city_of_license_market" text,
"station" text,
"channel_tv_rf" text,
"owned_since" real,
"affiliation" text
);
Question: What are all the stations with a license in Cinci... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "television_stations" (
"city_of_license_market" text,
"station" text,
"channel_tv_rf" text,
"owned_since" real,
"affiliation" text
);
Question: What station is affiliated with kmgh-tv?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "television_stations" (
"city_of_license_market" text,
"station" text,
"channel_tv_rf" text,
"owned_since" real,
"affiliation" text
);
Question: How many stations have been owned since wfts-tv?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "television_stations" (
"city_of_license_market" text,
"station" text,
"channel_tv_rf" text,
"owned_since" real,
"affiliation" text
);
Question: What city of license/market has the channel of 41... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "television_stations" (
"city_of_license_market" text,
"station" text,
"channel_tv_rf" text,
"owned_since" real,
"affiliation" text
);
Question: What is the minimum stations owned since kero-tv?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "main_sites" (
"transmitter" text,
"service_area" text,
"radio_1_m_hz" text,
"2_fm_m_hz" text,
"rna_g_m_hz" text,
"lyric_fm_m_hz" text,
"erp_k_w" text
);
Question: What is the lyric fm for r... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "main_sites" (
"transmitter" text,
"service_area" text,
"radio_1_m_hz" text,
"2_fm_m_hz" text,
"rna_g_m_hz" text,
"lyric_fm_m_hz" text,
"erp_k_w" text
);
Question: What are the 2fm's for erp... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "main_sites" (
"transmitter" text,
"service_area" text,
"radio_1_m_hz" text,
"2_fm_m_hz" text,
"rna_g_m_hz" text,
"lyric_fm_m_hz" text,
"erp_k_w" text
);
Question: What is the rnag for kippu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "main_sites" (
"transmitter" text,
"service_area" text,
"radio_1_m_hz" text,
"2_fm_m_hz" text,
"rna_g_m_hz" text,
"lyric_fm_m_hz" text,
"erp_k_w" text
);
Question: What is the rnag for lyri... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "main_sites" (
"transmitter" text,
"service_area" text,
"radio_1_m_hz" text,
"2_fm_m_hz" text,
"rna_g_m_hz" text,
"lyric_fm_m_hz" text,
"erp_k_w" text
);
Question: What is the 2fm for rnag 9... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "senate" (
"state_class" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_of_successors_formal_installation" text
);
Question: How many reasons were given when A. Willis R... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "senate" (
"state_class" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_of_successors_formal_installation" text
);
Question: Who vacated his post when his successor was ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "senate" (
"state_class" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_of_successors_formal_installation" text
);
Question: What was the state (class) where the new suc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "best_selling_albums_in_the_uk" (
"no" real,
"album" text,
"artist" text,
"record_label" text,
"released" text,
"chart_peak" real,
"number_of_times_certified_platinum" text
);
Question: When... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "best_selling_albums_in_the_uk" (
"no" real,
"album" text,
"artist" text,
"record_label" text,
"released" text,
"chart_peak" real,
"number_of_times_certified_platinum" text
);
Question: When... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "best_selling_albums_in_the_uk" (
"no" real,
"album" text,
"artist" text,
"record_label" text,
"released" text,
"chart_peak" real,
"number_of_times_certified_platinum" text
);
Question: When... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "best_selling_albums_in_the_uk" (
"no" real,
"album" text,
"artist" text,
"record_label" text,
"released" text,
"chart_peak" real,
"number_of_times_certified_platinum" text
);
Question: When... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1847180_4" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
);
Question: Which district did Ralph Harvey (r) vacated when he re... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1847180_4" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
);
Question: Who did Walter B. Jones, Sr. (d) succeeded in office?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_18481791_2" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_in_millions" text
);
Question: What number episode in the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_18481791_2" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_in_millions" text
);
Question: Who wrote the episode titl... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_18481791_2" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_in_millions" text
);
Question: What was the title of the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_18481791_3" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_in_millions" text
);
Question: How... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_18481791_3" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_in_millions" text
);
Question: Wha... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_18481791_3" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_in_millions" text
);
Question: Whe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_18481791_3" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_in_millions" text
);
Question: Who... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_18481791_3" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_in_millions" text
);
Question: Wha... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_184803_4" (
"voting_order" real,
"country" text,
"spokespersons" text,
"commentator" text,
"broadcaster" text
);
Question: how many people commentated where broadcaster is orf
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_184803_4" (
"voting_order" real,
"country" text,
"spokespersons" text,
"commentator" text,
"broadcaster" text
);
Question: list the spokespersons where voting order is 9
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_184803_4" (
"voting_order" real,
"country" text,
"spokespersons" text,
"commentator" text,
"broadcaster" text
);
Question: which countries were commentated on by gordana bonetti
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_184803_4" (
"voting_order" real,
"country" text,
"spokespersons" text,
"commentator" text,
"broadcaster" text
);
Question: wich spokesperson talked on luxembourg
<|assistant|>
SELECT "sp... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_184803_4" (
"voting_order" real,
"country" text,
"spokespersons" text,
"commentator" text,
"broadcaster" text
);
Question: who was the commentator when spokesperson was claude darget
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "membership" (
"institution" text,
"location" text,
"founded" real,
"years_in_iiac_approx" text,
"team_nickname" text
);
Question: List all institutions with a team name of the Cardinals.
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "membership" (
"institution" text,
"location" text,
"founded" real,
"years_in_iiac_approx" text,
"team_nickname" text
);
Question: List the total number of institutions founded in Rock Island, I... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1849243_1" (
"episode" text,
"broadcast_date" text,
"run_time" text,
"viewers_in_millions" text,
"archive" text
);
Question: How many viewers in millions watched the episode 23:55 minute... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1849243_1" (
"episode" text,
"broadcast_date" text,
"run_time" text,
"viewers_in_millions" text,
"archive" text
);
Question: What is the broadcast date of the 16mm t/r episode?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1849243_1" (
"episode" text,
"broadcast_date" text,
"run_time" text,
"viewers_in_millions" text,
"archive" text
);
Question: How many viewers watched the 16mm t/r episode?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "broadcasters" (
"mexico" text,
"ma_ana_es_para_siempre" text,
"el_canal_de_las_estrellas" text,
"october_20_2008" text,
"june_14_2009" text,
"monday_to_friday" text
);
Question: state el cana... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "broadcasters" (
"mexico" text,
"ma_ana_es_para_siempre" text,
"el_canal_de_las_estrellas" text,
"october_20_2008" text,
"june_14_2009" text,
"monday_to_friday" text
);
Question: state el cana... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "broadcasters" (
"mexico" text,
"ma_ana_es_para_siempre" text,
"el_canal_de_las_estrellas" text,
"october_20_2008" text,
"june_14_2009" text,
"monday_to_friday" text
);
Question: what is the j... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "broadcasters" (
"mexico" text,
"ma_ana_es_para_siempre" text,
"el_canal_de_las_estrellas" text,
"october_20_2008" text,
"june_14_2009" text,
"monday_to_friday" text
);
Question: what is the m... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "broadcasters" (
"mexico" text,
"ma_ana_es_para_siempre" text,
"el_canal_de_las_estrellas" text,
"october_20_2008" text,
"june_14_2009" text,
"monday_to_friday" text
);
Question: state el cana... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "broadcasters" (
"mexico" text,
"ma_ana_es_para_siempre" text,
"el_canal_de_las_estrellas" text,
"october_20_2008" text,
"june_14_2009" text,
"monday_to_friday" text
);
Question: what is the o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1850282_7" (
"species" text,
"common_name" text,
"trinidad" text,
"tobago" text,
"bocas_is" text,
"other" text
);
Question: Name the other for chironius multiventris septentrionalis
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1850282_7" (
"species" text,
"common_name" text,
"trinidad" text,
"tobago" text,
"bocas_is" text,
"other" text
);
Question: Name the trinidad for yellow-bellied puffing snake
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1850282_7" (
"species" text,
"common_name" text,
"trinidad" text,
"tobago" text,
"bocas_is" text,
"other" text
);
Question: Name the bocas for chironius multiventris septentrionalis
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1850282_7" (
"species" text,
"common_name" text,
"trinidad" text,
"tobago" text,
"bocas_is" text,
"other" text
);
Question: Name the trindad for yellow-bellied puffing snake
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1850282_7" (
"species" text,
"common_name" text,
"trinidad" text,
"tobago" text,
"bocas_is" text,
"other" text
);
Question: Name the common name for chironius multiventris septentriona... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_2" (
"contestant_name" text,
"episode_num" real,
"date_premiered_2009" text,
"winning_amount" text,
"eliminated_contestant" text
);
Question: What contestant was premiered on July 25?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1850339_2" (
"season" real,
"trophy_winner" text,
"air_force_navy_score" text,
"air_force_army_score" text,
"army_navy_score" text
);
Question: What's the Air Force - Navy score in the 2... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1850339_2" (
"season" real,
"trophy_winner" text,
"air_force_navy_score" text,
"air_force_army_score" text,
"army_navy_score" text
);
Question: What was the Air Force - Navy score in the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1850339_2" (
"season" real,
"trophy_winner" text,
"air_force_navy_score" text,
"air_force_army_score" text,
"army_navy_score" text
);
Question: How many different season have an Army - N... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1852270_5" (
"episode" text,
"garfield_episode_1" text,
"u_s_acres_episode" text,
"garfield_episode_2" text,
"original_airdate" text
);
Question: In the first episode of Garfield titled ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1852270_5" (
"episode" text,
"garfield_episode_1" text,
"u_s_acres_episode" text,
"garfield_episode_2" text,
"original_airdate" text
);
Question: What is the title of the first episode o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1852270_5" (
"episode" text,
"garfield_episode_1" text,
"u_s_acres_episode" text,
"garfield_episode_2" text,
"original_airdate" text
);
Question: What is the name of the US Acres episode... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1852270_4" (
"episode" text,
"garfield_episode_1" text,
"u_s_acres_episode" text,
"garfield_episode_2" text,
"original_airdate" text
);
Question: what is the 2nd garfield episode for gar... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1852270_4" (
"episode" text,
"garfield_episode_1" text,
"u_s_acres_episode" text,
"garfield_episode_2" text,
"original_airdate" text
);
Question: what is the 2nd garfield episode where u... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1852270_4" (
"episode" text,
"garfield_episode_1" text,
"u_s_acres_episode" text,
"garfield_episode_2" text,
"original_airdate" text
);
Question: how many 2nd episodes for u.s. acres epi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1852270_4" (
"episode" text,
"garfield_episode_1" text,
"u_s_acres_episode" text,
"garfield_episode_2" text,
"original_airdate" text
);
Question: what is the original airdate for garfiel... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1852270_4" (
"episode" text,
"garfield_episode_1" text,
"u_s_acres_episode" text,
"garfield_episode_2" text,
"original_airdate" text
);
Question: what is the 2nd garfield episode where u... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1852270_4" (
"episode" text,
"garfield_episode_1" text,
"u_s_acres_episode" text,
"garfield_episode_2" text,
"original_airdate" text
);
Question: which episode had garfield episode 1 shi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1852270_6" (
"episode" text,
"garfield_episode_1" text,
"u_s_acres_episode" text,
"garfield_episode_2" text,
"original_airdate" text
);
Question: Which Garfield episode 2 has Garfield ep... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1852270_6" (
"episode" text,
"garfield_episode_1" text,
"u_s_acres_episode" text,
"garfield_episode_2" text,
"original_airdate" text
);
Question: What is the original air date of the u.s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1852270_6" (
"episode" text,
"garfield_episode_1" text,
"u_s_acres_episode" text,
"garfield_episode_2" text,
"original_airdate" text
);
Question: Which episode in Garfield episode 1 is t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1852270_6" (
"episode" text,
"garfield_episode_1" text,
"u_s_acres_episode" text,
"garfield_episode_2" text,
"original_airdate" text
);
Question: How many original airdates is Garfield e... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1852270_6" (
"episode" text,
"garfield_episode_1" text,
"u_s_acres_episode" text,
"garfield_episode_2" text,
"original_airdate" text
);
Question: Which u.s.acres episode has "show 79" as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1852270_6" (
"episode" text,
"garfield_episode_1" text,
"u_s_acres_episode" text,
"garfield_episode_2" text,
"original_airdate" text
);
Question: How many u.s. episodes have Garfield epi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1852270_2" (
"episode" text,
"garfield_episode_1" text,
"u_s_acres_episode" text,
"garfield_episode_2" text,
"original_airdate" text
);
Question: what is the garfield episode where us ac... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1852270_2" (
"episode" text,
"garfield_episode_1" text,
"u_s_acres_episode" text,
"garfield_episode_2" text,
"original_airdate" text
);
Question: what is the original airdate for shell s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1852270_3" (
"episode" text,
"garfield_episode_1" text,
"u_s_acres_episode" text,
"garfield_episode_2" text,
"original_airdate" text
);
Question: What is episode 2 for Robodie?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1852270_3" (
"episode" text,
"garfield_episode_1" text,
"u_s_acres_episode" text,
"garfield_episode_2" text,
"original_airdate" text
);
Question: What are the episodes for "Crime and Nou... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1852270_8" (
"episode" text,
"garfield_episode_1" text,
"u_s_acres_episode" text,
"garfield_episode_2" text,
"original_airdate" text
);
Question: What is the garfield episode 2 when epi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1852270_8" (
"episode" text,
"garfield_episode_1" text,
"u_s_acres_episode" text,
"garfield_episode_2" text,
"original_airdate" text
);
Question: What is the title of garfield episode 2 ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1852270_8" (
"episode" text,
"garfield_episode_1" text,
"u_s_acres_episode" text,
"garfield_episode_2" text,
"original_airdate" text
);
Question: What is the name of episode 2 for garfie... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1852270_8" (
"episode" text,
"garfield_episode_1" text,
"u_s_acres_episode" text,
"garfield_episode_2" text,
"original_airdate" text
);
Question: What is episode 2 of garfield when episo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performance_indicators_for_international" (
"country" text,
"tourist_arrivals_2011_millions" text,
"tourism_receipts_2011_millions_of_us" real,
"tourism_receipts_2011_us_per_arrival" real,
"tour... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performance_indicators_for_international" (
"country" text,
"tourist_arrivals_2011_millions" text,
"tourism_receipts_2011_millions_of_us" real,
"tourism_receipts_2011_us_per_arrival" real,
"tour... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performance_indicators_for_international" (
"country" text,
"tourist_arrivals_2011_millions" text,
"tourism_receipts_2011_millions_of_us" real,
"tourism_receipts_2011_us_per_arrival" real,
"tour... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "radio" (
"frequency" text,
"call_sign" text,
"branding" text,
"format" text,
"owner" text,
"language_rebroadcast" text
);
Question: When classic hits 102.1 cjcy is the branding who is the own... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "radio" (
"frequency" text,
"call_sign" text,
"branding" text,
"format" text,
"owner" text,
"language_rebroadcast" text
);
Question: When hot adult contemporary is the format what is the call ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "radio" (
"frequency" text,
"call_sign" text,
"branding" text,
"format" text,
"owner" text,
"language_rebroadcast" text
);
Question: When vista radio is the owner how many call signs are there... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "radio" (
"frequency" text,
"call_sign" text,
"branding" text,
"format" text,
"owner" text,
"language_rebroadcast" text
);
Question: When fm 97.3 is the frequency how many formats are there?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "radio" (
"frequency" text,
"call_sign" text,
"branding" text,
"format" text,
"owner" text,
"language_rebroadcast" text
);
Question: When vista radio is the owner what is the frequency?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
);
Q... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
);
Q... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
);
Q... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.