text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "scores" (
"record" text,
"date_and_time" text,
"competition" text,
"home_or_away" text,
"opponent" text,
"score" text
);
Question: Is the biggest win recorded as home or away?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "scores" (
"record" text,
"date_and_time" text,
"competition" text,
"home_or_away" text,
"opponent" text,
"score" text
);
Question: What competitions record a date and time of 17.04.1920 at 15... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "scores" (
"record" text,
"date_and_time" text,
"competition" text,
"home_or_away" text,
"opponent" text,
"score" text
);
Question: What records are hit where the opponent is Aylesbury United?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "scores" (
"record" text,
"date_and_time" text,
"competition" text,
"home_or_away" text,
"opponent" text,
"score" text
);
Question: Who was the opponent during the biggest defeat?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_12369913_1" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"director" text,
"result" text
);
Question: How many results are there with the original ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "rjtv_stations_nationwide_2nd_avenue" (
"branding" text,
"callsign" text,
"ch_num" text,
"power_k_w" text,
"station_type" text,
"coverage_transmitter_site" text
);
Question: What is the power ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "rjtv_stations_nationwide_2nd_avenue" (
"branding" text,
"callsign" text,
"ch_num" text,
"power_k_w" text,
"station_type" text,
"coverage_transmitter_site" text
);
Question: What is the covera... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "rjtv_stations_nationwide_2nd_avenue" (
"branding" text,
"callsign" text,
"ch_num" text,
"power_k_w" text,
"station_type" text,
"coverage_transmitter_site" text
);
Question: What is the ch# of... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "rjtv_stations_nationwide_2nd_avenue" (
"branding" text,
"callsign" text,
"ch_num" text,
"power_k_w" text,
"station_type" text,
"coverage_transmitter_site" text
);
Question: What is the covera... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "women" (
"num" real,
"athlete" text,
"shooting" text,
"fencing" text,
"swimming" text,
"riding" text,
"running" text,
"total" real
);
Question: What is the running of marlene sanchez?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "women" (
"num" real,
"athlete" text,
"shooting" text,
"fencing" text,
"swimming" text,
"riding" text,
"running" text,
"total" real
);
Question: What is the numberof running wiht pamela za... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "men" (
"num" real,
"athlete_noc" text,
"shooting" text,
"fencing" text,
"swimming" text,
"riding" text,
"running" text,
"total" real
);
Question: What's Luis Siri's shooting score?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "men" (
"num" real,
"athlete_noc" text,
"shooting" text,
"fencing" text,
"swimming" text,
"riding" text,
"running" text,
"total" real
);
Question: What's Eduardo Salas' riding score?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "men" (
"num" real,
"athlete_noc" text,
"shooting" text,
"fencing" text,
"swimming" text,
"riding" text,
"running" text,
"total" real
);
Question: What's the number of the player with 68.4... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "men" (
"num" real,
"athlete_noc" text,
"shooting" text,
"fencing" text,
"swimming" text,
"riding" text,
"running" text,
"total" real
);
Question: Who's the player with 2:05.63 (1296 pts) ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "men" (
"num" real,
"athlete_noc" text,
"shooting" text,
"fencing" text,
"swimming" text,
"riding" text,
"running" text,
"total" real
);
Question: What's the fencing score of the player wi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "men" (
"num" real,
"athlete_noc" text,
"shooting" text,
"fencing" text,
"swimming" text,
"riding" text,
"running" text,
"total" real
);
Question: What's Eli Bremer's fencing score?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_12419515_4" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"total_viewers_in_millions" text
);
Question: What ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_12419515_4" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"total_viewers_in_millions" text
);
Question: Who w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_12419515_4" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"total_viewers_in_millions" text
);
Question: Who d... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_12419515_4" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"total_viewers_in_millions" text
);
Question: How m... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_12419515_4" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"total_viewers_in_millions" text
);
Question: How m... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table_of_theophoric_names_with_yah_and_y" (
"strongs_num" text,
"hebrew_word" text,
"strongs_transliteration" text,
"strongs_words_compounded" text,
"english_spelling" text
);
Question: What is... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table_of_theophoric_names_with_yah_and_y" (
"strongs_num" text,
"hebrew_word" text,
"strongs_transliteration" text,
"strongs_words_compounded" text,
"english_spelling" text
);
Question: What is... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table_of_theophoric_names_with_yah_and_y" (
"strongs_num" text,
"hebrew_word" text,
"strongs_transliteration" text,
"strongs_words_compounded" text,
"english_spelling" text
);
Question: List th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table_of_theophoric_names_with_yah_and_y" (
"strongs_num" text,
"hebrew_word" text,
"strongs_transliteration" text,
"strongs_words_compounded" text,
"english_spelling" text
);
Question: What is... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table_of_theophoric_names_with_yah_and_y" (
"strongs_num" text,
"hebrew_word" text,
"strongs_transliteration" text,
"strongs_words_compounded" text,
"english_spelling" text
);
Question: What is... |
<|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: What is the latest year that 6th, Heartland is regular season... |
<|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: Which regular season contains playoffs in division finals?
<|... |
<|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: What is the lowest year that regular season is 4th, Rocky Mou... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_12444503_1" (
"season" text,
"winner" text,
"score" text,
"runner_up" text,
"lost_to_eventual_winner" text,
"lost_to_eventual_runner_up" text
);
Question: How many players lost to even... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_12444503_1" (
"season" text,
"winner" text,
"score" text,
"runner_up" text,
"lost_to_eventual_winner" text,
"lost_to_eventual_runner_up" text
);
Question: What's the number of seasons ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_12444503_1" (
"season" text,
"winner" text,
"score" text,
"runner_up" text,
"lost_to_eventual_winner" text,
"lost_to_eventual_runner_up" text
);
Question: In which season was Jeanne d'... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "year_by_year" (
"year" text,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
Question: What was the regular season listing in 2007?
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "year_by_year" (
"year" text,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
Question: What was the playoff result in 2002?
<|assistant|>
SELECT "pl... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "year_by_year" (
"year" text,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
Question: What was the open cup results in 2004?
<|assistant|>
SELECT "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "year_by_year" (
"year" text,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
Question: How many divisions were listed in 2006?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cast_members" (
"character" text,
"portrayed_by" text,
"main_cast_seasons" text,
"recurring_cast_seasons" text,
"num_of_episodes" real
);
Question: Kevin lucas appears in which seasons?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cast_members" (
"character" text,
"portrayed_by" text,
"main_cast_seasons" text,
"recurring_cast_seasons" text,
"num_of_episodes" real
);
Question: How many people named Nick Lucas are on the s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cast_members" (
"character" text,
"portrayed_by" text,
"main_cast_seasons" text,
"recurring_cast_seasons" text,
"num_of_episodes" real
);
Question: What seasons does stella malone appear?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cast_members" (
"character" text,
"portrayed_by" text,
"main_cast_seasons" text,
"recurring_cast_seasons" text,
"num_of_episodes" real
);
Question: What seasons does Nick lucas appear?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cast_members" (
"character" text,
"portrayed_by" text,
"main_cast_seasons" text,
"recurring_cast_seasons" text,
"num_of_episodes" real
);
Question: What seasons does Kevin Jonas appear?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cast_members" (
"character" text,
"portrayed_by" text,
"main_cast_seasons" text,
"recurring_cast_seasons" text,
"num_of_episodes" real
);
Question: What seasons does Nick Lucas appear in?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "all_in_the_family_till_death_us_do_part" (
"region_country" text,
"local_name" text,
"network" text,
"dates_aired" text,
"starring" text
);
Question: How many networks aired the franchise in 19... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "all_in_the_family_till_death_us_do_part" (
"region_country" text,
"local_name" text,
"network" text,
"dates_aired" text,
"starring" text
);
Question: In how many networks the local name of the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_12451376_3" (
"series_ep_num" real,
"season_3_ep_num" real,
"title" text,
"director" text,
"writer_s" text,
"original_airdate" text,
"production_code" real
);
Question: What is the t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "isc_tracks" (
"track_name" text,
"location" text,
"length" text,
"seating" real,
"year_opened" real,
"year_acquired_a" real
);
Question: What is the length of the track named michigan interna... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "isc_tracks" (
"track_name" text,
"location" text,
"length" text,
"seating" real,
"year_opened" real,
"year_acquired_a" real
);
Question: Where is the track that opened in 1995?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "isc_tracks" (
"track_name" text,
"location" text,
"length" text,
"seating" real,
"year_opened" real,
"year_acquired_a" real
);
Question: What is the location of the daytona international spee... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "isc_tracks" (
"track_name" text,
"location" text,
"length" text,
"seating" real,
"year_opened" real,
"year_acquired_a" real
);
Question: What is the location of the track that opened in 1950?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1245350_1" (
"quattroporte_iv" text,
"units_produced" real,
"production_period" text,
"engine_capacity" text,
"power" text,
"max_speed" text
);
Question: What is the power of the 3.2i ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1245350_1" (
"quattroporte_iv" text,
"units_produced" real,
"production_period" text,
"engine_capacity" text,
"power" text,
"max_speed" text
);
Question: What type of quattroporte iv o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1245350_1" (
"quattroporte_iv" text,
"units_produced" real,
"production_period" text,
"engine_capacity" text,
"power" text,
"max_speed" text
);
Question: When were 668 units produced?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1246208_5" (
"club" text,
"overall_record" text,
"goals_for" real,
"goals_for_avg" text,
"goals_against" real,
"goals_against_avg" text
);
Question: what is the overall record when the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1246208_5" (
"club" text,
"overall_record" text,
"goals_for" real,
"goals_for_avg" text,
"goals_against" real,
"goals_against_avg" text
);
Question: what is the goals for when the clu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "main_event_winners" (
"year" real,
"winner" text,
"winning_hand" text,
"prize_money" text,
"entrants" real,
"runner_up" text,
"losing_hand" text
);
Question: What was the total prize money ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "main_event_winners" (
"year" real,
"winner" text,
"winning_hand" text,
"prize_money" text,
"entrants" real,
"runner_up" text,
"losing_hand" text
);
Question: Who is the winner where the los... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "main_event_winners" (
"year" real,
"winner" text,
"winning_hand" text,
"prize_money" text,
"entrants" real,
"runner_up" text,
"losing_hand" text
);
Question: What was the losing hand where ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "main_event_winners" (
"year" real,
"winner" text,
"winning_hand" text,
"prize_money" text,
"entrants" real,
"runner_up" text,
"losing_hand" text
);
Question: How many losing hands are there... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "main_event_winners" (
"year" real,
"winner" text,
"winning_hand" text,
"prize_money" text,
"entrants" real,
"runner_up" text,
"losing_hand" text
);
Question: When Fabrizio Baldassari is the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_nyagatare_sectors_by_population_" (
"rank_in_nyagatare_sectors_2012" real,
"sector" text,
"area_in_sqkm" real,
"population_august_15_2012" real,
"population_august_15_2002" real,
"popu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_nyagatare_sectors_by_population_" (
"rank_in_nyagatare_sectors_2012" real,
"sector" text,
"area_in_sqkm" real,
"population_august_15_2012" real,
"population_august_15_2002" real,
"popu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_nyagatare_sectors_by_population_" (
"rank_in_nyagatare_sectors_2012" real,
"sector" text,
"area_in_sqkm" real,
"population_august_15_2012" real,
"population_august_15_2002" real,
"popu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_nyagatare_sectors_by_population_" (
"rank_in_nyagatare_sectors_2012" real,
"sector" text,
"area_in_sqkm" real,
"population_august_15_2012" real,
"population_august_15_2002" real,
"popu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_nyagatare_sectors_by_population_" (
"rank_in_nyagatare_sectors_2012" real,
"sector" text,
"area_in_sqkm" real,
"population_august_15_2012" real,
"population_august_15_2002" real,
"popu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_nyagatare_sectors_by_population_" (
"rank_in_nyagatare_sectors_2012" real,
"sector" text,
"area_in_sqkm" real,
"population_august_15_2012" real,
"population_august_15_2002" real,
"popu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "population" (
"year" real,
"total_region" real,
"biggenden" real,
"eidsvold" real,
"gayndah" real,
"monto" real,
"mundubbera" real,
"perry" real
);
Question: What is the biggended for 194... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "population" (
"year" real,
"total_region" real,
"biggenden" real,
"eidsvold" real,
"gayndah" real,
"monto" real,
"mundubbera" real,
"perry" real
);
Question: What is the monto where the t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "population" (
"year" real,
"total_region" real,
"biggenden" real,
"eidsvold" real,
"gayndah" real,
"monto" real,
"mundubbera" real,
"perry" real
);
Question: What is the gayndah when perr... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "population" (
"year" real,
"total_region" real,
"biggenden" real,
"eidsvold" real,
"gayndah" real,
"monto" real,
"mundubbera" real,
"perry" real
);
Question: What is the minimum mundubber... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1253396_5" (
"club" text,
"overall_record" text,
"goals_for" real,
"goals_for_avg" text,
"goals_against" real,
"goals_against_avg" text
);
Question: The Kansas City Wizards had a 9-10-... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1253396_5" (
"club" text,
"overall_record" text,
"goals_for" real,
"goals_for_avg" text,
"goals_against" real,
"goals_against_avg" text
);
Question: The Dallas Burn had a 12-9-7 record... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1253396_5" (
"club" text,
"overall_record" text,
"goals_for" real,
"goals_for_avg" text,
"goals_against" real,
"goals_against_avg" text
);
Question: D.C. United had a 9-14-5 record and... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "goalkeeping_leaders" (
"no" real,
"player" text,
"club" text,
"games_played" real,
"minutes" real,
"goals_against" real,
"ga_average" text,
"wins" real,
"loses" real
);
Question: What i... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_town_tramway_systems_in_the_neth" (
"name_of_system" text,
"location" text,
"traction_type" text,
"date_from" text,
"date_to" text,
"notes" text
);
Question: what is the date (from) w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_town_tramway_systems_in_the_neth" (
"name_of_system" text,
"location" text,
"traction_type" text,
"date_from" text,
"date_to" text,
"notes" text
);
Question: how many times is the dat... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_town_tramway_systems_in_the_neth" (
"name_of_system" text,
"location" text,
"traction_type" text,
"date_from" text,
"date_to" text,
"notes" text
);
Question: what is the date (from) w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_town_tramway_systems_in_the_neth" (
"name_of_system" text,
"location" text,
"traction_type" text,
"date_from" text,
"date_to" text,
"notes" text
);
Question: how many notes are form t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_town_tramway_systems_in_the_neth" (
"name_of_system" text,
"location" text,
"traction_type" text,
"date_from" text,
"date_to" text,
"notes" text
);
Question: what is the location for ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_town_tramway_systems_in_the_neth" (
"name_of_system" text,
"location" text,
"traction_type" text,
"date_from" text,
"date_to" text,
"notes" text
);
Question: what are the notes for da... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "population" (
"year" real,
"total_region" real,
"rockhampton" real,
"livingstone" real,
"fitzroy" real,
"mt_morgan" real
);
Question: what's the livingstone with fitzroy being 9499
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "population" (
"year" real,
"total_region" real,
"rockhampton" real,
"livingstone" real,
"fitzroy" real,
"mt_morgan" real
);
Question: what is the maximum total region with fitzroy being 8047
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "population" (
"year" real,
"total_region" real,
"rockhampton" real,
"livingstone" real,
"fitzroy" real,
"mt_morgan" real
);
Question: what is the minimum rockhampton
<|assistant|>
SELECT MIN(... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "population" (
"year" real,
"population_region_total" real,
"population_stanthorpe" real,
"population_warwick" real,
"population_allora" real,
"population_glengallan" real,
"population_rosent... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "population" (
"year" real,
"population_region_total" real,
"population_stanthorpe" real,
"population_warwick" real,
"population_allora" real,
"population_glengallan" real,
"population_rosent... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "population" (
"year" real,
"population_region_total" real,
"population_stanthorpe" real,
"population_warwick" real,
"population_allora" real,
"population_glengallan" real,
"population_rosent... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "population" (
"year" real,
"population_region_total" real,
"population_stanthorpe" real,
"population_warwick" real,
"population_allora" real,
"population_glengallan" real,
"population_rosent... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "population" (
"year" real,
"population_region_total" real,
"population_stanthorpe" real,
"population_warwick" real,
"population_allora" real,
"population_glengallan" real,
"population_rosent... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ships" (
"ship" text,
"builder" text,
"namesake" text,
"renamed" text,
"laid_down" real,
"launched" text,
"commissioned_or_completed" text
);
Question: When was the ship launched when the c... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ships" (
"ship" text,
"builder" text,
"namesake" text,
"renamed" text,
"laid_down" real,
"launched" text,
"commissioned_or_completed" text
);
Question: When was the ship tecumseh launched?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ships" (
"ship" text,
"builder" text,
"namesake" text,
"renamed" text,
"laid_down" real,
"launched" text,
"commissioned_or_completed" text
);
Question: What is the namesake of the ship that... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ships" (
"ship" text,
"builder" text,
"namesake" text,
"renamed" text,
"laid_down" real,
"launched" text,
"commissioned_or_completed" text
);
Question: What is the minimum laid down?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "postgraduate" (
"program" text,
"degree" text,
"focus" text,
"teaching_language" text,
"duration_years" text,
"full_time_part_time" text,
"ects_credit_points" real
);
Question: What is the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "postgraduate" (
"program" text,
"degree" text,
"focus" text,
"teaching_language" text,
"duration_years" text,
"full_time_part_time" text,
"ects_credit_points" real
);
Question: what is teac... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "postgraduate" (
"program" text,
"degree" text,
"focus" text,
"teaching_language" text,
"duration_years" text,
"full_time_part_time" text,
"ects_credit_points" real
);
Question: WHat is the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "postgraduate" (
"program" text,
"degree" text,
"focus" text,
"teaching_language" text,
"duration_years" text,
"full_time_part_time" text,
"ects_credit_points" real
);
Question: What is the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "postgraduate" (
"program" text,
"degree" text,
"focus" text,
"teaching_language" text,
"duration_years" text,
"full_time_part_time" text,
"ects_credit_points" real
);
Question: What is the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_12588029_3" (
"year" real,
"song_title" text,
"artist" text,
"master_recording" text,
"release_date" text,
"single_pack" text
);
Question: What are the release dates for songs in 2003?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_12588029_3" (
"year" real,
"song_title" text,
"artist" text,
"master_recording" text,
"release_date" text,
"single_pack" text
);
Question: How many singles have a song titled "Antisoci... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_12588029_3" (
"year" real,
"song_title" text,
"artist" text,
"master_recording" text,
"release_date" text,
"single_pack" text
);
Question: Which artist has a song titled "Soothsayer"?
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.