text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23649244_1" (
"song_1_title" text,
"artist_1" text,
"song_2_title" text,
"artist_2" text,
"mix_artist" text,
"guitar_part" text,
"level" text
);
Question: Which mix artists have shlo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "professional_league_1951_present" (
"season" real,
"champion" text,
"count" real,
"runners_up" text,
"third_place" text,
"top_scorer" text,
"top_scorers_club" text,
"goals" text
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "professional_league_1951_present" (
"season" real,
"champion" text,
"count" real,
"runners_up" text,
"third_place" text,
"top_scorer" text,
"top_scorers_club" text,
"goals" text
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "professional_league_1951_present" (
"season" real,
"champion" text,
"count" real,
"runners_up" text,
"third_place" text,
"top_scorer" text,
"top_scorers_club" text,
"goals" text
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
Question: Name the open cup for usl pdl for did not qualify
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
Question: Name the total number of open cup for 1996
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
Question: Name the open cup for division finals
<|assistant|>
SELECT "o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fiba_euro_basket_2009_squads" (
"no" real,
"player" text,
"height_m" text,
"height_f" text,
"position" text,
"year_born" real,
"current_club" text
);
Question: Name the position for 2.16
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fiba_euro_basket_2009_squads" (
"no" real,
"player" text,
"height_m" text,
"height_f" text,
"position" text,
"year_born" real,
"current_club" text
);
Question: Name the number for 1.96 heig... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fiba_euro_basket_2009_squads" (
"no" real,
"player" text,
"height_m" text,
"height_f" text,
"position" text,
"year_born" real,
"current_club" text
);
Question: Name the height for number 7
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fiba_euro_basket_2009_squads" (
"no" real,
"player" text,
"height_m" text,
"height_f" text,
"position" text,
"year_born" real,
"current_club" text
);
Question: name the player for number 5
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fiba_euro_basket_2009_squads" (
"no" real,
"player" text,
"height_m" text,
"height_f" text,
"position" text,
"year_born" real,
"current_club" text
);
Question: Identify every player's heigh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fiba_euro_basket_2009_squads" (
"no" real,
"player" text,
"height_m" text,
"height_f" text,
"position" text,
"year_born" real,
"current_club" text
);
Question: For all players playing at th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fiba_euro_basket_2009_squads" (
"no" real,
"player" text,
"height_m" text,
"height_f" text,
"position" text,
"year_born" real,
"current_club" text
);
Question: Display the serial numbers fo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fiba_euro_basket_2009_squads" (
"no" real,
"player" text,
"height_m" text,
"height_f" text,
"position" text,
"year_born" real,
"current_club" text
);
Question: What is the date of birth for... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fiba_euro_basket_2009_squads" (
"no" real,
"player" text,
"height_m" text,
"height_f" text,
"position" text,
"year_born" real,
"current_club" text
);
Question: How many positions are availa... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fiba_euro_basket_2009_squads" (
"no" real,
"player" text,
"height_m" text,
"height_f" text,
"position" text,
"year_born" real,
"current_club" text
);
Question: How tall is the basket ball p... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "averages" (
"rank_by_average" real,
"place" real,
"couple" text,
"total_points_earned" real,
"number_of_dances" real,
"average" text
);
Question: What was the average score for the couple tha... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "averages" (
"rank_by_average" real,
"place" real,
"couple" text,
"total_points_earned" real,
"number_of_dances" real,
"average" text
);
Question: How many averages were listed for the couple ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "averages" (
"rank_by_average" real,
"place" real,
"couple" text,
"total_points_earned" real,
"number_of_dances" real,
"average" text
);
Question: How many total points were earned from the co... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23667534_1" (
"episode_title" text,
"song_s_title" text,
"writer" text,
"singer_s" text,
"album_s" text
);
Question: What album was the song It's going so badly on?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23667534_1" (
"episode_title" text,
"song_s_title" text,
"writer" text,
"singer_s" text,
"album_s" text
);
Question: What album was the song My Chariot on?
<|assistant|>
SELECT "album_s"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23667534_1" (
"episode_title" text,
"song_s_title" text,
"writer" text,
"singer_s" text,
"album_s" text
);
Question: Who sand He's Bigfoot?
<|assistant|>
SELECT "singer_s" FROM "table1_2... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23667534_1" (
"episode_title" text,
"song_s_title" text,
"writer" text,
"singer_s" text,
"album_s" text
);
Question: What album was the song Shimmy Jimmy from the episode titled Toy to t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fiba_euro_basket_2009_squads" (
"no" real,
"player" text,
"height_m" text,
"height_f" text,
"position" text,
"year_born" real,
"current_club" text
);
Question: which players have a height o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fiba_euro_basket_2009_squads" (
"no" real,
"player" text,
"height_m" text,
"height_f" text,
"position" text,
"year_born" real,
"current_club" text
);
Question: Which clubs have players with... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fiba_euro_basket_2009_squads" (
"no" real,
"player" text,
"height_m" text,
"height_f" text,
"position" text,
"year_born" real,
"current_club" text
);
Question: Which players were born in 19... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fiba_euro_basket_2009_squads" (
"no" real,
"player" text,
"height_m" text,
"height_f" text,
"position" text,
"year_born" real,
"current_club" text
);
Question: What is every current club fo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fiba_euro_basket_2009_squads" (
"no" real,
"player" text,
"height_m" text,
"height_f" text,
"position" text,
"year_born" real,
"current_club" text
);
Question: How many players have a heigh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fiba_euro_basket_2009_squads" (
"no" real,
"player" text,
"height_m" text,
"height_f" text,
"position" text,
"year_born" real,
"current_club" text
);
Question: What is the latest year born ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fiba_euro_basket_2009_squads" (
"no" real,
"player" text,
"height_m" text,
"height_f" text,
"position" text,
"year_born" real,
"current_club" text
);
Question: How many current clubs have t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fiba_euro_basket_2009_squads" (
"no" real,
"player" text,
"height_m" text,
"height_f" text,
"position" text,
"year_born" real,
"current_club" text
);
Question: What is every year born for h... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fiba_euro_basket_2009_squads" (
"no" real,
"player" text,
"height_m" text,
"height_f" text,
"position" text,
"year_born" real,
"current_club" text
);
Question: What is every number when the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "enrollment" (
"year" text,
"district_wide" real,
"high_schools" real,
"middle_schools" real,
"elementary_schools" real,
"other_programs_adjustments" real
);
Question: Name the most high schoo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "enrollment" (
"year" text,
"district_wide" real,
"high_schools" real,
"middle_schools" real,
"elementary_schools" real,
"other_programs_adjustments" real
);
Question: Name the most district w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "enrollment" (
"year" text,
"district_wide" real,
"high_schools" real,
"middle_schools" real,
"elementary_schools" real,
"other_programs_adjustments" real
);
Question: Name the total number of... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "enrollment" (
"year" text,
"district_wide" real,
"high_schools" real,
"middle_schools" real,
"elementary_schools" real,
"other_programs_adjustments" real
);
Question: Name the most middle sch... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "average_polling" (
"party" text,
"result_parliam_election_2005" text,
"result_county_elections_2007" text,
"aug_2008" text,
"sep_2008" text,
"oct_2008" text,
"nov_2008" text,
"dec_2008" te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "average_polling" (
"party" text,
"result_parliam_election_2005" text,
"result_county_elections_2007" text,
"aug_2008" text,
"sep_2008" text,
"oct_2008" text,
"nov_2008" text,
"dec_2008" te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "average_polling" (
"party" text,
"result_parliam_election_2005" text,
"result_county_elections_2007" text,
"aug_2008" text,
"sep_2008" text,
"oct_2008" text,
"nov_2008" text,
"dec_2008" te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "average_polling" (
"party" text,
"result_parliam_election_2005" text,
"result_county_elections_2007" text,
"aug_2008" text,
"sep_2008" text,
"oct_2008" text,
"nov_2008" text,
"dec_2008" te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "average_polling" (
"party" text,
"result_parliam_election_2005" text,
"result_county_elections_2007" text,
"aug_2008" text,
"sep_2008" text,
"oct_2008" text,
"nov_2008" text,
"dec_2008" te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "average_polling" (
"party" text,
"result_parliam_election_2005" text,
"result_county_elections_2007" text,
"aug_2008" text,
"sep_2008" text,
"oct_2008" text,
"nov_2008" text,
"dec_2008" te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "average_polling" (
"party" text,
"week_32" text,
"week_33" text,
"week_34" text,
"week_35" text,
"week_36" text,
"week_37" text
);
Question: What is the week 32 result when week 33 is 31.9%... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "average_polling" (
"party" text,
"week_32" text,
"week_33" text,
"week_34" text,
"week_35" text,
"week_36" text,
"week_37" text
);
Question: List all week 37 results when week 33 is 14.3%.
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "average_polling" (
"party" text,
"week_32" text,
"week_33" text,
"week_34" text,
"week_35" text,
"week_36" text,
"week_37" text
);
Question: List the full amount of week 36 results when wee... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23685890_2" (
"local_government_area" text,
"type" text,
"major_town" text,
"land_area_km" text,
"pop_2006" real,
"density_km_2" real,
"towns" real,
"est" real
);
Question: On what... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23685890_2" (
"local_government_area" text,
"type" text,
"major_town" text,
"land_area_km" text,
"pop_2006" real,
"density_km_2" real,
"towns" real,
"est" real
);
Question: Which m... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23685890_2" (
"local_government_area" text,
"type" text,
"major_town" text,
"land_area_km" text,
"pop_2006" real,
"density_km_2" real,
"towns" real,
"est" real
);
Question: How man... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23685890_2" (
"local_government_area" text,
"type" text,
"major_town" text,
"land_area_km" text,
"pop_2006" real,
"density_km_2" real,
"towns" real,
"est" real
);
Question: What ty... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23685890_2" (
"local_government_area" text,
"type" text,
"major_town" text,
"land_area_km" text,
"pop_2006" real,
"density_km_2" real,
"towns" real,
"est" real
);
Question: What wa... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
);
Question: During what week was the game attended by 20114 peo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
);
Question: What was the record in game played on July 28?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
);
Question: What was the record in the game against Eskimos?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2012" (
"name" text,
"starting_chip_count" real,
"wsop_bracelets" real,
"wsop_cashes" real,
"wsop_earnings" text,
"final_place" text,
"prize" text
);
Question: Whose WSOP earnings were $36,... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2012" (
"name" text,
"starting_chip_count" real,
"wsop_bracelets" real,
"wsop_cashes" real,
"wsop_earnings" text,
"final_place" text,
"prize" text
);
Question: The person who had 0 WSOP ear... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2012" (
"name" text,
"starting_chip_count" real,
"wsop_bracelets" real,
"wsop_cashes" real,
"wsop_earnings" text,
"final_place" text,
"prize" text
);
Question: Who had 2 WSOP cashes and was... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2012" (
"name" text,
"starting_chip_count" real,
"wsop_bracelets" real,
"wsop_cashes" real,
"wsop_earnings" text,
"final_place" text,
"prize" text
);
Question: What is the smallest amount o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2012" (
"name" text,
"starting_chip_count" real,
"wsop_bracelets" real,
"wsop_cashes" real,
"wsop_earnings" text,
"final_place" text,
"prize" text
);
Question: The person who had $126,796 W... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_237036_2" (
"level" text,
"luma_samples_s" real,
"macroblocks_s" real,
"luma_samples" real,
"macroblocks" real,
"baseline_extended_and_main_profiles" real,
"high_profile" real,
"hig... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_237036_2" (
"level" text,
"luma_samples_s" real,
"macroblocks_s" real,
"luma_samples" real,
"macroblocks" real,
"baseline_extended_and_main_profiles" real,
"high_profile" real,
"hig... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_237036_2" (
"level" text,
"luma_samples_s" real,
"macroblocks_s" real,
"luma_samples" real,
"macroblocks" real,
"baseline_extended_and_main_profiles" real,
"high_profile" real,
"hig... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_237036_2" (
"level" text,
"luma_samples_s" real,
"macroblocks_s" real,
"luma_samples" real,
"macroblocks" real,
"baseline_extended_and_main_profiles" real,
"high_profile" real,
"hig... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_237036_2" (
"level" text,
"luma_samples_s" real,
"macroblocks_s" real,
"luma_samples" real,
"macroblocks" real,
"baseline_extended_and_main_profiles" real,
"high_profile" real,
"hig... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23705843_1" (
"episode" text,
"director" text,
"writer" text,
"original_air_date" text,
"ratings_millions" text
);
Question: What is the original air date if the ratings is 1.92 million?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23705843_1" (
"episode" text,
"director" text,
"writer" text,
"original_air_date" text,
"ratings_millions" text
);
Question: What is the name of the writer when the ratings was 2.61 mill... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2370579_1" (
"episode_num" real,
"prod_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"originalairdate" text,
"filmed" text
);
Question: What date did the episode "t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2370579_1" (
"episode_num" real,
"prod_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"originalairdate" text,
"filmed" text
);
Question: Who directed the episode wri... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2370579_1" (
"episode_num" real,
"prod_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"originalairdate" text,
"filmed" text
);
Question: What is the production numbe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2370579_1" (
"episode_num" real,
"prod_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"originalairdate" text,
"filmed" text
);
Question: What month and year was "sto... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "future_tense" (
"aromanian_gramustean_farshirot" text,
"romanian_archaic" text,
"romanian_colloquial" text,
"romanian_modern" text,
"english" text
);
Question: What is the colloquial translatio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bowl_games" (
"bowl_game" text,
"date" text,
"stadium" text,
"city" text,
"television" text,
"matchup_results" text,
"attendance" real,
"payout_us" text
);
Question: What was the date of ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bowl_games" (
"bowl_game" text,
"date" text,
"stadium" text,
"city" text,
"television" text,
"matchup_results" text,
"attendance" real,
"payout_us" text
);
Question: How many different ma... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bowl_games" (
"bowl_game" text,
"date" text,
"stadium" text,
"city" text,
"television" text,
"matchup_results" text,
"attendance" real,
"payout_us" text
);
Question: How many different it... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bowl_games" (
"bowl_game" text,
"date" text,
"stadium" text,
"city" text,
"television" text,
"matchup_results" text,
"attendance" real,
"payout_us" text
);
Question: How many different it... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bowl_games" (
"bowl_game" text,
"date" text,
"stadium" text,
"city" text,
"television" text,
"matchup_results" text,
"attendance" real,
"payout_us" text
);
Question: In what bowl game was... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bowl_games" (
"bowl_game" text,
"date" text,
"stadium" text,
"city" text,
"television" text,
"matchup_results" text,
"attendance" real,
"payout_us" text
);
Question: What was the televisi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "manufacturer_s_worldwide_ranking" (
"rank" real,
"company_name" text,
"2008_rank" text,
"2009_revenue" text,
"north_american_brands" text,
"world_headquarters" text,
"country" text
);
Quest... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "manufacturer_s_worldwide_ranking" (
"rank" real,
"company_name" text,
"2008_rank" text,
"2009_revenue" text,
"north_american_brands" text,
"world_headquarters" text,
"country" text
);
Quest... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "manufacturer_s_worldwide_ranking" (
"rank" real,
"company_name" text,
"2008_rank" text,
"2009_revenue" text,
"north_american_brands" text,
"world_headquarters" text,
"country" text
);
Quest... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "manufacturer_s_worldwide_ranking" (
"rank" real,
"company_name" text,
"2008_rank" text,
"2009_revenue" text,
"north_american_brands" text,
"world_headquarters" text,
"country" text
);
Quest... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "manufacturer_s_worldwide_ranking" (
"rank" real,
"company_name" text,
"2008_rank" text,
"2009_revenue" text,
"north_american_brands" text,
"world_headquarters" text,
"country" text
);
Quest... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "engines" (
"vehicle_code" text,
"bore_mm" text,
"stroke_mm" text,
"capacity_cm_3" real,
"compression_ratio" text,
"torque_n_m" real,
"power_hp" real
);
Question: what is the bore where the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "engines" (
"vehicle_code" text,
"bore_mm" text,
"stroke_mm" text,
"capacity_cm_3" real,
"compression_ratio" text,
"torque_n_m" real,
"power_hp" real
);
Question: what is the compression rat... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "engines" (
"vehicle_code" text,
"bore_mm" text,
"stroke_mm" text,
"capacity_cm_3" real,
"compression_ratio" text,
"torque_n_m" real,
"power_hp" real
);
Question: what is the vehicle code wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "engines" (
"vehicle_code" text,
"bore_mm" text,
"stroke_mm" text,
"capacity_cm_3" real,
"compression_ratio" text,
"torque_n_m" real,
"power_hp" real
);
Question: what is the stroke where th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_1_2010" (
"no" real,
"episode" text,
"rating" text,
"share" real,
"rating_share_18_49" text,
"viewers_millions" text,
"rank_timeslot" real,
"rank_night" real
);
Question: What was ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_1_2010" (
"no" real,
"episode" text,
"rating" text,
"share" real,
"rating_share_18_49" text,
"viewers_millions" text,
"rank_timeslot" real,
"rank_night" real
);
Question: What was ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_1_2010" (
"no" real,
"episode" text,
"rating" text,
"share" real,
"rating_share_18_49" text,
"viewers_millions" text,
"rank_timeslot" real,
"rank_night" real
);
Question: What numb... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_1_2010" (
"no" real,
"episode" text,
"rating" text,
"share" real,
"rating_share_18_49" text,
"viewers_millions" text,
"rank_timeslot" real,
"rank_night" real
);
Question: What was ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_1_2010" (
"no" real,
"episode" text,
"rating" text,
"share" real,
"rating_share_18_49" text,
"viewers_millions" text,
"rank_timeslot" real,
"rank_night" real
);
Question: What was ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_1_2010" (
"no" real,
"episode" text,
"rating" text,
"share" real,
"rating_share_18_49" text,
"viewers_millions" text,
"rank_timeslot" real,
"rank_night" real
);
Question: What numb... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_year" (
"year" real,
"winner_number_of_titles" text,
"runners_up" text,
"top_team_in_regular_season_points" text,
"top_scorer_points" text,
"winning_coach" text
);
Question: What is the wi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_year" (
"year" real,
"winner_number_of_titles" text,
"runners_up" text,
"top_team_in_regular_season_points" text,
"top_scorer_points" text,
"winning_coach" text
);
Question: If the top tea... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_year" (
"year" real,
"winner_number_of_titles" text,
"runners_up" text,
"top_team_in_regular_season_points" text,
"top_scorer_points" text,
"winning_coach" text
);
Question: If the runner-... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23777640_1" (
"administrative_district" text,
"ds_divisions" real,
"gn_divisions" real,
"total_area_km_2" real,
"land_area_km_2" real,
"sri_lankan_tamil" real,
"sri_lankan_moors" real... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "in_operation" (
"rank" real,
"operators_name" text,
"technology" text,
"subscribers_in_millions" text,
"ownership" text,
"market_share" text
);
Question: What was the market share of the oper... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "in_operation" (
"rank" real,
"operators_name" text,
"technology" text,
"subscribers_in_millions" text,
"ownership" text,
"market_share" text
);
Question: What was the rank of operator whose t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23793770_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" text
);
Question: Wha... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23793770_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" text
);
Question: Wha... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.