text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"volume_issue" text,
"issue_date" text,
"weeks_on_numbe_one" text,
"song" text,
"artist_s" text
);
Question: Which song is from Volume:Issue 64:11-12?
<|assistant|>
SELECT "song" FR... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"volume_issue" text,
"issue_date" text,
"weeks_on_numbe_one" text,
"song" text,
"artist_s" text
);
Question: Which Artist's song is listed as " missing "?
<|assistant|>
SELECT "arti... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"volume_issue" text,
"issue_date" text,
"weeks_on_numbe_one" text,
"song" text,
"artist_s" text
);
Question: Which song is from Volume:Issue 63:5?
<|assistant|>
SELECT "song" FROM "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"volume_issue" text,
"issue_date" text,
"weeks_on_numbe_one" text,
"song" text,
"artist_s" text
);
Question: Which song is linked to Volume:Issue 64:14-18?
<|assistant|>
SELECT "son... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "national_team" (
"date" text,
"venue" text,
"score_1" text,
"comp" text,
"match_report" text
);
Question: What is the match report of the match on 20 August?
<|assistant|>
SELECT "match_report"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "animation_channels" (
"name" text,
"hanzi" text,
"origin" text,
"launch" real,
"owner" text
);
Question: What is the origin for the launch taking place in 2010?
<|assistant|>
SELECT "origin" FR... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "animation_channels" (
"name" text,
"hanzi" text,
"origin" text,
"launch" real,
"owner" text
);
Question: What is the origin for the item with an owner of Hunan Broadcasting System (HBS)?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nfl_draft" (
"pick_num" real,
"round" text,
"player" text,
"position" text,
"college" text
);
Question: If the college is Trinity, what position is listed?
<|assistant|>
SELECT "position" FROM ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nfl_draft" (
"pick_num" real,
"round" text,
"player" text,
"position" text,
"college" text
);
Question: How many picks did the College of USC wind up getting?
<|assistant|>
SELECT COUNT("pick_n... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nfl_draft" (
"pick_num" real,
"round" text,
"player" text,
"position" text,
"college" text
);
Question: For Pick #323, which round is it?
<|assistant|>
SELECT "round" FROM "nfl_draft" WHERE "pi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "largest_margin_of_runs_victory" (
"score" text,
"opposition" text,
"venue" text,
"city" text,
"year" real
);
Question: What score has amblecote as the venue?
<|assistant|>
SELECT "score" FROM "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "largest_margin_of_runs_victory" (
"score" text,
"opposition" text,
"venue" text,
"city" text,
"year" real
);
Question: What city has riverside ground as the venue, with a year prior to 1998?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "largest_margin_of_runs_victory" (
"score" text,
"opposition" text,
"venue" text,
"city" text,
"year" real
);
Question: What is the lowest year that has chester-le-street as the city, with 345 r... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "largest_margin_of_runs_victory" (
"score" text,
"opposition" text,
"venue" text,
"city" text,
"year" real
);
Question: What year has 385 runs as the score?
<|assistant|>
SELECT "year" FROM "lar... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "largest_margin_of_runs_victory" (
"score" text,
"opposition" text,
"venue" text,
"city" text,
"year" real
);
Question: What score has 1998 as the year?
<|assistant|>
SELECT "score" FROM "larges... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "villach" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" real,
"2nd_m" real,
"points" real,
"overall_wc_points_rank" text
);
Question: What is the 2nd (m) value for Gregor Schlieren... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"winner" text,
"score" text,
"1st_prize" real
);
Question: What is the Date of the tournament with a score of 199 (β17)?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"winner" text,
"score" text,
"1st_prize" real
);
Question: What was the amount of the 1st prize when paul azinger (9) wa... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"winner" text,
"score" text,
"1st_prize" real
);
Question: What is the name of the winner of the tour championship tourn... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"winner" text,
"score" text,
"1st_prize" real
);
Question: What is the Date of the at&t pebble beach national pro-am Tou... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2007_2008" (
"date" text,
"site" text,
"sport" text,
"winning_team" text,
"series" text
);
Question: Which Site has a Sport of w swimming?
<|assistant|>
SELECT "site" FROM "2007_2008" WHERE "sp... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2007_2008" (
"date" text,
"site" text,
"sport" text,
"winning_team" text,
"series" text
);
Question: Which Series are on september 15, 2007?
<|assistant|>
SELECT "series" FROM "2007_2008" WHERE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "defensive_player_of_the_year" (
"season" text,
"player" text,
"position" text,
"nationality" text,
"team" text
);
Question: What position did the 2010-11 USA Γr player have?
<|assistant|>
SELEC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "defensive_player_of_the_year" (
"season" text,
"player" text,
"position" text,
"nationality" text,
"team" text
);
Question: What position did the kr team player play?
<|assistant|>
SELECT "posi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "defensive_player_of_the_year" (
"season" text,
"player" text,
"position" text,
"nationality" text,
"team" text
);
Question: What team has Steinar Kaldal, a guard / forward?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "defensive_player_of_the_year" (
"season" text,
"player" text,
"position" text,
"nationality" text,
"team" text
);
Question: What team did the 2003-04 winner play for?
<|assistant|>
SELECT "team... |
<|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,
"catalogue" text
);
Question: Which catalogue is on 12" vinyl?
<|assistant|>
SELECT "catalogue" FROM "release_history... |
<|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,
"catalogue" text
);
Question: Which region has and eyeball label and catalogue 7200222?
<|assistant|>
SELECT "region"... |
<|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,
"catalogue" text
);
Question: Which catalogue is from Japan?
<|assistant|>
SELECT "catalogue" FROM "release_history" ... |
<|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,
"catalogue" text
);
Question: What is the format for the United States dated July 23, 2002?
<|assistant|>
SELECT "for... |
<|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,
"catalogue" text
);
Question: What is the label for catalogue 7200222?
<|assistant|>
SELECT "label" FROM "release_his... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "player_roster" (
"surname" text,
"first" text,
"d_o_b" text,
"uninum" real,
"bats" text,
"throws" text,
"position" text
);
Question: What is Marc's Surname?
<|assistant|>
SELECT "surname" F... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "player_roster" (
"surname" text,
"first" text,
"d_o_b" text,
"uninum" real,
"bats" text,
"throws" text,
"position" text
);
Question: What is the highest uni# of the person with the first na... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "player_roster" (
"surname" text,
"first" text,
"d_o_b" text,
"uninum" real,
"bats" text,
"throws" text,
"position" text
);
Question: Which position does #14 play?
<|assistant|>
SELECT "posi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "player_roster" (
"surname" text,
"first" text,
"d_o_b" text,
"uninum" real,
"bats" text,
"throws" text,
"position" text
);
Question: Which does the lhp player with the first name lachlan ba... |
<|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,
"record" text,
"game_site" text,
"attendance" real
);
Question: How many were in Attendance on December 11, 1954?
<|ass... |
<|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,
"record" text,
"game_site" text,
"attendance" real
);
Question: In what Week were there more than 23,875 in Attendance ... |
<|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,
"record" text,
"game_site" text,
"attendance" real
);
Question: What was the Result on Week 3?
<|assistant|>
SELECT "re... |
<|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,
"record" text,
"game_site" text,
"attendance" real
);
Question: On what Week was the Detroit Lions the Opponent?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule_and_results" (
"game" real,
"november" real,
"opponent" text,
"score" text,
"record" text
);
Question: What was the rangers' record on Game 14?
<|assistant|>
SELECT "record" FROM "sche... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule_and_results" (
"game" real,
"november" real,
"opponent" text,
"score" text,
"record" text
);
Question: What is the highest game number when the rangers had a record of 11-11-1 and the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list" (
"name" text,
"nationality" text,
"position" text,
"years" text,
"appearances" real,
"goals" real
);
Question: What's Francis Harris' position?
<|assistant|>
SELECT "position" FROM "li... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "main_places" (
"place" text,
"code" real,
"area_km_2" real,
"population" real,
"most_spoken_language" text
);
Question: Which place has more area (km 2) than 34.42?
<|assistant|>
SELECT "place"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "groups_all_around" (
"place" real,
"nation" text,
"6_ropes" real,
"4_hoops_2_clubs" real,
"total" real
);
Question: What is the lowest 4 hoops, 2 clubs of the nation with a total of 38.25?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "groups_all_around" (
"place" real,
"nation" text,
"6_ropes" real,
"4_hoops_2_clubs" real,
"total" real
);
Question: What is the total of Greece, which is placed below 8?
<|assistant|>
SELECT CO... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "groups_all_around" (
"place" real,
"nation" text,
"6_ropes" real,
"4_hoops_2_clubs" real,
"total" real
);
Question: What is the palce number of Russia, which has 6 ropes of 19.425 and a total l... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "groups_all_around" (
"place" real,
"nation" text,
"6_ropes" real,
"4_hoops_2_clubs" real,
"total" real
);
Question: What is the place of the nation with a total greater than 37.85 and 4 hoops, ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "groups_all_around" (
"place" real,
"nation" text,
"6_ropes" real,
"4_hoops_2_clubs" real,
"total" real
);
Question: What is the highest 4 hoops, 2 clubs of Belarus, which has a total less than ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "groups_all_around" (
"place" real,
"nation" text,
"6_ropes" real,
"4_hoops_2_clubs" real,
"total" real
);
Question: What is the total of the nation with 19.025 4 hoops, 2 clubs?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "kuopio" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" real,
"points" real,
"overall_nt_points" text,
"overall_wc_points_rank" text
);
Question: Which Nationality has a Name of jan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "kuopio" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" real,
"points" real,
"overall_nt_points" text,
"overall_wc_points_rank" text
);
Question: Which Nationality has a Rank larger... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "kuopio" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" real,
"points" real,
"overall_nt_points" text,
"overall_wc_points_rank" text
);
Question: Which Name has a Nationality of nor... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "kuopio" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" real,
"points" real,
"overall_nt_points" text,
"overall_wc_points_rank" text
);
Question: Which Points have a 1st (m) smaller... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "kuopio" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" real,
"points" real,
"overall_nt_points" text,
"overall_wc_points_rank" text
);
Question: Which Points have a Rank of 3, and ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "men" (
"rank" real,
"name" text,
"nation" text,
"points" real,
"places" real
);
Question: What was the average rank of Wolfgang Schwarz with greater than 13 places?
<|assistant|>
SELECT AVG("ra... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "men" (
"rank" real,
"name" text,
"nation" text,
"points" real,
"places" real
);
Question: What nation had 1399.3 points?
<|assistant|>
SELECT "nation" FROM "men" WHERE "points"=1399.3;<|endofte... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
);
Question: What is the lowest round numb... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "jacksonville_jaguars_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
);
Question: How much Overall has a Pick # smaller than 20, a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "jacksonville_jaguars_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
);
Question: Which average Round has a Pick # larger than 20,... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "jacksonville_jaguars_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
);
Question: How many picks does chad owens have?
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"game" real,
"april" real,
"opponent" text,
"score" text,
"record" text,
"points" real
);
Question: What is the lowest value in April with New York Rangers as opponent for a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"game" real,
"april" real,
"opponent" text,
"score" text,
"record" text,
"points" real
);
Question: What is the highest value in April with a record of 35β37β11 and more tha... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"attendance" real,
"record" text,
"points" real
);
Question: What is the record of the game played at home by the Blues w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"winner" text,
"score" text,
"1st_prize" text
);
Question: What is the name of the winner when the Score was 274 (β14) i... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"winner" text,
"score" text,
"1st_prize" text
);
Question: What is the Score when the 1st prize was 63,000, and a Winner... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"winner" text,
"score" text,
"1st_prize" text
);
Question: What is the winners name at the western open?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"winner" text,
"score" text,
"1st_prize" text
);
Question: What is the score of the Tournament named danny thomas memphi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"winner" text,
"score" text,
"1st_prize" text
);
Question: What is the name of the Winner in north carolina at the great... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"winner" text,
"score" text,
"1st_prize" text
);
Question: What is the Location of the byron nelson golf classic?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "players_of_the_week" (
"week" text,
"division" text,
"position" text,
"player" text,
"school" text
);
Question: What is the position of player Tiffany Garofano (2)?
<|assistant|>
SELECT "positi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "players_of_the_week" (
"week" text,
"division" text,
"position" text,
"player" text,
"school" text
);
Question: What is the week with a school that is ball state?
<|assistant|>
SELECT "week" FR... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performance_of_indian_teams" (
"club" text,
"wins" real,
"last_win" text,
"runners_up" real,
"last_runners_up" real
);
Question: What number last Runners-up where there when the Last win was 19... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performance_of_indian_teams" (
"club" text,
"wins" real,
"last_win" text,
"runners_up" real,
"last_runners_up" real
);
Question: What is the number of Last Runners-up that has the club name of ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
);
Question: Which Position has a Round larger than 6, and a Player of ne... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
);
Question: Which Nationality has a Player of rudy poeschek?
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
);
Question: Which Position has a Player of steve nemeth?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
);
Question: Which Position has a Nationality of canada, and a Player of ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "doubles_runner_ups_6" (
"date" text,
"tournament" text,
"surface" text,
"partnering" text,
"opponents_in_the_final" text,
"score" text
);
Question: What was the score of the match on April 23... |
<|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,
"game_site" text,
"attendance" real
);
Question: Which Date has a Game site of shea stadium, and a Week of 5?
<|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,
"game_site" text,
"attendance" real
);
Question: Which Attendance is the highest one that has a Week smaller than 9, and ... |
<|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,
"game_site" text,
"attendance" real
);
Question: Which Week has an Opponent of baltimore colts, and an Attendance smaller... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"game" real,
"december" real,
"opponent" text,
"score" text,
"record" text,
"points" real
);
Question: Which Game has Points of 53, and an Opponent of @ minnesota north star... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"game" real,
"december" real,
"opponent" text,
"score" text,
"record" text,
"points" real
);
Question: Which December has a Record of 21β6β5?
<|assistant|>
SELECT AVG("decem... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"game" real,
"december" real,
"opponent" text,
"score" text,
"record" text,
"points" real
);
Question: Which Points have an Opponent of @ pittsburgh penguins?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "detailed_list_of_projects_for_2010" (
"country" text,
"project_name" text,
"year_startup" text,
"operator" text,
"peak" text
);
Question: What year was the startup for the Project Named of taq ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "detailed_list_of_projects_for_2010" (
"country" text,
"project_name" text,
"year_startup" text,
"operator" text,
"peak" text
);
Question: What is the operator for peak 90, in startup year 2010 ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "detailed_list_of_projects_for_2010" (
"country" text,
"project_name" text,
"year_startup" text,
"operator" text,
"peak" text
);
Question: What country has peak 20 and a project named jarn yabho... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "january" (
"date" real,
"opponent" text,
"venue" text,
"result" text,
"attendance" real,
"competition" text
);
Question: How much Attendance has an Opponent of swindon wildcats?
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "january" (
"date" real,
"opponent" text,
"venue" text,
"result" text,
"attendance" real,
"competition" text
);
Question: Which Attendance is the lowest one that has a Venue of away, and a Dat... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "january" (
"date" real,
"opponent" text,
"venue" text,
"result" text,
"attendance" real,
"competition" text
);
Question: Which Venue has a Result of won 5-4?
<|assistant|>
SELECT "venue" FROM... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "structures_between_metres_ft_and_metres_" (
"planned_pinnacle_height" text,
"expected_year_of_completion" real,
"structural_type" text,
"country" text,
"town" text
);
Question: what country has... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "structures_between_metres_ft_and_metres_" (
"planned_pinnacle_height" text,
"expected_year_of_completion" real,
"structural_type" text,
"country" text,
"town" text
);
Question: what country is ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_summary" (
"game" text,
"date" text,
"home_team" text,
"result" text,
"road_team" text
);
Question: What home team has june 22 as the date?
<|assistant|>
SELECT "home_team" FROM "series_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_summary" (
"game" text,
"date" text,
"home_team" text,
"result" text,
"road_team" text
);
Question: What road team has 86-84 as the result?
<|assistant|>
SELECT "road_team" FROM "series_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_summary" (
"game" text,
"date" text,
"home_team" text,
"result" text,
"road_team" text
);
Question: What road team has 91-82 as the result?
<|assistant|>
SELECT "road_team" FROM "series_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_summary" (
"game" text,
"date" text,
"home_team" text,
"result" text,
"road_team" text
);
Question: Which game has houston as the road team, and june 15 as the date?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "contestants" (
"player" text,
"hometown" text,
"occupation" text,
"education" text,
"game_status" text
);
Question: What is listed under occupation for someone from Santa Monica, California?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "contestants" (
"player" text,
"hometown" text,
"occupation" text,
"education" text,
"game_status" text
);
Question: For natives of St. Louis, Missouri, what was listed under education?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "contestants" (
"player" text,
"hometown" text,
"occupation" text,
"education" text,
"game_status" text
);
Question: When the occupation was utility worker on-air talent, what was the game statu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "grand_slam_tournament_performance_timeli" (
"tournament" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.