text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" text, "pick" text, "player" text, "position" text, "college" text ); Question: Which college's pick was 14? <|assistant|> SELECT "college" FROM "nfl_draft" WHERE "pick"='14...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "michigan_single_game_reception_yardage" ( "player" text, "rec" real, "yards" real, "average" real, "s_touchdown" real, "year" real, "opponent" text ); Question: Which Rec has an Average sma...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "michigan_single_game_reception_yardage" ( "player" text, "rec" real, "yards" real, "average" real, "s_touchdown" real, "year" real, "opponent" text ); Question: Which rec has Yards of 192, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "michigan_single_game_reception_yardage" ( "player" text, "rec" real, "yards" real, "average" real, "s_touchdown" real, "year" real, "opponent" text ); Question: Which Opponent has Yards sma...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "michigan_single_game_reception_yardage" ( "player" text, "rec" real, "yards" real, "average" real, "s_touchdown" real, "year" real, "opponent" text ); Question: How many Touchdowns have a r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "december" real, "opponent" text, "score" text, "record" text, "points" real ); Question: Which Points have an Opponent of @ atlanta thrashers, and a Game small...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "december" real, "opponent" text, "score" text, "record" text, "points" real ); Question: How many Points have a Game smaller than 37, and a Score of 2–3, and a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "december" real, "opponent" text, "score" text, "record" text, "points" real ); Question: Which Game is the highest one that has a Score of 3–2? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "name" text, "county" text, "location" text, "built" text, "length_ft" real, "spans" text ); Question: What spans were built in 1896? <|assistant|> SELECT "spans" FROM "referenc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "name" text, "county" text, "location" text, "built" text, "length_ft" real, "spans" text ); Question: Who has a length of 71 ft? <|assistant|> SELECT "name" FROM "references" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "name" text, "county" text, "location" text, "built" text, "length_ft" real, "spans" text ); Question: Where was the county of rockingham? <|assistant|> SELECT "location" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "comparison" ( "name" text, "year" real, "propulsion" text, "launched_by" text, "country" text ); Question: What is the propulsion for the RB 04 earlier than 1962? <|assistant|> SELECT "propulsi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "comparison" ( "name" text, "year" real, "propulsion" text, "launched_by" text, "country" text ); Question: What is the name of the anti-ship missile that had a turbojet propulsion that was laun...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "comparison" ( "name" text, "year" real, "propulsion" text, "launched_by" text, "country" text ); Question: What country had an anti-ship missile that had a solid rocket propulsion? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_fleet" ( "length_feet" text, "year" text, "make_and_model" text, "floor_type" text, "number_of_seats" real, "bicycle_capacity" real, "fuel_propulsion" text, "quantity" real ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_fleet" ( "length_feet" text, "year" text, "make_and_model" text, "floor_type" text, "number_of_seats" real, "bicycle_capacity" real, "fuel_propulsion" text, "quantity" real ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "december" real, "opponent" text, "score" text, "record" text, "points" real ); Question: What score has nashville predators as the opponent? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "december" real, "opponent" text, "score" text, "record" text, "points" real ); Question: What are the average points that have december 27? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "december" real, "opponent" text, "score" text, "record" text, "points" real ); Question: What record has points greater than 39, with 38 as the game? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "writing" ( "gzip" text, "bzip2" text, "lha_lzh" text, "stuff_it" text, "stuff_it_x" text, "iso_cd_image" text ); Question: What is the Stuffit ability that has a gzip of yes, ISO/CD images of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "writing" ( "gzip" text, "bzip2" text, "lha_lzh" text, "stuff_it" text, "stuff_it_x" text, "iso_cd_image" text ); Question: What is the gzip value associated with a stuffit of no, bzip2 of no,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "writing" ( "gzip" text, "bzip2" text, "lha_lzh" text, "stuff_it" text, "stuff_it_x" text, "iso_cd_image" text ); Question: What is the bzip2 value associated with a gzip of yes, StuffitX of u...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "writing" ( "gzip" text, "bzip2" text, "lha_lzh" text, "stuff_it" text, "stuff_it_x" text, "iso_cd_image" text ); Question: What is the StuffitX value that has a Stuffit of unknown, LHA/LZH of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "writing" ( "gzip" text, "bzip2" text, "lha_lzh" text, "stuff_it" text, "stuff_it_x" text, "iso_cd_image" text ); Question: What is the stuffit that has bzip and LHA/LZH of no? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "writing" ( "gzip" text, "bzip2" text, "lha_lzh" text, "stuff_it" text, "stuff_it_x" text, "iso_cd_image" text ); Question: What is the ISO/CD image value associated with StuffitX of no, gzip ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nhl_entry_draft" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team" text ); Question: Which round was Robert Deciantis taken in? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nhl_entry_draft" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team" text ); Question: Which round was Brian Elder taken in? <|assistant|> SELECT MIN(...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_5_11" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: what is the date of the tournament in michalovce <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pga_tour_wins_12" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text ); Question: What was the winning score of the Valero Texas Open? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pga_tour_wins_12" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text ); Question: When was the winning score –12 (69-66-72-65=272)? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pga_tour_wins_12" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text ); Question: Who was the runner-up when the winning score was –28 (66-67-6...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "california" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text ); Question: Which party had a Retired Democratic hold? <|assistant|> SELECT "party" FROM "cal...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "california" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text ); Question: What's the average year Charles N. Felton was re-elected? <|assistant|> SELECT AV...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "california" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text ); Question: What year was Barclay Henley first elected? <|assistant|> SELECT COUNT("first_ele...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "drivers_and_constructors" ( "team" text, "chassis" text, "engine" text, "tires" text, "drivers" text, "sponsor" text ); Question: what is the sponsor of motorola <|assistant|> SELECT "team" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: Which Opponent has the Event ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: What Record has an Event of P...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "percentage_starts_from_front_row" ( "driver" text, "front_row_starts" real, "pole_positions" real, "entries" real, "percentage" text ); Question: What's the average pole position for the driver...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "percentage_starts_from_front_row" ( "driver" text, "front_row_starts" real, "pole_positions" real, "entries" real, "percentage" text ); Question: What's the average front row starts for drivers...
<|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, "venue" text, "attendance" real ); Question: Attendance larger than 53,769, and a Opponent of at philadelphia eagles had ...
<|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, "venue" text, "attendance" real ); Question: Attendance of 60,671 had what average week? <|assistant|> SELECT AVG("week")...
<|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, "venue" text, "attendance" real ); Question: Week of 7 had what average attendance? <|assistant|> SELECT AVG("attendance"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women_s_statistics" ( "player" text, "played" real, "sets_won" real, "sets_lost" real, "legs_won" real, "legs_lost" real, "100" real, "140" real, "180s" real, "high_checkout" real, "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women_s_statistics" ( "player" text, "played" real, "sets_won" real, "sets_lost" real, "legs_won" real, "legs_lost" real, "100" real, "140" real, "180s" real, "high_checkout" real, "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women_s_statistics" ( "player" text, "played" real, "sets_won" real, "sets_lost" real, "legs_won" real, "legs_lost" real, "100" real, "140" real, "180s" real, "high_checkout" real, "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women_s_statistics" ( "player" text, "played" real, "sets_won" real, "sets_lost" real, "legs_won" real, "legs_lost" real, "100" real, "140" real, "180s" real, "high_checkout" real, "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women_s_statistics" ( "player" text, "played" real, "sets_won" real, "sets_lost" real, "legs_won" real, "legs_lost" real, "100" real, "140" real, "180s" real, "high_checkout" real, "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women_s_statistics" ( "player" text, "played" real, "sets_won" real, "sets_lost" real, "legs_won" real, "legs_lost" real, "100" real, "140" real, "180s" real, "high_checkout" real, "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_known_fair_catch_kick_attempts_i" ( "date" text, "kicker" text, "kicking_team" text, "opponent" text, "yards" real, "result" text, "game_time" text ); Question: Yards of 45, and a D...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_known_fair_catch_kick_attempts_i" ( "date" text, "kicker" text, "kicking_team" text, "opponent" text, "yards" real, "result" text, "game_time" text ); Question: Game time of 2nd qua...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_known_fair_catch_kick_attempts_i" ( "date" text, "kicker" text, "kicking_team" text, "opponent" text, "yards" real, "result" text, "game_time" text ); Question: Opponent of new york...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_known_fair_catch_kick_attempts_i" ( "date" text, "kicker" text, "kicking_team" text, "opponent" text, "yards" real, "result" text, "game_time" text ); Question: Yards larger than 52...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_known_fair_catch_kick_attempts_i" ( "date" text, "kicker" text, "kicking_team" text, "opponent" text, "yards" real, "result" text, "game_time" text ); Question: Result of missed*, a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_known_fair_catch_kick_attempts_i" ( "date" text, "kicker" text, "kicking_team" text, "opponent" text, "yards" real, "result" text, "game_time" text ); Question: Opponent of houston ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text ); Question: Which Nationality of the person has a Position on left wing?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text ); Question: Which College/Junior/Club Team (League) are from sweden? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text ); Question: WHich Position is from russia? <|assistant|> SELECT "positio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women_outdoor" ( "pos" real, "mark" text, "athlete" text, "nationality" text, "venue" text, "date" text ); Question: Which venue is with Ukraine? <|assistant|> SELECT "venue" FROM "women_outd...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women_outdoor" ( "pos" real, "mark" text, "athlete" text, "nationality" text, "venue" text, "date" text ); Question: Which venue had a nationality of Belgium? <|assistant|> SELECT "venue" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "major_award_winners" ( "year" text, "best_film" text, "best_director" text, "best_actor" text, "best_actress" text, "best_supporting_actress" text ); Question: Which Best Actor has a Best Fil...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "major_award_winners" ( "year" text, "best_film" text, "best_director" text, "best_actor" text, "best_actress" text, "best_supporting_actress" text ); Question: Which Year has a Best Film of m...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "major_award_winners" ( "year" text, "best_film" text, "best_director" text, "best_actor" text, "best_actress" text, "best_supporting_actress" text ); Question: Which Best Actress has a Year o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "major_award_winners" ( "year" text, "best_film" text, "best_director" text, "best_actor" text, "best_actress" text, "best_supporting_actress" text ); Question: Which Best Actor has a Best Dir...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "major_award_winners" ( "year" text, "best_film" text, "best_director" text, "best_actor" text, "best_actress" text, "best_supporting_actress" text ); Question: Which Best Film has a Best Supp...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1960s" ( "date" text, "result" text, "score" text, "venue" text, "competition" text ); Question: Score of 0–0, and a Date of 02-jan-64 had what result? <|assistant|> SELECT "result" FROM "1960s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1960s" ( "date" text, "result" text, "score" text, "venue" text, "competition" text ); Question: Result of l, and a Competition of 1966 asian games, and a Score of 0–1 had what date? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1960s" ( "date" text, "result" text, "score" text, "venue" text, "competition" text ); Question: Competition of friendly, and a Date of 03-jun-62 had what score? <|assistant|> SELECT "score" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1960s" ( "date" text, "result" text, "score" text, "venue" text, "competition" text ); Question: Result of w, and a Competition of 1968 asian cup happened on what date? <|assistant|> SELECT "da...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1960s" ( "date" text, "result" text, "score" text, "venue" text, "competition" text ); Question: Result of l, and a Date of 15-oct-64 had what score? <|assistant|> SELECT "score" FROM "1960s" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "california" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text ); Question: What incumbent was re-elected in the district in california 3? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "california" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text ); Question: What is the district of the incumbent Thomas Larkin Thompson? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "california" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text ); Question: What incumbent has a re-elected result and first elected larger than 1884? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "names_in_modern_languages" ( "sanskrit" text, "tamil" text, "telugu" text, "kannada" text, "malayalam" text, "mongolian" text ); Question: Which Telugu తెలుగు has a Kannada ಕನ್ನಡ of chitra ಚಿ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "names_in_modern_languages" ( "sanskrit" text, "tamil" text, "telugu" text, "kannada" text, "malayalam" text, "mongolian" text ); Question: Which Telugu తెలుగు has a Tamil தமிழ் of pūrāṭam பூர...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "names_in_modern_languages" ( "sanskrit" text, "tamil" text, "telugu" text, "kannada" text, "malayalam" text, "mongolian" text ); Question: Which Telugu తెలుగు has a Tamil தமிழ் of pūsam பூசம்...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "names_in_modern_languages" ( "sanskrit" text, "tamil" text, "telugu" text, "kannada" text, "malayalam" text, "mongolian" text ); Question: Which Mongolian has a Tamil தமிழ் of pūrāṭam பூராடம்...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "names_in_modern_languages" ( "sanskrit" text, "tamil" text, "telugu" text, "kannada" text, "malayalam" text, "mongolian" text ); Question: What kind of Sanskrit संस्कृतम् has a Kannada ಕನ್ನಡ ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "names_in_modern_languages" ( "sanskrit" text, "tamil" text, "telugu" text, "kannada" text, "malayalam" text, "mongolian" text ); Question: What kind of Sanskrit संस्कृतम् has a Tamil தமிழ் of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "defunct_callsigns" ( "callsign" text, "area_served" text, "frequency" text, "band" text, "freq_currently" text, "purpose" text ); Question: What is the frequency for katherine? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "defunct_callsigns" ( "callsign" text, "area_served" text, "frequency" text, "band" text, "freq_currently" text, "purpose" text ); Question: Which band has a current freq of 8tab (hpon)? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "defunct_callsigns" ( "callsign" text, "area_served" text, "frequency" text, "band" text, "freq_currently" text, "purpose" text ); Question: Which freq currently has 0 657? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "defunct_callsigns" ( "callsign" text, "area_served" text, "frequency" text, "band" text, "freq_currently" text, "purpose" text ); Question: What is the purpose for the katherine freq of 8rn? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "defunct_callsigns" ( "callsign" text, "area_served" text, "frequency" text, "band" text, "freq_currently" text, "purpose" text ); Question: Which freq currently has 0 684? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "defunct_callsigns" ( "callsign" text, "area_served" text, "frequency" text, "band" text, "freq_currently" text, "purpose" text ); Question: Which band serves darwin for commercial purpose? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "world_championship_group_c_france" ( "games" real, "drawn" real, "lost" real, "points_difference" text, "points" real ); Question: What is the points difference for a loss less than 6, and poin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text ); Question: Which Opponent has a Loss of báez (5-5)? <|assistant|> SELECT "opponent" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text ); Question: Which Score has an Opponent of @ rockies, and a Record of 33-35? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text ); Question: Which Attendance has an Opponent of phillies, and a Record of 30-33? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text ); Question: Which Attendance is the highest one that has a Loss of batista (4-5)? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "broadcast_translators_of_kanz" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text ); Question: What is the frequency MHz of the ERP...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "broadcast_translators_of_kanz" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text ); Question: What is the call sign of the MHz Fre...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "broadcast_translators_of_kanz" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text ); Question: What is the FCC info for the city of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "broadcast_translators_of_kanz" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text ); Question: What is the city of license with an ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "broadcast_translators_of_kanz" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text ); Question: What is the smallest ERP W with a fr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "broadcast_translators_of_kanz" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text ); Question: What is the ERP W of a Frequency MHz...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the total number of bronze medals the U.S. Virgin Islands, which has le...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the rank of the team with 11 total medals and more than 4 silver medals...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the lowest total medals the team with more than 0 bronze, 6 silver, and...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the highest rank of Venezuela, which has more than 9 bronze medals? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the lowest rank of the team with 0 bronze, 1 silver, and more than 0 go...