text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27833469_1" ( "series_num" real, "season_num" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: What is the series number for the episode number 10 of the season? <|assistant|> SELECT "series_num" FROM "table1_27833469_1" WHERE "season_num"='10';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "triconsonantal_roots" ( "semitological_abbreviation" text, "hebrew_name" text, "arabic_name" text, "morphological_category" text, "hebrew_form" text, "arabic_form" text, "approximate_translation" text ); Question: What are the the approximate translations when the Morphological Category is 1st. plur. perfect? <|assistant|> SELECT "approximate_translation" FROM "triconsonantal_roots" WHERE "morphological_category"='1st. plur. perfect';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "triconsonantal_roots" ( "semitological_abbreviation" text, "hebrew_name" text, "arabic_name" text, "morphological_category" text, "hebrew_form" text, "arabic_form" text, "approximate_translation" text ); Question: What are the approximate translations when the morphological category is masc. sing. active participle? <|assistant|> SELECT "approximate_translation" FROM "triconsonantal_roots" WHERE "morphological_category"='masc. sing. active participle';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "triconsonantal_roots" ( "semitological_abbreviation" text, "hebrew_name" text, "arabic_name" text, "morphological_category" text, "hebrew_form" text, "arabic_form" text, "approximate_translation" text ); Question: How many hebrew forms are there for the arabic form yuktibu يكتب? <|assistant|> SELECT COUNT("hebrew_form") FROM "triconsonantal_roots" WHERE "arabic_form"='yuktibu يكتب';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "triconsonantal_roots" ( "semitological_abbreviation" text, "hebrew_name" text, "arabic_name" text, "morphological_category" text, "hebrew_form" text, "arabic_form" text, "approximate_translation" text ); Question: What are the arabic forms when the approximate translation is "he writes, will write"? <|assistant|> SELECT "arabic_form" FROM "triconsonantal_roots" WHERE "approximate_translation"='\"he writes, will write\"';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "triconsonantal_roots" ( "semitological_abbreviation" text, "hebrew_name" text, "arabic_name" text, "morphological_category" text, "hebrew_form" text, "arabic_form" text, "approximate_translation" text ); Question: What are the morphological categories when the approximate translation is "he wrote"? <|assistant|> SELECT "morphological_category" FROM "triconsonantal_roots" WHERE "approximate_translation"='\"he wrote\"';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "triconsonantal_roots" ( "semitological_abbreviation" text, "hebrew_name" text, "arabic_name" text, "morphological_category" text, "hebrew_form" text, "arabic_form" text, "approximate_translation" text ); Question: How many Arabic forms are there for the 1st. plur. perfect category? <|assistant|> SELECT COUNT("arabic_form") FROM "triconsonantal_roots" WHERE "morphological_category"='1st. plur. perfect';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27847088_1" ( "episode_no" real, "series_no" real, "episode" text, "director" text, "writer_s" text, "original_airdate" text, "viewers_millions" text ); Question: How many were the viewers (in millions) of the series no. 45? <|assistant|> SELECT "viewers_millions" FROM "table1_27847088_1" WHERE "series_no"=45;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27847088_1" ( "episode_no" real, "series_no" real, "episode" text, "director" text, "writer_s" text, "original_airdate" text, "viewers_millions" text ); Question: Who was the writer of the episode title "Divine Intervention"? <|assistant|> SELECT "writer_s" FROM "table1_27847088_1" WHERE "episode"='\"Divine Intervention\"';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "num" real, "date" text, "opponent" text, "site_stadium" text, "score" text, "win" text, "loss" text, "save" text, "attendance" real, "overall_record" text, "pac_10_record" text ); Question: How many games did UCLA's baseball team win with a score 7-6 during May of 2010? <|assistant|> SELECT COUNT("opponent") FROM "schedule" WHERE "score"='7-6';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "champions_by_nationality" ( "rank" text, "nationality" text, "non_major_wins" real, "non_major_winners" real, "major_wins" real, "major_winners" real, "total_wins" real, "total_winners" real, "first_title" real, "last_title" real ); Question: How many wins are listed when the first title is 2004? <|assistant|> SELECT "total_wins" FROM "champions_by_nationality" WHERE "first_title"=2004;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table_of_network_o_os_that_aired_nta_pro" ( "city" text, "state_or_territory" text, "station_call_sign" text, "network" text, "channel_number" real, "programs_aired" text ); Question: Which network was located in Illinois? <|assistant|> SELECT "network" FROM "table_of_network_o_os_that_aired_nta_pro" WHERE "state_or_territory"='Illinois';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table_of_network_o_os_that_aired_nta_pro" ( "city" text, "state_or_territory" text, "station_call_sign" text, "network" text, "channel_number" real, "programs_aired" text ); Question: What is the highest channel number? <|assistant|> SELECT MAX("channel_number") FROM "table_of_network_o_os_that_aired_nta_pro";<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table_of_network_o_os_that_aired_nta_pro" ( "city" text, "state_or_territory" text, "station_call_sign" text, "network" text, "channel_number" real, "programs_aired" text ); Question: Which state or territory had a channel number of exactly 7? <|assistant|> SELECT "state_or_territory" FROM "table_of_network_o_os_that_aired_nta_pro" WHERE "channel_number"=7;<|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: Name the date for omni coliseum 10,330 <|assistant|> SELECT "date" FROM "game_log" WHERE "location_attendance"='Omni Coliseum 10,330';<|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: Name the location attendance for 3 game <|assistant|> SELECT "location_attendance" FROM "game_log" WHERE "game"=3;<|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: Name the location attendance for l 93-105 <|assistant|> SELECT "location_attendance" FROM "game_log" WHERE "score"='L 93-105';<|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: Name the record for oakland-alameda county coliseum arena 15,025 <|assistant|> SELECT "record" FROM "game_log" WHERE "location_attendance"='Oakland-Alameda County Coliseum Arena 15,025';<|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: Name the total number of games for w 112-94 <|assistant|> SELECT COUNT("game") FROM "game_log" WHERE "score"='W 112-94';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "calendar" ( "round" text, "main_date" text, "number_of_fixtures" real, "clubs" text, "new_entries_this_round" text, "prize_money" text, "player_of_the_round" text ); Question: what is the club in the sixth round proper <|assistant|> SELECT "clubs" FROM "calendar" WHERE "round"='Sixth round proper';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles" ( "outcome" text, "edition" text, "opponent_team" text, "surface" text, "opponent" text, "score" text ); Question: For edition is 2011 europe/africa group iiib and surface where score is 6–4, 6–1 please specify all the surface <|assistant|> SELECT "surface" FROM "singles" WHERE "score"='6–4, 6–1' AND "edition"='2011 Europe/Africa Group IIIB';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles" ( "outcome" text, "edition" text, "opponent_team" text, "surface" text, "opponent" text, "score" text ); Question: For opponent is sandra kristjánsdóttir, outcome is winner and edition is 2009 europe/africa group iiib mention all the opponent team. <|assistant|> SELECT "opponent_team" FROM "singles" WHERE "edition"='2009 Europe/Africa Group IIIB' AND "outcome"='Winner' AND "opponent"='Sandra Kristjánsdóttir';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles" ( "outcome" text, "edition" text, "opponent_team" text, "surface" text, "opponent" text, "score" text ); Question: For score 7–6 (7–3) , 6–4 please mention total number of outcome <|assistant|> SELECT COUNT("outcome") FROM "singles" WHERE "score"='7–6 (7–3) , 6–4';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles" ( "outcome" text, "edition" text, "opponent_team" text, "surface" text, "opponent" text, "score" text ); Question: For armenia as opponent team and edition is 2009 europe/africa group iiib mention all the opponent <|assistant|> SELECT "opponent" FROM "singles" WHERE "edition"='2009 Europe/Africa Group IIIB' AND "opponent_team"='Armenia';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles" ( "outcome" text, "edition" text, "opponent_team" text, "surface" text, "opponent" text, "score" text ); Question: For score 6–2, 6–3 and outcome is loser mention all the edition. <|assistant|> SELECT "edition" FROM "singles" WHERE "outcome"='Loser' AND "score"='6–2, 6–3';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "events" ( "dates" text, "race_name" text, "location" text, "uci_rating" text, "winner" text, "team" text, "series_leader" text ); Question: who was the winner of uci rating cn? <|assistant|> SELECT "winner" FROM "events" WHERE "uci_rating"='CN';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "events" ( "dates" text, "race_name" text, "location" text, "uci_rating" text, "winner" text, "team" text, "series_leader" text ); Question: what race name had a uci rating of cn? <|assistant|> SELECT "race_name" FROM "events" WHERE "uci_rating"='CN';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "events" ( "dates" text, "race_name" text, "location" text, "uci_rating" text, "winner" text, "team" text, "series_leader" text ); Question: what location has team trek-livestrong? <|assistant|> SELECT "location" FROM "events" WHERE "team"='Trek-Livestrong';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "events" ( "dates" text, "race_name" text, "location" text, "uci_rating" text, "winner" text, "team" text, "series_leader" text ); Question: who was the winner for souderton, pa? <|assistant|> SELECT "winner" FROM "events" WHERE "location"='Souderton, PA';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27892955_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text ); Question: What is the name of episode 120 in the series that Mike Rohl directed? <|assistant|> SELECT "title" FROM "table1_27892955_1" WHERE "directed_by"='Mike Rohl' AND "no_in_series"=120;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27892955_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text ); Question: Who wrote episode that had 1.97 million u.s. viewers? <|assistant|> SELECT "written_by" FROM "table1_27892955_1" WHERE "u_s_viewers_million"='1.97';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27892955_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text ); Question: What is the name of the episode that had 2.02 million u.s. viewers? <|assistant|> SELECT "title" FROM "table1_27892955_1" WHERE "u_s_viewers_million"='2.02';<|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 games did they play on january 11? <|assistant|> SELECT COUNT("location_attendance") FROM "game_log" WHERE "date"='January 11';<|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 every team with a record of 9-7? <|assistant|> SELECT "team" FROM "game_log" WHERE "record"='9-7';<|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 people are high assists when location attendance is Seattle Center Coliseum 14,180? <|assistant|> SELECT COUNT("high_assists") FROM "game_log" WHERE "location_attendance"='Seattle Center Coliseum 14,180';<|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 every date with game 23? <|assistant|> SELECT "date" FROM "game_log" WHERE "game"=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: What is every team with location attendance of Seattle Center Coliseum 14,180? <|assistant|> SELECT "team" FROM "game_log" WHERE "location_attendance"='Seattle Center Coliseum 14,180';<|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 every team with location attendance of Arco Arena 17,014? <|assistant|> SELECT "team" FROM "game_log" WHERE "location_attendance"='ARCO Arena 17,014';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27893892_2" ( "week" real, "date" text, "kickoff" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real ); Question: what was the opposition where the field is waldstadion during time 6 <|assistant|> SELECT "opponent" FROM "table1_27893892_2" WHERE "game_site"='Waldstadion' AND "week"=6;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27893892_2" ( "week" real, "date" text, "kickoff" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real ); Question: what is the location for saturday, april 21 <|assistant|> SELECT "game_site" FROM "table1_27893892_2" WHERE "date"='Saturday, April 21';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27893892_2" ( "week" real, "date" text, "kickoff" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real ); Question: what was the participation for saturday, may 12 <|assistant|> SELECT MAX("attendance") FROM "table1_27893892_2" WHERE "date"='Saturday, May 12';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27893892_2" ( "week" real, "date" text, "kickoff" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real ); Question: what was the achievement for the rival at scottish claymores <|assistant|> SELECT "team_record" FROM "table1_27893892_2" WHERE "opponent"='at Scottish Claymores';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "statistics" ( "player" text, "played" real, "legs_won" real, "legs_lost" real, "100" real, "140" real, "180s" real, "high_checkout" real, "3_dart_average" text ); Question: What is the highest number for 140+? <|assistant|> SELECT MAX("140") FROM "statistics";<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "statistics" ( "player" text, "played" real, "legs_won" real, "legs_lost" real, "100" real, "140" real, "180s" real, "high_checkout" real, "3_dart_average" text ); Question: How many legs were lost when the high checkout was 101? <|assistant|> SELECT COUNT("legs_lost") FROM "statistics" WHERE "high_checkout"=101;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "statistics" ( "player" text, "played" real, "legs_won" real, "legs_lost" real, "100" real, "140" real, "180s" real, "high_checkout" real, "3_dart_average" text ); Question: Who was the player when the 180s was 15? <|assistant|> SELECT "player" FROM "statistics" WHERE "180s"=15;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "statistics" ( "player" text, "played" real, "legs_won" real, "legs_lost" real, "100" real, "140" real, "180s" real, "high_checkout" real, "3_dart_average" text ); Question: How many legs were own by alan tabern? <|assistant|> SELECT MAX("legs_won") FROM "statistics" WHERE "player"='Alan Tabern';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "statistics" ( "player" text, "played" real, "legs_won" real, "legs_lost" real, "100" real, "140" real, "180s" real, "high_checkout" real, "3_dart_average" text ); Question: What is the 3-dart average where the 140+ is 75? <|assistant|> SELECT "3_dart_average" FROM "statistics" WHERE "140"=75;<|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: name the team for 36-29 record <|assistant|> SELECT "team" FROM "game_log" WHERE "record"='36-29';<|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: Name the total number of high asists for 34-27 <|assistant|> SELECT COUNT("high_assists") FROM "game_log" WHERE "record"='34-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: Name the date for score of w 112-91 <|assistant|> SELECT "date" FROM "game_log" WHERE "score"='W 112-91';<|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: Name the number of location attendance for 36-29 record <|assistant|> SELECT COUNT("location_attendance") FROM "game_log" WHERE "record"='36-29';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27910411_1" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: What date did the episode with 8.28 million u.s. viewers originally air? <|assistant|> SELECT "original_air_date" FROM "table1_27910411_1" WHERE "u_s_viewers_millions"='8.28';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27910411_1" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: What episode number of the series is "open water"? <|assistant|> SELECT "no_in_series" FROM "table1_27910411_1" WHERE "title"='\"Open Water\"';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27910411_1" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: How many items are listed for U.S. viewers for episode number 5 in the series? <|assistant|> SELECT COUNT("u_s_viewers_millions") FROM "table1_27910411_1" WHERE "no_in_series"=5;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27910411_1" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: What date did episode 10 in the series originally air? <|assistant|> SELECT "original_air_date" FROM "table1_27910411_1" WHERE "no_in_series"=10;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27911342_1" ( "series_num" real, "season_num" real, "title" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: What is the date the episode entitled "House" aired? <|assistant|> SELECT "original_air_date" FROM "table1_27911342_1" WHERE "title"='\"House\"';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27911342_1" ( "series_num" real, "season_num" real, "title" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: What is the season number of the show written by both Kari Lizer and Jeff Astrof? <|assistant|> SELECT COUNT("season_num") FROM "table1_27911342_1" WHERE "written_by"='Kari Lizer';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27911342_1" ( "series_num" real, "season_num" real, "title" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: What is the title of the Series 40 Season 5 show? <|assistant|> SELECT "title" FROM "table1_27911342_1" WHERE "season_num"=5;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27913766_1" ( "series_num" real, "season_num" real, "title" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: who wrote the episode "he ain't heavy"? <|assistant|> SELECT "written_by" FROM "table1_27913766_1" WHERE "title"='\"He Ain''t Heavy\"';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27913766_1" ( "series_num" real, "season_num" real, "title" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: how many times was the episode "the old maid of honor" originally aired? <|assistant|> SELECT COUNT("original_air_date") FROM "table1_27913766_1" WHERE "title"='\"The Old Maid of Honor\"';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27913766_1" ( "series_num" real, "season_num" real, "title" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: the episode "a change in heart/pants" had a maximum of what number in the series? <|assistant|> SELECT MAX("series_num") FROM "table1_27913766_1" WHERE "title"='\"A Change in Heart/Pants\"';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27914076_1" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "coverage" text ); Question: Name the callsign for davao mindanao region <|assistant|> SELECT "callsign" FROM "table1_27914076_1" WHERE "coverage"='Davao Mindanao Region';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27914076_1" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "coverage" text ); Question: Name the power for dymd-fm <|assistant|> SELECT "power_k_w" FROM "table1_27914076_1" WHERE "callsign"='DYMD-FM';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27914076_1" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "coverage" text ); Question: Name the frequency for 103.7 energy fm dipolog* <|assistant|> SELECT "frequency" FROM "table1_27914076_1" WHERE "branding"='103.7 Energy FM Dipolog*';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27914076_1" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "coverage" text ); Question: Name the number of coverage for 106.7 energy fm <|assistant|> SELECT COUNT("coverage") FROM "table1_27914076_1" WHERE "branding"='106.7 Energy FM';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27914606_1" ( "series_num" real, "season_num" real, "title" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: what is the number of the episode in the season that had 7.19 millions of north american viewers? <|assistant|> SELECT "season_num" FROM "table1_27914606_1" WHERE "u_s_viewers_millions"='7.19';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27914606_1" ( "series_num" real, "season_num" real, "title" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: what is the name of the episode whose writers were jeff astrof & matt goldman? <|assistant|> SELECT "title" FROM "table1_27914606_1" WHERE "written_by"='Jeff Astrof & Matt Goldman';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27914606_1" ( "series_num" real, "season_num" real, "title" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: who were the writers of the episode that had 5.56 millions of north american viewers? <|assistant|> SELECT "written_by" FROM "table1_27914606_1" WHERE "u_s_viewers_millions"='5.56';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27914606_1" ( "series_num" real, "season_num" real, "title" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: what is the name of the episode whose writers were jeff astrof & matt goldman? <|assistant|> SELECT "title" FROM "table1_27914606_1" WHERE "written_by"='Jeff Astrof & Matt Goldman';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "batting_averages" ( "player" text, "matches" real, "innings" real, "runs" real, "average" text, "highest_score" text, "100s" real, "50s" real ); Question: What is the average for the player with 313 runs? <|assistant|> SELECT "average" FROM "batting_averages" WHERE "runs"=313;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "batting_averages" ( "player" text, "matches" real, "innings" real, "runs" real, "average" text, "highest_score" text, "100s" real, "50s" real ); Question: How few runs does the 97.00 average have? <|assistant|> SELECT MIN("runs") FROM "batting_averages" WHERE "average"='97.00';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "batting_averages" ( "player" text, "matches" real, "innings" real, "runs" real, "average" text, "strike_rate" text, "highest_score" text, "50s" real ); Question: What is the minimum number of 50s scored? <|assistant|> SELECT MIN("50s") FROM "batting_averages";<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bowling_averages" ( "player" text, "matches" real, "overs" text, "wickets" real, "average" text, "economy" text, "bbi" text, "4wi" real ); Question: How many 4wi were recorded by the player with an economy of 4.17? <|assistant|> SELECT "4wi" FROM "bowling_averages" WHERE "economy"='4.17';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bowling_averages" ( "player" text, "matches" real, "overs" text, "wickets" real, "average" text, "economy" text, "bbi" text, "4wi" real ); Question: What is the fewest number of wickets recorded? <|assistant|> SELECT MIN("wickets") FROM "bowling_averages";<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bowling_averages" ( "player" text, "matches" real, "overs" text, "wickets" real, "average" text, "economy" text, "bbi" text, "4wi" real ); Question: What was the BBI for the bowler whose average is 24.50? <|assistant|> SELECT "bbi" FROM "bowling_averages" WHERE "average"='24.50';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bowling_averages" ( "player" text, "matches" real, "innings" real, "wickets" real, "average" text, "bbi" text, "bbm" text, "5wi" real ); Question: What is the least amount of wickets? <|assistant|> SELECT MIN("wickets") FROM "bowling_averages";<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bowling_averages" ( "player" text, "matches" real, "innings" real, "wickets" real, "average" text, "bbi" text, "bbm" text, "5wi" real ); Question: What is the least amount of matches? <|assistant|> SELECT MIN("matches") FROM "bowling_averages";<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bowling_averages" ( "player" text, "matches" real, "innings" real, "wickets" real, "average" text, "bbi" text, "bbm" text, "5wi" real ); Question: How many players had 12 wickets? <|assistant|> SELECT COUNT("player") FROM "bowling_averages" WHERE "wickets"=12;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bowling_averages" ( "player" text, "matches" real, "innings" real, "wickets" real, "average" text, "bbi" text, "bbm" text, "5wi" real ); Question: How many innings for the player with an average of 30.03? <|assistant|> SELECT MIN("innings") FROM "bowling_averages" WHERE "average"='30.03';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bowling_averages" ( "player" text, "matches" real, "innings" real, "wickets" real, "average" text, "bbi" text, "bbm" text, "5wi" real ); Question: What is the average for the player with BBM 5/85? <|assistant|> SELECT "average" FROM "bowling_averages" WHERE "bbm"='5/85';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27927185_1" ( "episode_num" real, "title" text, "directed_by" text, "written_by" text, "originalairdate" text, "viewers_millions" text ); Question: What is the lowest episode number that had 4.03 million viewers? <|assistant|> SELECT MIN("episode_num") FROM "table1_27927185_1" WHERE "viewers_millions"='4.03';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27927185_1" ( "episode_num" real, "title" text, "directed_by" text, "written_by" text, "originalairdate" text, "viewers_millions" text ); Question: How many million viewers watched episodes prior to episode 2.0? <|assistant|> SELECT "viewers_millions" FROM "table1_27927185_1" WHERE "episode_num"<2.0;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27927185_1" ( "episode_num" real, "title" text, "directed_by" text, "written_by" text, "originalairdate" text, "viewers_millions" text ); Question: What was the original air-date that had 4.77 million viewers? <|assistant|> SELECT "originalairdate" FROM "table1_27927185_1" WHERE "viewers_millions"='4.77';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27927185_1" ( "episode_num" real, "title" text, "directed_by" text, "written_by" text, "originalairdate" text, "viewers_millions" text ); Question: Who directed the episode with 6.37 million viewers? <|assistant|> SELECT "directed_by" FROM "table1_27927185_1" WHERE "viewers_millions"='6.37';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27932399_1" ( "catalogue_number" text, "artist" text, "release_title" text, "format" text, "release_date" real ); Question: What is the release date of catalogue number DW023? <|assistant|> SELECT MAX("release_date") FROM "table1_27932399_1" WHERE "catalogue_number"='DW023';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27932399_1" ( "catalogue_number" text, "artist" text, "release_title" text, "format" text, "release_date" real ); Question: What is the release date of "New Worlds for Old"? <|assistant|> SELECT "release_date" FROM "table1_27932399_1" WHERE "release_title"='New Worlds For Old';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27932399_1" ( "catalogue_number" text, "artist" text, "release_title" text, "format" text, "release_date" real ); Question: What is the catalogue number for "Waves in the Air"? <|assistant|> SELECT "catalogue_number" FROM "table1_27932399_1" WHERE "release_title"='Waves In The Air';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27932399_1" ( "catalogue_number" text, "artist" text, "release_title" text, "format" text, "release_date" real ); Question: What is the catalogue number for release dates of exactly 2005 and released by The Clear Spots? <|assistant|> SELECT "catalogue_number" FROM "table1_27932399_1" WHERE "release_date"=2005 AND "artist"='The Clear Spots';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27932399_1" ( "catalogue_number" text, "artist" text, "release_title" text, "format" text, "release_date" real ); Question: Which artist had a release title of HH? <|assistant|> SELECT "artist" FROM "table1_27932399_1" WHERE "release_title"='HH';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27932399_1" ( "catalogue_number" text, "artist" text, "release_title" text, "format" text, "release_date" real ); Question: What was the name of the album released by Heavy Winged? <|assistant|> SELECT "release_title" FROM "table1_27932399_1" WHERE "artist"='Heavy Winged';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "commentators_and_spokespersons" ( "year_s" real, "television_commentator" text, "dual_television_commentator" text, "radio_commentator" text, "spokesperson" text ); Question: Who was the dual television commentator in 1990? <|assistant|> SELECT "dual_television_commentator" FROM "commentators_and_spokespersons" WHERE "year_s"=1990;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "commentators_and_spokespersons" ( "year_s" real, "television_commentator" text, "dual_television_commentator" text, "radio_commentator" text, "spokesperson" text ); Question: Who made the comments for radio broadcast when Jan Gabrielsson made them for television broadcast? <|assistant|> SELECT "radio_commentator" FROM "commentators_and_spokespersons" WHERE "television_commentator"='Jan Gabrielsson';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grands_prix" ( "round" real, "date" text, "grand_prix" text, "circuit" text, "moto_gp_winner" text, "moto2_winner" text, "moto3_winner" text, "report" text ); Question: Name the total number of moto2 winners for laguna seca <|assistant|> SELECT COUNT("moto2_winner") FROM "grands_prix" WHERE "circuit"='Laguna Seca';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grands_prix" ( "round" real, "date" text, "grand_prix" text, "circuit" text, "moto_gp_winner" text, "moto2_winner" text, "moto3_winner" text, "report" text ); Question: Name the circuit for hertz british grand prix <|assistant|> SELECT "circuit" FROM "grands_prix" WHERE "grand_prix"='Hertz British Grand Prix';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grands_prix" ( "round" real, "date" text, "grand_prix" text, "circuit" text, "moto_gp_winner" text, "moto2_winner" text, "moto3_winner" text, "report" text ); Question: Name the number of rounds for brno <|assistant|> SELECT COUNT("round") FROM "grands_prix" WHERE "circuit"='Brno';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grands_prix" ( "round" real, "date" text, "grand_prix" text, "circuit" text, "moto_gp_winner" text, "moto2_winner" text, "moto3_winner" text, "report" text ); Question: Name the motogp winner for 6 may <|assistant|> SELECT "moto_gp_winner" FROM "grands_prix" WHERE "date"='6 May';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27936859_2" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: when was the episode titled "cracked" originally aired? <|assistant|> SELECT "original_air_date" FROM "table1_27936859_2" WHERE "title"='\"Cracked\"';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27965906_2" ( "rnd" real, "circuit" text, "gt_winning_car" text, "ss_winning_car" text, "a_winning_car" text, "b_winning_car" text, "report" text ); Question: Name the b winning car for #88 team mitsubishi 88 mitsubishi starion <|assistant|> SELECT "b_winning_car" FROM "table1_27965906_2" WHERE "a_winning_car"='#88 Team Mitsubishi 88 Mitsubishi Starion';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27965906_2" ( "rnd" real, "circuit" text, "gt_winning_car" text, "ss_winning_car" text, "a_winning_car" text, "b_winning_car" text, "report" text ); Question: Name the gt winning car for #88 team mitsubishi 88 mitsubishi starion <|assistant|> SELECT "gt_winning_car" FROM "table1_27965906_2" WHERE "a_winning_car"='#88 Team Mitsubishi 88 Mitsubishi Starion';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27965906_2" ( "rnd" real, "circuit" text, "gt_winning_car" text, "ss_winning_car" text, "a_winning_car" text, "b_winning_car" text, "report" text ); Question: Name the ss winning car for road atlanta and #35 quantum engineering #35 honda crx-si <|assistant|> SELECT "ss_winning_car" FROM "table1_27965906_2" WHERE "circuit"='Road Atlanta' AND "b_winning_car"='#35 Quantum Engineering #35 Honda CRX-Si';<|endoftext|>