text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "december" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: Who was the visitor when the score was 136–120? <|assistant|> SELECT "visitor" FROM "december" WHE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "december" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: Who was the home when the visitor was New York Knicks? <|assistant|> SELECT "home" FROM "december"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "december" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: When was the home Los Angeles Lakers? <|assistant|> SELECT "date" FROM "december" WHERE "home"='lo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "december" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: Who was the visitor on december 15, 1976? <|assistant|> SELECT "visitor" FROM "december" WHERE "da...
<|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: At Time Warner Cable Aren...
<|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: On November 2 what was th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "texas" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" text, "fcc_info" text ); Question: Average frequency with ERP W of 62? <|assistant|> SELECT AVG("frequency_m_hz...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "texas" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" text, "fcc_info" text ); Question: Total frequency with ERP W of 62? <|assistant|> SELECT COUNT("frequency_m_hz...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "texas" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" text, "fcc_info" text ); Question: Frequency for kamy? <|assistant|> SELECT "frequency_m_hz" FROM "texas" WHERE...
<|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, "location" text ); Question: What was the method of resolution when LaVer...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "subdivisions" ( "english_name" text, "simplified" text, "traditional" text, "pinyin" text, "area" text, "population" real, "density" text ); Question: how many subdivisions have an English ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "subdivisions" ( "english_name" text, "simplified" text, "traditional" text, "pinyin" text, "area" text, "population" real, "density" text ); Question: What is the Population of the subdivis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "subdivisions" ( "english_name" text, "simplified" text, "traditional" text, "pinyin" text, "area" text, "population" real, "density" text ); Question: What is the Traditional when the Pinyi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "subdivisions" ( "english_name" text, "simplified" text, "traditional" text, "pinyin" text, "area" text, "population" real, "density" text ); Question: What is the Traditional for area 35? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "german" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text, "verb_meaning" text ); Question: Which class has the verb meaning of to run? <|assistant|> SELECT "class" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "german" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text, "verb_meaning" text ); Question: What is the entry for Part 1 for class 7d? <|assistant|> SELECT "part_1" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "german" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text, "verb_meaning" text ); Question: What is the part 3 entry that has a part 4 entry of giboran? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "german" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text, "verb_meaning" text ); Question: What is the part 2 entry for class 3a? <|assistant|> SELECT "part_2" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "german" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text, "verb_meaning" text ); Question: What is the part 4 entry for class 7b? <|assistant|> SELECT "part_4" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: On what date was the result a draw? <|assistant|> SELECT "date" FROM "internationa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: What is the score at the 2010 FIFA World Cup Qualification that results in a win? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fm_stations" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text ); Question: What is the Power (kW) for the station located in Cebu? <|assistant|> SELECT "p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fm_stations" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text ); Question: What is the Power (kW) for the station with a frequency of 95.1mhz? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fm_stations" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text ); Question: What is the Callsign for the station with the branding 93dot5 home radio Cagaya...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fm_stations" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text ); Question: What is the frequency for the station with the branding of 94dot3 home radio Pa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fm_stations" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text ); Question: What is the Branding for the station located in Zamboanga? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fm_stations" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text ); Question: What is the Power (kW) for the station with the frequency of 98.7mhz? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the medal total of Denmark? <|assistant|> SELECT COUNT("total") FROM "m...
<|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_assists" text, "location_attendance" text, "record" text ); Question: What is the record of the ...
<|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_assists" text, "location_attendance" text, "record" text ); Question: What is the record of game...
<|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_assists" text, "location_attendance" text, "record" text ); Question: What is the score of game ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "result_of_national_final" ( "draw" real, "song" text, "performer" text, "points" real, "rank" text ); Question: WHAT IS THE DRAW FOR u ritmu ljubavi, POINTS LARGER THAN 87? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "result_of_national_final" ( "draw" real, "song" text, "performer" text, "points" real, "rank" text ); Question: WHAT IS THE DRAW FOR PERFORMER ANDREA CUBRIC? <|assistant|> SELECT "draw" FROM "r...
<|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, "location" text, "record" text ); Question: What is the game number when the record is 30-22? <|assistant|> SELECT AVG("ga...
<|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, "location" text, "record" text ); Question: At what location was the score W 82-76? <|assistant|> SELECT "location" FROM "...
<|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, "location" text, "record" text ); Question: What was the record when the game was at the Rose Garden? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managers_test_games_only" ( "name" text, "period" text, "games" real, "wins" real, "draws" real, "lost" real, "win_ratio" text ); Question: What is the highest number of games with more tha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "appearances_and_goals" ( "squad_no" real, "name" text, "position" text, "league_apps" text, "league_goals" real, "fa_cup_apps" text, "fa_cup_goals" real, "league_cup_apps" text, "league_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "appearances_and_goals" ( "squad_no" real, "name" text, "position" text, "league_apps" text, "league_goals" real, "fa_cup_apps" text, "fa_cup_goals" real, "league_cup_apps" text, "league_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "appearances_and_goals" ( "squad_no" real, "name" text, "position" text, "league_apps" text, "league_goals" real, "fa_cup_apps" text, "fa_cup_goals" real, "league_cup_apps" text, "league_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "highest_grossing_films_of_1999" ( "rank" real, "title" text, "studio" text, "director_s" text, "worldwide_gross" text ); Question: Which title had rank 9? <|assistant|> SELECT "title" FROM "hig...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "highest_grossing_films_of_1999" ( "rank" real, "title" text, "studio" text, "director_s" text, "worldwide_gross" text ); Question: Which title placed in rank 7? <|assistant|> SELECT "title" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rpm_singles_chart_january_2000_november_" ( "volume_issue" text, "issue_date_s" text, "weeks_on_top" text, "song" text, "artist" text ); Question: shows for the artist Santana featuring the pro...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rpm_singles_chart_january_2000_november_" ( "volume_issue" text, "issue_date_s" text, "weeks_on_top" text, "song" text, "artist" text ); Question: What volume 3 weeks on top for Third Eye Blind...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rpm_singles_chart_january_2000_november_" ( "volume_issue" text, "issue_date_s" text, "weeks_on_top" text, "song" text, "artist" text ); Question: What is the name of the artist of " bang bang ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rpm_singles_chart_january_2000_november_" ( "volume_issue" text, "issue_date_s" text, "weeks_on_top" text, "song" text, "artist" text ); Question: What is the song name with a Volume:Issue was ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "music_videos" ( "year" real, "music_video" text, "length" text, "album" text, "official_mv_on_you_tube" text ); Question: What was the music video that was from the album High Society, with a l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "music_videos" ( "year" real, "music_video" text, "length" text, "album" text, "official_mv_on_you_tube" text ); Question: Which music video was from the album Map of the Human Soul? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "eighth_finals" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); Question: What is the agg when team 2 was Cementarnica? <|assistant|> SELECT "agg" FROM "eighth_fina...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_seasons_and_teams" ( "season" text, "races" real, "wins" real, "podiums" real, "poles" real, "fastest_laps" real ); Question: What are the total number of podiums for more than 4 laps, and...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text ); Question: What was the score for the golfer from the country of fiji? <|assistant|> SELECT COUNT("scor...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text ); Question: What was the score of the golfer from the united states who had a To par of e? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text ); Question: Which united states player finished with a place of t10? <|assistant|> SELECT "player" FROM ...
<|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, "catalog" text ); Question: What label uses the stereo LP for catalog scyl-934,623? <|assistant|> SELECT "label" FROM...
<|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, "catalog" text ); Question: On what date was the catalog cy-24623 for New Zealand? <|assistant|> SELECT "date" FROM "...
<|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, "catalog" text ); Question: On what date was the catalog scyl-934,623 for Australia? <|assistant|> SELECT "date" FROM...
<|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, "catalog" text ); Question: Which label has a catalog of y8hr 1006 in 1972? <|assistant|> SELECT "label" FROM "releas...
<|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, "catalog" text ); Question: What catalog uses the stereo compact cassette format? <|assistant|> SELECT "catalog" FROM...
<|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 average game ...
<|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 average game ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: Can you tell me the average Total that had the Silver of 0, and the Rank of 6, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: Can you tell me the highest Gold that has the Bronze larger than 3, and the Tot...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: Can you tell me the highest Gold that has the Bronze smaller than 1, and the To...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table_3_total_number_of_available_human_" ( "region" text, "physician_gp_specialist" real, "physician_population_ratio" text, "health_officer" real, "ho_population_ratio" text, "all_nurses" re...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table_3_total_number_of_available_human_" ( "region" text, "physician_gp_specialist" real, "physician_population_ratio" text, "health_officer" real, "ho_population_ratio" text, "all_nurses" re...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "in" ( "nat" text, "name" text, "moving_from" text, "type" text, "transfer_window" text, "ends" real, "transfer_fee" text ); Question: What is Moving, when Type is "Transfer", and when Name ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "in" ( "nat" text, "name" text, "moving_from" text, "type" text, "transfer_window" text, "ends" real, "transfer_fee" text ); Question: What is Moving From, when Ends is before 2011? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards_and_nominations" ( "year" real, "award" text, "category" text, "nominated_work" text, "result" text ); Question: What was the category that sheridan smith was nominated for in 2011? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards_and_nominations" ( "year" real, "award" text, "category" text, "nominated_work" text, "result" text ); Question: What ward was she nominated at for her work, Flare Path for the category ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards_and_nominations" ( "year" real, "award" text, "category" text, "nominated_work" text, "result" text ); Question: What is the result for the nomination at the Laurence Olivier award in 20...
<|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 is the lowest attendance when the Atlanta Falcons were the opponent? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "escorts" ( "name" text, "class" text, "navy" text, "date_joined" text, "date_departed" text ); Question: What's the departed date for Grimsby Class Sloop? <|assistant|> SELECT "date_departed" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "escorts" ( "name" text, "class" text, "navy" text, "date_joined" text, "date_departed" text ); Question: What's the departed date that the HMS Leith of the Royal Navy? <|assistant|> SELECT "dat...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "escorts" ( "name" text, "class" text, "navy" text, "date_joined" text, "date_departed" text ); Question: What's the class of the HMS Fowey? <|assistant|> SELECT "class" FROM "escorts" WHERE "na...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "escorts" ( "name" text, "class" text, "navy" text, "date_joined" text, "date_departed" text ); Question: What's the class of the HMS Heartsease? <|assistant|> SELECT "class" FROM "escorts" WHER...
<|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: Can you tell me the Record that has the Game larger than 15, and the Opponent of edmonton oilers?...
<|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: Can you tell me the Score that has the Date of 11/17/1979? <|assistant|> SELECT "score" FROM "gam...
<|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: Can you tell me the Opponent that has the Record of 7-7-1? <|assistant|> SELECT "opponent" FROM "...
<|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: Can you tell me the Score that has the Opponent of at edmonton oilers? <|assistant|> SELECT "scor...
<|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: Can you tell me the Date thay has the Reocrd of 9-10-2? <|assistant|> SELECT "date" FROM "game_lo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification" ( "fin_pos" text, "car_no" text, "driver" text, "team" text, "laps" text, "time_retired" text, "grid" text, "laps_led" text, "points" text ); Question: What is the finis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification" ( "fin_pos" text, "car_no" text, "driver" text, "team" text, "laps" text, "time_retired" text, "grid" text, "laps_led" text, "points" text ); Question: Which team had ca...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification" ( "fin_pos" text, "car_no" text, "driver" text, "team" text, "laps" text, "time_retired" text, "grid" text, "laps_led" text, "points" text ); Question: What is the numbe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification" ( "fin_pos" text, "car_no" text, "driver" text, "team" text, "laps" text, "time_retired" text, "grid" text, "laps_led" text, "points" text ); Question: Which driver earn...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "launch_history" ( "date" text, "time_gmt" text, "serial" text, "apogee" text, "outcome" text ); Question: What is the date for the 10b serial? <|assistant|> SELECT "date" FROM "launch_history" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_average_1" real, "points_2" real ); Question: What t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_average_1" real, "points_2" real ); Question: What i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "georgian_alphabets" ( "asomtavruli" text, "nuskhuri" text, "mkhedruli" text, "letter_name" text, "phoneme" text ); Question: What is the Mkhedruli symbol for the Asomtavruli ⴒ? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "georgian_alphabets" ( "asomtavruli" text, "nuskhuri" text, "mkhedruli" text, "letter_name" text, "phoneme" text ); Question: What is the letter name for the Asomtavruli ⴙ? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "georgian_alphabets" ( "asomtavruli" text, "nuskhuri" text, "mkhedruli" text, "letter_name" text, "phoneme" text ); Question: What is the Phoneme symbol for ⴥ in Nuskhuri? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "georgian_alphabets" ( "asomtavruli" text, "nuskhuri" text, "mkhedruli" text, "letter_name" text, "phoneme" text ); Question: What is the Phoneme symbol for the letter name zɛn? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "georgian_alphabets" ( "asomtavruli" text, "nuskhuri" text, "mkhedruli" text, "letter_name" text, "phoneme" text ); Question: What is teh Nuskhuri symbol for ⴋ in Asomtavruli? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" real, "pick_num" real, "player" text, "position" text, "college" text ); Question: What is the average value for Pick #, when Position is Linebacker, when Player is Bob Bru...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" real, "pick_num" real, "player" text, "position" text, "college" text ); Question: What is the sum of Pick #, when Position is Guard, and when Round is greater than 2? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" real, "pick_num" real, "player" text, "position" text, "college" text ); Question: What is the average Round, when Pick # is greater than 70, and when Position is Tackle? <...