text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_male_capital_artists_singers" (
"english_name" text,
"chinese_name" text,
"year_signed" real,
"year_separated" text,
"reason_for_separation" text
);
Question: What was the signed year f... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"date" text,
"opponentnum" text,
"rank_num" text,
"site" text,
"result" text,
"attendance" text
);
Question: WHAT IS THE SITE ON OCTOBER 7?
<|assistant|>
SELECT "site" FROM "sched... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"date" text,
"opponentnum" text,
"rank_num" text,
"site" text,
"result" text,
"attendance" text
);
Question: WHAT DATE HAD 6 RANK?
<|assistant|>
SELECT "date" FROM "schedule" WHER... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"date" text,
"opponentnum" text,
"rank_num" text,
"site" text,
"result" text,
"attendance" text
);
Question: WHAT OPPONENT WAS ON OCTOBER 7?
<|assistant|>
SELECT "opponentnum" FRO... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"date" text,
"opponentnum" text,
"rank_num" text,
"site" text,
"result" text,
"attendance" text
);
Question: WHAT RANK HAD A RESULT OF W13-3?
<|assistant|>
SELECT "rank_num" FROM ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "notable_undrafted_players" (
"original_nfl_team" text,
"player" text,
"pos" text,
"college" text,
"conf" text
);
Question: What is the original NFL team of the College of Oregon DT Player?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "notable_undrafted_players" (
"original_nfl_team" text,
"player" text,
"pos" text,
"college" text,
"conf" text
);
Question: What Player is from Iowa State?
<|assistant|>
SELECT "player" FROM "no... |
<|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: What was the result of the game that had 77,702 people in attendance?
<|assistant|>
SELECT "... |
<|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: On what day did the team play the Indianapolis Colts?
<|assistant|>
SELECT "date" FROM "sche... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "third_division_final_table" (
"position" real,
"team" text,
"played" real,
"drawn" real,
"lost" real,
"goals_for" real,
"goals_against" real,
"goal_difference" text,
"points_1" text
);
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "third_division_final_table" (
"position" real,
"team" text,
"played" real,
"drawn" real,
"lost" real,
"goals_for" real,
"goals_against" real,
"goal_difference" text,
"points_1" text
);
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "third_division_final_table" (
"position" real,
"team" text,
"played" real,
"drawn" real,
"lost" real,
"goals_for" real,
"goals_against" real,
"goal_difference" text,
"points_1" text
);
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "third_division_final_table" (
"position" real,
"team" text,
"played" real,
"drawn" real,
"lost" real,
"goals_for" real,
"goals_against" real,
"goal_difference" text,
"points_1" text
);
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_by_season" (
"season" text,
"lkf_cup" text,
"regional_competitions" text,
"europe" text,
"head_coach" text
);
Question: WHAT SEASON HAD COACH JONAS KAZLAUSKAS AT champions cup group stag... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_by_season" (
"season" text,
"lkf_cup" text,
"regional_competitions" text,
"europe" text,
"head_coach" text
);
Question: WHAT IS THE LKF CUP WITH euroleague group stage AND bbl elite divi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_by_season" (
"season" text,
"lkf_cup" text,
"regional_competitions" text,
"europe" text,
"head_coach" text
);
Question: WHAT IS THE ERUPE WITH HEAD COACH vainauskas , sakalauskas AND WIT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "initial_unstressed_syllables" (
"semi_closed_initial_unstressed_vowels" text,
"17th_c" text,
"american" text,
"australian" text,
"examples" text
);
Question: What is the American sound that has... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "initial_unstressed_syllables" (
"semi_closed_initial_unstressed_vowels" text,
"17th_c" text,
"american" text,
"australian" text,
"examples" text
);
Question: What is the American sound that has... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "initial_unstressed_syllables" (
"semi_closed_initial_unstressed_vowels" text,
"17th_c" text,
"american" text,
"australian" text,
"examples" text
);
Question: What is the entry for the Australia... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "initial_unstressed_syllables" (
"semi_closed_initial_unstressed_vowels" text,
"17th_c" text,
"american" text,
"australian" text,
"examples" text
);
Question: For the 17th century entry of ɐ, wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "initial_unstressed_syllables" (
"semi_closed_initial_unstressed_vowels" text,
"17th_c" text,
"american" text,
"australian" text,
"examples" text
);
Question: What is the entry for the Australia... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "initial_unstressed_syllables" (
"semi_closed_initial_unstressed_vowels" text,
"17th_c" text,
"american" text,
"australian" text,
"examples" text
);
Question: What is the example for the America... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"date" text,
"opponent" text,
"home_away" text,
"field" text,
"result" text
);
Question: What field is an opponent of cannons and resulted with w 16-11?
<|assistant|>
SELECT "field"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"date" text,
"opponent" text,
"home_away" text,
"field" text,
"result" text
);
Question: what is the result from texas stadium?
<|assistant|>
SELECT "result" FROM "schedule" WHERE "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"date" text,
"opponent" text,
"home_away" text,
"field" text,
"result" text
);
Question: What field resulted with w 18-12?
<|assistant|>
SELECT "field" FROM "schedule" WHERE "result... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"date" text,
"opponent" text,
"home_away" text,
"field" text,
"result" text
);
Question: What field had results of w 18-12?
<|assistant|>
SELECT "field" FROM "schedule" WHERE "resul... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "group_i" (
"position" real,
"club" text,
"played" real,
"points" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" real
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "group_i" (
"position" real,
"club" text,
"played" real,
"points" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" real
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "group_i" (
"position" real,
"club" text,
"played" real,
"points" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" real
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table_showing_viewing_share_of_individua" (
"2006" real,
"2007" real,
"2008" real,
"2009" real,
"2010" real
);
Question: How many 2010s have a 2007 greater than 4.6, and 8.2 as a 2006?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table_showing_viewing_share_of_individua" (
"2006" real,
"2007" real,
"2008" real,
"2009" real,
"2010" real
);
Question: What 2010 has a 2006 less than 6.9, a 2008 greater than 1.6, and 2 for 2... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table_showing_viewing_share_of_individua" (
"2006" real,
"2007" real,
"2008" real,
"2009" real,
"2010" real
);
Question: How many 2008s have 6.9 as a 2006, with a 2007 less than 7.1?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table_showing_viewing_share_of_individua" (
"2006" real,
"2007" real,
"2008" real,
"2009" real,
"2010" real
);
Question: What is the highest 2010 that has a 2009 less than 6.5, 0.4 as the 2008,... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table_showing_viewing_share_of_individua" (
"2006" real,
"2007" real,
"2008" real,
"2009" real,
"2010" real
);
Question: How many 2007s have 0.2 as a 2006, with a 2010 less than 0.1?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_8_4_4" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
);
Question: What Tournament has an Outcome of runner-up, and a Score of 4–6, 3–... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_8_4_4" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
);
Question: What Surface has a Date of 1 september 2008?
<|assistant|>
SELECT "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_8_4_4" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
);
Question: What Score has an Opponent of nina bratchikova?
<|assistant|>
SELEC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_8_4_4" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
);
Question: What Surface has a Tournament of pune, india?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_8_4_4" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
);
Question: What Tournament has a Date of 20 december 2010?
<|assistant|>
SELEC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_8_4_4" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
);
Question: What Tournament has a Score of 5–7, 2–6?
<|assistant|>
SELECT "tour... |
<|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: Which Place has a Score of 71-70=141?
<|assistant|>
SELECT "place" 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: Which Country has a Score of 69-66=135?
<|assistant|>
SELECT "country" FROM "second_round" ... |
<|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: Which Country has a To par of –9?
<|assistant|>
SELECT "country" FROM "second_round" WHERE ... |
<|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: Which To par has a Country of united states, and a Score of 71-70=141?
<|assistant|>
SELECT... |
<|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: Which Player has a To par of –5, and a Country of england?
<|assistant|>
SELECT "player" FR... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "awards" (
"year" real,
"award" text,
"category" text,
"role" text,
"result" text
);
Question: Which Category has an Award of monte carlo tv festival awards, and a Year larger than 2010?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "awards" (
"year" real,
"award" text,
"category" text,
"role" text,
"result" text
);
Question: How many years have a Result of nominated?
<|assistant|>
SELECT COUNT("year") FROM "awards" WHERE "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "awards" (
"year" real,
"award" text,
"category" text,
"role" text,
"result" text
);
Question: Which Result has a Category of outstanding actor (drama)?
<|assistant|>
SELECT "result" FROM "award... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "awards" (
"year" real,
"award" text,
"category" text,
"role" text,
"result" text
);
Question: Which Result has an Award of virgin media tv awards?
<|assistant|>
SELECT "result" FROM "awards" WH... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "calendar" (
"round" text,
"date" text,
"fixtures" real,
"clubs" text,
"new_entries_this_round" text,
"prize_money" text,
"player_of_the_round" text
);
Question: What is the prize money for ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_7_2_5" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"opponent" text,
"score" text
);
Question: How many years have runner-up as the outcome, and indian wells as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_7_2_5" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"opponent" text,
"score" text
);
Question: What score has 2000 as the year?
<|assistant|>
SELECT "score" FRO... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_7_2_5" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"opponent" text,
"score" text
);
Question: What surface has indian wells as the championship, with winner as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" real,
"money" real
);
Question: Which average money has a To par larger than 12?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" real,
"money" real
);
Question: Which Country has a To par smaller than 6, and a Money ($) larger than... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" real,
"money" real
);
Question: Which average money has a Place of t10, and a Player of denny shute, a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" real,
"money" real
);
Question: Which Country has a Money ($) of 0, and a Place of t10?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_season" (
"season" text,
"class" text,
"bike" text,
"team" text,
"race" real,
"pole" real,
"f_lap" real
);
Question: What is the highest FLap by a Honda NSR500 bike after Race 16?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "raiding_history" (
"date" text,
"name" text,
"nationality" text,
"tonnage_grt" real,
"fate" text
);
Question: Which Fate has a Tonnage (GRT) larger than 1,352, and a Name of lavington court?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "raiding_history" (
"date" text,
"name" text,
"nationality" text,
"tonnage_grt" real,
"fate" text
);
Question: How much tonnage Tonnage (GRT) has a Nationality of united kingdom, and a Date of 2... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "raiding_history" (
"date" text,
"name" text,
"nationality" text,
"tonnage_grt" real,
"fate" text
);
Question: Which Nationality has a Date of 8 may 1942?
<|assistant|>
SELECT "nationality" FROM... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "wha" (
"draft" real,
"round" real,
"pick" real,
"player" text,
"nationality" text
);
Question: What is Canada's highest round before 1973?
<|assistant|>
SELECT MAX("round") FROM "wha" WHERE "na... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "awards_and_nominations" (
"year" real,
"award" text,
"category" text,
"title_of_work" text,
"result" text
);
Question: What year was The Saber nominated for best action?
<|assistant|>
SELECT AV... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "awards_and_nominations" (
"year" real,
"award" text,
"category" text,
"title_of_work" text,
"result" text
);
Question: What was awarded before 2013 to the Saber in the category of Best Action?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mutant_cultivars" (
"date" text,
"inventor" text,
"marketed_as" text,
"mutated_from" text,
"assignee" text,
"habit" text,
"pattern" text,
"earlier" text,
"color" text,
"plant_patent_nu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mutant_cultivars" (
"date" text,
"inventor" text,
"marketed_as" text,
"mutated_from" text,
"assignee" text,
"habit" text,
"pattern" text,
"earlier" text,
"color" text,
"plant_patent_nu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mutant_cultivars" (
"date" text,
"inventor" text,
"marketed_as" text,
"mutated_from" text,
"assignee" text,
"habit" text,
"pattern" text,
"earlier" text,
"color" text,
"plant_patent_nu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mutant_cultivars" (
"date" text,
"inventor" text,
"marketed_as" text,
"mutated_from" text,
"assignee" text,
"habit" text,
"pattern" text,
"earlier" text,
"color" text,
"plant_patent_nu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mutant_cultivars" (
"date" text,
"inventor" text,
"marketed_as" text,
"mutated_from" text,
"assignee" text,
"habit" text,
"pattern" text,
"earlier" text,
"color" text,
"plant_patent_nu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mutant_cultivars" (
"date" text,
"inventor" text,
"marketed_as" text,
"mutated_from" text,
"assignee" text,
"habit" text,
"pattern" text,
"earlier" text,
"color" text,
"plant_patent_nu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "models_and_specifications" (
"model" text,
"years" text,
"engine" text,
"power" text,
"0_100km_h_62mph" text,
"top_speed" text
);
Question: Which model has a top speed of 231km/h (143mph)?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "models_and_specifications" (
"model" text,
"years" text,
"engine" text,
"power" text,
"0_100km_h_62mph" text,
"top_speed" text
);
Question: How fast can the SLK200K, with a top speed of 236km... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "models_and_specifications" (
"model" text,
"years" text,
"engine" text,
"power" text,
"0_100km_h_62mph" text,
"top_speed" text
);
Question: What is the 0–100km/h (62mph) acceleration of the m... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "models_and_specifications" (
"model" text,
"years" text,
"engine" text,
"power" text,
"0_100km_h_62mph" text,
"top_speed" text
);
Question: What is the top speed of the SLK200K that produces ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "possible_correspondences_between_proto_s" (
"phoen_value" text,
"phoen_name" text,
"hebrew" text,
"greek" text,
"latin" text,
"cyrillic" text,
"arabic" text
);
Question: What is the Latin t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "casts" (
"role" text,
"original_broadway_cast" text,
"closing_broadway_cast" text,
"original_us_tour_cast" text,
"original_non_equity_tour_cast" text,
"original_s_o_paulo_cast" text,
"origin... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "casts" (
"role" text,
"original_broadway_cast" text,
"closing_broadway_cast" text,
"original_us_tour_cast" text,
"original_non_equity_tour_cast" text,
"original_s_o_paulo_cast" text,
"origin... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "casts" (
"role" text,
"original_broadway_cast" text,
"closing_broadway_cast" text,
"original_us_tour_cast" text,
"original_non_equity_tour_cast" text,
"original_s_o_paulo_cast" text,
"origin... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "casts" (
"role" text,
"original_broadway_cast" text,
"closing_broadway_cast" text,
"original_us_tour_cast" text,
"original_non_equity_tour_cast" text,
"original_s_o_paulo_cast" text,
"origin... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "annual_passenger_statistics_for_enonteki" (
"year" real,
"domestic" real,
"international" real,
"total" real,
"change" text
);
Question: What is the number for the international with 669 domest... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "annual_passenger_statistics_for_enonteki" (
"year" real,
"domestic" real,
"international" real,
"total" real,
"change" text
);
Question: What year was the international lower than 17,517 and do... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "league_cup" (
"season" text,
"date" text,
"winners" text,
"finalists" text,
"score" text
);
Question: What was the score on 14 march 2004?
<|assistant|>
SELECT "score" FROM "league_cup" WHERE "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "league_cup" (
"season" text,
"date" text,
"winners" text,
"finalists" text,
"score" text
);
Question: In what season was Kilmarnock a finalist and Hibernian the winner?
<|assistant|>
SELECT "se... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "league_cup" (
"season" text,
"date" text,
"winners" text,
"finalists" text,
"score" text
);
Question: Who were the finalists in the 1972–73 season?
<|assistant|>
SELECT "finalists" FROM "league... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "league_cup" (
"season" text,
"date" text,
"winners" text,
"finalists" text,
"score" text
);
Question: In which season did the Rangers win with a score of 2–1?
<|assistant|>
SELECT "season" FROM... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "league_cup" (
"season" text,
"date" text,
"winners" text,
"finalists" text,
"score" text
);
Question: When did Motherwell win?
<|assistant|>
SELECT "date" FROM "league_cup" WHERE "winners"='mot... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2012_calendar_year_ratios_of_crime_per_1" (
"state" text,
"city" text,
"population" real,
"violent_crime" text,
"murder_and_non_negligent_manslaughter" real,
"forcible_rape" text,
"robbery" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2012_calendar_year_ratios_of_crime_per_1" (
"state" text,
"city" text,
"population" real,
"violent_crime" text,
"murder_and_non_negligent_manslaughter" real,
"forcible_rape" text,
"robbery" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2012_calendar_year_ratios_of_crime_per_1" (
"state" text,
"city" text,
"population" real,
"violent_crime" text,
"murder_and_non_negligent_manslaughter" real,
"forcible_rape" text,
"robbery" ... |
<|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 the name for district total... |
<|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 the electorates in 2009 for... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "scottish_premier_league" (
"match_day" real,
"date" text,
"opponent" text,
"venue" text,
"score" text,
"attendance" real,
"report" text
);
Question: Who was the opponent on 12 May, when the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "top_10_albums" (
"issue_date" real,
"album_title" text,
"artist" text,
"sales" real,
"highest_position" real
);
Question: What is the largest issue date for an album that reached position of 3?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
);
Question: What is the record on March 16?
<|assistant|>
SELECT "record" FROM "game_log" WHERE "date"='march ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
);
Question: What was the score on January 23?
<|assistant|>
SELECT "score" FROM "game_log" WHERE "date"='janua... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "missed_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" real
);
Question: How many strokes off par was the player who scored 157?
<|assistant|>
SELECT COUNT("... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "missed_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" real
);
Question: Which player who won in 1977 and scored great than 155 was the closest to par?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "missed_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" real
);
Question: What country was the player who was 11 off par from?
<|assistant|>
SELECT "country" ... |
<|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 Home team in Tie no 16?
<|assistant|>
SELECT "home_team" FROM "seco... |
<|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 is the Date of Tie no 9?
<|assistant|>
SELECT "date" FROM "second_round_pro... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.