text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "changes_during_term" (
"by_election" real,
"electorate" text,
"date" text,
"incumbent" text,
"reason" text,
"winner" text
);
Question: When edward shaw is the winner what is the date?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "changes_during_term" (
"by_election" real,
"electorate" text,
"date" text,
"incumbent" text,
"reason" text,
"winner" text
);
Question: When peninsula is the electorate what is the reason?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "changes_during_term" (
"by_election" real,
"electorate" text,
"date" text,
"incumbent" text,
"reason" text,
"winner" text
);
Question: When james seaton is the incumbent what is the reason?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_record" (
"age" real,
"date" text,
"track" text,
"race" text,
"distance_miles" text,
"jockey" text,
"handicap" text,
"field_no_horses" text,
"place" text,
"time" text,
"prize_mo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_record" (
"age" real,
"date" text,
"track" text,
"race" text,
"distance_miles" text,
"jockey" text,
"handicap" text,
"field_no_horses" text,
"place" text,
"time" text,
"prize_mo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_record" (
"age" real,
"date" text,
"track" text,
"race" text,
"distance_miles" text,
"jockey" text,
"handicap" text,
"field_no_horses" text,
"place" text,
"time" text,
"prize_mo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_talukas_in_ahmednagar_district_b" (
"taluka_name" text,
"population_2001_census" real,
"pct_of_district_population" text,
"male" real,
"male_pct" text,
"female" real,
"female_pct" te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_talukas_in_ahmednagar_district_b" (
"taluka_name" text,
"population_2001_census" real,
"pct_of_district_population" text,
"male" real,
"male_pct" text,
"female" real,
"female_pct" te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_talukas_in_ahmednagar_district_b" (
"taluka_name" text,
"population_2001_census" real,
"pct_of_district_population" text,
"male" real,
"male_pct" text,
"female" real,
"female_pct" te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_talukas_in_ahmednagar_district_b" (
"taluka_name" text,
"population_2001_census" real,
"pct_of_district_population" text,
"male" real,
"male_pct" text,
"female" real,
"female_pct" te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_talukas_in_ahmednagar_district_b" (
"taluka_name" text,
"population_2001_census" real,
"pct_of_district_population" text,
"male" real,
"male_pct" text,
"female" real,
"female_pct" te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_overview" (
"series" real,
"premiere" text,
"finale" text,
"runners_up" text,
"winner" text
);
Question: List all the runners-up on 16 October 2012?
<|assistant|>
SELECT "runners_up" FRO... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_overview" (
"series" real,
"premiere" text,
"finale" text,
"runners_up" text,
"winner" text
);
Question: What is the date when Miranda Gore Browne was runner-up?
<|assistant|>
SELECT "fi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_overview" (
"series" real,
"premiere" text,
"finale" text,
"runners_up" text,
"winner" text
);
Question: What is the date of the finale where Holly Bell was runner-up?
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_overview" (
"series" real,
"premiere" text,
"finale" text,
"runners_up" text,
"winner" text
);
Question: What is the premiere of the season where Holly Bell was the runner-up?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_overview" (
"series" real,
"premiere" text,
"finale" text,
"runners_up" text,
"winner" text
);
Question: How many runners-up were there when Joanne Wheatley won?
<|assistant|>
SELECT COU... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_overview" (
"series" real,
"premiere" text,
"finale" text,
"runners_up" text,
"winner" text
);
Question: Who won the season for which Brendan Lynch is the runner-up?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_three" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What is the pick # when the new jersey devils... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_three" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: Which college/junior/team has defence as the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_three" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: Which nhl team has kris draper as the player?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_three" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: Which position has new Jersey Devils as the n... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_three" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: Which college/junior/club team has jim mathie... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28967275_2" (
"episode_num" real,
"series_num" real,
"episode_title" text,
"original_air_date" text,
"production_code" real
);
Question: What is the series number of "the fallen star"?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28967275_2" (
"episode_num" real,
"series_num" real,
"episode_title" text,
"original_air_date" text,
"production_code" real
);
Question: What is the production code of the episode with s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28967275_2" (
"episode_num" real,
"series_num" real,
"episode_title" text,
"original_air_date" text,
"production_code" real
);
Question: How many episodes are titled "the suspension"?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28967275_2" (
"episode_num" real,
"series_num" real,
"episode_title" text,
"original_air_date" text,
"production_code" real
);
Question: What is the title of the episode with series numb... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28967275_2" (
"episode_num" real,
"series_num" real,
"episode_title" text,
"original_air_date" text,
"production_code" real
);
Question: What is the original airdate of episode #31?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_eight" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: Who was drafted to the Vancouver Canucks?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_eight" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: How many figures are provided for the team wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_eight" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What was the pick number when Paul Krake was ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_eight" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What pick number did the New York Rangers hav... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_eight" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What pick number was the Boston Bruins select... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_four" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: Which player is pick 64?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_four" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: Which player is the centre for the Detroit Red... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_four" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: How many positions drafted for the Minnesota N... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_seven" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What position did Roseau High School (USHS-MN... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_seven" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What are Scott Zygulski's pick numbers?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_seven" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: Which country is pick# 136 from?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_seven" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: How many nationalities does Alex Nikolic come... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_seven" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: How many NHL teams have a pick number of 128?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "doubles_7_3_4" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: Name the opponents for anabel medina garrigue... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "doubles_7_3_4" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: Name the parter for w/o
<|assistant|>
SELECT "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regional_broadcast_television_networks" (
"network" text,
"flagship" text,
"programming" text,
"region" text,
"origin" text,
"owner" text
);
Question: Which of the networks originate in Xalap... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regional_broadcast_television_networks" (
"network" text,
"flagship" text,
"programming" text,
"region" text,
"origin" text,
"owner" text
);
Question: What are all the programs on the Soy Gue... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regional_broadcast_television_networks" (
"network" text,
"flagship" text,
"programming" text,
"region" text,
"origin" text,
"owner" text
);
Question: Which owners originate in Mexico City?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regional_broadcast_television_networks" (
"network" text,
"flagship" text,
"programming" text,
"region" text,
"origin" text,
"owner" text
);
Question: Which network serves the Guerrero region... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regional_broadcast_television_networks" (
"network" text,
"flagship" text,
"programming" text,
"region" text,
"origin" text,
"owner" text
);
Question: Which regions are owned by estado de tab... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_codes" (
"code" text,
"subdivision_name_be_bgn_pcgn" text,
"subdivision_name_be_gost" text,
"subdivision_name_ru_bgn_pcgn" text,
"subdivision_name_ru_gost" text,
"subdivision_category"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_codes" (
"code" text,
"subdivision_name_be_bgn_pcgn" text,
"subdivision_name_be_gost" text,
"subdivision_name_ru_bgn_pcgn" text,
"subdivision_name_ru_gost" text,
"subdivision_category"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_codes" (
"code" text,
"subdivision_name_be_bgn_pcgn" text,
"subdivision_name_be_gost" text,
"subdivision_name_ru_bgn_pcgn" text,
"subdivision_name_ru_gost" text,
"subdivision_category"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_codes" (
"code" text,
"subdivision_name_be_bgn_pcgn" text,
"subdivision_name_be_gost" text,
"subdivision_name_ru_bgn_pcgn" text,
"subdivision_name_ru_gost" text,
"subdivision_category"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_codes" (
"code" text,
"subdivision_name_be_bgn_pcgn" text,
"subdivision_name_be_gost" text,
"subdivision_name_ru_bgn_pcgn" text,
"subdivision_name_ru_gost" text,
"subdivision_category"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "history" (
"number" text,
"serial_number" real,
"into_service" text,
"withdrawn" text,
"scrapped" text
);
Question: Name the into service for dh1
<|assistant|>
SELECT "into_service" FROM "histo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "history" (
"number" text,
"serial_number" real,
"into_service" text,
"withdrawn" text,
"scrapped" text
);
Question: Name the withdrawn for example and serial number 579
<|assistant|>
SELECT "wi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "history" (
"number" text,
"serial_number" real,
"into_service" text,
"withdrawn" text,
"scrapped" text
);
Question: Name the into service for dh2
<|assistant|>
SELECT "into_service" FROM "histo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "history" (
"number" text,
"serial_number" real,
"into_service" text,
"withdrawn" text,
"scrapped" text
);
Question: Name the most serial number for feb 1994
<|assistant|>
SELECT MAX("serial_num... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "history" (
"number" text,
"serial_number" real,
"into_service" text,
"withdrawn" text,
"scrapped" text
);
Question: Name the number for 2004 scapped
<|assistant|>
SELECT "number" FROM "history"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "history" (
"number" text,
"serial_number" real,
"into_service" text,
"withdrawn" text,
"scrapped" text
);
Question: Name the into service for dh1
<|assistant|>
SELECT "into_service" FROM "histo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_year" (
"month_sequence" real,
"numbered_month" text,
"month_name" text,
"regular_year" text,
"defective_year" real,
"excessive_year" real
);
Question: How many month names are there for ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_year" (
"month_sequence" real,
"numbered_month" text,
"month_name" text,
"regular_year" text,
"defective_year" real,
"excessive_year" real
);
Question: What is the defective year for the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_year" (
"month_sequence" real,
"numbered_month" text,
"month_name" text,
"regular_year" text,
"defective_year" real,
"excessive_year" real
);
Question: What is the month sequence for the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_year" (
"month_sequence" real,
"numbered_month" text,
"month_name" text,
"regular_year" text,
"defective_year" real,
"excessive_year" real
);
Question: What is the defective year for the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "u_s_nielsen_ratings" (
"episode" real,
"first_air_date" text,
"rating_18_49" text,
"share_18_49" real,
"viewers_millions" text,
"rank_timeslot" text
);
Question: When 4.5 is the rating (18-49... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "u_s_nielsen_ratings" (
"episode" real,
"first_air_date" text,
"rating_18_49" text,
"share_18_49" real,
"viewers_millions" text,
"rank_timeslot" text
);
Question: When 13 is the share (18-49) ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "u_s_nielsen_ratings" (
"episode" real,
"first_air_date" text,
"rating_18_49" text,
"share_18_49" real,
"viewers_millions" text,
"rank_timeslot" text
);
Question: When 11 is the episode what i... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "u_s_nielsen_ratings" (
"episode" real,
"first_air_date" text,
"rating_18_49" text,
"share_18_49" real,
"viewers_millions" text,
"rank_timeslot" text
);
Question: When there are 10.02 million... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "u_s_nielsen_ratings" (
"episode" real,
"first_air_date" text,
"rating_18_49" text,
"share_18_49" real,
"viewers_millions" text,
"rank_timeslot" text
);
Question: When there are 9.28 million v... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "u_s_nielsen_ratings" (
"episode" real,
"first_air_date" text,
"rating_18_49" text,
"share_18_49" real,
"viewers_millions" text,
"rank_timeslot" text
);
Question: When 4 is the episode what is... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_21_10_titles_11_runners_up" (
"result" text,
"no" real,
"date" text,
"category" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
);
Question: How many differ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "episode_information" (
"episode" real,
"title" text,
"writer" text,
"director" text,
"original_airdate" text,
"ratings_kanto" text
);
Question: Who was the writer for episode 3?
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "episode_information" (
"episode" real,
"title" text,
"writer" text,
"director" text,
"original_airdate" text,
"ratings_kanto" text
);
Question: What was the original airdate for the episode w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "episode_information" (
"episode" real,
"title" text,
"writer" text,
"director" text,
"original_airdate" text,
"ratings_kanto" text
);
Question: What episode did tomoyuki furumaya
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_home_and_away_season" (
"round" real,
"date" text,
"opponent" text,
"home_away" text,
"score_collingwoods_score_is_in_bold" text,
"result_includes_margin" text,
"venue" text,
"posi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_home_and_away_season" (
"round" real,
"date" text,
"opponent" text,
"home_away" text,
"score_collingwoods_score_is_in_bold" text,
"result_includes_margin" text,
"venue" text,
"posi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_home_and_away_season" (
"round" real,
"date" text,
"opponent" text,
"home_away" text,
"score_collingwoods_score_is_in_bold" text,
"result_includes_margin" text,
"venue" text,
"posi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_home_and_away_season" (
"round" real,
"date" text,
"opponent" text,
"home_away" text,
"score_collingwoods_score_is_in_bold" text,
"result_includes_margin" text,
"venue" text,
"posi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_home_and_away_season" (
"round" real,
"date" text,
"opponent" text,
"home_away" text,
"score_collingwoods_score_is_in_bold" text,
"result_includes_margin" text,
"venue" text,
"posi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"name" text,
"num" real,
"position" text,
"height" text,
"weight_lb" real,
"year" text,
"hometown" text,
"previous_school" text
);
Question: What was the previous school for the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"name" text,
"num" real,
"position" text,
"height" text,
"weight_lb" real,
"year" text,
"hometown" text,
"previous_school" text
);
Question: What is the lowest listed number for... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"name" text,
"num" real,
"position" text,
"height" text,
"weight_lb" real,
"year" text,
"hometown" text,
"previous_school" text
);
Question: Who previously attended south kent s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"name" text,
"num" real,
"position" text,
"height" text,
"weight_lb" real,
"year" text,
"hometown" text,
"previous_school" text
);
Question: What is the highest number a guard f... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29063233_1" (
"no_overall" real,
"no_for_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"uk_viewers_million" text
);
Question: How many ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29063233_1" (
"no_overall" real,
"no_for_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"uk_viewers_million" text
);
Question: Who direc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29063233_1" (
"no_overall" real,
"no_for_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"uk_viewers_million" text
);
Question: What was ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29063233_1" (
"no_overall" real,
"no_for_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"uk_viewers_million" text
);
Question: Who direc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "leadership_classification" (
"stage" real,
"winner" text,
"general_classification" text,
"mountains_classification" text,
"points_classification" text,
"sprints_classification" text,
"team_c... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "leadership_classification" (
"stage" real,
"winner" text,
"general_classification" text,
"mountains_classification" text,
"points_classification" text,
"sprints_classification" text,
"team_c... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "leadership_classification" (
"stage" real,
"winner" text,
"general_classification" text,
"mountains_classification" text,
"points_classification" text,
"sprints_classification" text,
"team_c... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "leadership_classification" (
"stage" real,
"winner" text,
"general_classification" text,
"mountains_classification" text,
"points_classification" text,
"sprints_classification" text,
"team_c... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "leadership_classification" (
"stage" real,
"winner" text,
"general_classification" text,
"mountains_classification" text,
"points_classification" text,
"sprints_classification" text,
"team_c... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "class_34_500_ge_type_u26_c" (
"ge_dl_works_no" real,
"year_built" text,
"built_for" text,
"original_no" text,
"new_owner" text,
"new_no" text
);
Question: What is listed in built for when the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29102612_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"prod_code" real,
"u_s_viewers_millions" text
);
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29102612_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"prod_code" real,
"u_s_viewers_millions" text
);
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29106680_1" (
"no_overall" real,
"no_for_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"uk_viewers_million" text
);
Question: What dat ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29106680_1" (
"no_overall" real,
"no_for_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"uk_viewers_million" text
);
Question: What date... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29106680_1" (
"no_overall" real,
"no_for_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"uk_viewers_million" text
);
Question: What epis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29087004_3" (
"series_num" real,
"production_code" real,
"title" text,
"directed_by" text,
"written_by" text,
"united_states_original_airdate" text,
"canada_original_airdate" text
);
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29087004_3" (
"series_num" real,
"production_code" real,
"title" text,
"directed_by" text,
"written_by" text,
"united_states_original_airdate" text,
"canada_original_airdate" text
);
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29087004_3" (
"series_num" real,
"production_code" real,
"title" text,
"directed_by" text,
"written_by" text,
"united_states_original_airdate" text,
"canada_original_airdate" text
);
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29087004_3" (
"series_num" real,
"production_code" real,
"title" text,
"directed_by" text,
"written_by" text,
"united_states_original_airdate" text,
"canada_original_airdate" text
);
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.