text stringlengths 310 1.28k |
|---|
<|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 Country, when Score is "69-69=138", and when Player is "Ian Poulter"?
<|assistant|>... |
<|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 Score, when Country is "Scotland"?
<|assistant|>
SELECT "score" 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: What is Score, when Country is "United States", and when Player is "Bob Tway"?
<|assistant|... |
<|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 Score, when Player is "Ernie Els"?
<|assistant|>
SELECT "score" FROM "second_round"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "american_football_league" (
"year" real,
"round" real,
"pick" real,
"overall" real,
"player_name" text,
"position" text,
"afl_team" text
);
Question: What is the smallest Pick with Overall ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "american_football_league" (
"year" real,
"round" real,
"pick" real,
"overall" real,
"player_name" text,
"position" text,
"afl_team" text
);
Question: What is the smallest Pick with Overall ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "american_football_league" (
"year" real,
"round" real,
"pick" real,
"overall" real,
"player_name" text,
"position" text,
"afl_team" text
);
Question: What is the greatest Year with a Player... |
<|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: Name the Round that has Res o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
);
Question: which Event that has an Oppon... |
<|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: When has an Event of ufc 123?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "censorship_by_country" (
"country" text,
"region" text,
"fh_freepressreport" text,
"rwb_pressfreedomindex" text,
"internetlists" text,
"on_ipoliticalfiltering" text,
"on_isocialfiltering" te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "censorship_by_country" (
"country" text,
"region" text,
"fh_freepressreport" text,
"rwb_pressfreedomindex" text,
"internetlists" text,
"on_ipoliticalfiltering" text,
"on_isocialfiltering" te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "censorship_by_country" (
"country" text,
"region" text,
"fh_freepressreport" text,
"rwb_pressfreedomindex" text,
"internetlists" text,
"on_ipoliticalfiltering" text,
"on_isocialfiltering" te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "arizona" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"results" text
);
Question: What were the Results in Arizona 1 District?
<|assistant|>
SELECT "results" FROM "a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "arizona" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"results" text
);
Question: What Republican District had Incumbent First Elected in 2000 then Re-elected?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "arizona" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"results" text
);
Question: What is John Shadegg's First Elected date?
<|assistant|>
SELECT AVG("first_elected"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_28" (
"edition" text,
"round" text,
"date" text,
"against" text,
"surface" text,
"opponent" text,
"result" text
);
Question: On which date was the opponent lamine ouahab?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_28" (
"edition" text,
"round" text,
"date" text,
"against" text,
"surface" text,
"opponent" text,
"result" text
);
Question: On what date did the match take place in a round of 1r a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_28" (
"edition" text,
"round" text,
"date" text,
"against" text,
"surface" text,
"opponent" text,
"result" text
);
Question: What is the result of the match in round 1r against tuni... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_28" (
"edition" text,
"round" text,
"date" text,
"against" text,
"surface" text,
"opponent" text,
"result" text
);
Question: Who was the match against when on a clay surface during ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_28" (
"edition" text,
"round" text,
"date" text,
"against" text,
"surface" text,
"opponent" text,
"result" text
);
Question: What round had a amtch against cyprus and an edition of ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "time_progression_in_the_100_m" (
"year" real,
"time" real,
"windspeed" text,
"city" text,
"date" text
);
Question: What is the most recent year with a time of 10.56?
<|assistant|>
SELECT MAX("y... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "friendlies" (
"date" text,
"opponents" text,
"h_a" text,
"result_f_a" text,
"scorers" text
);
Question: When was the game played against Astley Bridge 'a'?
<|assistant|>
SELECT "date" FROM "fri... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2003" (
"week_1" text,
"week_2" text,
"week_3" text,
"week_4" text,
"week_5" text
);
Question: Who was the girl of the week after nicole woodruff in the same month?
<|assistant|>
SELECT "week_5... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2003" (
"week_1" text,
"week_2" text,
"week_3" text,
"week_4" text,
"week_5" text
);
Question: Who was the girl of the week 3 weeks after brianne bailey in the same month?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2003" (
"week_1" text,
"week_2" text,
"week_3" text,
"week_4" text,
"week_5" text
);
Question: Who was the girl of the week 2 weeks before terri lynn farrow in the same month?
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "scorers" (
"player" text,
"tries" real,
"goals" text,
"field_goals" real,
"points" real
);
Question: How many tries did the player have which ended with 20 Points?
<|assistant|>
SELECT "tries" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "scorers" (
"player" text,
"tries" real,
"goals" text,
"field_goals" real,
"points" real
);
Question: What is the highest number of points that Justin Hodges earned with 0 field goals and 0 regu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text,
"arena" text,
"points" real
);
Question: What is the average Points, when Date... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text,
"arena" text,
"points" real
);
Question: What is the lowest Attendance, when D... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "state_titles" (
"school" text,
"sport" text,
"titles" text,
"years" text,
"total" text
);
Question: For a total of 1 and the sport of softball what were the years?
<|assistant|>
SELECT "years" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "state_titles" (
"school" text,
"sport" text,
"titles" text,
"years" text,
"total" text
);
Question: What was the total for the year of 1925?
<|assistant|>
SELECT "total" FROM "state_titles" WHE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "release_history" (
"country" text,
"date" text,
"label" text,
"format" text,
"catalogue_num" text
);
Question: Which label is in a limited edition cd/dvd format?
<|assistant|>
SELECT "label" FR... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "release_history" (
"country" text,
"date" text,
"label" text,
"format" text,
"catalogue_num" text
);
Question: What is the date for the United Kingdom with an LP format?
<|assistant|>
SELECT "d... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "release_history" (
"country" text,
"date" text,
"label" text,
"format" text,
"catalogue_num" text
);
Question: Which format is in Japan?
<|assistant|>
SELECT "format" FROM "release_history" WHE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "release_history" (
"country" text,
"date" text,
"label" text,
"format" text,
"catalogue_num" text
);
Question: What is the format of catalog number 886973273913 (gowow012) in the United Kingdom... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "most_goals_in_a_la_liga_season_at_least_" (
"rank" real,
"club" text,
"season" text,
"goals" real,
"apps" real
);
Question: Which Apps have a Club of barcelona, and a Season of 1996/97, and a R... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "most_goals_in_a_la_liga_season_at_least_" (
"rank" real,
"club" text,
"season" text,
"goals" real,
"apps" real
);
Question: Which Season has a Club of real madrid, and a Rank smaller than 6, an... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "most_goals_in_a_la_liga_season_at_least_" (
"rank" real,
"club" text,
"season" text,
"goals" real,
"apps" real
);
Question: How many Apps have a Rank larger than 2, and Goals smaller than 102?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "most_goals_in_a_la_liga_season_at_least_" (
"rank" real,
"club" text,
"season" text,
"goals" real,
"apps" real
);
Question: Which Season has a Rank smaller than 4, and a Club of barcelona, and ... |
<|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 player has a 147 total from Spain?
<|assistant|>
SELECT "player" FROM "missed_t... |
<|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 year was the 146 total?
<|assistant|>
SELECT "year_s_won" FROM "missed_the_cut"... |
<|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 is Paul Lawrie from?
<|assistant|>
SELECT "country" FROM "missed_the_cu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "engines" (
"name" text,
"volume" text,
"engine" text,
"fuel" text,
"output" text,
"torque" text,
"engine_id_code_s" text,
"0_100km_h_s" real,
"top_speed" text,
"co_2" text,
"years" t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "engines" (
"name" text,
"volume" text,
"engine" text,
"fuel" text,
"output" text,
"torque" text,
"engine_id_code_s" text,
"0_100km_h_s" real,
"top_speed" text,
"co_2" text,
"years" t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "engines" (
"name" text,
"volume" text,
"engine" text,
"fuel" text,
"output" text,
"torque" text,
"engine_id_code_s" text,
"0_100km_h_s" real,
"top_speed" text,
"co_2" text,
"years" t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "engines" (
"name" text,
"volume" text,
"engine" text,
"fuel" text,
"output" text,
"torque" text,
"engine_id_code_s" text,
"0_100km_h_s" real,
"top_speed" text,
"co_2" text,
"years" t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "engines" (
"name" text,
"volume" text,
"engine" text,
"fuel" text,
"output" text,
"torque" text,
"engine_id_code_s" text,
"0_100km_h_s" real,
"top_speed" text,
"co_2" text,
"years" t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text,
"time" text
);
Question: What Venue has a Year smaller than 1986, and a Position of 6th?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text,
"time" text
);
Question: What Position has a Time of 3:01.78?
<|assistant|>
SELECT "position" FRO... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text,
"time" text
);
Question: What Event has a Competition of world championships?
<|assistant|>
SELEC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text,
"time" text
);
Question: What Time has a Year of 1984?
<|assistant|>
SELECT "time" FROM "achievem... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text,
"time" text
);
Question: What Competition has a Year smaller than 1983?
<|assistant|>
SELECT "com... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"name" text,
"position" text,
"height" text,
"weight" real,
"year" text,
"home_town" text
);
Question: What is the Weight of the Senior Player with a Height of 6–10?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"name" text,
"position" text,
"height" text,
"weight" real,
"year" text,
"home_town" text
);
Question: What is the Year of the Player with a Weight of 230 or less from San Antonio, ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"name" text,
"position" text,
"height" text,
"weight" real,
"year" text,
"home_town" text
);
Question: What is the Height of the Sophomore Guard weighing 185?
<|assistant|>
SELECT "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"name" text,
"position" text,
"height" text,
"weight" real,
"year" text,
"home_town" text
);
Question: What is the Year of the Player weighing 185?
<|assistant|>
SELECT "year" FROM ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "former" (
"club" text,
"nickname" text,
"location" text,
"gfl_premierships" text,
"years_in_gfl" text
);
Question: Which club is located in Thomson, Victoria?
<|assistant|>
SELECT "club" FROM "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "former" (
"club" text,
"nickname" text,
"location" text,
"gfl_premierships" text,
"years_in_gfl" text
);
Question: What is the nickname of the team who was in the GFL from 1986-1988?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "former" (
"club" text,
"nickname" text,
"location" text,
"gfl_premierships" text,
"years_in_gfl" text
);
Question: Which location did the Tigers have?
<|assistant|>
SELECT "location" FROM "form... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "former" (
"club" text,
"nickname" text,
"location" text,
"gfl_premierships" text,
"years_in_gfl" text
);
Question: What was the nickname of the team in the Geelong West Cricket & Football Club?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "former" (
"club" text,
"nickname" text,
"location" text,
"gfl_premierships" text,
"years_in_gfl" text
);
Question: What GLF Premiership did the Magpies have?
<|assistant|>
SELECT "gfl_premiersh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "former" (
"club" text,
"nickname" text,
"location" text,
"gfl_premierships" text,
"years_in_gfl" text
);
Question: What was the nickname of the team in the East Geelong club?
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
);
Question: What year has a winning finish of T27?
<|assistant|>
SELECT "year_s_w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
);
Question: What was the finish for England?
<|assistant|>
SELECT "finish" FROM "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
);
Question: What county won in 1991?
<|assistant|>
SELECT "country" FROM "made_th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
);
Question: What is the highest total to par of +9?
<|assistant|>
SELECT MAX("tot... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1990" (
"opposing_teams" text,
"against" real,
"date" text,
"venue" text,
"status" text
);
Question: What Status has Against of 12?
<|assistant|>
SELECT "status" FROM "1990" WHERE "against"=12;... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1990" (
"opposing_teams" text,
"against" real,
"date" text,
"venue" text,
"status" text
);
Question: What Venue has a Date of 17/03/1990?
<|assistant|>
SELECT "venue" FROM "1990" WHERE "date"='... |
<|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 an Attendance of 43,272?
<|assistant|>
SELECT COUNT("week") FROM "schedul... |
<|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: Who played on december 12, 1993?
<|assistant|>
SELECT "opponent" FROM "schedule" WHERE "date... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "matches" (
"opposing_team" text,
"against" real,
"date" text,
"venue" text,
"status" text,
"report" text
);
Question: What day was United States the opposing team?
<|assistant|>
SELECT "date"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "matches" (
"opposing_team" text,
"against" real,
"date" text,
"venue" text,
"status" text,
"report" text
);
Question: What was the opposing team for the second test?
<|assistant|>
SELECT "opp... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "matches" (
"opposing_team" text,
"against" real,
"date" text,
"venue" text,
"status" text,
"report" text
);
Question: What was the opposing team for the second test?
<|assistant|>
SELECT "opp... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "club_and_player_records" (
"team" text,
"opponent" text,
"score" text,
"venue" text,
"round" text
);
Question: What round was in canberra stadium?
<|assistant|>
SELECT "round" FROM "club_and_pl... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "club_and_player_records" (
"team" text,
"opponent" text,
"score" text,
"venue" text,
"round" text
);
Question: What is the venue of the match with cronulla sharks as the opponent?
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "club_and_player_records" (
"team" text,
"opponent" text,
"score" text,
"venue" text,
"round" text
);
Question: Who is the opponent at toyota stadium?
<|assistant|>
SELECT "opponent" FROM "club_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "club_and_player_records" (
"team" text,
"opponent" text,
"score" text,
"venue" text,
"round" text
);
Question: What is the score of the match with the sydney roosters as the opponent?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "club_and_player_records" (
"team" text,
"opponent" text,
"score" text,
"venue" text,
"round" text
);
Question: What is the venue of the match with the cronulla sharks as the opponent?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" text,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
);
Question: What Location Attendance has a Game of 4?
<|assistant|>
SELECT "loc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" text,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
);
Question: What Date has a Location Attendance of reunion arena?
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" text,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
);
Question: What Record has a Location Attendance of delta center, and an Oppon... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" text,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
);
Question: What Location Attendance has an Opponent of at denver nuggets?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" text,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
);
Question: What Record has an Opponent of vs washington wizards?
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" text,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
);
Question: What Location Attendance has a Game of 14?
<|assistant|>
SELECT "lo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "runner_ups_5" (
"year" real,
"championship" text,
"partnering" text,
"opponents_in_final" text,
"score_in_final" text
);
Question: What was the final score of the game against shingo kunieda ma... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "runner_ups_5" (
"year" real,
"championship" text,
"partnering" text,
"opponents_in_final" text,
"score_in_final" text
);
Question: What championship tournament did Ronald Vink play in with maik... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "previous_models" (
"model" text,
"screen_size" text,
"bluetooth" text,
"fm_transmitter" text,
"flash" text
);
Question: What is the screen size of the s45 (Australia only) Model with no bluetoo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "previous_models" (
"model" text,
"screen_size" text,
"bluetooth" text,
"fm_transmitter" text,
"flash" text
);
Question: Does the S90i model have bluetooth?
<|assistant|>
SELECT "bluetooth" FROM... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "previous_models" (
"model" text,
"screen_size" text,
"bluetooth" text,
"fm_transmitter" text,
"flash" text
);
Question: Does the s35 model have bluetooth?
<|assistant|>
SELECT "bluetooth" FROM ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "croatia" (
"name" text,
"pos" text,
"height" text,
"weight" text,
"date_of_birth" text,
"club" text
);
Question: What is the height for club Havk Mladost?
<|assistant|>
SELECT "height" FROM "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "croatia" (
"name" text,
"pos" text,
"height" text,
"weight" text,
"date_of_birth" text,
"club" text
);
Question: What is the height for Nikola Franković?
<|assistant|>
SELECT "height" FROM "c... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "croatia" (
"name" text,
"pos" text,
"height" text,
"weight" text,
"date_of_birth" text,
"club" text
);
Question: What is the weight of Damir Burić?
<|assistant|>
SELECT "weight" FROM "croatia... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "qualification" (
"shooter" text,
"event" text,
"rank_points" text,
"score_points" text,
"total" text
);
Question: What is Total, when Rank Points is "15", and when Event is "WC Beijing"?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "qualification" (
"shooter" text,
"event" text,
"rank_points" text,
"score_points" text,
"total" text
);
Question: What is Score Points, when Event is "WC Rio De Janeiro", and when Rank Points i... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "qualification" (
"shooter" text,
"event" text,
"rank_points" text,
"score_points" text,
"total" text
);
Question: What is Shooter, when Total is "21"?
<|assistant|>
SELECT "shooter" FROM "quali... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "qualification" (
"shooter" text,
"event" text,
"rank_points" text,
"score_points" text,
"total" text
);
Question: What is Score Points, when Shooter is "Sandra Kolly ( SUI )"?
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "qualification" (
"shooter" text,
"event" text,
"rank_points" text,
"score_points" text,
"total" text
);
Question: What is Rank Points, when Event is "WC Milan", and when Shooter is "Lalita Yauh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "qualification" (
"shooter" text,
"event" text,
"rank_points" text,
"score_points" text,
"total" text
);
Question: What is Rank Points, when Total is "17", and when Shooter is "Lalita Yauhleuska... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_performances_on" (
"week" text,
"theme" text,
"song_sung" text,
"artist" text,
"status" text
);
Question: Which Artist is listed as having Top 6 in Week
<|assistant|>
SELECT "artist" FR... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.