text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "discography" ( "release_date" text, "album_title" text, "record_label" text, "disc_number" text, "track_number" text, "title" text ); Question: Name The Title which has a Track number of 07, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fifth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); Question: WHAT'S THE TIE NUMBER WITH AN AWAY TEAM OF WREXHAM? <|assistant|> SELECT "t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fifth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); Question: WHAT IS THE AWAY TEAM WITH HOME OF LEICESTER CITY? <|assistant|> SELECT "aw...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fifth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); Question: WHAT IS THE AWAY TEAM WHEN HOME IS LEEDS UNITED? <|assistant|> SELECT "away...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fifth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); Question: WHAT IS THE AWAY TEAM WITH A TIE NUMBER 1? <|assistant|> SELECT "away_team"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fourth_division" ( "club" text, "league_goals" text, "fa_cup_goals" text, "league_cup_goals" text, "total" real ); Question: Which Total has a Club of darlington, and a League goals of 13, and ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fourth_division" ( "club" text, "league_goals" text, "fa_cup_goals" text, "league_cup_goals" text, "total" real ); Question: Which Club has a League Cup goals of 0, and a FA Cup goals of 1, and...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fourth_division" ( "club" text, "league_goals" text, "fa_cup_goals" text, "league_cup_goals" text, "total" real ); Question: Which League Cup goals have a Total larger than 14, and a League goa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fourth_division" ( "club" text, "league_goals" text, "fa_cup_goals" text, "league_cup_goals" text, "total" real ); Question: Which Total has an FA Cup goals of 1, and a League goals of 4 + 7? <...
<|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" text ); Question: What event had a win, record of 8-1 and n/a round? <|assistant|...
<|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" text ); Question: What event was the opponent Karl Knothe and had a submission (r...
<|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" text ); Question: What's the record for the match when the res was a win and the ...
<|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" text ); Question: What round had a record of 4-1? <|assistant|> SELECT "round" FR...
<|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" text ); Question: What's the record of the UCS 2 - Battle at the Barn when the ro...
<|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" text ); Question: What round had a record of 8-2? <|assistant|> SELECT "round" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "record" text ); Question: Who is the opponent when the record is 17-19-4? <|assistant|> SELECT "opponent" FROM "game_log" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "record" text ); Question: What is the score of game 37? <|assistant|> SELECT "score" FROM "game_log" WHERE "game"=37;<|endo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "record" text ); Question: What is the record on 1/17/1980? <|assistant|> SELECT "record" FROM "game_log" WHERE "date"='1/17...
<|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, "series" 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, "location_attendance" text, "record" text ); Question: What is the record when G...
<|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, "location_attendance" text, "record" text ); Question: What number game happened...
<|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, "location_attendance" text, "record" text ); Question: Who had the high rebounds...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summaries" ( "team" text, "manager" text, "home_city" text, "stadium" text, "capacity" real ); Question: What is the name of the manager in the city of Osijek? <|assistant|> SELECT "manager" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summaries" ( "team" text, "manager" text, "home_city" text, "stadium" text, "capacity" real ); Question: What is the team at Stadion Maksimir? <|assistant|> SELECT "team" FROM "summaries" WHERE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summaries" ( "team" text, "manager" text, "home_city" text, "stadium" text, "capacity" real ); Question: What is the home city when the stadium was Gradski Stadion U Poljudu? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summaries" ( "team" text, "manager" text, "home_city" text, "stadium" text, "capacity" real ); Question: What is the home city when Mladen Frančić is the manager? <|assistant|> SELECT "home_cit...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1998" ( "date" text, "opponent" text, "site" text, "result" text, "attendance" text ); Question: Who was the opponent when the attendance was 80,079? <|assistant|> SELECT "opponent" FROM "1998"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1998" ( "date" text, "opponent" text, "site" text, "result" text, "attendance" text ); Question: Who was the opponent when the attendance was 31,002? <|assistant|> SELECT "opponent" FROM "1998"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1998" ( "date" text, "opponent" text, "site" text, "result" text, "attendance" text ); Question: Who was the opponent when they played at the legion field • birmingham, al site? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1998" ( "date" text, "opponent" text, "site" text, "result" text, "attendance" text ); Question: On which site was the game against Louisville played? <|assistant|> SELECT "site" FROM "1998" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1998" ( "date" text, "opponent" text, "site" text, "result" text, "attendance" text ); Question: What was the total attendance on September 12? <|assistant|> SELECT "attendance" FROM "1998" WHE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "anime" ( "series" text, "title" text, "broadcasts_tv_1" real, "episodes_tv_extra_2" text, "directors" text, "aired_in_japan_3" text, "us_release_date" text ); Question: What is the sum of B...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "anime" ( "series" text, "title" text, "broadcasts_tv_1" real, "episodes_tv_extra_2" text, "directors" text, "aired_in_japan_3" text, "us_release_date" text ); Question: What is the total nu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "anime" ( "series" text, "title" text, "broadcasts_tv_1" real, "episodes_tv_extra_2" text, "directors" text, "aired_in_japan_3" text, "us_release_date" text ); Question: What is Episodes (TV...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round_selections" ( "pick" real, "player" text, "team" text, "position" text, "hometown_school" text ); Question: What was the lowest pick when the position was OF with the Chicago White ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2013_2014_teams" ( "school" text, "location" text, "founded" real, "affiliation" text, "nickname" text ); Question: What is the affiliation of the University of Maryland? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2013_2014_teams" ( "school" text, "location" text, "founded" real, "affiliation" text, "nickname" text ); Question: What school has the nickname of Cardinals? <|assistant|> SELECT MIN("founded"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2013_2014_teams" ( "school" text, "location" text, "founded" real, "affiliation" text, "nickname" text ); Question: What is the nickname of the school located in Fairfax, VA? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vocabulary_comparison" ( "english" text, "three" text, "four" text, "person" text, "house" text, "coconut" text, "what" text, "fire" text ); Question: What is "house", when "four" is "opa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vocabulary_comparison" ( "english" text, "three" text, "four" text, "person" text, "house" text, "coconut" text, "what" text, "fire" text ); Question: What is "house", when "what" is "ano...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vocabulary_comparison" ( "english" text, "three" text, "four" text, "person" text, "house" text, "coconut" text, "what" text, "fire" text ); Question: What is the language, when "house" i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vocabulary_comparison" ( "english" text, "three" text, "four" text, "person" text, "house" text, "coconut" text, "what" text, "fire" text ); Question: What is "what", when "person" is "ta...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vocabulary_comparison" ( "english" text, "three" text, "four" text, "person" text, "house" text, "coconut" text, "what" text, "fire" text ); Question: What is the language, when "what" is...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_7" ( "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: Who is the opponent for the game played on august 20, 2006? <|assistant|> SELECT "opponen...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_7" ( "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: On which Surface will Estrella Cabeza Candela play? <|assistant|> SELECT "surface" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: What was the opponent on December 16, 1989? <|assistant|> SELECT "opponent" FROM "schedule" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: What was the highest attendance on November 12, 1989? <|assistant|> SELECT MAX("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, "attendance" real ); Question: What was the week on December 10, 1989? <|assistant|> SELECT "week" FROM "schedule" WHERE "d...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scottish_premier_league" ( "match_day" real, "date" text, "opponent" text, "score" text, "league_position" real, "attendance" real, "report" text ); Question: What is the league position nu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "previous_winners" ( "year" real, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text ); Question: Which men's singles has mixed do...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "previous_winners" ( "year" real, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text ); Question: Which men's singles has mixed do...
<|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 attendance is dated february 27? <|assistant|> SELECT A...
<|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 date has 37 points? <|assistant|> SELECT "date" FROM "g...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_schedule" ( "game" real, "date" text, "team" text, "score" text, "record" text, "streak" text ); Question: Who was the Team that was played against on February 24 and a game after game...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "heats" ( "heat" real, "lane" real, "name" text, "country" text, "mark" text ); Question: what is the name when the lane is less than 4 and mark is 52.64? <|assistant|> SELECT "name" FROM "heats...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "heats" ( "heat" real, "lane" real, "name" text, "country" text, "mark" text ); Question: what is the number of times that the heat is 3 and the name is cxhristy ekpukhon ihunaegbo? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_1" ( "match_no" real, "date" text, "time" text, "score" text, "venue" text, "match_report" text ); Question: Name the Score which has a Time of 18:00 and a Venue of african union? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_1" ( "match_no" real, "date" text, "time" text, "score" text, "venue" text, "match_report" text ); Question: Name the Venue which has a Score of 8 – 1? <|assistant|> SELECT "venue" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); Question: What is 2nd Leg, when 1st Leg is "SGM Basso Molise (Molise)"? <|assistant|> SELECT "2nd_leg"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); Question: What is 2nd Leg, when Team 1 is "H"? <|assistant|> SELECT "2nd_leg" FROM "first_round" WHERE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "records" ( "score" text, "batsmen" text, "against" text, "location" text, "year" text ); Question: Who are the Batsmen from the year 2002? <|assistant|> SELECT "batsmen" FROM "records" WHERE "y...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "records" ( "score" text, "batsmen" text, "against" text, "location" text, "year" text ); Question: What score did the year 1948 have? <|assistant|> SELECT "score" FROM "records" WHERE "year"='1...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "records" ( "score" text, "batsmen" text, "against" text, "location" text, "year" text ); Question: Who is the Batsman from the year 1982? <|assistant|> SELECT "batsmen" FROM "records" WHERE "ye...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "records" ( "score" text, "batsmen" text, "against" text, "location" text, "year" text ); Question: What is the score in 1929? <|assistant|> SELECT "score" FROM "records" WHERE "year"='1929';<|e...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "records" ( "score" text, "batsmen" text, "against" text, "location" text, "year" text ); Question: Who was the batsmen at the Brit Oval location? <|assistant|> SELECT "batsmen" FROM "records" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "name" text, "built" text, "listed" text, "location" text, "county" text ); Question: What year was the bridge in Kent built? <|assistant|> SELECT "built" FROM "references" WHERE ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "name" text, "built" text, "listed" text, "location" text, "county" text ); Question: In which county is East Providence? <|assistant|> SELECT "county" FROM "references" WHERE "lo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "name" text, "built" text, "listed" text, "location" text, "county" text ); Question: What county had a bridge biult in 1884? <|assistant|> SELECT "county" FROM "references" WHERE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: What is the Place of the Player with a Score of 68-73-66-74=281? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: What is the Place of the Player with 122,100 Money and a Score of 68-70-68-7...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: What Country's Player scored 71-69-70-71=281? <|assistant|> SELECT "country"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: What is T5 Place Vijay Singh's To par? <|assistant|> SELECT "to_par" FROM "f...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is Score, when Player is "Bob Murphy"? <|assistant|> SELECT "score" FROM "second_round...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is Player, when To Par is "+1", when Country is "United States", and when Score is "71...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is Score, when Place is "T8", and when Player is "Orville Moody"? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is Score, when Player is "Deane Beman"? <|assistant|> SELECT "score" FROM "second_roun...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is Country, when Player is "Jack Nicklaus"? <|assistant|> SELECT "country" FROM "secon...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is the Country, when Place is "1"? <|assistant|> SELECT "country" FROM "second_round" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards" ( "year" real, "category" text, "genre" text, "title" text, "result" text ); Question: WHAT IS THE RESULT FOR best urban/alternative performance, IN 2003 OR GREATER? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards" ( "year" real, "category" text, "genre" text, "title" text, "result" text ); Question: WHAT IS THE TITLE WITH CATEGORY OF best r&b song? <|assistant|> SELECT "title" FROM "awards" WHERE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards" ( "year" real, "category" text, "genre" text, "title" text, "result" text ); Question: WHAT IS THE RESULT FOR 2003, IN best urban/alternative performance? <|assistant|> SELECT "result"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards" ( "year" real, "category" text, "genre" text, "title" text, "result" text ); Question: WHAT IS THE YEAR OF FLOETIC? <|assistant|> SELECT SUM("year") FROM "awards" WHERE "title"='floetic...
<|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 "round_of_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "date" text, "time" text ); Question: What is Home Team, when Home Team Sco...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "date" text, "time" text ); Question: What is Time, when Ground is Waverley...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "date" text, "time" text ); Question: What is Away Team, when Ground is Wav...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "date" text, "time" text ); Question: What is Ground, when Away Team is Syd...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "date" text, "time" text ); Question: What is Date, when Home Team is Richm...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "date" text, "time" text ); Question: What is Home Team Score, when Time is...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women_s_doubles_13_finals_13_titles" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: What is the highest year...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_schedule" ( "week" real, "date" text, "opponent" text, "score" text, "result" text, "attendance" text, "record" text ); Question: What is Result, when Week is 16? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_schedule" ( "week" real, "date" text, "opponent" text, "score" text, "result" text, "attendance" text, "record" text ); Question: What is Record, when Attendance is 30,110? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_schedule" ( "week" real, "date" text, "opponent" text, "score" text, "result" text, "attendance" text, "record" text ); Question: What is Date, when Opponent is At Saskatchewan Rough...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schools" ( "school_name" text, "address" text, "students" real, "grades" text, "2007_api" real ); Question: Which grades have a 2007 API of 734? <|assistant|> SELECT "grades" FROM "schools" WHE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schools" ( "school_name" text, "address" text, "students" real, "grades" text, "2007_api" real ); Question: Which School name has students smaller than 389, and grades of 10-12? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schools" ( "school_name" text, "address" text, "students" real, "grades" text, "2007_api" real ); Question: Which grades have students smaller than 430, and a 2007 API of 510? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_19" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "crowd" real, "box_score" text, "report" text ); Question: What was the score of the game where th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_19" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "crowd" real, "box_score" text, "report" text ); Question: What was the score of the game where th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_19" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "crowd" real, "box_score" text, "report" text ); Question: What was the score of the game where th...