text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
);
Q... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
);
Q... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
);
Question: What place is Fredrik Jacobson from?
<|assistant|>
SELECT "place" FROM "first_round" WHERE "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
);
Question: What is the to par of Tiger Woods, where his score was less than 67, and he was in t1 place?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
);
Question: What place is player Brad Faxon from?
<|assistant|>
SELECT "place" FROM "first_round" WHERE ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
);
Question: What is Sweden's lowest score?
<|assistant|>
SELECT MIN("score") FROM "first_round" WHERE "c... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "churches_in_luster" (
"parish_prestegjeld" text,
"sub_parish_sogn" text,
"church_name" text,
"year_built" real,
"location_of_the_church" text
);
Question: Which Sub-Parish (Sogn) was built afte... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "churches_in_luster" (
"parish_prestegjeld" text,
"sub_parish_sogn" text,
"church_name" text,
"year_built" real,
"location_of_the_church" text
);
Question: Which Sub-Parish (Sogn) is in the Pari... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "churches_in_luster" (
"parish_prestegjeld" text,
"sub_parish_sogn" text,
"church_name" text,
"year_built" real,
"location_of_the_church" text
);
Question: Which Sub-Parish (Sogn) is in the Pari... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "churches_in_luster" (
"parish_prestegjeld" text,
"sub_parish_sogn" text,
"church_name" text,
"year_built" real,
"location_of_the_church" text
);
Question: Which Sub-Parish (Sogn) was built befo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "churches_in_luster" (
"parish_prestegjeld" text,
"sub_parish_sogn" text,
"church_name" text,
"year_built" real,
"location_of_the_church" text
);
Question: Which Sub-Parish (Sogn) has a church n... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "titleholders" (
"year" real,
"country_territory" text,
"miss_international" text,
"national_title" text,
"location" text
);
Question: What's the national title of miss international ikumi yoshi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "titleholders" (
"year" real,
"country_territory" text,
"miss_international" text,
"national_title" text,
"location" text
);
Question: What's the earliest year the philippines won?
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "titleholders" (
"year" real,
"country_territory" text,
"miss_international" text,
"national_title" text,
"location" text
);
Question: What's the average year lebanon won?
<|assistant|>
SELECT A... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "titleholders" (
"year" real,
"country_territory" text,
"miss_international" text,
"national_title" text,
"location" text
);
Question: What country or territory is małgorzata rożniecka from?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bc_augsburg_versus_tsv_schwaben_augsburg" (
"season" text,
"league" text,
"teams" text,
"home" text,
"away" text
);
Question: Which team had a league of regionalliga süd?
<|assistant|>
SELECT "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bc_augsburg_versus_tsv_schwaben_augsburg" (
"season" text,
"league" text,
"teams" text,
"home" text,
"away" text
);
Question: What was the home for season 1949-50?
<|assistant|>
SELECT "home" F... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bc_augsburg_versus_tsv_schwaben_augsburg" (
"season" text,
"league" text,
"teams" text,
"home" text,
"away" text
);
Question: Which season had a home 2-3?
<|assistant|>
SELECT "season" FROM "bc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bc_augsburg_versus_tsv_schwaben_augsburg" (
"season" text,
"league" text,
"teams" text,
"home" text,
"away" text
);
Question: Which team had a season 1954-55?
<|assistant|>
SELECT "teams" FROM ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bc_augsburg_versus_tsv_schwaben_augsburg" (
"season" text,
"league" text,
"teams" text,
"home" text,
"away" text
);
Question: What season has an away 2-0?
<|assistant|>
SELECT "season" FROM "bc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bc_augsburg_versus_tsv_schwaben_augsburg" (
"season" text,
"league" text,
"teams" text,
"home" text,
"away" text
);
Question: What team has a home of 2-3?
<|assistant|>
SELECT "teams" FROM "bc_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medals_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: What is the total that wehn Lithuania is the nation, and Silver is more than 0... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medals_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: What is the rank when bronze was more than 0, gold more than 1, Nation is japa... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medals_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: What is the rank when the total is less than 1?
<|assistant|>
SELECT MIN("rank... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medals_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: What is the total when silver is more than 0, and bronze less than 0?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medals_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: What is the rank that when Serbia is the nation, and gold is larger than 0?
<|... |
<|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 Year(s) won has a To par smaller than 12, and a Player of john daly?
<|assista... |
<|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 has a To par of 12, and a Country of fiji?
<|assistant|>
SELECT "player... |
<|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 Total has a To par larger than 12?
<|assistant|>
SELECT MIN("total") FROM "mis... |
<|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 much To par has a Total larger than 149, and a Country of united states, and a Y... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_most_watched_television_broadcas" (
"rank" real,
"show" text,
"number_of_viewers" text,
"date" text,
"network" text
);
Question: Which Network has a Rank larger than 5, a Show of 2012 s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_most_watched_television_broadcas" (
"rank" real,
"show" text,
"number_of_viewers" text,
"date" text,
"network" text
);
Question: Which Rank has a Network of bbc one, and a Number of Vie... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_most_watched_television_broadcas" (
"rank" real,
"show" text,
"number_of_viewers" text,
"date" text,
"network" text
);
Question: When has a Rank larger than 2 and a Network of itv?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"member" text,
"party" text,
"electorate" text,
"state" text,
"term_of_office" text
);
Question: What is the Term of office for Leonard Reynolds of NSW?
<|assistant|>
SELECT "term_o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"member" text,
"party" text,
"electorate" text,
"state" text,
"term_of_office" text
);
Question: What state shows for Cunningham?
<|assistant|>
SELECT "state" FROM "see_also" WHERE ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"member" text,
"party" text,
"electorate" text,
"state" text,
"term_of_office" text
);
Question: What is the Electorate when the term of office was 1955–1972, for Peter Howson?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"member" text,
"party" text,
"electorate" text,
"state" text,
"term_of_office" text
);
Question: What party has a term of office of 1951–1966, and a State of sa?
<|assistant|>
SELEC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "preseason" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text,
"arena" text
);
Question: What was the Attendance at Jobing.com Arena?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "preseason" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text,
"arena" text
);
Question: What is the Date of the game with a Loss of Leneveu (1–0–1)... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "preseason" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text,
"arena" text
);
Question: What is the Date with a game with a Record of 2–1–1?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "preseason" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text,
"arena" text
);
Question: What is the Score at Jobing.com Arena?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "preseason" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text,
"arena" text
);
Question: What is the Opponent of the game on September 26?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalog" text
);
Question: What Label has a Region of united states, and a Format of cassette?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalog" text
);
Question: What Date has a Label of grilled cheese?
<|assistant|>
SELECT "date" FROM "release_histor... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalog" text
);
Question: What Catalog has a Label of geffen records / universal music special markets?
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalog" text
);
Question: What Label has a Format of cd, and a Catalog of crgd 86136?
<|assistant|>
SELECT "label" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalog" text
);
Question: What Region has a Catalog of crgd 86136?
<|assistant|>
SELECT "region" FROM "release_hist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalog" text
);
Question: What Label has a Catalog of 486 136-2?
<|assistant|>
SELECT "label" FROM "release_history... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_division" (
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real
);
Question: Which Date has an Attendance larger than 51,338, and an Opponent of manchester united... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_division" (
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real
);
Question: Which Opponent has a Result of 0-3?
<|assistant|>
SELECT "opponent" FROM "first_divis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "uefa_cup_winner_s_cup" (
"date" text,
"round" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real
);
Question: What is the total attendance with a 1-0 result, at Venue H, an... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "uefa_cup_winner_s_cup" (
"date" text,
"round" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real
);
Question: What is the lowest attendance at Venue H in Round R2?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "uefa_cup_winner_s_cup" (
"date" text,
"round" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real
);
Question: What is the highest attendance for the opponents Club Brugge i... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "uefa_cup_winner_s_cup" (
"date" text,
"round" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real
);
Question: What is the round for the opponent CSKA Sofia in Venue A?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
);
Question: What player placed t10?
<|assistant|>
SELECT "player" FROM "first_round" WHERE "place"='t10'... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
);
Question: What was Bernhard Langer's highest score?
<|assistant|>
SELECT MAX("score") FROM "first_roun... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
);
Question: What was Craig Stadler's lowest score for United states?
<|assistant|>
SELECT MIN("score") F... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
);
Question: What Money (£) has a Country of ireland?
<|assistant|>
SELECT "money" FROM "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
);
Question: What Player has a Place of t10?
<|assistant|>
SELECT "player" FROM "final_ro... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
);
Question: What To par has a Score of 71-73-71-71=286?
<|assistant|>
SELECT "to_par" FR... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
);
Question: What Place has a To par of –4?
<|assistant|>
SELECT "place" FROM "final_roun... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
);
Question: What Score has a Place of t8, and a Country of scotland?
<|assistant|>
SELEC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
);
Question: What To par has a Country of united states, and a Score of 67-66-78-77=288?
... |
<|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" text,
"money" real
);
Question: What is the average Money ( $ ), when Country is "United States", and ... |
<|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" text,
"money" real
);
Question: What is Money ( $ ), when Player is "Morgan Pressel"?
<|assistant|>
SE... |
<|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" text,
"money" real
);
Question: What is Place, when Player is "Mi Hyun Kim"?
<|assistant|>
SELECT "pla... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "raiding_history" (
"date" text,
"ship" text,
"nationality" text,
"tonnage" real,
"fate" text
);
Question: What was the tonnage on 30 march 1943?
<|assistant|>
SELECT AVG("tonnage") FROM "raidin... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "raiding_history" (
"date" text,
"ship" text,
"nationality" text,
"tonnage" real,
"fate" text
);
Question: What was the fate on 27 june 1942?
<|assistant|>
SELECT "fate" FROM "raiding_history" W... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "raiding_history" (
"date" text,
"ship" text,
"nationality" text,
"tonnage" real,
"fate" text
);
Question: What was the tonnage on 12 september 1942?
<|assistant|>
SELECT "tonnage" FROM "raiding... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "raiding_history" (
"date" text,
"ship" text,
"nationality" text,
"tonnage" real,
"fate" text
);
Question: What was Yugoslavia's fate?
<|assistant|>
SELECT "fate" FROM "raiding_history" WHERE "n... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ships_of_the_class" (
"name" text,
"pennant" text,
"builder" text,
"homeport" text,
"commissioned" text,
"status" text
);
Question: What is the status of the ship INS Ranvir?
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ships_of_the_class" (
"name" text,
"pennant" text,
"builder" text,
"homeport" text,
"commissioned" text,
"status" text
);
Question: Who was the builder of the ship INS Rana?
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "eurovision_song_contest_entries" (
"year" real,
"song" text,
"artist" text,
"place" text,
"points" text,
"composer" text
);
Question: What is the place in 2007 for the song " work your magic ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "eurovision_song_contest_entries" (
"year" real,
"song" text,
"artist" text,
"place" text,
"points" text,
"composer" text
);
Question: Who is the Composer of " peace will come "?
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "eurovision_song_contest_entries" (
"year" real,
"song" text,
"artist" text,
"place" text,
"points" text,
"composer" text
);
Question: What year shows 248 (sf: 217) points?
<|assistant|>
SELEC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "eurovision_song_contest_entries" (
"year" real,
"song" text,
"artist" text,
"place" text,
"points" text,
"composer" text
);
Question: What is the place later than 2007, with 141 (sf:83) point... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "eurovision_song_contest_entries" (
"year" real,
"song" text,
"artist" text,
"place" text,
"points" text,
"composer" text
);
Question: What artist shows 2007 and composer of Hayko?
<|assistant... |
<|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 Corey Pavin in?
<|assistant|>
SELECT "place" FROM "third_round" WHERE "player"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "relegation" (
"team" text,
"average" real,
"points" real,
"played" real,
"1991_92" text,
"1992_93" text,
"1993_94" real
);
Question: Which 1991-92 has a 1993-94 smaller than 34, and a Team ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "relegation" (
"team" text,
"average" real,
"points" real,
"played" real,
"1991_92" text,
"1992_93" text,
"1993_94" real
);
Question: How many Points have an Average smaller than 1, a Played... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "relegation" (
"team" text,
"average" real,
"points" real,
"played" real,
"1991_92" text,
"1992_93" text,
"1993_94" real
);
Question: Which 1992-93 has Played of 114, and a 1991-92 of 48?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "relegation" (
"team" text,
"average" real,
"points" real,
"played" real,
"1991_92" text,
"1992_93" text,
"1993_94" real
);
Question: Which 1991-92 has a 1993-94 of 43?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "relegation" (
"team" text,
"average" real,
"points" real,
"played" real,
"1991_92" text,
"1992_93" text,
"1993_94" real
);
Question: Which 1992-93 has a 1993-94 of 43?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "atomic_properties" (
"atomic_property" text,
"helium" text,
"neon" text,
"argon" text,
"krypton" text,
"xenon" text,
"radon" text
);
Question: Which Atomic property has Helium of 4.16?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "atomic_properties" (
"atomic_property" text,
"helium" text,
"neon" text,
"argon" text,
"krypton" text,
"xenon" text,
"radon" text
);
Question: Which Krypton has Neon of 10?
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "atomic_properties" (
"atomic_property" text,
"helium" text,
"neon" text,
"argon" text,
"krypton" text,
"xenon" text,
"radon" text
);
Question: Which Radon has Neon of 4.79?
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "atomic_properties" (
"atomic_property" text,
"helium" text,
"neon" text,
"argon" text,
"krypton" text,
"xenon" text,
"radon" text
);
Question: Which Neon has Atomic property of average vale... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "atomic_properties" (
"atomic_property" text,
"helium" text,
"neon" text,
"argon" text,
"krypton" text,
"xenon" text,
"radon" text
);
Question: Which Radon has Atomic property of outer shell... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "atomic_properties" (
"atomic_property" text,
"helium" text,
"neon" text,
"argon" text,
"krypton" text,
"xenon" text,
"radon" text
);
Question: Which Xenon has Neon of 20.1797(6)?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ties" (
"tie_no" real,
"home_team" text,
"score" text,
"away_team" text,
"attendance" real
);
Question: What is the highest attendance of the game with eastwood town as the away team?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
);
Question: What place is Scott McCarron in?
<|assistant|>
SELECT "place" FROM "final_ro... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "kazakhstan" (
"name" text,
"pos" text,
"height" text,
"weight" text,
"date_of_birth" text,
"club" text
);
Question: What is Alexandr Elke's Weight?
<|assistant|>
SELECT "weight" FROM "kazakhs... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "kazakhstan" (
"name" text,
"pos" text,
"height" text,
"weight" text,
"date_of_birth" text,
"club" text
);
Question: What is the Name of the D Player from the Dinamo Moscow Club?
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "kazakhstan" (
"name" text,
"pos" text,
"height" text,
"weight" text,
"date_of_birth" text,
"club" text
);
Question: What is the Date of Birth of the Player from the CSK VMF Moscow Club?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "kazakhstan" (
"name" text,
"pos" text,
"height" text,
"weight" text,
"date_of_birth" text,
"club" text
);
Question: What is the Weight of the Player from DSHNK Almaty Club with a Height of m ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "relegation_playoff" (
"position" real,
"club" text,
"played" real,
"points" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" re... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "relegation_playoff" (
"position" real,
"club" text,
"played" real,
"points" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" re... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "relegation_playoff" (
"position" real,
"club" text,
"played" real,
"points" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" re... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "relegation_playoff" (
"position" real,
"club" text,
"played" real,
"points" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" re... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "connecticut" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"results" text
);
Question: What district re-elected a Republican?
<|assistant|>
SELECT "district" FROM "co... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.