text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_10" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Who was the away team at the game at Pun...
<|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, "stadium" text, "record" text, "attendance" text ); Question: Which stadium held the game that 65,677 people attended? ...
<|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, "stadium" text, "record" text, "attendance" text ); Question: What was the attendance of the game on October 17, 2004? ...
<|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, "stadium" text, "record" text, "attendance" text ); Question: Which week was the October 17, 2004 game played? <|assist...
<|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, "stadium" text, "record" text, "attendance" text ); Question: What was the Browns record after they played the game at ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "s" ( "player" text, "nationality" text, "position" text, "from" text, "school_country" text ); Question: Which player went to Gonzaga? <|assistant|> SELECT "player" FROM "s" WHERE "school_count...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "s" ( "player" text, "nationality" text, "position" text, "from" text, "school_country" text ); Question: What is the nationality of the forward/center who started playing in 1951? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "s" ( "player" text, "nationality" text, "position" text, "from" text, "school_country" text ); Question: What school did the guard who began playing in 1991 come from? <|assistant|> SELECT "sch...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "s" ( "player" text, "nationality" text, "position" text, "from" text, "school_country" text ); Question: What is the nationality of the guard/forward who began playing in 1977? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "opponent" text, "result" text, "record" text, "attendance" text ); Question: Which Rams opponent had a record of 2-3? <|assistant|> SELECT "opponent" FROM "schedule" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "champions" ( "season" real, "series_name" text, "champion" text, "races" text, "pole_positions" text, "wins" text, "podiums" text, "fastest_laps" text, "points" text, "margin_pts" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "champions" ( "season" real, "series_name" text, "champion" text, "races" text, "pole_positions" text, "wins" text, "podiums" text, "fastest_laps" text, "points" text, "margin_pts" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "champions" ( "season" real, "series_name" text, "champion" text, "races" text, "pole_positions" text, "wins" text, "podiums" text, "fastest_laps" text, "points" text, "margin_pts" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "champions" ( "season" real, "series_name" text, "champion" text, "races" text, "pole_positions" text, "wins" text, "podiums" text, "fastest_laps" text, "points" text, "margin_pts" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_10" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What is the name of the home team that p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_10" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the largest crowd where Carlton...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_10" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Which team's home is the Western Oval? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_10" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Which team's home is the Arden Street Ov...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_8" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the lowest attendance at a Fitzr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "appearances" ( "rank" real, "all_time_rank" text, "name" text, "debut_year" real, "current_club" text, "apps" real ); Question: What is the highest rank that corresponds to an all-time rank o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "appearances" ( "rank" real, "all_time_rank" text, "name" text, "debut_year" real, "current_club" text, "apps" real ); Question: What is the current club with more than 368 apps and a debut ye...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "appearances" ( "rank" real, "all_time_rank" text, "name" text, "debut_year" real, "current_club" text, "apps" real ); Question: What is the highest rank with more than 498 apps, an all time r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "appearances" ( "rank" real, "all_time_rank" text, "name" text, "debut_year" real, "current_club" text, "apps" real ); Question: What is the all-time rank associated with a rank less than 9 an...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_5" ( "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score" text ); Question: Which tournament was played on clay and there was a score...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_5" ( "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score" text ); Question: What is the score for the match where albert montañés was...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_5" ( "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score" text ); Question: What is the score for the match where the opponent in the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_5" ( "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score" text ); Question: What is the date when the opponent in the final is gastón...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_5" ( "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score" text ); Question: What was the score for the match were the opponent in the...
<|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 "round_4" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the date of the match played at ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_4" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was Carlton's score as the home team...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_4" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What home team plays at Princes Park? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_4" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was Geelong's score as the home team...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_4" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the away team that scored 12.8 (...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_4" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the home teams score when the aw...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: ON WHAT DATE DID THE HOME TEAM SCORE 12.1...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: WHAT WAS COLLINGWOOD'S LOWEST CROWD NUMBE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: WHAT WAS ESSENDON'S HIGHEST CROWD NUMBER ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: WHAT VENUE HAD AN AWAY TEAM SCORE OF 12.1...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: WHAT DID HAWTHORN SCORE AT ITS AWAY GAME?...
<|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, "record" text, "attendance" real ); Question: Who was the opponent on November 26, 1989? <|assistant|> SELECT "opponent" ...
<|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, "record" text, "attendance" real ); Question: What was the result on October 29, 1989? <|assistant|> SELECT "result" FROM...
<|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, "record" text, "attendance" real ); Question: What was the result on October 1, 1989? <|assistant|> SELECT "result" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "standings" ( "team" text, "wins" real, "losses" real, "percentage" real, "home" text, "away" text, "streak" text ); Question: What is the highest number of losses that a team who had an awa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What is the home team's score at corio ov...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "middle_east" ( "network" text, "origin_of_programming" text, "language" text, "genre" text, "service" text ); Question: What network is in the language of Bengali? <|assistant|> SELECT "service...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "middle_east" ( "network" text, "origin_of_programming" text, "language" text, "genre" text, "service" text ); Question: What network has an origin in India, a genre of general, and broadcasts i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "middle_east" ( "network" text, "origin_of_programming" text, "language" text, "genre" text, "service" text ); Question: What language does the Ary Digital network broadcast in? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_7" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What is the average crowd for Carlton? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_7" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: How many points did Carlton score? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_7" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the largest crowd for North Melb...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_7" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What is the score for Footscray? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "exhibition_schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: What is the result of week 5? <|assistant|> SELECT "result" FROM "exhibition_sche...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "264in_6_6mm_and_up" ( "name" text, "bullet" text, "length" text, "base" text, "shoulder" text, "neck" text ); Question: What is the name of the gun with a shoulder that measures 10.688 (.420)...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "264in_6_6mm_and_up" ( "name" text, "bullet" text, "length" text, "base" text, "shoulder" text, "neck" text ); Question: What is the shoulder measurement of the gun with a length of 57.85 (2.2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "264in_6_6mm_and_up" ( "name" text, "bullet" text, "length" text, "base" text, "shoulder" text, "neck" text ); Question: What is the neck measurement of the gun with a shoulder measurement of ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "264in_6_6mm_and_up" ( "name" text, "bullet" text, "length" text, "base" text, "shoulder" text, "neck" text ); Question: What is the length of the gun that has a shoulder measurement of 12.18 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "264in_6_6mm_and_up" ( "name" text, "bullet" text, "length" text, "base" text, "shoulder" text, "neck" text ); Question: What bullet does the gun with a shoulder measurement of 12.5 (.491)? <|...
<|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, "tv_time" text, "attendance" real ); Question: What was the attendance for the game held on September 18, 1994, with a we...
<|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, "tv_time" text, "attendance" real ); Question: What was the average attendance when the opponent was at Philadelphia Eagl...
<|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, "tv_time" text, "attendance" real ); Question: What was the attendance for the game on October 30, 1994 for a week after ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_3" ( "episode_number" real, "title" text, "podcast_date" text, "run_time" text, "historical_references" text ); Question: What is the title of the episode that aired on September 25, 200...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_3" ( "episode_number" real, "title" text, "podcast_date" text, "run_time" text, "historical_references" text ); Question: What is the run time of the episode that aired on September 4, 2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_3" ( "episode_number" real, "title" text, "podcast_date" text, "run_time" text, "historical_references" text ); Question: What is the historical reference of the episode that aired on Oc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_3" ( "episode_number" real, "title" text, "podcast_date" text, "run_time" text, "historical_references" text ); Question: What is the date of the episode that is before 307, run time equ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_3" ( "episode_number" real, "title" text, "podcast_date" text, "run_time" text, "historical_references" text ); Question: What is the topic of the episode that runs 6:07? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_3" ( "episode_number" real, "title" text, "podcast_date" text, "run_time" text, "historical_references" text ); Question: What is the episode number of the episode that aired on August 8...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What is the biggest crowd when the home ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What day is south melbourne the away sid...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Whom is the away team when the home team...
<|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: Did the fighter beat Ryo Taki...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2005" ( "incident_no" text, "date" text, "place" text, "killed" real, "injured" real ); Question: What is the incident number of the incident that occurred in Dantewada, Chattisgarh? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "city" text, "province" text, "country" text, "iata" text, "icao" text, "airport" text ); Question: WHich province has an IATA of UYN? <|assistant|> SELECT "province" FROM "refe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "city" text, "province" text, "country" text, "iata" text, "icao" text, "airport" text ); Question: Which city has an ICAO of ZSXZ? <|assistant|> SELECT "city" FROM "references"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "city" text, "province" text, "country" text, "iata" text, "icao" text, "airport" text ); Question: Which province is Luogang International Airport located in? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "city" text, "province" text, "country" text, "iata" text, "icao" text, "airport" text ); Question: WHich province has an IATA of WNZ? <|assistant|> SELECT "province" FROM "refe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "city" text, "province" text, "country" text, "iata" text, "icao" text, "airport" text ); Question: What is the IATA for Korla Airport. <|assistant|> SELECT "iata" FROM "referen...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1890s" ( "season" text, "tier" text, "division" text, "position" text, "top_scorer" text ); Question: In what division did they place 4th? <|assistant|> SELECT "division" FROM "1890s" WHERE "po...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1890s" ( "season" text, "tier" text, "division" text, "position" text, "top_scorer" text ); Question: What was the top scorer in the 1890-91 season? <|assistant|> SELECT "top_scorer" FROM "1890...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school_club_team" text ); Question: Which position has a player at Arizona state? <|assistant|> SELECT "position" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school_club_team" text ); Question: Which school/club has a pick smaller than 196, a round higher than 5 and has Blake M...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school_club_team" text ); Question: What is the average round at which is the position of Tight End and Randy Bethel? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: What day did they play the New Orleans Saints? <|assistant|> SELECT "date" FROM "schedule" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "coaching_history" ( "coach" text, "years" text, "record" text, "conference_record" text, "overall_win_percentage" text ); Question: Which coach has a conference record of 42-78? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "coaching_history" ( "coach" text, "years" text, "record" text, "conference_record" text, "overall_win_percentage" text ); Question: In what years was the conference record 18-15? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "coaching_history" ( "coach" text, "years" text, "record" text, "conference_record" text, "overall_win_percentage" text ); Question: In what years, when the conference record was 63-9, was the c...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "coaching_history" ( "coach" text, "years" text, "record" text, "conference_record" text, "overall_win_percentage" text ); Question: What was coach Dick Bennett's overall win percentage? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "shirt_sponsors_and_manufacturers" ( "year" real, "kit_supplier" text, "sponsor" text, "shirt_printing" text, "notes" text ); Question: What are the notes for the shirt that said Pavv before 200...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "shirt_sponsors_and_manufacturers" ( "year" real, "kit_supplier" text, "sponsor" text, "shirt_printing" text, "notes" text ); Question: What are the notes for the shirt that said Pavv after 2007...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "shirt_sponsors_and_manufacturers" ( "year" real, "kit_supplier" text, "sponsor" text, "shirt_printing" text, "notes" text ); Question: What is the average of all the years when the notes are “e...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "shirt_sponsors_and_manufacturers" ( "year" real, "kit_supplier" text, "sponsor" text, "shirt_printing" text, "notes" text ); Question: What are the notes for the shirt that says 名品+1 in the kit...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What is the largest crowd at Lake Oval? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the home team for the game with ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the score for Footscray when the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "under_23_international_career" ( "date" text, "venue" text, "result" text, "goals" real, "competition" text ); Question: What is the result from March 14, 2007? <|assistant|> SELECT "result" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "under_23_international_career" ( "date" text, "venue" text, "result" text, "goals" real, "competition" text ); Question: How many goals have a result of 0-1 on march 28, 2007? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "under_23_international_career" ( "date" text, "venue" text, "result" text, "goals" real, "competition" text ); Question: What venue has a Result of 3-0? <|assistant|> SELECT "venue" FROM "under...