text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
);
Question: What was the attendance during the november 16, 1975 game?
<|assistant|>
SELECT MAX("attenda... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "summary" (
"owner" text,
"class" text,
"number_in_class" real,
"road_numbers" text,
"built" text
);
Question: What is the total number in class for the Whitehaven Coal?
<|assistant|>
SELECT SUM... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "summary" (
"owner" text,
"class" text,
"number_in_class" real,
"road_numbers" text,
"built" text
);
Question: What was built in a class with less than 10, and the Downer Rail owner?
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "summary" (
"owner" text,
"class" text,
"number_in_class" real,
"road_numbers" text,
"built" text
);
Question: Which class has more than 15 people in the class?
<|assistant|>
SELECT "class" FROM... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "summary" (
"owner" text,
"class" text,
"number_in_class" real,
"road_numbers" text,
"built" text
);
Question: Who is the owner that built in 2009-2011?
<|assistant|>
SELECT "owner" FROM "summar... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "125cc_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time" text,
"grid" real
);
Question: Count the Grid which has a Manufacturer of aprilia, and a Rider of bradley smith?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "125cc_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time" text,
"grid" real
);
Question: Name the Time which has Laps of 19, and a Grid larger than 19, and a Manufacturer o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "125cc_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time" text,
"grid" real
);
Question: Name the Time which has a Manufacturer of aprilia, and a Grid smaller than 16, and ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: Name the Silver which has a Bronze of 19, and a Total larger than 58?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: What kind of Silver has a Rank of 3, and a Gold smaller than 2?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: COunt the silver that has a Bronze smaller than 1?
<|assistant|>
SELECT SUM("si... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: Name the Total which has a Silver larger than 19?
<|assistant|>
SELECT MAX("tot... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: Name the Silver that has a Total smaller than 2, and a Nation of south korea?
... |
<|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 m... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
Question: What is Scott Verplank's score?
<|assistant|>
SELECT "score" FROM "third_round" WHERE "playe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
Question: What place is United States player Corey Pavin in?
<|assistant|>
SELECT "place" FROM "third_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
Question: Which country has a score of 70-71-72=213?
<|assistant|>
SELECT "country" FROM "third_round"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
Question: Where does Bob Tway Place?
<|assistant|>
SELECT "place" FROM "third_round" WHERE "player"='b... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
Question: What is the place with a to par of E and a score of 69-69-72=210?
<|assistant|>
SELECT "plac... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
Question: WHAT IS THE COUNTRY WITH DAVE BARR?
<|assistant|>
SELECT "country" FROM "second_round" WHER... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
Question: WHAT IS THE TO PAR WITH A T7 PLACE, SCORE OF 72-67=139, AND PLAYER RAYMOND FLOYD?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
Question: WHAT IS THE PLACE WITH PLAYER mark o'meara?
<|assistant|>
SELECT "place" FROM "second_round... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_round" (
"position" real,
"name" text,
"played" real,
"drawn" real,
"lost" real,
"points" real
);
Question: Which Drawn is the highest one that has a Position smaller than 4, and a Lost... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_round" (
"position" real,
"name" text,
"played" real,
"drawn" real,
"lost" real,
"points" real
);
Question: How many Points have a Position larger than 3, and a Played smaller than 14?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_round" (
"position" real,
"name" text,
"played" real,
"drawn" real,
"lost" real,
"points" real
);
Question: Which Lost has a Position of 4, and a Drawn smaller than 3?
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_round" (
"position" real,
"name" text,
"played" real,
"drawn" real,
"lost" real,
"points" real
);
Question: Which Position has a Lost larger than 4, and a Played larger than 14?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
);
Question: On which week was the opponent the oakland raiders?
<|assistant|>
SELECT SUM("week") FROM "s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
);
Question: What was the attendance at the game where the opponent was the denver broncos?
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "west_conference" (
"institution" text,
"location" text,
"founded" real,
"affiliation" text,
"enrollment" real,
"nickname" text
);
Question: How many people are enrolled in platteville, wi?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "west_conference" (
"institution" text,
"location" text,
"founded" real,
"affiliation" text,
"enrollment" real,
"nickname" text
);
Question: What is the team nickname of university of wisconsi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
Question: What is To Par, when Place is 3?
<|assistant|>
SELECT "to_par" FROM "third_round" WHERE "pla... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
Question: What is Country, when Player is "Rives McBee"?
<|assistant|>
SELECT "country" FROM "third_ro... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
Question: What is Place, when Player is "Tony Lema"?
<|assistant|>
SELECT "place" FROM "third_round" W... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
Question: What is Score, when To Par is "E"?
<|assistant|>
SELECT "score" FROM "third_round" WHERE "to... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
Question: What is Country, when Score is 71-71-69=211?
<|assistant|>
SELECT "country" FROM "third_roun... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
Question: What is Country, when Score is 71-74-70=215?
<|assistant|>
SELECT "country" FROM "third_roun... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performance_and_rankings_timeline" (
"2004_05" text,
"2007_08" text,
"2010_11" text,
"2011_12" text,
"2012_13" text
);
Question: What shows for 2004/ 05 when 2007/ 08 shows not held, 2012/ 13 i... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performance_and_rankings_timeline" (
"2004_05" text,
"2007_08" text,
"2010_11" text,
"2011_12" text,
"2012_13" text
);
Question: What shows for 2012/ 13 when the 2007/ 08 is not held, and the 2... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performance_and_rankings_timeline" (
"2004_05" text,
"2007_08" text,
"2010_11" text,
"2011_12" text,
"2012_13" text
);
Question: What is the 2011/ 12 when the 2010/ 11 is not held, and the 2012... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performance_and_rankings_timeline" (
"2004_05" text,
"2007_08" text,
"2010_11" text,
"2011_12" text,
"2012_13" text
);
Question: What is the 2004/ 05 when the 2011/ 12 is non-ranking?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performance_and_rankings_timeline" (
"2004_05" text,
"2007_08" text,
"2010_11" text,
"2011_12" text,
"2012_13" text
);
Question: What is the 2012/ 13 when the 2011/ 12 is non-ranking?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performance_and_rankings_timeline" (
"2004_05" text,
"2007_08" text,
"2010_11" text,
"2011_12" text,
"2012_13" text
);
Question: What is the 2010/ 11 when the 2011/ 12 is ranking tournaments?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_table" (
"position" real,
"team" text,
"played" real,
"drawn" real,
"lost" real,
"goals_for" real,
"goals_against" real,
"goal_difference" text,
"points_1" real
);
Question: what ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_table" (
"position" real,
"team" text,
"played" real,
"drawn" real,
"lost" real,
"goals_for" real,
"goals_against" real,
"goal_difference" text,
"points_1" real
);
Question: what ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_table" (
"position" real,
"team" text,
"played" real,
"drawn" real,
"lost" real,
"goals_for" real,
"goals_against" real,
"goal_difference" text,
"points_1" real
);
Question: how m... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_table" (
"position" real,
"team" text,
"played" real,
"drawn" real,
"lost" real,
"goals_for" real,
"goals_against" real,
"goal_difference" text,
"points_1" real
);
Question: what ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table_of_sentences" (
"tribunal" text,
"number_of_autos_da_f_with_known_sentences" text,
"executions_in_persona" text,
"executions_in_effigie" text,
"penanced" text,
"total" text
);
Question:... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table_of_sentences" (
"tribunal" text,
"number_of_autos_da_f_with_known_sentences" text,
"executions_in_persona" text,
"executions_in_effigie" text,
"penanced" text,
"total" text
);
Question:... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table_of_sentences" (
"tribunal" text,
"number_of_autos_da_f_with_known_sentences" text,
"executions_in_persona" text,
"executions_in_effigie" text,
"penanced" text,
"total" text
);
Question:... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table_of_sentences" (
"tribunal" text,
"number_of_autos_da_f_with_known_sentences" text,
"executions_in_persona" text,
"executions_in_effigie" text,
"penanced" text,
"total" text
);
Question:... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table_of_sentences" (
"tribunal" text,
"number_of_autos_da_f_with_known_sentences" text,
"executions_in_persona" text,
"executions_in_effigie" text,
"penanced" text,
"total" text
);
Question:... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table_of_sentences" (
"tribunal" text,
"number_of_autos_da_f_with_known_sentences" text,
"executions_in_persona" text,
"executions_in_effigie" text,
"penanced" text,
"total" text
);
Question:... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_schedule" (
"date" text,
"opponent" text,
"score" text,
"result" text,
"record" text,
"attendance" real
);
Question: What is the Opponent of the Game on October 20?
<|assistant|>
SELEC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "national_division" (
"institution" text,
"location" text,
"nickname" text,
"enrollment" real,
"established" real
);
Question: Which institution is located in Reading, PA?
<|assistant|>
SELECT "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "national_division" (
"institution" text,
"location" text,
"nickname" text,
"enrollment" real,
"established" real
);
Question: What was the nick name for the school established in 1958?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race" (
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"points" real
);
Question: When the grid is under 5 and justin wilson is driving for the team mi-jack conque... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race" (
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"points" real
);
Question: When the team is newman/haas racing and the grid size is 3, what's the time/retir... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "competitive_matches" (
"date" text,
"tournament" text,
"round" text,
"ground" text,
"opponent" text,
"score_1" text
);
Question: What tournament took place on Ground A with 8 rounds?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_cast" (
"actor" text,
"character" text,
"title_rank" text,
"series" text,
"years" text
);
Question: What series had the title rank of various?
<|assistant|>
SELECT "series" FROM "regula... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_cast" (
"actor" text,
"character" text,
"title_rank" text,
"series" text,
"years" text
);
Question: What is the title rank of the actor who played the character of arthur hastings durin... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_cast" (
"actor" text,
"character" text,
"title_rank" text,
"series" text,
"years" text
);
Question: What is the title rank of the actor who played the character of arthur hastings durin... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_cast" (
"actor" text,
"character" text,
"title_rank" text,
"series" text,
"years" text
);
Question: What is the title rank of actor pauline moran?
<|assistant|>
SELECT "title_rank" FROM... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_cast" (
"actor" text,
"character" text,
"title_rank" text,
"series" text,
"years" text
);
Question: Which character had a title rank of various?
<|assistant|>
SELECT "character" FROM "r... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: WH... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_3_2009_ratings" (
"episode" real,
"original_airdate" text,
"timeslot_approx" text,
"viewers_millions" real,
"nightly_rank" text
);
Question: Original airdate for #6 with 1.246 viewers?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_3_2009_ratings" (
"episode" real,
"original_airdate" text,
"timeslot_approx" text,
"viewers_millions" real,
"nightly_rank" text
);
Question: Rank for viewers larger than 1.244?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
);
Question: How many weeks had a Result of w 20–6?
<|assistant|>
SELECT SUM("week") FROM "schedule" WHER... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
);
Question: Which Opponent has an Attendance of bye?
<|assistant|>
SELECT "opponent" FROM "schedule" WHE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_seasons" (
"season" text,
"races" real,
"podiums" real,
"pole" real,
"f_laps" real
);
Question: WHAT IS THE FLAPS WITH PODIUMS OF 24 AND RACES BIGGER THAN 143?
<|assistant|>
SELECT MAX("f_la... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_seasons" (
"season" text,
"races" real,
"podiums" real,
"pole" real,
"f_laps" real
);
Question: WHAT ARE THE RACES WHEN FLAPS ARE ZERO, PODIUMS ARE LARGER THAN 0, SEASON IS 2008, AND POLE SM... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_seasons" (
"season" text,
"races" real,
"podiums" real,
"pole" real,
"f_laps" real
);
Question: WHAT ARE THE RACES WITH A POLE SMALLER THAN 2 IN 2007?
<|assistant|>
SELECT MIN("races") FROM ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_seasons" (
"season" text,
"races" real,
"podiums" real,
"pole" real,
"f_laps" real
);
Question: WHAT ARE THE RACES FOR 2010 WITH FLAPS LARGER THAN 6?
<|assistant|>
SELECT MAX("races") FROM "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ground_history" (
"name_of_ground" text,
"location" text,
"year" text,
"fc_matches" text,
"la_matches" text,
"t20_matches" text,
"total" text
);
Question: What T20 Match has a total of 23?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ground_history" (
"name_of_ground" text,
"location" text,
"year" text,
"fc_matches" text,
"la_matches" text,
"t20_matches" text,
"total" text
);
Question: What FC Match was played in Darlin... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ground_history" (
"name_of_ground" text,
"location" text,
"year" text,
"fc_matches" text,
"la_matches" text,
"t20_matches" text,
"total" text
);
Question: What T20 match was played in 1979?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ground_history" (
"name_of_ground" text,
"location" text,
"year" text,
"fc_matches" text,
"la_matches" text,
"t20_matches" text,
"total" text
);
Question: Which FC match has a total of 24?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ground_history" (
"name_of_ground" text,
"location" text,
"year" text,
"fc_matches" text,
"la_matches" text,
"t20_matches" text,
"total" text
);
Question: Where was the FC match with a scor... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles" (
"romaji_title" text,
"japanese_title" text,
"release_date" text,
"reference" text,
"oricon" real
);
Question: How many oricon's have a romaji title of rakuen -memorial tracks- (maxi-... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles" (
"romaji_title" text,
"japanese_title" text,
"release_date" text,
"reference" text,
"oricon" real
);
Question: What reference is used with the title アイシテル?
<|assistant|>
SELECT "refer... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles" (
"romaji_title" text,
"japanese_title" text,
"release_date" text,
"reference" text,
"oricon" real
);
Question: What is the reference for the romani title da.i.su.ki?
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles" (
"romaji_title" text,
"japanese_title" text,
"release_date" text,
"reference" text,
"oricon" real
);
Question: What title to the japanese give the romani title ashita wa ashita no kaz... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "sport" (
"club" text,
"sport" text,
"founded" real,
"league" text,
"venue" text
);
Question: Which club was founded after 1998?
<|assistant|>
SELECT "club" FROM "sport" WHERE "founded">1998;<|e... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2002_squad_statistics" (
"player" text,
"position" text,
"tries" real,
"goals" real,
"points" real
);
Question: Which Tries has a Goal smaller than 0?
<|assistant|>
SELECT MIN("tries") FROM "20... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "specimen_set_variant_dollars" (
"year" real,
"theme" text,
"artist" text,
"mintage" text,
"issue_price" text
);
Question: What was the issue price for the Trumpeter Swan set?
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "specimen_set_variant_dollars" (
"year" real,
"theme" text,
"artist" text,
"mintage" text,
"issue_price" text
);
Question: Who was the artist with a mintage of 40,000 and an issue price of $45.9... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "playoffs" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"series" text
);
Question: Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2010s" (
"player" text,
"position" text,
"first_team_appearances" text,
"first_team_goals" text,
"current_club" text
);
Question: What is the position of the player who has ongoing first-team g... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2010s" (
"player" text,
"position" text,
"first_team_appearances" text,
"first_team_goals" text,
"current_club" text
);
Question: Who is the player who has had 7 first team appearances?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2010s" (
"player" text,
"position" text,
"first_team_appearances" text,
"first_team_goals" text,
"current_club" text
);
Question: What is the name of the club that has ongoing first-team appear... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2010s" (
"player" text,
"position" text,
"first_team_appearances" text,
"first_team_goals" text,
"current_club" text
);
Question: How many first-team goals does the team have whose player is Sa... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2010s" (
"player" text,
"position" text,
"first_team_appearances" text,
"first_team_goals" text,
"current_club" text
);
Question: What position has ongoing first-team appearances, Graham Burke ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2010s" (
"player" text,
"position" text,
"first_team_appearances" text,
"first_team_goals" text,
"current_club" text
);
Question: Which position has had 7 first-team appearances?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "18_k_gold_proof_lunar_hologram_coin_seri" (
"year" real,
"theme" text,
"artist" text,
"composition" text,
"mintage" real,
"issue_price" text
);
Question: What was the theme when the issue pri... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "18_k_gold_proof_lunar_hologram_coin_seri" (
"year" real,
"theme" text,
"artist" text,
"composition" text,
"mintage" real,
"issue_price" text
);
Question: What's the mintage when the theme was... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "18_k_gold_proof_lunar_hologram_coin_seri" (
"year" real,
"theme" text,
"artist" text,
"composition" text,
"mintage" real,
"issue_price" text
);
Question: What year was the year of the pig the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "18_k_gold_proof_lunar_hologram_coin_seri" (
"year" real,
"theme" text,
"artist" text,
"composition" text,
"mintage" real,
"issue_price" text
);
Question: Who was the artist for the year of th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
);
Question: What is the total Frequency MHz Port Charlotte, Florid... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
);
Question: What is the call sign for the translator with an ERP W... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
);
Question: What is the highest ERP W of the translator with a cal... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.