text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: What is the total number of Total when the Silver is less than 2, and a Bronze ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "delaware_ice_hockey_teams" (
"school" text,
"nickname" text,
"colors" text,
"league" text,
"class" text,
"division" text
);
Question: What is the nickname of the team that has the colors blue... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "delaware_ice_hockey_teams" (
"school" text,
"nickname" text,
"colors" text,
"league" text,
"class" text,
"division" text
);
Question: What is the nickname of the team that has the colors blac... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "delaware_ice_hockey_teams" (
"school" text,
"nickname" text,
"colors" text,
"league" text,
"class" text,
"division" text
);
Question: What is the nickname of the team in division 2?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "delaware_ice_hockey_teams" (
"school" text,
"nickname" text,
"colors" text,
"league" text,
"class" text,
"division" text
);
Question: What is the class of the Middletown High School team that... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "delaware_ice_hockey_teams" (
"school" text,
"nickname" text,
"colors" text,
"league" text,
"class" text,
"division" text
);
Question: What school is the team from that has the colors blue and... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "delaware_ice_hockey_teams" (
"school" text,
"nickname" text,
"colors" text,
"league" text,
"class" text,
"division" text
);
Question: What are the colors for the division 2 team with the nick... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2006" (
"date" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text,
"pictorials" text
);
Question: Who's the Centerfold model with a Pictorials of adrianne curry, girls... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2006" (
"date" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text,
"pictorials" text
);
Question: Which Date has a 20 Questions of jason lee?
<|assistant|>
SELECT "dat... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2006" (
"date" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text,
"pictorials" text
);
Question: Which Interview subject has a Pictorials of vida guerra?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2006" (
"date" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text,
"pictorials" text
);
Question: Which Date has a Pictorials of mercedes mcnab, girls of hawaiian trop... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2006" (
"date" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text,
"pictorials" text
);
Question: Which Pictorials has a 20 Questions of eva longoria?
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2006" (
"date" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text,
"pictorials" text
);
Question: Which Interview subject has a Centerfold model of athena lundberg?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2005_general_election" (
"party" text,
"candidate" text,
"votes" real,
"pct_share" text,
"change" text
);
Question: What is the total number of votes from the Labour Party?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2005_general_election" (
"party" text,
"candidate" text,
"votes" real,
"pct_share" text,
"change" text
);
Question: Which party has less than 11,484 votes?
<|assistant|>
SELECT "party" FROM "20... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "d" (
"name" text,
"position" text,
"number" real,
"season" text,
"acquisition_via" text
);
Question: How many numbers had Brandon Dean as a name?
<|assistant|>
SELECT SUM("number") FROM "d" WHE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "number" (
"singular" text,
"singular_gender" text,
"plural" text,
"plural_gender" text,
"meaning" text
);
Question: What is the singular for the Meaning of night?
<|assistant|>
SELECT "singular... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "number" (
"singular" text,
"singular_gender" text,
"plural" text,
"plural_gender" text,
"meaning" text
);
Question: What is the plural for the Meaning of night?
<|assistant|>
SELECT "plural" FR... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "number" (
"singular" text,
"singular_gender" text,
"plural" text,
"plural_gender" text,
"meaning" text
);
Question: What is the plural if the singular is nyaqot?
<|assistant|>
SELECT "plural" F... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "number" (
"singular" text,
"singular_gender" text,
"plural" text,
"plural_gender" text,
"meaning" text
);
Question: What is the plural if the meaning is python and the plural gender is n?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "number" (
"singular" text,
"singular_gender" text,
"plural" text,
"plural_gender" text,
"meaning" text
);
Question: What is the plural if the singular is awu?
<|assistant|>
SELECT "plural" FROM... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "number" (
"singular" text,
"singular_gender" text,
"plural" text,
"plural_gender" text,
"meaning" text
);
Question: What is the singular if the plural is xweer(a)du?
<|assistant|>
SELECT "singu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "laf_s_campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real
);
Question: What is the Total againsts for the Sant'Anna ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "laf_s_campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real
);
Question: What is the total number of games played with... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "laf_s_campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real
);
Question: What is the average lost of games played of m... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medals_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: What is the lowest number of bronze medals for Great Britain with more than 2 ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2_lyga_zone_south" (
"position" real,
"club" text,
"games_played" real,
"wins" real,
"draws" real,
"loses" real,
"goals_scored" real,
"goals_conceded" real,
"points" real
);
Question: W... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2_lyga_zone_south" (
"position" real,
"club" text,
"games_played" real,
"wins" real,
"draws" real,
"loses" real,
"goals_scored" real,
"goals_conceded" real,
"points" real
);
Question: W... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2_lyga_zone_south" (
"position" real,
"club" text,
"games_played" real,
"wins" real,
"draws" real,
"loses" real,
"goals_scored" real,
"goals_conceded" real,
"points" real
);
Question: W... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2_lyga_zone_south" (
"position" real,
"club" text,
"games_played" real,
"wins" real,
"draws" real,
"loses" real,
"goals_scored" real,
"goals_conceded" real,
"points" real
);
Question: W... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2011_ladder" (
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
);
Question: What is the total losses against 1412, and 10 wins, but draws less than 0?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2011_ladder" (
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
);
Question: What is the highest draw against 2161?
<|assistant|>
SELECT MAX("draws") FROM "2011_ladder" WHE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2011_ladder" (
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
);
Question: What is the total number of losses against 1412, and Byes less than 2?
<|assistant|>
SELECT COU... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2011_ladder" (
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
);
Question: What is the lowest wins with less than 2 Byes?
<|assistant|>
SELECT MIN("wins") FROM "2011_ladd... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2011_ladder" (
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
);
Question: What is the highest score with 0 wins and more than 2 Byes?
<|assistant|>
SELECT MAX("against")... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2011_ladder" (
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
);
Question: What is the sum of wins against the smaller score 1148?
<|assistant|>
SELECT SUM("wins") FROM "... |
<|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" text,
"goals" real
);
Question: Who had a rank larger than 7, less than 305 goals, and 418 matches?... |
<|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" text,
"goals" real
);
Question: How many goals ranked 6?
<|assistant|>
SELECT COUNT("goals") FROM "... |
<|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" text,
"goals" real
);
Question: How many matches had 360 goals?
<|assistant|>
SELECT "matches" FROM... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "original_london_production" (
"year" real,
"award" text,
"category" text,
"nominee" text,
"result" text
);
Question: What is the Nominee from the Category that is best costume design?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "southeast_asian_games" (
"country" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: Which Total has a Bronze larger than 12, and a Silver larger than 772, and a Countr... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "southeast_asian_games" (
"country" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: Which Gold has a Total of 2998, and a Bronze smaller than 1191?
<|assistant|>
SELEC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "southeast_asian_games" (
"country" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: Which Bronze has a Country of malaysia, and a Total smaller than 2644?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "southeast_asian_games" (
"country" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: Which Silver has a Bronze smaller than 618, and a Country of laos?
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "november" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"record" text
);
Question: Who was the home team that the Clippers played?
<|assistant|>
SELECT "hom... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "november" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"record" text
);
Question: What's the record of the game where Lebron James (16) was the leading sco... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "irn_bru_second_division" (
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real
);
Question: When the venue was A and the date was 2 january 2008, what was the average a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "irn_bru_second_division" (
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real
);
Question: On 10 November 2007, what was the venue?
<|assistant|>
SELECT "venue" FROM "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "irn_bru_second_division" (
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real
);
Question: On what date was the opponent Ayr United, the result 1–0, and the attendance... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "irn_bru_second_division" (
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real
);
Question: When the opponent was Brechin City and the attendance was 656, what was the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "irn_bru_second_division" (
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real
);
Question: On 1 september 2007, at the Venue A, what was the average attendance?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "winners" (
"year" real,
"venue" text,
"winner" text,
"country" text,
"score" text
);
Question: Which Score has a Country of england, and a Year larger than 1971?
<|assistant|>
SELECT "score" FR... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "winners" (
"year" real,
"venue" text,
"winner" text,
"country" text,
"score" text
);
Question: What is Scotland's winner?
<|assistant|>
SELECT "winner" FROM "winners" WHERE "country"='scotland'... |
<|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,
"record" text
);
Question: What time was the game in week 2?
<|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,
"record" text
);
Question: What was the score of the game on September 14, 2008?
<... |
<|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,
"record" text
);
Question: What was the final score of the game on November 23, 20... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "usage" (
"species" text,
"indole" text,
"methyl_red" text,
"voges_proskauer" text,
"citrate" text
);
Question: Which species has a Voges-Proskauer reading of negative and an indole reading of n... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "usage" (
"species" text,
"indole" text,
"methyl_red" text,
"voges_proskauer" text,
"citrate" text
);
Question: What is the Voges-Proskauer reading for proteus mirabilis?
<|assistant|>
SELECT "v... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "usage" (
"species" text,
"indole" text,
"methyl_red" text,
"voges_proskauer" text,
"citrate" text
);
Question: What is the methyl red reading for the species that tests positive for indole?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "usage" (
"species" text,
"indole" text,
"methyl_red" text,
"voges_proskauer" text,
"citrate" text
);
Question: What is the methyl red reading for proteus mirabilis?
<|assistant|>
SELECT "methyl... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: What is the highest silver medals for Russia with more than 5 bronze medals?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "worlds_cultures" (
"television_service" text,
"language" text,
"content" text,
"hdtv" text,
"package_option" text
);
Question: What package/option has sky arte hd as the television service?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "worlds_cultures" (
"television_service" text,
"language" text,
"content" text,
"hdtv" text,
"package_option" text
);
Question: What language has NO, as the HDTV, sky famiglia as the package/opt... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "worlds_cultures" (
"television_service" text,
"language" text,
"content" text,
"hdtv" text,
"package_option" text
);
Question: What language has sky famiglia as the package/option?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "worlds_cultures" (
"television_service" text,
"language" text,
"content" text,
"hdtv" text,
"package_option" text
);
Question: What language has viaggi as the content?
<|assistant|>
SELECT "lan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "worlds_cultures" (
"television_service" text,
"language" text,
"content" text,
"hdtv" text,
"package_option" text
);
Question: What television service has italian as the language, and sky famig... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "worlds_cultures" (
"television_service" text,
"language" text,
"content" text,
"hdtv" text,
"package_option" text
);
Question: What package/option has documentaries as the content, yes as the H... |
<|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,
"round" text,
"time" text,
"location" text
);
Question: What was the resolution for the match that en... |
<|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,
"round" text,
"time" text,
"location" text
);
Question: What was the total time for the match that oc... |
<|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,
"round" text,
"time" text,
"location" text
);
Question: Where did the match with opponent Laverne Cla... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "satellite_craters" (
"gill" text,
"latitude" text,
"longitude" text,
"diameter_km" text,
"diameter_mi" text
);
Question: What is the Diameter (mi) when the Longitude is 79.8° e?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "satellite_craters" (
"gill" text,
"latitude" text,
"longitude" text,
"diameter_km" text,
"diameter_mi" text
);
Question: What is the Latitude when the Diameter (km) is 13km, and the Longitude i... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "satellite_craters" (
"gill" text,
"latitude" text,
"longitude" text,
"diameter_km" text,
"diameter_mi" text
);
Question: What shows for the Longitude when there is a Diameter (km) of 31km?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "satellite_craters" (
"gill" text,
"latitude" text,
"longitude" text,
"diameter_km" text,
"diameter_mi" text
);
Question: What shows for the Diameter (mi) when the Gill is g?
<|assistant|>
SELEC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "satellite_craters" (
"gill" text,
"latitude" text,
"longitude" text,
"diameter_km" text,
"diameter_mi" text
);
Question: What shows for the Diameter (km) when the Diameter (mi) is 8mi, and a Gi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "satellite_craters" (
"gill" text,
"latitude" text,
"longitude" text,
"diameter_km" text,
"diameter_mi" text
);
Question: What shows as the Diameter (km) when the Diameter (mi) is 5mi?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2008_season_players_current_to_round_19_" (
"player" text,
"squad_no" real,
"appearances" real,
"tries" real,
"goals" real,
"f_goals" real,
"points" real,
"contract_ends" real
);
Question... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2008_cincinnati_bengals_draft_selections" (
"round" real,
"overall" real,
"player" text,
"position" text,
"college" text
);
Question: What is the number for overall for angelo craig?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2008_cincinnati_bengals_draft_selections" (
"round" real,
"overall" real,
"player" text,
"position" text,
"college" text
);
Question: What is the Round when there is an overall of 246?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2008_cincinnati_bengals_draft_selections" (
"round" real,
"overall" real,
"player" text,
"position" text,
"college" text
);
Question: What is the lowest Overall for the wide receiver in a round... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2008_cincinnati_bengals_draft_selections" (
"round" real,
"overall" real,
"player" text,
"position" text,
"college" text
);
Question: What is the Player from appalachian state?
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2000" (
"date" text,
"title" text,
"director" text,
"producer" text,
"production_cost" text,
"singapore_gross" text
);
Question: What is the Production Cost with a Date that is february 2000?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2000" (
"date" text,
"title" text,
"director" text,
"producer" text,
"production_cost" text,
"singapore_gross" text
);
Question: What is the Singapore Gross with a Title that is 2000?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2000" (
"date" text,
"title" text,
"director" text,
"producer" text,
"production_cost" text,
"singapore_gross" text
);
Question: What is the Singapore Gross with a Producer that is 2000?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "volleyball_at_the_2004_summer_olympics_m" (
"name" text,
"date_of_birth" text,
"height" real,
"weight" real,
"spike" real,
"block" real
);
Question: What is Average Height, when Weight is les... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "volleyball_at_the_2004_summer_olympics_m" (
"name" text,
"date_of_birth" text,
"height" real,
"weight" real,
"spike" real,
"block" real
);
Question: What is Name, when Block is 320, when Spik... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "volleyball_at_the_2004_summer_olympics_m" (
"name" text,
"date_of_birth" text,
"height" real,
"weight" real,
"spike" real,
"block" real
);
Question: What is the total number of Block(s), when... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "volleyball_at_the_2004_summer_olympics_m" (
"name" text,
"date_of_birth" text,
"height" real,
"weight" real,
"spike" real,
"block" real
);
Question: What is Name, when Spike is greater than 3... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "european_tour_wins_14" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
);
Question: What was the date of the Paco Rabanne Open de France?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "european_tour_wins_14" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
);
Question: On which date did Ian Mosey finish runner-up?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results_pool_d" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"set_4" text,
"set_5" text,
"total" text
);
Question: What set 2 has a set 4 of 21-25?
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results_pool_d" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"set_4" text,
"set_5" text,
"total" text
);
Question: What was the score when set 3 was 26-28?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results_pool_d" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"set_4" text,
"set_5" text,
"total" text
);
Question: When was set 3 of 18-25?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "england_in_australia_1907_8" (
"date" text,
"home_captain" text,
"away_captain" text,
"venue" text,
"result" text
);
Question: Who was the away captain with a result of Eng by 1 wkt?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "england_in_australia_1907_8" (
"date" text,
"home_captain" text,
"away_captain" text,
"venue" text,
"result" text
);
Question: On what date was the result Eng by 1 wkt?
<|assistant|>
SELECT "da... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "england_in_australia_1907_8" (
"date" text,
"home_captain" text,
"away_captain" text,
"venue" text,
"result" text
);
Question: On what date was Arthur Jones the away captain at Sydney Cricket G... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_united_states_national_ice_hocke" (
"name" text,
"height_cm" real,
"weight_kg" real,
"birthdate" text,
"birthplace" text,
"1963_1964_team" text
);
Question: What was the birthplace of... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "spokespersons" (
"draw" real,
"artist" text,
"song" text,
"first_vote" real,
"place" real
);
Question: What is the highest place for song that was draw number 6?
<|assistant|>
SELECT MAX("place... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.