output
stringlengths
18
557
instruction
stringlengths
22
540
SELECT date FROM table_name_99 WHERE winner = "universitario" AND season > 1943
CREATE TABLE table_name_99 (date VARCHAR, winner VARCHAR, season VARCHAR), What is the date for the winner Universitario after the 1943 season?
SELECT competition_round_[d_] FROM table_name_75 WHERE season < 1930 AND winner = "draw"
CREATE TABLE table_name_75 (competition_round_ VARCHAR, d_ VARCHAR, season VARCHAR, winner VARCHAR), What is the competition before the 1930 season, and a winning draw?
SELECT co_driver FROM table_name_36 WHERE position = "6th" AND laps > 159
CREATE TABLE table_name_36 (co_driver VARCHAR, position VARCHAR, laps VARCHAR), Who is the co-driver for the 6th position and more than 159 laps?
SELECT location FROM table_name_83 WHERE rank > 12 AND floors = 13
CREATE TABLE table_name_83 (location VARCHAR, rank VARCHAR, floors VARCHAR), Which location has 13 floors and a rank greater than 12?
SELECT visitor FROM table_name_58 WHERE date = "january 1"
CREATE TABLE table_name_58 (visitor VARCHAR, date VARCHAR), What is the Visitor on January 1?
SELECT record FROM table_name_63 WHERE score = "3–1" AND visitor = "toronto maple leafs" AND date = "january 20"
CREATE TABLE table_name_63 (record VARCHAR, date VARCHAR, score VARCHAR, visitor VARCHAR), What is the Record of the Game on January 20 with Visitor Toronto Maple Leafs with a Score of 3–1?
SELECT record FROM table_name_75 WHERE score = "6–2" AND date = "november 24"
CREATE TABLE table_name_75 (record VARCHAR, score VARCHAR, date VARCHAR), What is the Record of the game on November 24 with a Score of 6–2?
SELECT record FROM table_name_32 WHERE score = "1–3" AND visitor = "chicago black hawks" AND date = "november 15"
CREATE TABLE table_name_32 (record VARCHAR, date VARCHAR, score VARCHAR, visitor VARCHAR), What is the Record of the game on November 15 against Visitor Chicago Black Hawks with a Score of 1–3?
SELECT date FROM table_name_70 WHERE score = "3–1" AND record = "1–1–0"
CREATE TABLE table_name_70 (date VARCHAR, score VARCHAR, record VARCHAR), What is the Date of the game with a Score of 3–1 and Record of 1–1–0?
SELECT visitor FROM table_name_33 WHERE date = "january 24"
CREATE TABLE table_name_33 (visitor VARCHAR, date VARCHAR), What is the Visitor of the game on January 24?
SELECT record FROM table_name_54 WHERE game = 27
CREATE TABLE table_name_54 (record VARCHAR, game VARCHAR), What is Record, when Game is 27?
SELECT team FROM table_name_61 WHERE high_rebounds = "david lee (15)"
CREATE TABLE table_name_61 (team VARCHAR, high_rebounds VARCHAR), What is Team, when High Rebounds is David Lee (15)?
SELECT record FROM table_name_32 WHERE location_attendance = "madison square garden 19,009"
CREATE TABLE table_name_32 (record VARCHAR, location_attendance VARCHAR), What is Record, when Location Attendance, is Madison Square Garden 19,009?
SELECT weeks_on_top FROM table_name_48 WHERE artist = "omc"
CREATE TABLE table_name_48 (weeks_on_top VARCHAR, artist VARCHAR), How many weeks on top was OMC?
SELECT volume AS :issue FROM table_name_7 WHERE weeks_on_top = "3" AND artist = "sheryl crow"
CREATE TABLE table_name_7 (volume VARCHAR, weeks_on_top VARCHAR, artist VARCHAR), What's the volume:issue of Sheryl Crow with 3 weeks on top?
SELECT coverage__transmitter_site_ FROM table_name_14 WHERE power__kw_ = "10kw" AND callsign = "dyfx-tv"
CREATE TABLE table_name_14 (coverage__transmitter_site_ VARCHAR, power__kw_ VARCHAR, callsign VARCHAR), What is Coverage (Transmitter Site), when Power (kW) is "10kW", and when Callsign is "DYFX-TV"?
SELECT coverage__transmitter_site_ FROM table_name_69 WHERE power__kw_ = "10kw" AND callsign = "dyfx-tv"
CREATE TABLE table_name_69 (coverage__transmitter_site_ VARCHAR, power__kw_ VARCHAR, callsign VARCHAR), What is Coverage (Transmitter Site), when Power (kW) is "10kW", and when Callsign is "DYFX-TV"?
SELECT branding FROM table_name_73 WHERE callsign = "dxed-tv"
CREATE TABLE table_name_73 (branding VARCHAR, callsign VARCHAR), What is Branding, when Callsign is "DXED-TV"?
SELECT power__kw_ FROM table_name_12 WHERE coverage__transmitter_site_ = "lucena"
CREATE TABLE table_name_12 (power__kw_ VARCHAR, coverage__transmitter_site_ VARCHAR), What is Power (kW), when Coverage (Transmitter Site) is "Lucena"?
SELECT SUM(year) FROM table_name_95 WHERE winner = "ivanovic" AND "ivanovic" > 4 AND round = "r16"
CREATE TABLE table_name_95 (year INTEGER, round VARCHAR, winner VARCHAR), What year did Ivanovic win with Ivanovic greater than 4 and round of R16?
SELECT MAX(jankovic) FROM table_name_68 WHERE round = "sf" AND tournament = "indian wells"
CREATE TABLE table_name_68 (jankovic INTEGER, round VARCHAR, tournament VARCHAR), What is the highest result for Jankovic at Indian Wells and round of SF?
SELECT location_attendance FROM table_name_55 WHERE high_assists = "ben gordon (8)"
CREATE TABLE table_name_55 (location_attendance VARCHAR, high_assists VARCHAR), Where did Ben Gordon (8) have the high assists?
SELECT high_points FROM table_name_42 WHERE location_attendance = "united center 20,389"
CREATE TABLE table_name_42 (high_points VARCHAR, location_attendance VARCHAR), Who had the high points at the United Center 20,389?
SELECT location_attendance FROM table_name_1 WHERE team = "minnesota"
CREATE TABLE table_name_1 (location_attendance VARCHAR, team VARCHAR), Where was the location attendance when Minnesota played?
SELECT date FROM table_name_20 WHERE high_assists = "ben gordon (8)"
CREATE TABLE table_name_20 (date VARCHAR, high_assists VARCHAR), What date did Ben Gordon (8) have high assists?
SELECT team FROM table_name_82 WHERE start < 28 AND finish = 25
CREATE TABLE table_name_82 (team VARCHAR, start VARCHAR, finish VARCHAR), What team had a finish of 25 in a smaller than 28?
SELECT MIN(finish) FROM table_name_61 WHERE start = 14
CREATE TABLE table_name_61 (finish INTEGER, start VARCHAR), For any races with a start of 14 what was the lowest finish?
SELECT transfer_fee FROM table_name_22 WHERE name = "jimmy gibson"
CREATE TABLE table_name_22 (transfer_fee VARCHAR, name VARCHAR), What is the transfer fee for Jimmy Gibson?
SELECT SUM(silver) FROM table_name_30 WHERE rank = "7"
CREATE TABLE table_name_30 (silver INTEGER, rank VARCHAR), What is the sum of silver medals won for rank 7?
SELECT agg FROM table_name_95 WHERE team_1 = "goldfields obuasi"
CREATE TABLE table_name_95 (agg VARCHAR, team_1 VARCHAR), Goldfields Obuasi Team 1 has what Agg. totals ?
SELECT AVG(inhabitants) FROM table_name_36 WHERE party = "south tyrolean people's party" AND municipality = "bruneck" AND election > 2010
CREATE TABLE table_name_36 (inhabitants INTEGER, election VARCHAR, party VARCHAR, municipality VARCHAR), Which Inhabitants has a Party of south tyrolean people's party, a Municipality of bruneck, and an Election larger than 2010?
SELECT AVG(election) FROM table_name_35 WHERE municipality = "laives" AND inhabitants < 17 OFFSET 197
CREATE TABLE table_name_35 (election INTEGER, municipality VARCHAR, inhabitants VARCHAR), Which Election has a Municipality of laives, and Inhabitants smaller than 17,197?
SELECT SUM(week) FROM table_name_35 WHERE result = "w 40–62"
CREATE TABLE table_name_35 (week INTEGER, result VARCHAR), What is the number week with a result of w 40–62?
SELECT game_site FROM table_name_79 WHERE week = 15
CREATE TABLE table_name_79 (game_site VARCHAR, week VARCHAR), What was the game site week 15?
SELECT record FROM table_name_5 WHERE result = "w 52–43"
CREATE TABLE table_name_5 (record VARCHAR, result VARCHAR), What is the record when the result was w 52–43?
SELECT MAX(week) FROM table_name_69 WHERE game_site = "verizon wireless arena" AND result = "w 59–42"
CREATE TABLE table_name_69 (week INTEGER, game_site VARCHAR, result VARCHAR), What is the highest week when the game site was Verizon Wireless Arena, and the result was w 59–42?
SELECT opponent FROM table_name_98 WHERE date = "may 25, 2007"
CREATE TABLE table_name_98 (opponent VARCHAR, date VARCHAR), What is the opponent on May 25, 2007?
SELECT opponent FROM table_name_94 WHERE record = "5–0"
CREATE TABLE table_name_94 (opponent VARCHAR, record VARCHAR), What team was the opponent with a record of 5–0?
SELECT date FROM table_name_37 WHERE away_team = "adelaide"
CREATE TABLE table_name_37 (date VARCHAR, away_team VARCHAR), What date was the away team from Adelaide?
SELECT date FROM table_name_62 WHERE ground = "colonial stadium"
CREATE TABLE table_name_62 (date VARCHAR, ground VARCHAR), What date was the Colonial Stadium?
SELECT SUM(crowd) FROM table_name_98 WHERE ground = "westpac stadium"
CREATE TABLE table_name_98 (crowd INTEGER, ground VARCHAR), What was the total crowd attendance at Westpac Stadium?
SELECT attendance FROM table_name_13 WHERE away_team = "maidsone united"
CREATE TABLE table_name_13 (attendance VARCHAR, away_team VARCHAR), What is the attendance of the match with maidsone united as the away team?
SELECT attendance FROM table_name_73 WHERE tie_no = "45"
CREATE TABLE table_name_73 (attendance VARCHAR, tie_no VARCHAR), What is the attendance with a 45 tie no.?
SELECT february FROM table_name_74 WHERE opponent = "montreal canadiens"
CREATE TABLE table_name_74 (february VARCHAR, opponent VARCHAR), What is February, when Opponent is "Montreal Canadiens"?
SELECT february FROM table_name_46 WHERE record = "21-29-11"
CREATE TABLE table_name_46 (february VARCHAR, record VARCHAR), What is February, when Record is "21-29-11"?
SELECT MIN(february) FROM table_name_54 WHERE record = "21-30-11" AND game > 62
CREATE TABLE table_name_54 (february INTEGER, record VARCHAR, game VARCHAR), What is the lowest February, when Record is "21-30-11", and when Game is greater than 62?
SELECT score FROM table_name_25 WHERE game < 61 AND february < 11 AND opponent = "@ buffalo sabres"
CREATE TABLE table_name_25 (score VARCHAR, opponent VARCHAR, game VARCHAR, february VARCHAR), What is Score, when Game is less than 61, when February is less than 11, and when Opponent is "@ Buffalo Sabres"?
SELECT MAX(game) FROM table_name_92 WHERE record = "21-30-11"
CREATE TABLE table_name_92 (game INTEGER, record VARCHAR), What is the highest Game, when Record is "21-30-11"?
SELECT high_rebounds FROM table_name_16 WHERE game > 76 AND team = "phoenix"
CREATE TABLE table_name_16 (high_rebounds VARCHAR, game VARCHAR, team VARCHAR), Who had the most rebounds in the game against Phoenix with a number over 76?
SELECT years FROM table_name_43 WHERE jersey_number_s_ = "5"
CREATE TABLE table_name_43 (years VARCHAR, jersey_number_s_ VARCHAR), What is Years, when Jersey Number(s) is 5?
SELECT position FROM table_name_54 WHERE player = "drew barry category:articles with hcards"
CREATE TABLE table_name_54 (position VARCHAR, player VARCHAR), What is Position when Player is Drew Barry Category:Articles With hCards?
SELECT years FROM table_name_97 WHERE jersey_number_s_ = "21" AND position = "sg"
CREATE TABLE table_name_97 (years VARCHAR, jersey_number_s_ VARCHAR, position VARCHAR), What is Years, when Jersey Number(s) is 21, and when Position is SG?
SELECT position FROM table_name_50 WHERE nationality = "united states" AND jersey_number_s_ = "12" AND player = "tom black category:articles with hcards"
CREATE TABLE table_name_50 (position VARCHAR, player VARCHAR, nationality VARCHAR, jersey_number_s_ VARCHAR), What is Postition, when Nationality is United States, when Jersey Number(s) is 12, and when Player is Tom Black Category:Articles With hCards?
SELECT club FROM table_name_76 WHERE founded < 1882 AND league = "fa premier league"
CREATE TABLE table_name_76 (club VARCHAR, founded VARCHAR, league VARCHAR), Which Club has a Founded smaller than 1882, and a League of fa premier league?
SELECT venue FROM table_name_99 WHERE club = "west bromwich albion"
CREATE TABLE table_name_99 (venue VARCHAR, club VARCHAR), Which Venue has a Club of west bromwich albion?
SELECT sport FROM table_name_71 WHERE founded > 1874 AND club = "birmingham city"
CREATE TABLE table_name_71 (sport VARCHAR, founded VARCHAR, club VARCHAR), Which Sport has a Founded larger than 1874 and a Club of birmingham city?
SELECT league FROM table_name_48 WHERE venue = "billesley common"
CREATE TABLE table_name_48 (league VARCHAR, venue VARCHAR), What kind of League has a Venue of billesley common?
SELECT SUM(founded) FROM table_name_5 WHERE venue = "villa park"
CREATE TABLE table_name_5 (founded INTEGER, venue VARCHAR), COunt the Founded which has a Venue of villa park?
SELECT club FROM table_name_73 WHERE founded > 1875 AND sport = "football"
CREATE TABLE table_name_73 (club VARCHAR, founded VARCHAR, sport VARCHAR), Name the Club which has a Founded larger than 1875, and a Sport of football?
SELECT score FROM table_name_54 WHERE place = "t3" AND player = "seve ballesteros"
CREATE TABLE table_name_54 (score VARCHAR, place VARCHAR, player VARCHAR), What score did Seve Ballesteros have when he was in T3 place?
SELECT money___$__ FROM table_name_43 WHERE player = "jerry pate"
CREATE TABLE table_name_43 (money___$__ VARCHAR, player VARCHAR), What was the money value for Jerry Pate?
SELECT country FROM table_name_54 WHERE player = "curtis strange"
CREATE TABLE table_name_54 (country VARCHAR, player VARCHAR), What country is Curtis Strange from?
SELECT player FROM table_name_91 WHERE score = 77 - 69 - 70 - 71 = 287
CREATE TABLE table_name_91 (player VARCHAR, score VARCHAR), Who had a score of 77-69-70-71=287?
SELECT to_par FROM table_name_71 WHERE player = "tom kite"
CREATE TABLE table_name_71 (to_par VARCHAR, player VARCHAR), What was Tom Kite's to par?
SELECT date FROM table_name_99 WHERE home = "platense"
CREATE TABLE table_name_99 (date VARCHAR, home VARCHAR), What is the date for the game where Platense was the home side?
SELECT date FROM table_name_30 WHERE attendance < 6650 AND score = "0:1"
CREATE TABLE table_name_30 (date VARCHAR, attendance VARCHAR, score VARCHAR), On what date was the game with fewer than 6650 in attendance, that finished 0:1?
SELECT home FROM table_name_28 WHERE attendance > 1675 AND away = "olimpia"
CREATE TABLE table_name_28 (home VARCHAR, attendance VARCHAR, away VARCHAR), Who was the home team in the game with more than 1675, and Olimpia was the away side?
SELECT COUNT(attendance) FROM table_name_47 WHERE week < 5 AND opponent = "seattle seahawks"
CREATE TABLE table_name_47 (attendance VARCHAR, week VARCHAR, opponent VARCHAR), What was the total Attendance in weeks previous of 5, playing the Seattle Seahawks?
SELECT head_coach FROM table_name_75 WHERE shirt_sponsor = "finke"
CREATE TABLE table_name_75 (head_coach VARCHAR, shirt_sponsor VARCHAR), Who is the head coach for the team that has finke as the shirt sponsor?
SELECT team AS captain FROM table_name_11 WHERE team = "tus koblenz"
CREATE TABLE table_name_11 (team VARCHAR), Who was the team captain of tus koblenz?
SELECT shirt_sponsor FROM table_name_48 WHERE kitmaker = "puma" AND head_coach = "andre schubert"
CREATE TABLE table_name_48 (shirt_sponsor VARCHAR, kitmaker VARCHAR, head_coach VARCHAR), Who is the shirt sponsor for the team with a head coach of andre schubert and a kitmaker of puma?
SELECT team AS captain FROM table_name_41 WHERE shirt_sponsor = "sparkasse (düsseldorf)"
CREATE TABLE table_name_41 (team VARCHAR, shirt_sponsor VARCHAR), Who is the team captain for the team with sparkasse (düsseldorf) as the shirt sponsor?
SELECT head_coach FROM table_name_94 WHERE team = "arminia bielefeld"
CREATE TABLE table_name_94 (head_coach VARCHAR, team VARCHAR), Who is the head coach for the team, arminia bielefeld?
SELECT result FROM table_name_61 WHERE attendance = "77,698"
CREATE TABLE table_name_61 (result VARCHAR, attendance VARCHAR), What is the result of the game with 77,698 in attendance?
SELECT venue FROM table_name_60 WHERE result = "2-1"
CREATE TABLE table_name_60 (venue VARCHAR, result VARCHAR), What is the Venue when the result was 2-1?
SELECT venue FROM table_name_64 WHERE round = "after extra time, chelsea won on 4-1 on penalties"
CREATE TABLE table_name_64 (venue VARCHAR, round VARCHAR), What is the venue when the Round shows after extra time, chelsea won on 4-1 on penalties?
SELECT attendance FROM table_name_12 WHERE result = "1-1"
CREATE TABLE table_name_12 (attendance VARCHAR, result VARCHAR), What was the attendance when the result was 1-1?
SELECT version FROM table_name_99 WHERE format = "cd"
CREATE TABLE table_name_99 (version VARCHAR, format VARCHAR), What is the Version of the CD release?
SELECT label FROM table_name_40 WHERE format = "cd" AND version = "original"
CREATE TABLE table_name_40 (label VARCHAR, format VARCHAR, version VARCHAR), What is the Label of the Original CD release?
SELECT version FROM table_name_82 WHERE format = "cd" AND date = "june 12, 2008" AND region = "cyprus"
CREATE TABLE table_name_82 (version VARCHAR, region VARCHAR, format VARCHAR, date VARCHAR), What is the Version of the CD release on June 12, 2008 in Cyprus?
SELECT region FROM table_name_2 WHERE date = "december 22, 2008"
CREATE TABLE table_name_2 (region VARCHAR, date VARCHAR), What is the Region of the release on December 22, 2008?
SELECT label FROM table_name_62 WHERE date = "june 12, 2008" AND region = "cyprus"
CREATE TABLE table_name_62 (label VARCHAR, date VARCHAR, region VARCHAR), What is the Label of the release on June 12, 2008 in Cyprus?
SELECT format FROM table_name_16 WHERE region = "greece"
CREATE TABLE table_name_16 (format VARCHAR, region VARCHAR), What is the Format of the release in Greece?
SELECT COUNT(tonnage) FROM table_name_4 WHERE date = "25 june 1943"
CREATE TABLE table_name_4 (tonnage VARCHAR, date VARCHAR), What is the total number of Tonnage, when Date is "25 June 1943"?
SELECT ship FROM table_name_39 WHERE nationality = "syria" AND date = "26 june 1943" AND tonnage = 80
CREATE TABLE table_name_39 (ship VARCHAR, tonnage VARCHAR, nationality VARCHAR, date VARCHAR), What is Ship, when Nationality is "Syria", and when Date is "26 June 1943", and when Tonnage is "80"?
SELECT record FROM table_name_99 WHERE result = "loss" AND attendance > 56 OFFSET 648
CREATE TABLE table_name_99 (record VARCHAR, result VARCHAR, attendance VARCHAR), What is the record of the game that resulted in a loss with more than 56,648 people in attendance?
SELECT enrollment FROM table_name_35 WHERE university = "university of akron"
CREATE TABLE table_name_35 (enrollment VARCHAR, university VARCHAR), What was the university of akron's enrollment?
SELECT athletics_nickname FROM table_name_86 WHERE founded = "1872"
CREATE TABLE table_name_86 (athletics_nickname VARCHAR, founded VARCHAR), Which athletics nickname was founded in 1872?
SELECT Took AS office FROM table_name_76 WHERE location = "dover" AND type = "executive"
CREATE TABLE table_name_76 (Took VARCHAR, location VARCHAR, type VARCHAR), What date did the executive office in Dover take office?
SELECT Left AS office FROM table_name_94 WHERE location = "washington"
CREATE TABLE table_name_94 (Left VARCHAR, location VARCHAR), What left office date happened in Washington?
SELECT 2 AS nd_leg FROM table_name_65 WHERE team_2 = "marbella"
CREATE TABLE table_name_65 (team_2 VARCHAR), What is the 2nd Leg, when Team 2 is Marbella?
SELECT result_f___a FROM table_name_22 WHERE round = "round 5"
CREATE TABLE table_name_22 (result_f___a VARCHAR, round VARCHAR), What was the result F-A for round 5?
SELECT MAX(played) FROM table_name_59 WHERE lost < 12 AND name = "ec amberg (n)" AND position < 4
CREATE TABLE table_name_59 (played INTEGER, position VARCHAR, lost VARCHAR, name VARCHAR), What is the most elevated Played that has a Lost smaller than 12, and a Name of ec amberg (n), and a Position smaller than 4?
SELECT AVG(lost) FROM table_name_63 WHERE name = "ec amberg (n)" AND position < 4
CREATE TABLE table_name_63 (lost INTEGER, name VARCHAR, position VARCHAR), What is the average Lost that has a Name of ec amberg (n), and a Position smaller than 4?
SELECT SUM(points) FROM table_name_14 WHERE drawn < 1
CREATE TABLE table_name_14 (points INTEGER, drawn INTEGER), What is the whole of Points that has a Drawn smaller than 1?
SELECT SUM(drawn) FROM table_name_33 WHERE lost = 4
CREATE TABLE table_name_33 (drawn INTEGER, lost VARCHAR), What is the whole of Drawn that has a Lost of 4?
SELECT SUM(drawn) FROM table_name_42 WHERE played > 14
CREATE TABLE table_name_42 (drawn INTEGER, played INTEGER), What is the whole of Drawn that has a Played larger than 14?
SELECT result FROM table_name_75 WHERE date = "april 28"
CREATE TABLE table_name_75 (result VARCHAR, date VARCHAR), What was the result of the game on April 28?
SELECT home_team FROM table_name_36 WHERE road_team = "boston" AND date = "april 20"
CREATE TABLE table_name_36 (home_team VARCHAR, road_team VARCHAR, date VARCHAR), Who was the home team on April 20 against Boston?
SELECT result FROM table_name_42 WHERE game = "game 3"
CREATE TABLE table_name_42 (result VARCHAR, game VARCHAR), What was the result of game 3?