text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
);
Question: What is the Week number with a result of l 31–28?
<|assistant|>
SELECT COUNT("week") FROM "s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fifth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" real
);
Question: What was the score at the Tie no. 1 game?
<|assistant|>
SELECT "score" FROM... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fifth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" real
);
Question: What was the attendance at the West Ham United home game?
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medalists" (
"medal" text,
"name" text,
"sport" text,
"event" text,
"date" text
);
Question: What is the Sport with a Name that is gustav larsson?
<|assistant|>
SELECT "sport" FROM "medalists" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medalists" (
"medal" text,
"name" text,
"sport" text,
"event" text,
"date" text
);
Question: What is the Name with an Event that is men's time trial?
<|assistant|>
SELECT "name" FROM "medalists... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "under_23_international_career" (
"date" text,
"venue" text,
"result" text,
"goals" real,
"competition" text
);
Question: At which venue did the event held on 15 November 2010 occur?
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"draw" real,
"song" text,
"performer" text,
"points" real,
"rank" text
);
Question: Which Points has a Performer of rob burke band and a Draw larger than 1?
<|assistant|>
SELECT A... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"draw" real,
"song" text,
"performer" text,
"points" real,
"rank" text
);
Question: What Points have a Song of "this time" and a Draw smaller than 5?
<|assistant|>
SELECT COUNT("p... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"draw" real,
"song" text,
"performer" text,
"points" real,
"rank" text
);
Question: Which Points have a Performer of seán monaghan and a Draw smaller than 7?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"draw" real,
"song" text,
"performer" text,
"points" real,
"rank" text
);
Question: Which Points has a Performer of rob burke band?
<|assistant|>
SELECT COUNT("points") FROM "refe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_by_season" (
"season" text,
"division" text,
"finish" text,
"wins" text,
"losses" text,
"pct" text
);
Question: What is the Finish of 28 Wins?
<|assistant|>
SELECT "finish" FROM "seaso... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_by_season" (
"season" text,
"division" text,
"finish" text,
"wins" text,
"losses" text,
"pct" text
);
Question: What is the Finish of the Reno Bighorns Wins?
<|assistant|>
SELECT "fini... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_by_season" (
"season" text,
"division" text,
"finish" text,
"wins" text,
"losses" text,
"pct" text
);
Question: What is the Finish of 28 Wins?
<|assistant|>
SELECT "finish" FROM "seaso... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_by_season" (
"season" text,
"division" text,
"finish" text,
"wins" text,
"losses" text,
"pct" text
);
Question: What is the Western Division of Wins with a 4th Finish?
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_by_season" (
"season" text,
"division" text,
"finish" text,
"wins" text,
"losses" text,
"pct" text
);
Question: What are the losses of the playoffs season?
<|assistant|>
SELECT "losses... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "preliminary_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
);
Question: What is Team 1, when Team 2 is Saint Louis?
<|assistant|>
SELECT "team_1" FROM "prelim... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "preliminary_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
);
Question: What is Agg., when Team 2 is Mukungwa?
<|assistant|>
SELECT "agg" FROM "preliminary_ro... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1980s_hat_tricks" (
"season" text,
"competition" text,
"round" text,
"opponent" text,
"home" text,
"away" text,
"series" text
);
Question: What is the Round with an Opponent that is torpedo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_top_association_football_goal_sc" (
"rank" real,
"name" text,
"years" text,
"matches" real,
"goals" real
);
Question: Can you tell me the sum of Matches that has the Goals of 103, and t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_top_association_football_goal_sc" (
"rank" real,
"name" text,
"years" text,
"matches" real,
"goals" real
);
Question: Can you tell me the Name that has the Goals larger than 98, and the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "superbike_race_1_classification" (
"rider" text,
"bike" text,
"laps" real,
"time" text,
"grid" real
);
Question: How many laps had a time stat of accident for the rider carmelo morales when the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "superbike_race_1_classification" (
"rider" text,
"bike" text,
"laps" real,
"time" text,
"grid" real
);
Question: How many laps had a time of +2.987?
<|assistant|>
SELECT COUNT("laps") FROM "sup... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "superbike_race_1_classification" (
"rider" text,
"bike" text,
"laps" real,
"time" text,
"grid" real
);
Question: Which bike had fewer than 23 laps and a grid number of 4?
<|assistant|>
SELECT "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"week" real,
"date" text,
"time" text,
"opponent" text,
"result" text,
"game_site" text,
"nfl_recap" text,
"record" text
);
Question: What is the Record for week 14?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"week" real,
"date" text,
"time" text,
"opponent" text,
"result" text,
"game_site" text,
"nfl_recap" text,
"record" text
);
Question: What is the Result with an NFL Reca... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"week" real,
"date" text,
"time" text,
"opponent" text,
"result" text,
"game_site" text,
"nfl_recap" text,
"record" text
);
Question: What is the Record for week 12?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"week" real,
"date" text,
"time" text,
"opponent" text,
"result" text,
"game_site" text,
"nfl_recap" text,
"record" text
);
Question: What is the Opponent with a time of... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"week" real,
"date" text,
"time" text,
"opponent" text,
"result" text,
"game_site" text,
"nfl_recap" text,
"record" text
);
Question: What is the highest Week for octobe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
);
Question: Which team has 1 as the drawn,... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
);
Question: How many drawns have 7 for the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
);
Question: What is the average played tha... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_class_bowling_statistics" (
"player" text,
"matches" real,
"overs" real,
"maidens" real,
"runs" real,
"wickets" real,
"average" text,
"economy" real,
"best_bowling" text
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "men" (
"rank" real,
"name" text,
"team" text,
"country" text,
"points" real
);
Question: Ranking higher than 2, what Team has Player Paolo Maldini?
<|assistant|>
SELECT "team" FROM "men" WHERE ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "men" (
"rank" real,
"name" text,
"team" text,
"country" text,
"points" real
);
Question: What Country is in Rank 2?
<|assistant|>
SELECT "country" FROM "men" WHERE "rank"=2;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "march" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"record" text
);
Question: What date was Leo Mainoldi (24) the leading scorer?
<|assistant|>
SELECT "da... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "march" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"record" text
);
Question: Who is the visitor with the 14-10 record?
<|assistant|>
SELECT "visitor" FRO... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "march" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"record" text
);
Question: What is the record of the 73-82 score?
<|assistant|>
SELECT "record" FROM "m... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "march" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"record" text
);
Question: Who is the leading scorer of the Villa De Los Barrios visitor?
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "march" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"record" text
);
Question: Who is the visitor with a 14-10 record?
<|assistant|>
SELECT "visitor" FROM ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "march" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"record" text
);
Question: What is the score of the team with the 14-9 record?
<|assistant|>
SELECT "sc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_goals" (
"goal" real,
"date" text,
"venue" text,
"result" text,
"competition" text
);
Question: What was the date of the game with 6 goals?
<|assistant|>
SELECT "date" FROM "inter... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_goals" (
"goal" real,
"date" text,
"venue" text,
"result" text,
"competition" text
);
Question: What was the highest number of goals for a game held at Hannover?
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_goals" (
"goal" real,
"date" text,
"venue" text,
"result" text,
"competition" text
);
Question: What was the result of the game with more than 12 goals at Pasadena?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2008_draft" (
"round" real,
"pick" text,
"player" text,
"position" text,
"team" text
);
Question: What round was Andre Fluellen drafted as a Defensive Tackle?
<|assistant|>
SELECT COUNT("round"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2008_draft" (
"round" real,
"pick" text,
"player" text,
"position" text,
"team" text
);
Question: After Round 5, which player was drafted for Defensive Tackle?
<|assistant|>
SELECT "player" FRO... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2008_draft" (
"round" real,
"pick" text,
"player" text,
"position" text,
"team" text
);
Question: What was the earliest Round for Central Florida?
<|assistant|>
SELECT MIN("round") FROM "2008_d... |
<|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 is the date of the label Dos or Die Recordings?
<|assistant|>
SELECT "date" FROM "re... |
<|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 is the label for 2002, in Germany, Catalog Dos 195?
<|assistant|>
SELECT "label" FRO... |
<|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 2002 date, and a Catalog dos 195?
<|assistant|>
SELECT "region" FROM "r... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"year" real,
"venue" text,
"location" text,
"winners" text,
"runners_up" text
);
Question: What is the Winners when the United States is the runner-up at st. germain golf club?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"year" real,
"venue" text,
"location" text,
"winners" text,
"runners_up" text
);
Question: What is the average Year when Australia was the runner-up at victoria golf club?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"year" real,
"venue" text,
"location" text,
"winners" text,
"runners_up" text
);
Question: What is the Location when France was the runner-up at club de campo?
<|assistant|>
SELECT "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"year" real,
"venue" text,
"location" text,
"winners" text,
"runners_up" text
);
Question: What is the Location when Canada was the runner-up and Australia was the winner?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "visible" (
"name" text,
"space_agency" text,
"launch_date" text,
"terminated" text,
"location" text
);
Question: What is the Name of the Space Telescope Terminated on March 1993?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "opinion_poll_summary" (
"party" text,
"marplan" text,
"gallup" text,
"national_opinion_polls_nop" text,
"opinion_research_centre_opc" text,
"harris" text
);
Question: What is Party, when Opin... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "opinion_poll_summary" (
"party" text,
"marplan" text,
"gallup" text,
"national_opinion_polls_nop" text,
"opinion_research_centre_opc" text,
"harris" text
);
Question: What is Marplan, when Ga... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "opinion_poll_summary" (
"party" text,
"marplan" text,
"gallup" text,
"national_opinion_polls_nop" text,
"opinion_research_centre_opc" text,
"harris" text
);
Question: What is Opinion Research... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "opinion_poll_summary" (
"party" text,
"marplan" text,
"gallup" text,
"national_opinion_polls_nop" text,
"opinion_research_centre_opc" text,
"harris" text
);
Question: What is Harris, when Mar... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1972_isle_of_man_sidecar_500cc_tt_final_" (
"place" real,
"rider" text,
"country" text,
"machine" text,
"speed" text,
"time" text,
"points" real
);
Question: What are the fewest points that... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1972_isle_of_man_sidecar_500cc_tt_final_" (
"place" real,
"rider" text,
"country" text,
"machine" text,
"speed" text,
"time" text,
"points" real
);
Question: How fast does the BMW with 6 po... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_wildcards" (
"draw" real,
"artist" text,
"song" text,
"televote" text,
"place" real
);
Question: What is the average draw for Desi Dobreva, was it less than 6?
<|assistant|>
SELECT AVG("d... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "second_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
);
Question: What was the first leg score for the match that had AS Police as team 2?
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "second_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
);
Question: Who were the team 2 when team 1 was Iwuanyanwu Nationale and the 1st leg score was 2-0?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "second_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
);
Question: What was the 2nd leg score for the tie that had a 5-0 first leg score?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "second_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
);
Question: What was the team 1 for the tie that had a first leg score of 2-3?
<|assistant|>
SELECT "te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "second_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
);
Question: Who was the team 1 in the match that had a 1st leg score of 3-0 and a 2nd leg of 1-2?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "second_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
);
Question: What was the first leg score for the match that had a 0-2 2nd leg score?
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2000_broadway_revival" (
"year" real,
"award" text,
"category" text,
"nominee" text,
"result" text
);
Question: What was the result for the Outstanding director of a musical category?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2000_broadway_revival" (
"year" real,
"award" text,
"category" text,
"nominee" text,
"result" text
);
Question: What was the result of the Award of Drama desk award nominee Tom Hewitt.
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2000_broadway_revival" (
"year" real,
"award" text,
"category" text,
"nominee" text,
"result" text
);
Question: What year was best costume design the award category?
<|assistant|>
SELECT "year"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "accolades" (
"publication" text,
"country" text,
"accolade" text,
"year" real,
"rank" text
);
Question: Which accolade has USA as the country, with a year less than 2009?
<|assistant|>
SELECT "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "accolades" (
"publication" text,
"country" text,
"accolade" text,
"year" real,
"rank" text
);
Question: How many years have an accolade of 50 best albums of the year, with #3 as the rank?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "accolades" (
"publication" text,
"country" text,
"accolade" text,
"year" real,
"rank" text
);
Question: Which rank has canada as the country?
<|assistant|>
SELECT "rank" FROM "accolades" WHERE ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_7" (
"episode_number" real,
"air_date" text,
"guest_host" text,
"musical_guest_song_performed" text,
"coat_of_cash_wearing_celebrity" text
);
Question: What is the name of the Guest Host... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_7" (
"episode_number" real,
"air_date" text,
"guest_host" text,
"musical_guest_song_performed" text,
"coat_of_cash_wearing_celebrity" text
);
Question: What is the Guest Host for the epi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_7" (
"episode_number" real,
"air_date" text,
"guest_host" text,
"musical_guest_song_performed" text,
"coat_of_cash_wearing_celebrity" text
);
Question: What is the Musical Guest (Song pe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
);
Question: What was the score for the 2014 FIFA World Cup Qualification (UEFA)?
<|assistant|>... |
<|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,
"kickoff_time" text,
"attendance" text
);
Question: What was the kickoff time for week 11's game?
<|assistant|>
SELECT "k... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "senior_major_winners" (
"year" real,
"senior_pga_championship" text,
"the_tradition" text,
"senior_players_championship" text,
"u_s_senior_open" text,
"senior_british_open" text
);
Question: ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "senior_major_winners" (
"year" real,
"senior_pga_championship" text,
"the_tradition" text,
"senior_players_championship" text,
"u_s_senior_open" text,
"senior_british_open" text
);
Question: ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "senior_major_winners" (
"year" real,
"senior_pga_championship" text,
"the_tradition" text,
"senior_players_championship" text,
"u_s_senior_open" text,
"senior_british_open" text
);
Question: ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "senior_major_winners" (
"year" real,
"senior_pga_championship" text,
"the_tradition" text,
"senior_players_championship" text,
"u_s_senior_open" text,
"senior_british_open" text
);
Question: ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"result" text,
"record" text,
"opponent" text,
"points_for" real,
"points_against" real,
"first_downs" real,
"attendance" real
);
Question: Which W... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"result" text,
"record" text,
"opponent" text,
"points_for" real,
"points_against" real,
"first_downs" real,
"attendance" real
);
Question: Which A... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "top_scorers_in_order_of_league_goals" (
"player" text,
"club" text,
"league" real,
"fa_cup" real,
"fa_trophy" real,
"league_cup" real,
"total" real
);
Question: Which League Cup has a FA Cu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "top_scorers_in_order_of_league_goals" (
"player" text,
"club" text,
"league" real,
"fa_cup" real,
"fa_trophy" real,
"league_cup" real,
"total" real
);
Question: How many Total that has a FA... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "top_scorers_in_order_of_league_goals" (
"player" text,
"club" text,
"league" real,
"fa_cup" real,
"fa_trophy" real,
"league_cup" real,
"total" real
);
Question: How many FA Trophy has a Pl... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pga_tour_wins_12" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
);
Question: What was the score of the winning match on Oct 28, 1962?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pga_tour_wins_12" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
);
Question: By how many strokes did Lema beat Jack Nicklaus?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pga_tour_wins_12" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
);
Question: Who was the runner-up on Jan 19, 1964?
<|assistant|>
SELECT "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "rebounds" (
"rank" real,
"name" text,
"team" text,
"games" real,
"rebounds" real
);
Question: How many Rebounds did Maccabi Tel Aviv Team get after Game 6?
<|assistant|>
SELECT COUNT("rebounds"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "rebounds" (
"rank" real,
"name" text,
"team" text,
"games" real,
"rebounds" real
);
Question: How many Games for the player with Rebounds from Efes Pilsen?
<|assistant|>
SELECT "games" FROM "re... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "rebounds" (
"rank" real,
"name" text,
"team" text,
"games" real,
"rebounds" real
);
Question: How many Games for the Player from Lietuvos Rytas Vilnius with less the 43 Rebounds?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "newly_named_birds" (
"name" text,
"status" text,
"authors" text,
"location" text,
"notes" text
);
Question: Who is The Author of zhou clarke zhang?
<|assistant|>
SELECT "name" FROM "newly_named... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "newly_named_birds" (
"name" text,
"status" text,
"authors" text,
"location" text,
"notes" text
);
Question: What is the Status of primitive confuciusornithid .?
<|assistant|>
SELECT "status" FR... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "newly_named_birds" (
"name" text,
"status" text,
"authors" text,
"location" text,
"notes" text
);
Question: What is the name of gao chiappe meng o'connor wang cheng liu?
<|assistant|>
SELECT "n... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "newly_named_birds" (
"name" text,
"status" text,
"authors" text,
"location" text,
"notes" text
);
Question: Where has a Name of zhongornis?
<|assistant|>
SELECT "location" FROM "newly_named_bir... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "newly_named_birds" (
"name" text,
"status" text,
"authors" text,
"location" text,
"notes" text
);
Question: Which Notes has Authors of zhou clarke zhang?
<|assistant|>
SELECT "notes" FROM "newl... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_clubs_2014_season" (
"club" text,
"position_in_2013" text,
"first_season" real,
"first_season_of_current_spell" real,
"number_of_seasons_in_superettan" real,
"number_of_seasons_in_seco... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_clubs_2014_season" (
"club" text,
"position_in_2013" text,
"first_season" real,
"first_season_of_current_spell" real,
"number_of_seasons_in_superettan" real,
"number_of_seasons_in_seco... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.