text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "changes_in_poverty_rates_on_largest_rese" ( "reservation" text, "location" text, "1969" real, "1979" real, "1989" real, "2000" real ); Question: What shows for 2000 at the Fort Peck Indian Re...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "changes_in_poverty_rates_on_largest_rese" ( "reservation" text, "location" text, "1969" real, "1979" real, "1989" real, "2000" real ); Question: What is the 2000 number when the 1969 is 54.3,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "changes_in_poverty_rates_on_largest_rese" ( "reservation" text, "location" text, "1969" real, "1979" real, "1989" real, "2000" real ); Question: What is the 2000 number when the 1989 is less ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "changes_in_poverty_rates_on_largest_rese" ( "reservation" text, "location" text, "1969" real, "1979" real, "1989" real, "2000" real ); Question: What is the 1979 number for Standing Rock Indi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_county" ( "county" text, "kerrypct" text, "kerrynum" real, "bushpct" text, "bushnum" real, "otherspct" text, "othersnum" real ); Question: What Kerry's percentage where 66 people voted f...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "125cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time" text, "grid" real ); Question: Can you tell me the average Laps that has the Time of +17.485, and the Grid smaller...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "125cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time" text, "grid" real ); Question: Can you tell me the sum of Grid that has the Manufacturer of aprilia, and the sandr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score_time" text, "high_points" text, "high_rebounds" text, "high_assists" text, "arena_attendance" text, "record" text ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score_time" text, "high_points" text, "high_rebounds" text, "high_assists" text, "arena_attendance" text, "record" text ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "nationality" text, "college_junior_club_team" text ); Question: What is Sum of Round, when College/Junior/Club Team is Brandon Wheat Ki...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "nationality" text, "college_junior_club_team" text ); Question: What is the sum of Round, when Player is Tim Hunter (RW), and when Pick...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "external_links" ( "title" text, "series" text, "release" real, "featuring" text, "writer" text, "director" text, "length" text, "release_date" text ); Question: What was the length when J...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "external_links" ( "title" text, "series" text, "release" real, "featuring" text, "writer" text, "director" text, "length" text, "release_date" text ); Question: Who wrote Infiltration? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "external_links" ( "title" text, "series" text, "release" real, "featuring" text, "writer" text, "director" text, "length" text, "release_date" text ); Question: What was the earliest rele...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "external_links" ( "title" text, "series" text, "release" real, "featuring" text, "writer" text, "director" text, "length" text, "release_date" text ); Question: What was the length of rel...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_12" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text ); Question: What day was the score for tournament of alcobaça 6–3, 2–6, 7–5? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_12" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text ); Question: What was the score for alcobaça when the opponent was in the final of xinyu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_12" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text ); Question: What was the score when the opponent was irena pavlovic and the surface was...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_12" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text ); Question: What was the opponent in the final when the score was 6–3, 2–6, 7–5? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_12" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text ); Question: What day was the surface clay and the score 6–1, 6–4? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cognates_of_core_hangul_letters" ( "hangul" text, "phagspa" text, "tibetan" text, "phoenician" text, "greek" text, "latin" text ); Question: What is the Phoenician letter for the Hangul of ㄹ?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cognates_of_core_hangul_letters" ( "hangul" text, "phagspa" text, "tibetan" text, "phoenician" text, "greek" text, "latin" text ); Question: What is the Latin letter for the Tibetan of ས? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cognates_of_core_hangul_letters" ( "hangul" text, "phagspa" text, "tibetan" text, "phoenician" text, "greek" text, "latin" text ); Question: to the Latin of f, y, u/v/w? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cognates_of_core_hangul_letters" ( "hangul" text, "phagspa" text, "tibetan" text, "phoenician" text, "greek" text, "latin" text ); Question: What is the Hangul equivalent of the Greek ϝ, υ? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cognates_of_core_hangul_letters" ( "hangul" text, "phagspa" text, "tibetan" text, "phoenician" text, "greek" text, "latin" text ); Question: What is the Latin equivalent for the Phagspa of ꡙ?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournaments" ( "tournament" text, "country" text, "location" text, "current_venue" text, "began" real, "court_surface" text ); Question: What was the surface played on for the match than bega...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournaments" ( "tournament" text, "country" text, "location" text, "current_venue" text, "began" real, "court_surface" text ); Question: For the Indian Wells Masters tournament, what was the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournaments" ( "tournament" text, "country" text, "location" text, "current_venue" text, "began" real, "court_surface" text ); Question: Which location was in China, and played on a hard cour...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournaments" ( "tournament" text, "country" text, "location" text, "current_venue" text, "began" real, "court_surface" text ); Question: What country was the Paris Masters tournament played i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pre_season_and_friendlies" ( "date" text, "opponents" text, "h_a" text, "result_f_a" text, "scorers" text ); Question: Who was the opponent when the H/A was H and the scorer was Ferguson? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pre_season_and_friendlies" ( "date" text, "opponents" text, "h_a" text, "result_f_a" text, "scorers" text ); Question: Who was the opponent on 11 August 1991 when the H/A was H? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pre_season_and_friendlies" ( "date" text, "opponents" text, "h_a" text, "result_f_a" text, "scorers" text ); Question: What was the H/A when the scorer was Hughes? <|assistant|> SELECT "h_a" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_grossing_films_u_s" ( "rank" real, "title" text, "studio" text, "director_s" text, "gross" text ); Question: What was the film that grossed $26,010,864 ranked? <|assistant|> SELECT MIN("ran...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_grossing_films_u_s" ( "rank" real, "title" text, "studio" text, "director_s" text, "gross" text ); Question: How much did Universal Studio's film Xanadu gross? <|assistant|> SELECT "gross" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_grossing_films_u_s" ( "rank" real, "title" text, "studio" text, "director_s" text, "gross" text ); Question: What is the rank of Bronco Billy? <|assistant|> SELECT AVG("rank") FROM "top_gro...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "central_conference" ( "institution" text, "location" text, "founded" real, "affiliation" text, "nickname" text ); Question: Name the lowest Founded with the Name cougars? <|assistant|> SELECT M...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "central_conference" ( "institution" text, "location" text, "founded" real, "affiliation" text, "nickname" text ); Question: Which Affiliation has a Nickname of cougars? <|assistant|> SELECT "af...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "central_conference" ( "institution" text, "location" text, "founded" real, "affiliation" text, "nickname" text ); Question: Name the Founded which has a Affiliation of private/methodist? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history_and_variations" ( "date" text, "region" text, "label" text, "catalogue" text, "format" text ); Question: What is Label, when Date is 1987? <|assistant|> SELECT "label" FROM "rel...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history_and_variations" ( "date" text, "region" text, "label" text, "catalogue" text, "format" text ); Question: What is Date, when Format is Vinyl, and when Label is Mercury? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history_and_variations" ( "date" text, "region" text, "label" text, "catalogue" text, "format" text ); Question: What is Date, when Region is Yugoslavia? <|assistant|> SELECT "date" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history_and_variations" ( "date" text, "region" text, "label" text, "catalogue" text, "format" text ); Question: What is Format, when Label is Bronze, when Date is 1982, and when Catalo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history_and_variations" ( "date" text, "region" text, "label" text, "catalogue" text, "format" text ); Question: What is Date, when Label is Jugoton? <|assistant|> SELECT "date" FROM "r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cycles" ( "cycle" real, "premiere_date" text, "winner" text, "runner_up" text, "number_of_contestants" text, "international_destinations" text ); Question: What is Premier Date, when Cycle is...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cycles" ( "cycle" real, "premiere_date" text, "winner" text, "runner_up" text, "number_of_contestants" text, "international_destinations" text ); Question: What is the lowest Cycle, when Numb...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cycles" ( "cycle" real, "premiere_date" text, "winner" text, "runner_up" text, "number_of_contestants" text, "international_destinations" text ); Question: What is the highest Cycle, when the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cycles" ( "cycle" real, "premiere_date" text, "winner" text, "runner_up" text, "number_of_contestants" text, "international_destinations" text ); Question: What is Number of Contestants, when...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cycles" ( "cycle" real, "premiere_date" text, "winner" text, "runner_up" text, "number_of_contestants" text, "international_destinations" text ); Question: What is Number of Contestants, when...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text ); Question: What is the lowest pick with fewer than 3 rounds and ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text ); Question: Which round has more than 79 overall and a position o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text ); Question: Which Notre Dame position has a pick lower than 5 and...
<|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" text ); Question: What was week 17's date? <|assistant|> SELECT "date" FROM "schedule" WHERE "week"=17;<|endof...
<|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" text ); Question: Which Opponent has a Result of l 24–3? <|assistant|> SELECT "opponent" FROM "schedule" WHERE...
<|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" text ); Question: What was week 5's result? <|assistant|> SELECT "result" FROM "schedule" WHERE "week"=5;<|end...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_season_schedule" ( "date" text, "opponent" text, "home_away" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_season_schedule" ( "date" text, "opponent" text, "home_away" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_season_schedule" ( "date" text, "opponent" text, "home_away" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_season_schedule" ( "date" text, "opponent" text, "home_away" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_season_schedule" ( "date" text, "opponent" text, "home_away" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "club_honour_board" ( "year" real, "president" text, "m_finishing_position" text, "m_coach" text, "m_best_fairest" text, "m_leading_goalkicker" text ); Question: Who was the (M) Best & Fairest...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "club_honour_board" ( "year" real, "president" text, "m_finishing_position" text, "m_coach" text, "m_best_fairest" text, "m_leading_goalkicker" text ); Question: What was the (M) Finishe posit...
<|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: Which Game has a Score of...
<|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: Which Record has a Date o...
<|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: Which Record has a Game l...
<|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: Which Location Attendance...
<|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 record for the w 100-99 score? <|assistant|> SELECT "record" 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 is the location for the 23-17 record? <|assistant|> SELECT "location" FRO...
<|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 location before game 44, and a 20-16 record? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "matches_and_goals_scored_at_world_cup_an" ( "match" text, "date" text, "location" text, "lineup" text, "result" text, "competition" text ); Question: What was the result for the match with en...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "matches_and_goals_scored_at_world_cup_an" ( "match" text, "date" text, "location" text, "lineup" text, "result" text, "competition" text ); Question: What was the location of the match that h...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "matches_and_goals_scored_at_world_cup_an" ( "match" text, "date" text, "location" text, "lineup" text, "result" text, "competition" text ); Question: What was the lineup for match 12 that had...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "matches_and_goals_scored_at_world_cup_an" ( "match" text, "date" text, "location" text, "lineup" text, "result" text, "competition" text ); Question: What was the result for the match held in...
<|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_attendance" text, "record" text ); Question: How many total games were played against @ St. Louis Hawks this sea...
<|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_attendance" text, "record" text ); Question: On what day was Game 48 played? <|assistant|> SELECT "date" FROM "g...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team_players_drafted_into_the_nba" ( "year" real, "round" real, "pick" real, "player" text, "nba_club" text ); Question: What is the pick number later than round 1, for Reyshawn Terry? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team_players_drafted_into_the_nba" ( "year" real, "round" real, "pick" real, "player" text, "nba_club" text ); Question: What round was the player Ty Lawson with a pick earlier than 18? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team_players_drafted_into_the_nba" ( "year" real, "round" real, "pick" real, "player" text, "nba_club" text ); Question: What is the pick number for Danny Green in a round less than 2? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team_players_drafted_into_the_nba" ( "year" real, "round" real, "pick" real, "player" text, "nba_club" text ); Question: What is the pick number in a year earlier than 2009, with a round higher...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "variety" ( "year" real, "network" text, "title" text, "notes" text, "language" text ); Question: What are the notes for the Mandarin Chinese program on CTV earlier than 2013? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "variety" ( "year" real, "network" text, "title" text, "notes" text, "language" text ); Question: What is the language for Strong Heart? <|assistant|> SELECT "language" FROM "variety" WHERE "tit...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "variety" ( "year" real, "network" text, "title" text, "notes" text, "language" text ); Question: What is the title for the Korean progran on KBS2? <|assistant|> SELECT "title" FROM "variety" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "variety" ( "year" real, "network" text, "title" text, "notes" text, "language" text ); Question: What is the network that aired Star King prior to 2011? <|assistant|> SELECT "network" FROM "var...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "variety" ( "year" real, "network" text, "title" text, "notes" text, "language" text ); Question: What are the notes for Happy Camp? <|assistant|> SELECT "notes" FROM "variety" WHERE "title"='ha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text ); Question: Which Pick has a College of ohio state? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text ); Question: Which Round has a Position of lb, and a Pick smaller ...
<|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" text ); Question: Which week has a result L 56-3? <|assistant|> SELECT AVG("week") FROM "schedule" WHERE "resu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: Where is the player Raymond Floyd? <|assistant|> SELECT "place" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: Which country has a score of 71-72-73-69=285? <|assistant|> SELECT "co...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: What is the highest Money ( $ ), when Score is "69-71-70-74=284"? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: What is Place, when Score is "71-71-69-71=282"? <|assistant|> SELECT "place"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: What is Score, when Player is "Dow Finsterwald"? <|assistant|> SELECT "score...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "achievements" ( "year" real, "competition" text, "venue" text, "position" text, "event" text, "notes" text ); Question: Which venue did the runner have a note of 1:23:07? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "achievements" ( "year" real, "competition" text, "venue" text, "position" text, "event" text, "notes" text ); Question: What is the note result when the runner finished 19th in 2008? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "division_one_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text ); Qu...