text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "events" ( "tournament" text, "date" text, "city" text, "country" text, "surface" text, "singles_champions" text, "doubles_champions" text ); Question: How many singles tournaments did Ludovic Walter win? <|assistant|> SELECT COUNT("tournament") FROM "events" WHERE "singles_champions"='Ludovic Walter';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "in" ( "n" real, "p" text, "name" text, "eu" text, "country" text, "age" real, "type" text, "moving_from" text, "transfer_window" text, "ends" real, "transfer_fee" text, "source" text ); Question: What is the type where the country is esp? <|assistant|> SELECT "type" FROM "in" WHERE "country"='ESP';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "in" ( "n" real, "p" text, "name" text, "eu" text, "country" text, "age" real, "type" text, "moving_from" text, "transfer_window" text, "ends" real, "transfer_fee" text, "source" text ); Question: What is the name where p is mf? <|assistant|> SELECT "name" FROM "in" WHERE "p"='MF';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "in" ( "n" real, "p" text, "name" text, "eu" text, "country" text, "age" real, "type" text, "moving_from" text, "transfer_window" text, "ends" real, "transfer_fee" text, "source" text ); Question: What is the type where the name is bojan? <|assistant|> SELECT "type" FROM "in" WHERE "name"='Bojan';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007" ( "date_of_issue" text, "theme" text, "denomination" text, "design" text, "illustration" text, "printing_process" text, "paper_type" text, "first_day_cover_cancellation" text ); Question: What was the first day cover cancellation for the University of Saskatchewan themed stamp? <|assistant|> SELECT "first_day_cover_cancellation" FROM "2007" WHERE "theme"='University of Saskatchewan';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007" ( "date_of_issue" text, "theme" text, "denomination" text, "design" text, "illustration" text, "printing_process" text, "paper_type" text, "first_day_cover_cancellation" text ); Question: Who was responsible for the design of the Jasper National Park theme? <|assistant|> SELECT "design" FROM "2007" WHERE "theme"='Jasper National Park';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007" ( "date_of_issue" text, "theme" text, "denomination" text, "design" text, "illustration" text, "printing_process" text, "paper_type" text, "first_day_cover_cancellation" text ); Question: What is the paper type of the University of Saskatchewan themed stamp? <|assistant|> SELECT "paper_type" FROM "2007" WHERE "theme"='University of Saskatchewan';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007" ( "date_of_issue" text, "theme" text, "denomination" text, "design" text, "illustration" text, "printing_process" text, "paper_type" text, "first_day_cover_cancellation" text ); Question: Who created the illustration for the stamp that was themed 100 years of scouting? <|assistant|> SELECT "illustration" FROM "2007" WHERE "theme"='100 Years of Scouting';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "family_history" ( "full_name" text, "nickname" text, "gender" text, "weight_at_birth" text, "meaning" text ); Question: What is the number of nicknames for the meaning of god knows my journey. <|assistant|> SELECT COUNT("nickname") FROM "family_history" WHERE "meaning"='God Knows My Journey';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "family_history" ( "full_name" text, "nickname" text, "gender" text, "weight_at_birth" text, "meaning" text ); Question: What is the number of meaning where full name is chidinma anulika? <|assistant|> SELECT COUNT("meaning") FROM "family_history" WHERE "full_name"='Chidinma Anulika';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "family_history" ( "full_name" text, "nickname" text, "gender" text, "weight_at_birth" text, "meaning" text ); Question: What is the nickname that means god holds my life? <|assistant|> SELECT "nickname" FROM "family_history" WHERE "meaning"='God Holds My Life';<|endoftext|>
<|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: Who had the high assists for game 49? <|assistant|> SELECT "high_assists" FROM "game_log" WHERE "game"=49;<|endoftext|>
<|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: What was the score for the game in which Emeka Okafor (10) had high rebounds? <|assistant|> SELECT "score" FROM "game_log" WHERE "high_rebounds"='Emeka Okafor (10)';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "stations" ( "station_number" text, "district" text, "location" text, "type" text, "appliances" text, "registrations" text ); Question: what is the total number of location where station number is c03 <|assistant|> SELECT COUNT("location") FROM "stations" WHERE "station_number"='C03';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "stations" ( "station_number" text, "district" text, "location" text, "type" text, "appliances" text, "registrations" text ); Question: what are all the type where station number is c08 <|assistant|> SELECT "type" FROM "stations" WHERE "station_number"='C08';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "stations" ( "station_number" text, "district" text, "location" text, "type" text, "appliances" text, "registrations" text ); Question: what are all the type where location is st ives, cambridgeshire <|assistant|> SELECT "type" FROM "stations" WHERE "location"='St Ives, Cambridgeshire';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "stations" ( "station_number" text, "district" text, "location" text, "type" text, "appliances" text, "registrations" text ); Question: what are all the registrations where station number is c26 <|assistant|> SELECT "registrations" FROM "stations" WHERE "station_number"='C26';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "stations" ( "station_number" text, "district" text, "location" text, "type" text, "appliances" text, "registrations" text ); Question: what are all the location where station number is c11 <|assistant|> SELECT "location" FROM "stations" WHERE "station_number"='C11';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "stations" ( "station_number" text, "district" text, "location" text, "type" text, "appliances" text, "registrations" text ); Question: what are all the registrations where location is yaxley <|assistant|> SELECT "registrations" FROM "stations" WHERE "location"='Yaxley';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "commemorative_silver_dollar_series" ( "year" real, "theme" text, "artist" text, "mintage_proof" text, "issue_price_proof" text, "mintage_bu_clarification_needed" text, "issue_price_bu_clarification_needed" text ); Question: What is the issue price (proof) where the issue price (bu) is 34.95? <|assistant|> SELECT "issue_price_proof" FROM "commemorative_silver_dollar_series" WHERE "issue_price_bu_clarification_needed"='34.95';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "commemorative_silver_dollar_series" ( "year" real, "theme" text, "artist" text, "mintage_proof" text, "issue_price_proof" text, "mintage_bu_clarification_needed" text, "issue_price_bu_clarification_needed" text ); Question: What is the earliest year where the mintage (proof) is 25,000? <|assistant|> SELECT MIN("year") FROM "commemorative_silver_dollar_series" WHERE "mintage_proof"='25,000';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "commemorative_silver_dollar_series" ( "year" real, "theme" text, "artist" text, "mintage_proof" text, "issue_price_proof" text, "mintage_bu_clarification_needed" text, "issue_price_bu_clarification_needed" text ); Question: What is the mintage (bu) with the artist Royal Canadian Mint Staff and has an issue price (proof) of $54.95? <|assistant|> SELECT "mintage_bu_clarification_needed" FROM "commemorative_silver_dollar_series" WHERE "artist"='Royal Canadian Mint Staff' AND "issue_price_proof"='$54.95';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "commemorative_silver_dollar_series" ( "year" real, "theme" text, "artist" text, "mintage_proof" text, "issue_price_proof" text, "mintage_bu_clarification_needed" text, "issue_price_bu_clarification_needed" text ); Question: What is the year that the issue price (bu) is $26.95? <|assistant|> SELECT "year" FROM "commemorative_silver_dollar_series" WHERE "issue_price_bu_clarification_needed"='$26.95';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "new_zealand" ( "no" text, "player" text, "date_of_birth" text, "batting_style" text, "bowling_style" text, "first_class_team" text ); Question: What is the number of first class team with birthday of 5 december 1970? <|assistant|> SELECT COUNT("first_class_team") FROM "new_zealand" WHERE "date_of_birth"='5 December 1970';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "new_zealand" ( "no" text, "player" text, "date_of_birth" text, "batting_style" text, "bowling_style" text, "first_class_team" text ); Question: What is the number when birthday is 15 november 1973? <|assistant|> SELECT "no" FROM "new_zealand" WHERE "date_of_birth"='15 November 1973';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "new_zealand" ( "no" text, "player" text, "date_of_birth" text, "batting_style" text, "bowling_style" text, "first_class_team" text ); Question: What is the bowling style of chris harris? <|assistant|> SELECT "bowling_style" FROM "new_zealand" WHERE "player"='Chris Harris';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "new_zealand" ( "no" text, "player" text, "date_of_birth" text, "batting_style" text, "bowling_style" text, "first_class_team" text ); Question: Where is the first class team of date of birth 20 november 1969? <|assistant|> SELECT "first_class_team" FROM "new_zealand" WHERE "date_of_birth"='20 November 1969';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "india" ( "no" text, "player" text, "date_of_birth" text, "batting_style" text, "bowling_style" text, "first_class_team" text ); Question: What's Javagal Srinath's batting style? <|assistant|> SELECT "batting_style" FROM "india" WHERE "player"='Javagal Srinath';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "west_indies" ( "no" text, "player" text, "date_of_birth" text, "batting_style" text, "bowling_style" text, "first_class_team" text ); Question: Shivnarine Chanderpaul used what bowling style? <|assistant|> SELECT "bowling_style" FROM "west_indies" WHERE "player"='Shivnarine Chanderpaul';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_2_1995_1996" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "musical_guest_and_song" text, "original_air_date" text, "production_code" text ); Question: How many musical guests and songs were in episodes with a production code k0519? <|assistant|> SELECT COUNT("musical_guest_and_song") FROM "season_2_1995_1996" WHERE "production_code"='K0519';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_2_1995_1996" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "musical_guest_and_song" text, "original_air_date" text, "production_code" text ); Question: How many episodes originally aired on August 31, 1995? <|assistant|> SELECT COUNT("title") FROM "season_2_1995_1996" WHERE "original_air_date"='August 31, 1995';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_2_1995_1996" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "musical_guest_and_song" text, "original_air_date" text, "production_code" text ); Question: What's the musical guest and the song in the episode titled "Checkmate"? <|assistant|> SELECT "musical_guest_and_song" FROM "season_2_1995_1996" WHERE "title"='\"Checkmate\"';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_2_1995_1996" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "musical_guest_and_song" text, "original_air_date" text, "production_code" text ); Question: How many episodes were titled "Man's best friend"? <|assistant|> SELECT COUNT("directed_by") FROM "season_2_1995_1996" WHERE "title"='\"Man''s Best Friend\"';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_3_1996_1997" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "musical_guest_and_song" text, "original_air_date" text, "production_code" text ); Question: What is the season # when the musical guest and song is lisa stansfield " you know how to love me "? <|assistant|> SELECT COUNT("season_num") FROM "season_3_1996_1997" WHERE "musical_guest_and_song"='Lisa Stansfield \" You Know How to Love Me \"';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_3_1996_1997" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "musical_guest_and_song" text, "original_air_date" text, "production_code" text ); Question: What is theoriginal air date of the episode directed by timothy van patten? <|assistant|> SELECT "original_air_date" FROM "season_3_1996_1997" WHERE "directed_by"='Timothy Van Patten';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_3_1996_1997" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "musical_guest_and_song" text, "original_air_date" text, "production_code" text ); Question: What is the original air date for the title "no place like hell"? <|assistant|> SELECT "original_air_date" FROM "season_3_1996_1997" WHERE "title"='\"No Place Like Hell\"';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_3_1996_1997" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "musical_guest_and_song" text, "original_air_date" text, "production_code" text ); Question: What is the season # where production code is k1505? <|assistant|> SELECT MIN("season_num") FROM "season_3_1996_1997" WHERE "production_code"='K1505';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_3_1996_1997" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "musical_guest_and_song" text, "original_air_date" text, "production_code" text ); Question: What is the original air date where the musical guest and song is blackstreet " yearning for your love "? <|assistant|> SELECT "original_air_date" FROM "season_3_1996_1997" WHERE "musical_guest_and_song"='BLACKstreet \" Yearning for Your Love \"';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_3_1996_1997" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "musical_guest_and_song" text, "original_air_date" text, "production_code" text ); Question: What is the title of the episode with the original air date of february 6, 1997? <|assistant|> SELECT "title" FROM "season_3_1996_1997" WHERE "original_air_date"='February 6, 1997';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_4_1998" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Question: How many titles are there for season 8 <|assistant|> SELECT COUNT("title") FROM "season_4_1998" WHERE "season_num"=8;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_4_1998" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Question: Which tittles have an original air date of March 19, 1998 <|assistant|> SELECT "title" FROM "season_4_1998" WHERE "original_air_date"='March 19, 1998';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_4_1998" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Question: what are the original air dates with a title of "spare Parts" <|assistant|> SELECT "original_air_date" FROM "season_4_1998" WHERE "title"='\"Spare Parts\"';<|endoftext|>
<|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: What was the attendance of the game November 24 <|assistant|> SELECT "location_attendance" FROM "game_log" WHERE "date"='November 24';<|endoftext|>
<|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: Who had the highest assists on November 4 <|assistant|> SELECT "high_assists" FROM "game_log" WHERE "date"='November 4';<|endoftext|>
<|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: Who had the highest rebounds on November 4 <|assistant|> SELECT "high_rebounds" FROM "game_log" WHERE "date"='November 4';<|endoftext|>
<|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: How many numbers were listed under attendance for March 2? <|assistant|> SELECT COUNT("location_attendance") FROM "game_log" WHERE "date"='March 2';<|endoftext|>
<|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: What was the final score on March 26? <|assistant|> SELECT "score" FROM "game_log" WHERE "date"='March 26';<|endoftext|>
<|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: What is the team when the score is 88–86? <|assistant|> SELECT "team" FROM "game_log" WHERE "score"='88–86';<|endoftext|>
<|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: What is the score when high points is from pierce (30)? <|assistant|> SELECT "score" FROM "game_log" WHERE "high_points"='Pierce (30)';<|endoftext|>
<|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: How many times is the score 98–90? <|assistant|> SELECT COUNT("location_attendance") FROM "game_log" WHERE "score"='98–90';<|endoftext|>
<|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: What is the game that the location attendance is pepsi center 19,894? <|assistant|> SELECT MAX("game") FROM "game_log" WHERE "location_attendance"='Pepsi Center 19,894';<|endoftext|>
<|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: What is the team when location attendance is us airways center 18,422? <|assistant|> SELECT "team" FROM "game_log" WHERE "location_attendance"='US Airways Center 18,422';<|endoftext|>
<|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: What is the record where high assists is pierce (6)? <|assistant|> SELECT "record" FROM "game_log" WHERE "high_assists"='Pierce (6)';<|endoftext|>
<|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: What was the result of the game when the raptors played @ cleveland? <|assistant|> SELECT "score" FROM "game_log" WHERE "team"='@ Cleveland';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text ); Question: Who did the high points of game 5? <|assistant|> SELECT "high_points" FROM "playoffs" WHERE "game"=5;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text ); Question: How many high points were at the wachovia center 18,347? <|assistant|> SELECT COUNT("high_points") FROM "playoffs" WHERE "location_attendance"='Wachovia Center 18,347';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text ); Question: What is the team of april 25? <|assistant|> SELECT "team" FROM "playoffs" WHERE "date"='April 25';<|endoftext|>
<|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: Who had the high rebounds when Chris Bosh (16) had the high points? <|assistant|> SELECT "high_rebounds" FROM "game_log" WHERE "high_points"='Chris Bosh (16)';<|endoftext|>
<|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: What was the score when the location attendance was Air Canada Centre 18,067? <|assistant|> SELECT "score" FROM "game_log" WHERE "location_attendance"='Air Canada Centre 18,067';<|endoftext|>
<|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: When did Chris Bosh (14) have the high rebounds? <|assistant|> SELECT "date" FROM "game_log" WHERE "high_rebounds"='Chris Bosh (14)';<|endoftext|>
<|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: Who had the high points on January 23? <|assistant|> SELECT "high_points" FROM "game_log" WHERE "date"='January 23';<|endoftext|>
<|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: How many times was the game 39? <|assistant|> SELECT COUNT("record") FROM "game_log" WHERE "game"=39;<|endoftext|>
<|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: What is San Antonio game number? <|assistant|> SELECT MAX("game") FROM "game_log" WHERE "team"='San Antonio';<|endoftext|>
<|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: Who had high points when high rebound is gray (8)? <|assistant|> SELECT "high_points" FROM "game_log" WHERE "high_rebounds"='Gray (8)';<|endoftext|>
<|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: What is the date deng (20) had high points? <|assistant|> SELECT "date" FROM "game_log" WHERE "high_points"='Deng (20)';<|endoftext|>
<|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: What was the score of united center 22,097? <|assistant|> SELECT "score" FROM "game_log" WHERE "location_attendance"='United Center 22,097';<|endoftext|>
<|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: When gordon (27) had high points, what was the number of high assists? <|assistant|> SELECT COUNT("high_assists") FROM "game_log" WHERE "high_points"='Gordon (27)';<|endoftext|>
<|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: What was the location attendance on the date of November 15? <|assistant|> SELECT "location_attendance" FROM "game_log" WHERE "date"='November 15';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text ); Question: Where was the game played when the high assists were scored by billups , stuckey (4)? <|assistant|> SELECT "location_attendance" FROM "playoffs" WHERE "high_assists"='Billups , Stuckey (4)';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text ); Question: What date was the game for the score L 88–79? <|assistant|> SELECT "date" FROM "playoffs" WHERE "score"='L 88–79';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Question: How many high points were there in the game 67? <|assistant|> SELECT COUNT("high_points") FROM "regular_season" WHERE "game"=67;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Question: Which team was played when the high points was from Wallace (20)? <|assistant|> SELECT "team" FROM "regular_season" WHERE "high_points"='Wallace (20)';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Question: Which date was the team playing @ Memphis? <|assistant|> SELECT "date" FROM "regular_season" WHERE "team"='@ Memphis';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Question: how many times was the high rebounds by Mcdyess (9) and the high assists was by Billups (10)? <|assistant|> SELECT COUNT("high_points") FROM "regular_season" WHERE "high_rebounds"='McDyess (9)' AND "high_assists"='Billups (10)';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Question: Who had the high assists on the date December 12? <|assistant|> SELECT "high_assists" FROM "regular_season" WHERE "date"='December 12';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Question: What date was game 57 held on? <|assistant|> SELECT "date" FROM "regular_season" WHERE "game"=57;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Question: How many players had the most points in the game @ Milwaukee? <|assistant|> SELECT COUNT("high_points") FROM "regular_season" WHERE "team"='@ Milwaukee';<|endoftext|>
<|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: Who did the most high rebounds in the game 24? <|assistant|> SELECT "high_rebounds" FROM "game_log" WHERE "game"=24;<|endoftext|>
<|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: What was the score of the game played on December 8? <|assistant|> SELECT "score" FROM "game_log" WHERE "date"='December 8';<|endoftext|>
<|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: What was the total number of games where A. Johnson (6) gave the most high assists? <|assistant|> SELECT COUNT("game") FROM "game_log" WHERE "high_assists"='A. Johnson (6)';<|endoftext|>
<|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: What's the minimal game number in the season? <|assistant|> SELECT MIN("game") FROM "game_log";<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text ); Question: What is the location when the high rebounds was from A. Horford (13)? <|assistant|> SELECT "location_attendance" FROM "playoffs" WHERE "high_rebounds"='A. Horford (13)';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text ); Question: How had the high points when the high assists were from J. Johnson (7)? <|assistant|> SELECT "high_points" FROM "playoffs" WHERE "high_assists"='J. Johnson (7)';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text ); Question: Who had the high rebounds when the high assists were from J. Johnson (7)? <|assistant|> SELECT "high_rebounds" FROM "playoffs" WHERE "high_assists"='J. Johnson (7)';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text ); Question: Which team was played on April 20? <|assistant|> SELECT "team" FROM "playoffs" WHERE "date"='April 20';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text ); Question: Who had the high rebounds for the game on april 23? <|assistant|> SELECT "high_rebounds" FROM "playoffs" WHERE "date"='April 23';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text ); Question: What was the score in the game on May 11? <|assistant|> SELECT "score" FROM "playoffs" WHERE "date"='May 11';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text ); Question: Who was the high scorer and how much did they score in the game on May 3? <|assistant|> SELECT "high_points" FROM "playoffs" WHERE "date"='May 3';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text ); Question: What was the series count at for game 5? <|assistant|> SELECT "series" FROM "playoffs" WHERE "game"=5;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text ); Question: Where was the game on May 15 and how many were in attendance? <|assistant|> SELECT "location_attendance" FROM "playoffs" WHERE "date"='May 15';<|endoftext|>
<|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: What was the attendance on March 17? <|assistant|> SELECT "location_attendance" FROM "game_log" WHERE "date"='March 17';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text ); Question: What was the high assist total on May 11? <|assistant|> SELECT "high_assists" FROM "playoffs" WHERE "date"='May 11';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "april" ( "num" real, "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" text, "record" text, "streak" text ); Question: What is the lowest #? <|assistant|> SELECT MIN("num") FROM "april";<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "april" ( "num" real, "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" text, "record" text, "streak" text ); Question: What is the score of the game with the streak l5 <|assistant|> SELECT "score" FROM "april" WHERE "streak"='L5';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "april" ( "num" real, "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" text, "record" text, "streak" text ); Question: What is the attendance for the home game at Los Angeles Lakers? <|assistant|> SELECT "attendance" FROM "april" WHERE "home"='Los Angeles Lakers';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "april" ( "num" real, "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" text, "record" text, "streak" text ); Question: What is the record for the game at home Los Angeles Lakers? <|assistant|> SELECT "record" FROM "april" WHERE "home"='Los Angeles Lakers';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "december" ( "num" real, "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" text, "record" text, "streak" text ); Question: What was the result and score of Game #29? <|assistant|> SELECT "score" FROM "december" WHERE "num"=29;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "december" ( "num" real, "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" text, "record" text, "streak" text ); Question: Who was the leading scorer in Game #26? <|assistant|> SELECT "leading_scorer" FROM "december" WHERE "num"=26;<|endoftext|>
<|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: Who had the high rebounds when the score was l 84–102 (ot)? <|assistant|> SELECT "high_rebounds" FROM "game_log" WHERE "score"='L 84–102 (OT)';<|endoftext|>
<|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: Who had the high assists when the high rebounds were from Nick Collison (15)? <|assistant|> SELECT "high_assists" FROM "game_log" WHERE "high_rebounds"='Nick Collison (15)';<|endoftext|>