text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "former_members" (
"school" text,
"location" text,
"mascot" text,
"county" text,
"year_joined" real,
"year_left" text,
"conference_joined" text
);
Question: Can you tell me the Conference Jo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "former_members" (
"school" text,
"location" text,
"mascot" text,
"county" text,
"year_joined" real,
"year_left" text,
"conference_joined" text
);
Question: Can you tell me the Mascot that h... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "former_members" (
"school" text,
"location" text,
"mascot" text,
"county" text,
"year_joined" real,
"year_left" text,
"conference_joined" text
);
Question: Can you tell me the Conference Jo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "former_members" (
"school" text,
"location" text,
"mascot" text,
"county" text,
"year_joined" real,
"year_left" text,
"conference_joined" text
);
Question: Can you tell me the Location that... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_3_junior_classic_race" (
"rank" real,
"rider" text,
"team" text,
"speed" text,
"time" text
);
Question: What is the time of the rider from the 348cc K4 Honda team with a speed of 97.743mph... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
);
Question: What is the Lane of the swimmer with a Time of 8:34.25?
<|assistant|>
SELECT "lane" FROM "heats" WHE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
);
Question: What is the Name of the swimmer with a Time of 9:04.86 in Heat 2?
<|assistant|>
SELECT "name" FROM "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
);
Question: What is the Location of the E... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_players" (
"position" text,
"appearances" real,
"goals" real,
"first_appearance" real,
"last_appearance" real
);
Question: What is the average goals when the last appearance was before ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "former_members" (
"school" text,
"location" text,
"mascot" text,
"county" text,
"year_joined" real,
"year_left" real,
"conference_joined" text
);
Question: what is the school that left in 1... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "former_members" (
"school" text,
"location" text,
"mascot" text,
"county" text,
"year_joined" real,
"year_left" real,
"conference_joined" text
);
Question: what is the mascot for moores hil... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "former_members" (
"school" text,
"location" text,
"mascot" text,
"county" text,
"year_joined" real,
"year_left" real,
"conference_joined" text
);
Question: what is the conference joined for... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "former_members" (
"school" text,
"location" text,
"mascot" text,
"county" text,
"year_joined" real,
"year_left" real,
"conference_joined" text
);
Question: who is the mascot of the county 7... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "semifinal_1" (
"rank" real,
"lane" real,
"name" text,
"nationality" text,
"react" real,
"time" real
);
Question: What is the total time of the athlete from Canada with a lane less than 8 and ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "semifinal_1" (
"rank" real,
"lane" real,
"name" text,
"nationality" text,
"react" real,
"time" real
);
Question: What is the total react number with a time less than 20.05 and a lane less tha... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "semifinal_1" (
"rank" real,
"lane" real,
"name" text,
"nationality" text,
"react" real,
"time" real
);
Question: What is the average react of bryan barnett, who has a lane less than 2?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "former_members" (
"school" text,
"city" text,
"team_name" text,
"county" text,
"year_joined" text,
"year_left" text
);
Question: What year did the Hornets leave the conference?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "former_members" (
"school" text,
"city" text,
"team_name" text,
"county" text,
"year_joined" text,
"year_left" text
);
Question: In what city was the team that left the conference in 1949 bas... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "former_members" (
"school" text,
"city" text,
"team_name" text,
"county" text,
"year_joined" text,
"year_left" text
);
Question: What year did the team based in the city of Winamac join the c... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "former_members" (
"school" text,
"city" text,
"team_name" text,
"county" text,
"year_joined" text,
"year_left" text
);
Question: From what county was the team that left the conference in 1993... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "former_members" (
"school" text,
"city" text,
"team_name" text,
"county" text,
"year_joined" text,
"year_left" text
);
Question: From what school was the team that left the conference in 1992... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "former_members" (
"school" text,
"city" text,
"team_name" text,
"county" text,
"year_joined" text,
"year_left" text
);
Question: In what year did the team from the Western school join the con... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"draw" real,
"language" text,
"artist" text,
"song" text,
"english_translation" text,
"place" real,
"points" real
);
Question: What is the place when less than 1 point is scored?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"draw" real,
"language" text,
"artist" text,
"song" text,
"english_translation" text,
"place" real,
"points" real
);
Question: What is the highest draw number when 23 points are ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
);
Question: What is the lowest heat that had a time of 1:02.85 in a lane larger than 7?
<|assistant|>
SELECT MIN... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
);
Question: What is the sum of the lanes before heat 7 that elizabeth simmonds swam?
<|assistant|>
SELECT SUM("l... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1928_to_1933" (
"year" real,
"baden" text,
"w_rttemberg" text,
"nordbayern" text,
"s_dbayern" text
);
Question: What's the Südbayern in 1928?
<|assistant|>
SELECT "s_dbayern" FROM "1928_to_1933... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1928_to_1933" (
"year" real,
"baden" text,
"w_rttemberg" text,
"nordbayern" text,
"s_dbayern" text
);
Question: What's the Württemberg for Karlsruher FV happening after 1931?
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1928_to_1933" (
"year" real,
"baden" text,
"w_rttemberg" text,
"nordbayern" text,
"s_dbayern" text
);
Question: What's the year that has a Baden Freiburger FC?
<|assistant|>
SELECT COUNT("year"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1928_to_1933" (
"year" real,
"baden" text,
"w_rttemberg" text,
"nordbayern" text,
"s_dbayern" text
);
Question: What's the Württemberg in the year before 1929?
<|assistant|>
SELECT "w_rttemberg... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1928_to_1933" (
"year" real,
"baden" text,
"w_rttemberg" text,
"nordbayern" text,
"s_dbayern" text
);
Question: What's the Nordbayern with a Württemberg of Union Böckingen in the year before 19... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Qu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Qu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "semifinal_1" (
"rank" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
);
Question: What is the nationality with a lane larger than 1, and a rank larger than 5, for Hsu Chi-Chieh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "semifinal_1" (
"rank" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
);
Question: What is the lane with a time of 1:56.64, and a tank smaller than 7?
<|assistant|>
SELECT COUNT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "semifinal_1" (
"rank" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
);
Question: What is the rank of Japan?
<|assistant|>
SELECT "rank" FROM "semifinal_1" WHERE "nationality"=... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "semifinal_1" (
"rank" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
);
Question: What is the time for Russia?
<|assistant|>
SELECT "time" FROM "semifinal_1" WHERE "nationality... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medals_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: What nation has more than 0 silver medals and is ranked 1?
<|assistant|>
SELEC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medals_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: What is the rank of the country with total more than 3 and more than 6 silver?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medals_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: What is the most silver won by the country with more than 1 gold, 3 bronze, ra... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medals_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: What nation has a total less than 11, more than 1 silver and less than 1 bronz... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medals_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: What is the most silver won by Norway?
<|assistant|>
SELECT MAX("silver") FROM... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "assembly_segments" (
"constituency_number" text,
"name" text,
"reserved_for_sc_st_none" text,
"district" text,
"number_of_electorates_2009" real
);
Question: What district has a constituency of... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "assembly_segments" (
"constituency_number" text,
"name" text,
"reserved_for_sc_st_none" text,
"district" text,
"number_of_electorates_2009" real
);
Question: What is district has a name of Rajn... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "second_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
);
Question: What was the score for the away team of Brentford?
<|assistant|>
SELECT "score" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "second_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
);
Question: What was the score of the tied game or the away team of Crewe Alexandra?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "second_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
);
Question: What was the date of the game for the Wrexham away team?
<|assistant|>
SELECT "d... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "second_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
);
Question: What was the date of the game for the HartlePool United team?
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "box_office_score_data" (
"date" text,
"show" text,
"venue" text,
"city" text,
"tickets_sold_available" text,
"gross_revenue" text
);
Question: What is the number of tickets sold and available... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "box_office_score_data" (
"date" text,
"show" text,
"venue" text,
"city" text,
"tickets_sold_available" text,
"gross_revenue" text
);
Question: Which city has a venue of the Arco Arena?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"round" real,
"time" text,
"location" text
);
Question: What is the lowest round that has kazushi sak... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: Japan (JPN) with a total of less than 5, has what average gold medals?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: What is the average bronze medal when gold is greater than 0, and there is less... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: What is the sum of bronze medals when the rank is greater than 2, and less than... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: With a greater than 4 rank, and the silver medal greater than 0, and the bronze... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: What is the fewest gold medals when the bronze medals is greater than 5?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fourth_round" (
"pick" real,
"team" text,
"player" text,
"position" text,
"college" text
);
Question: What is the player when the team is oakland raiders?
<|assistant|>
SELECT "player" FROM "fo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fourth_round" (
"pick" real,
"team" text,
"player" text,
"position" text,
"college" text
);
Question: What is the team when the college is virginia tech?
<|assistant|>
SELECT "team" FROM "fourt... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fourth_round" (
"pick" real,
"team" text,
"player" text,
"position" text,
"college" text
);
Question: What college has a team of new york jets?
<|assistant|>
SELECT "college" FROM "fourth_round... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fourth_round" (
"pick" real,
"team" text,
"player" text,
"position" text,
"college" text
);
Question: What team has a pick larger than 30, when the college is saginaw valley state?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fourth_round" (
"pick" real,
"team" text,
"player" text,
"position" text,
"college" text
);
Question: What is the highest pick when the college is saginaw valley state?
<|assistant|>
SELECT MAX... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
);
Question: what is the record when the o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
);
Question: what is the even when the loc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"rank" real,
"name" text,
"altitude_meters" real,
"range" text,
"parent_range" text
);
Question: Which range includes Mount Fukushima, and is ranked 38?
<|assistant|>
SELECT "range"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"rank" real,
"name" text,
"altitude_meters" real,
"range" text,
"parent_range" text
);
Question: What is the altitude (meters) is associated with the Name Mount Launoit, with the ra... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"rank" real,
"name" text,
"altitude_meters" real,
"range" text,
"parent_range" text
);
Question: What is the Altitude (meters) associated with a rank smaller than 10, and the range ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"rank" real,
"name" text,
"altitude_meters" real,
"range" text,
"parent_range" text
);
Question: What name is associated with a rank greater than 69, an altitude (meters) smaller th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"rank" real,
"name" text,
"altitude_meters" real,
"range" text,
"parent_range" text
);
Question: What name is associated with a rank of less than 24, and an altitude (meters) of 308... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"location" text,
"mascot" text,
"enrollment" real,
"ihsaa_football_class" text,
"primary_conference" text,
"county" text
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"location" text,
"mascot" text,
"enrollment" real,
"ihsaa_football_class" text,
"primary_conference" text,
"county" text
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"location" text,
"mascot" text,
"enrollment" real,
"ihsaa_football_class" text,
"primary_conference" text,
"county" text
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"location" text,
"mascot" text,
"enrollment" real,
"ihsaa_football_class" text,
"primary_conference" text,
"county" text
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"location" text,
"mascot" text,
"enrollment" real,
"ihsaa_class" text,
"ihsaa_football_class" text,
"num_county" text
);
Question:... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medals_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: What nation has a total less than 2, silver of 1 and bronze less than 1?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medals_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: What's the total with silver being less than 0, less than 1 gold, and 3 bronze... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
);
Question: What's Australia's time in the heat more than 4?
<|assistant|>
SELECT "time" FROM "heats" WHERE "hea... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
);
Question: What's Sara Isakovič's lane number that had a heat of 3?
<|assistant|>
SELECT SUM("lane") FROM "heat... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
);
Question: What's the heat that was timed 2:08.54?
<|assistant|>
SELECT COUNT("heat") FROM "heats" WHERE "time"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1936" (
"title" text,
"series" text,
"director" text,
"production_num" text,
"release_date" text
);
Question: Who is the Director of Fish Tales?
<|assistant|>
SELECT "director" FROM "1936" WHER... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1936" (
"title" text,
"series" text,
"director" text,
"production_num" text,
"release_date" text
);
Question: What was released on 1936-08-29?
<|assistant|>
SELECT "title" FROM "1936" WHERE "re... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1936" (
"title" text,
"series" text,
"director" text,
"production_num" text,
"release_date" text
);
Question: What is the release date of Milk and Money?
<|assistant|>
SELECT "release_date" FRO... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1936" (
"title" text,
"series" text,
"director" text,
"production_num" text,
"release_date" text
);
Question: What is the release date of I Wanna Play House?
<|assistant|>
SELECT "release_date"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1936" (
"title" text,
"series" text,
"director" text,
"production_num" text,
"release_date" text
);
Question: Who is the director of Little Beau Porky?
<|assistant|>
SELECT "director" FROM "193... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1936" (
"title" text,
"series" text,
"director" text,
"production_num" text,
"release_date" text
);
Question: What is the release date of The Blow Out?
<|assistant|>
SELECT "release_date" FROM ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"play" text,
"author" text,
"company" text,
"base" text,
"country" text
);
Question: Who was the author for company Buzz Productions Theater?
<|assistant|>
SELECT "author" FROM "r... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"play" text,
"author" text,
"company" text,
"base" text,
"country" text
);
Question: What country had the play Cyclops?
<|assistant|>
SELECT "country" FROM "references" WHERE "pla... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"play" text,
"author" text,
"company" text,
"base" text,
"country" text
);
Question: What country had the play Medea?
<|assistant|>
SELECT "country" FROM "references" WHERE "play"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"play" text,
"author" text,
"company" text,
"base" text,
"country" text
);
Question: What play is from the country Belgium?
<|assistant|>
SELECT "play" FROM "references" WHERE "co... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"play" text,
"author" text,
"company" text,
"base" text,
"country" text
);
Question: What play has a base of Athens and was written by Aeschylus?
<|assistant|>
SELECT "play" FROM ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"play" text,
"author" text,
"company" text,
"base" text,
"country" text
);
Question: What is the company from Greece with author Aeschylus?
<|assistant|>
SELECT "company" FROM "re... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "examples" (
"coaster_name" text,
"park" text,
"location" text,
"track" text,
"builder" text,
"year_opened" text
);
Question: What is the coaster name that was opened in 1978, and have wooden ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "examples" (
"coaster_name" text,
"park" text,
"location" text,
"track" text,
"builder" text,
"year_opened" text
);
Question: Which year opened has le monstre coaster?
<|assistant|>
SELECT "ye... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "examples" (
"coaster_name" text,
"park" text,
"location" text,
"track" text,
"builder" text,
"year_opened" text
);
Question: Which coaster is located in sandusky, Ohio?
<|assistant|>
SELECT "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "examples" (
"coaster_name" text,
"park" text,
"location" text,
"track" text,
"builder" text,
"year_opened" text
);
Question: Which year opened is located in west mifflin, pennsylvania?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "appearances_and_goals" (
"name" text,
"position" text,
"league_apps" text,
"league_goals" real,
"fa_cup_apps" real,
"fa_cup_goals" real,
"league_cup_apps" real,
"league_cup_goals" real,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "appearances_and_goals" (
"name" text,
"position" text,
"league_apps" text,
"league_goals" real,
"fa_cup_apps" real,
"fa_cup_goals" real,
"league_cup_apps" real,
"league_cup_goals" real,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "appearances_and_goals" (
"name" text,
"position" text,
"league_apps" text,
"league_goals" real,
"fa_cup_apps" real,
"fa_cup_goals" real,
"league_cup_apps" real,
"league_cup_goals" real,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" text,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
);
Question: What game was played at Omni Coliseum with a w 105-95 score?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" text,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
);
Question: When did the team have a 10-8 record?
<|assistant|>
SELECT "date" F... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" text,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
);
Question: When was 11-8 the record?
<|assistant|>
SELECT "date" FROM "game_lo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.