text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "championship_review" (
"race" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"constructor" text,
"tyre" text,
"report" text
);
Quest... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "submission_grappling_record" (
"result" text,
"opponent" text,
"method" text,
"event" text,
"date" real
);
Question: What was the event for vinny magalhães?
<|assistant|>
SELECT "event" FROM "s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "submission_grappling_record" (
"result" text,
"opponent" text,
"method" text,
"event" text,
"date" real
);
Question: What was the date for renato ferreira?
<|assistant|>
SELECT "date" FROM "sub... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "submission_grappling_record" (
"result" text,
"opponent" text,
"method" text,
"event" text,
"date" real
);
Question: What was the event with leonardo chocolate in 2009?
<|assistant|>
SELECT "ev... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "submission_grappling_record" (
"result" text,
"opponent" text,
"method" text,
"event" text,
"date" real
);
Question: What was the result for the opponent being gerardi rinaldi in 2009?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_5" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What is the away team that has a score of... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_5" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: The home team has a score of 12.9 (81) wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "division_races" (
"week" real,
"eastern_num1" text,
"eastern_num2" text,
"western_num1" text,
"western_num2" text
);
Question: Tell me the eastern #1 for week of 5
<|assistant|>
SELECT "eastern... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "division_races" (
"week" real,
"eastern_num1" text,
"eastern_num2" text,
"western_num1" text,
"western_num2" text
);
Question: Tell me the eastern #2 for western #2 of oakland
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "division_races" (
"week" real,
"eastern_num1" text,
"eastern_num2" text,
"western_num1" text,
"western_num2" text
);
Question: Tell me the wekk for eastern #2 of houston
<|assistant|>
SELECT "w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_8" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: How many people attended the game when th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_8" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: Which home team had a crowd larger than 2... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_8" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: Which home team played against the away t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_8" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: Where was the game played where the home ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_8" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What is the home score with a crowd large... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_6" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What is the date of the home team from So... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_6" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What is the score of the away team with t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_13" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What venue did the away team footscray p... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_13" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: When the home team scored 8.8 (56), what... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_13" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: When melbourne was the away team, what w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_13" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: Which away team plays at the venue glenf... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_13" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: When the home team scored 11.15 (81), wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ranking_of_chinese_provinces_by_gdp_per_" (
"year" text,
"2010" real,
"2009" real,
"2008" real,
"2005" real,
"2000" real
);
Question: Tell me the lowest 2005 for 2010 less than 21 for 2009 be... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ranking_of_chinese_provinces_by_gdp_per_" (
"year" text,
"2010" real,
"2009" real,
"2008" real,
"2005" real,
"2000" real
);
Question: Name the total number of 2010 for when 2009 is less than ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ranking_of_chinese_provinces_by_gdp_per_" (
"year" text,
"2010" real,
"2009" real,
"2008" real,
"2005" real,
"2000" real
);
Question: Name the average 2008 for beijing and 2005 more than 2
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ranking_of_chinese_provinces_by_gdp_per_" (
"year" text,
"2010" real,
"2009" real,
"2008" real,
"2005" real,
"2000" real
);
Question: Name the lowest 2008 for guizhou when 2005 is less than 3... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ranking_of_chinese_provinces_by_gdp_per_" (
"year" text,
"2010" real,
"2009" real,
"2008" real,
"2005" real,
"2000" real
);
Question: Name the sum of 2010 for 2000 of 17 and 2005 more than 16... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_3" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What is the total of crowd at Venue of mc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_3" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What is the smallest crowd with a Home te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_3" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: Which date has a Home team score of 6.12 ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_3" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: Which away team has a score of 11.17 (83)... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_municipalities_in_quebec" (
"code" real,
"type" text,
"name" text,
"area_km_2" real,
"population" real,
"regional_county_municipality" text,
"region" real
);
Question: Tell me the n... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: what is the rank when the bronze is less than 0?
<|assistant|>
SELECT COUNT("ra... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: what is the highest rank when the bronze is less than 1 and the total is less t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: what is the lowest amount of silver when the gold is less than 0?
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: what is the average number of gold when the rank is more than 5?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: what is the highest amount of silver when gold is 0 for soviet union?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1990s" (
"player" text,
"position" text,
"first_team_debut" text,
"first_team_appearances" real,
"first_team_goals" real,
"current_club" text
);
Question: What position does adam rachel play?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1990s" (
"player" text,
"position" text,
"first_team_debut" text,
"first_team_appearances" real,
"first_team_goals" real,
"current_club" text
);
Question: What player has over 1 first apperan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ro_ro_passenger_ships" (
"ship_name" text,
"year" real,
"length" text,
"width" text,
"passengers" real,
"vessels" real,
"speed" real
);
Question: What is the average speed for ships before ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ro_ro_passenger_ships" (
"ship_name" text,
"year" real,
"length" text,
"width" text,
"passengers" real,
"vessels" real,
"speed" real
);
Question: How many vessels are named aqua jewel?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_members_of_the_baltimore_city_de" (
"district" real,
"place_of_birth" text,
"delegate" text,
"party" text,
"took_office" real,
"committee" text
);
Question: How many districts in Balt... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_members_of_the_baltimore_city_de" (
"district" real,
"place_of_birth" text,
"delegate" text,
"party" text,
"took_office" real,
"committee" text
);
Question: Which party belongs to dis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_members_of_the_baltimore_city_de" (
"district" real,
"place_of_birth" text,
"delegate" text,
"party" text,
"took_office" real,
"committee" text
);
Question: Where was the place of bir... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_members_of_the_baltimore_city_de" (
"district" real,
"place_of_birth" text,
"delegate" text,
"party" text,
"took_office" real,
"committee" text
);
Question: Where was the delegate bel... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_members_of_the_baltimore_city_de" (
"district" real,
"place_of_birth" text,
"delegate" text,
"party" text,
"took_office" real,
"committee" text
);
Question: What is the largest distri... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "u_s_nielsen_weekly_ratings" (
"episode" text,
"rating" real,
"share" real,
"18_49_rating_share" text,
"viewers_m" real
);
Question: What is the average Viewers (m) for "aka", with a Rating larg... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ice_dancing" (
"rank" real,
"name" text,
"nation" text,
"points" real,
"placings" real
);
Question: What is the highest placing for marie mcneil / robert mccall, with less than 168.58?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "december" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"attendance" real,
"record" text
);
Question: What was the date of the Mavericks home game?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_generation_models" (
"model" text,
"power" text,
"torque_rpm" text,
"displacement_cc" real,
"engine" text
);
Question: What is the highest displacement value for the R Fwd Auto Phase1?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_11" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What was the top crowd when the team sco... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_11" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What team played at lake oval while away... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_11" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What is the combined of Crowd that has a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_11" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What is the combined of Crowd that has a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "top_athletes" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: Name the number of silver when gold is less than 1 and bronze is 0 when total ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "streets" (
"street" text,
"west" text,
"east" text,
"num_of_lanes" text,
"traffic_direction" text
);
Question: What is the traffic direction of 70th street?
<|assistant|>
SELECT "traffic_direct... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "streets" (
"street" text,
"west" text,
"east" text,
"num_of_lanes" text,
"traffic_direction" text
);
Question: What is the traffic direction of 64th street with 2nd avenue to the west and 1 lan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "streets" (
"street" text,
"west" text,
"east" text,
"num_of_lanes" text,
"traffic_direction" text
);
Question: What is the traffic direction of 97th street?
<|assistant|>
SELECT "traffic_direct... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "streets" (
"street" text,
"west" text,
"east" text,
"num_of_lanes" text,
"traffic_direction" text
);
Question: What is the # of lanes on 20th street?
<|assistant|>
SELECT "num_of_lanes" FROM "s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "running_backs" (
"place" real,
"player_name" text,
"yards" text,
"td_s" real,
"long" real
);
Question: What is the long of the player with 16 yards and less than 1 TD?
<|assistant|>
SELECT SUM(... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "running_backs" (
"place" real,
"player_name" text,
"yards" text,
"td_s" real,
"long" real
);
Question: What is the highest place a player with 4 long and less than 2 TDs has?
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "drivers_and_constructors" (
"entrant" text,
"constructor" text,
"chassis" text,
"tyre" text,
"driver" text,
"rounds" text
);
Question: Who drove the Marlboro Mclaren Peugeot?
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "drivers_and_constructors" (
"entrant" text,
"constructor" text,
"chassis" text,
"tyre" text,
"driver" text,
"rounds" text
);
Question: What tyre did Mika Salo use for team Lotus?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "drivers_and_constructors" (
"entrant" text,
"constructor" text,
"chassis" text,
"tyre" text,
"driver" text,
"rounds" text
);
Question: Which driver drove the Tourtel Larrousse F1?
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "drivers_and_constructors" (
"entrant" text,
"constructor" text,
"chassis" text,
"tyre" text,
"driver" text,
"rounds" text
);
Question: Who constructed Gerhard Berger car that went all rounds?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "october" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
);
Question: Who visited phoenix with a Record of 2–5–0?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "october" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
);
Question: What decision had a Record of 3–5–0?
<|assistant|>
SELECT "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "october" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
);
Question: What is the low attendance was based in phoenix with a Reco... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "october" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
);
Question: What was the score did phoenix have with a Record of 3–6–0 ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "october" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
);
Question: What was the record while at home in Anaheim?
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roger_maris_61_home_runs" (
"number" real,
"game" real,
"date" text,
"pitcher" text,
"team" text,
"inning" text
);
Question: Which inning were the Minnesota Twins in on 06-07-1961?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_7" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: How many people attended the game where t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_7" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: Who was the away team at the game held at... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_12" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What is the name of the venue that away ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_12" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What is the name of the venue where the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_12" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What date was the game played at princes... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_12" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: Who is the away team that played at punt... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "track_listing" (
"track" real,
"title" text,
"translation" text,
"composer" text,
"recorded" text
);
Question: How many tracks were Recorded 1964-01-08?
<|assistant|>
SELECT COUNT("track") FROM... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "track_listing" (
"track" real,
"title" text,
"translation" text,
"composer" text,
"recorded" text
);
Question: WhatTranslation has a Composer of jacques brel, rod mckuen?
<|assistant|>
SELECT "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "track_listing" (
"track" real,
"title" text,
"translation" text,
"composer" text,
"recorded" text
);
Question: Which recording has a Track larger than 2, and a Translation of the last meal?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "track_listing" (
"track" real,
"title" text,
"translation" text,
"composer" text,
"recorded" text
);
Question: Which title has a Track of 3?
<|assistant|>
SELECT "title" FROM "track_listing" WH... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "december" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
);
Question: When was the home game when the New Jersey team's record became 7-23-7?
<|assistant|>
SELECT "date... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"player_drafted_or_traded_for" text,
"position" text,
"college" text
);
Question: What college has a pick of 11?
<|assistant|>
SELECT "college" FROM "nfl... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"player_drafted_or_traded_for" text,
"position" text,
"college" text
);
Question: What is the average pick of Florida State?
<|assistant|>
SELECT AVG("pi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"player_drafted_or_traded_for" text,
"position" text,
"college" text
);
Question: What is the average pick of San Diego State?
<|assistant|>
SELECT AVG("... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "men" (
"rank" real,
"name" text,
"nation" text,
"sp_fs" real,
"points" real,
"placings" real
);
Question: What is the lowest value for SP+FS for Miljan Begovic with a greater than 189 place?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "men" (
"rank" real,
"name" text,
"nation" text,
"sp_fs" real,
"points" real,
"placings" real
);
Question: What is the average points value for a rank less than 12 for David Santee?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "men" (
"rank" real,
"name" text,
"nation" text,
"sp_fs" real,
"points" real,
"placings" real
);
Question: What is the total number for Rank with 185.16 points and a SP+FS value greater than 5... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "men" (
"rank" real,
"name" text,
"nation" text,
"sp_fs" real,
"points" real,
"placings" real
);
Question: What is the largest value for SP+FS with more than 164.56 points for Mitsuru Matsumur... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pronunciation_in_modern_hebrew" (
"variant_with_niqqud" text,
"without_niqqud" text,
"phonemic_value" text,
"phonetic_realisation" text,
"english_example" text
);
Question: When phonetic realis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pronunciation_in_modern_hebrew" (
"variant_with_niqqud" text,
"without_niqqud" text,
"phonemic_value" text,
"phonetic_realisation" text,
"english_example" text
);
Question: When a variant witho... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pronunciation_in_modern_hebrew" (
"variant_with_niqqud" text,
"without_niqqud" text,
"phonemic_value" text,
"phonetic_realisation" text,
"english_example" text
);
Question: What is the phonetic... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pronunciation_in_modern_hebrew" (
"variant_with_niqqud" text,
"without_niqqud" text,
"phonemic_value" text,
"phonetic_realisation" text,
"english_example" text
);
Question: Give me an english e... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pronunciation_in_modern_hebrew" (
"variant_with_niqqud" text,
"without_niqqud" text,
"phonemic_value" text,
"phonetic_realisation" text,
"english_example" text
);
Question: What is the variant ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pronunciation_in_modern_hebrew" (
"variant_with_niqqud" text,
"without_niqqud" text,
"phonemic_value" text,
"phonetic_realisation" text,
"english_example" text
);
Question: If a variant without... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nfl_draft" (
"pick" real,
"round" text,
"player" text,
"position" text,
"school" text
);
Question: What position does pick 113 play?
<|assistant|>
SELECT "position" FROM "nfl_draft" WHERE "pick... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nfl_draft" (
"pick" real,
"round" text,
"player" text,
"position" text,
"school" text
);
Question: What is the school of Victor Jones, who was picked further than number 225?
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nfl_draft" (
"pick" real,
"round" text,
"player" text,
"position" text,
"school" text
);
Question: What is the total pick number of Virginia Tech?
<|assistant|>
SELECT COUNT("pick") FROM "nfl_d... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nfl_draft" (
"pick" real,
"round" text,
"player" text,
"position" text,
"school" text
);
Question: What is the position of a player from North Carolina?
<|assistant|>
SELECT "position" FROM "nf... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_19" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What is the home team score of St Kilda?... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.