instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: What is 2004, when 2003 is "1R", and when 2006 is "A"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (Id VARCHAR)
SELECT 2004 FROM table_name_20 WHERE 2003 = "1r" AND 2006 = "a"
Write a SQL query that answers the following question: What is 2007, when 2000 is "0 / 4"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (Id VARCHAR)
SELECT 2007 FROM table_name_89 WHERE 2000 = "0 / 4"
Write a SQL query that answers the following question: What is 2007, when 2003 is "85"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (Id VARCHAR)
SELECT 2007 FROM table_name_37 WHERE 2003 = "85"
Write a SQL query that answers the following question: What is 2004, when 2007 is "A", and when 1997 is "A"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (Id VARCHAR)
SELECT 2004 FROM table_name_36 WHERE 2007 = "a" AND 1997 = "a"
Write a SQL query that answers the following question: What is 2000, when 1996 is "A", when 1997 is "A", and when 2007 is "A"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (Id VARCHAR)
SELECT 2000 FROM table_name_30 WHERE 1996 = "a" AND 1997 = "a" AND 2007 = "a"
Write a SQL query that answers the following question: What is Award, when Category is Cabello Maluco?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (award VARCHAR, category VARCHAR)
SELECT award FROM table_name_43 WHERE category = "cabello maluco"
Write a SQL query that answers the following question: What is the total number of years in which Eiza González had a nominated work in the category of solista favorito?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (year INTEGER, nominated_work VARCHAR, category VARCHAR)
SELECT SUM(year) FROM table_name_51 WHERE nominated_work = "eiza gonzález" AND category = "solista favorito"
Write a SQL query that answers the following question: Before the year 2012, what award was given to the artist in the category of revelación pop del año?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (award VARCHAR, year VARCHAR, category VARCHAR)
SELECT award FROM table_name_49 WHERE year < 2012 AND category = "revelación pop del año"
Write a SQL query that answers the following question: what is the method when the record is 1-1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (method VARCHAR, record VARCHAR)
SELECT method FROM table_name_10 WHERE record = "1-1"
Write a SQL query that answers the following question: what is the event when the opponent is yuji hisamatsu?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (event VARCHAR, opponent VARCHAR)
SELECT event FROM table_name_9 WHERE opponent = "yuji hisamatsu"
Write a SQL query that answers the following question: What is the time of ufc 154?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (time VARCHAR, event VARCHAR)
SELECT time FROM table_name_44 WHERE event = "ufc 154"
Write a SQL query that answers the following question: What is the average round of the match with kevin manderson as the opponent?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (round INTEGER, opponent VARCHAR)
SELECT AVG(round) FROM table_name_18 WHERE opponent = "kevin manderson"
Write a SQL query that answers the following question: What was the location attendance on January 19?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (location_attendance VARCHAR, date VARCHAR)
SELECT location_attendance FROM table_name_47 WHERE date = "january 19"
Write a SQL query that answers the following question: What number game was it that the Spurs were @ Miami?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (game INTEGER, team VARCHAR)
SELECT SUM(game) FROM table_name_82 WHERE team = "@ miami"
Write a SQL query that answers the following question: What is the total number of losses of the player that has drawn 1 and played smaller than 12?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (lost VARCHAR, drawn VARCHAR, played VARCHAR)
SELECT COUNT(lost) FROM table_name_73 WHERE drawn = 1 AND played < 12
Write a SQL query that answers the following question: What type of surface did the tournament canada f9, markham have?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (surface VARCHAR, tournament VARCHAR)
SELECT surface FROM table_name_30 WHERE tournament = "canada f9, markham"
Write a SQL query that answers the following question: What is Score, when Date is December 23?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_76 WHERE date = "december 23"
Write a SQL query that answers the following question: What is Score when Team is @ Kansas City-Omaha Kings?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (score VARCHAR, team VARCHAR)
SELECT score FROM table_name_35 WHERE team = "@ kansas city-omaha kings"
Write a SQL query that answers the following question: Which position has an Overall smaller than 64, and a Round of 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (position VARCHAR, overall VARCHAR, round VARCHAR)
SELECT position FROM table_name_14 WHERE overall < 64 AND round = 1
Write a SQL query that answers the following question: Which average overall has a Pick smaller than 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (overall INTEGER, pick INTEGER)
SELECT AVG(overall) FROM table_name_34 WHERE pick < 5
Write a SQL query that answers the following question: Which highest overall has a College of idaho, and a Round smaller than 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (overall INTEGER, college VARCHAR, round VARCHAR)
SELECT MAX(overall) FROM table_name_31 WHERE college = "idaho" AND round < 1
Write a SQL query that answers the following question: How many rounds have a Pick smaller than 10, and a Name of larry hendershot?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (round VARCHAR, pick VARCHAR, name VARCHAR)
SELECT COUNT(round) FROM table_name_70 WHERE pick < 10 AND name = "larry hendershot"
Write a SQL query that answers the following question: What is Part 1, when Part 2 is "fraus"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (part_1 VARCHAR, part_2 VARCHAR)
SELECT part_1 FROM table_name_99 WHERE part_2 = "fraus"
Write a SQL query that answers the following question: What is Part 3, when Part 1 is "frjósa"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (part_3 VARCHAR, part_1 VARCHAR)
SELECT part_3 FROM table_name_36 WHERE part_1 = "frjósa"
Write a SQL query that answers the following question: What is Class, when Part 2 is "blétu"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (class VARCHAR, part_3 VARCHAR)
SELECT class FROM table_name_15 WHERE part_3 = "blétu"
Write a SQL query that answers the following question: What is Part 4, when Part 2 is "hljóp"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (part_4 VARCHAR, part_2 VARCHAR)
SELECT part_4 FROM table_name_65 WHERE part_2 = "hljóp"
Write a SQL query that answers the following question: What is Part 4, when Part 2 is "batt"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (part_4 VARCHAR, part_2 VARCHAR)
SELECT part_4 FROM table_name_51 WHERE part_2 = "batt"
Write a SQL query that answers the following question: What is Part 1, when Part 3 is "heldu"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (part_1 VARCHAR, part_3 VARCHAR)
SELECT part_1 FROM table_name_83 WHERE part_3 = "heldu"
Write a SQL query that answers the following question: What is the home team which plays at a venue called Win Entertainment Centre?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_34 WHERE venue = "win entertainment centre"
Write a SQL query that answers the following question: What away team had a 103-94 score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (away_team VARCHAR, score VARCHAR)
SELECT away_team FROM table_name_60 WHERE score = "103-94"
Write a SQL query that answers the following question: When the home team is Cairns Taipans, at which venue do they play?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_51 WHERE home_team = "cairns taipans"
Write a SQL query that answers the following question: What is the bird uniform for Eagle Rider Mickey Dugan?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (bird_uniform VARCHAR, eagle_riders VARCHAR)
SELECT bird_uniform FROM table_name_8 WHERE eagle_riders = "mickey dugan"
Write a SQL query that answers the following question: Who is the Japanese voice actor of Eagle Rider Ollie Keeawani?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (japanese_voice_actor VARCHAR, eagle_riders VARCHAR)
SELECT japanese_voice_actor FROM table_name_25 WHERE eagle_riders = "ollie keeawani"
Write a SQL query that answers the following question: What is the Mecha of the Japanese voice actor Shingo Kanemoto?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (mecha VARCHAR, japanese_voice_actor VARCHAR)
SELECT mecha FROM table_name_39 WHERE japanese_voice_actor = "shingo kanemoto"
Write a SQL query that answers the following question: What is the weapon for the mecha of motorcycle?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (weapon VARCHAR, mecha VARCHAR)
SELECT weapon FROM table_name_55 WHERE mecha = "motorcycle"
Write a SQL query that answers the following question: What is the bird uniform that is associated with the rank of G2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (bird_uniform VARCHAR, rank VARCHAR)
SELECT bird_uniform FROM table_name_78 WHERE rank = "g2"
Write a SQL query that answers the following question: Which team had a score of 103-96?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (team VARCHAR, score VARCHAR)
SELECT team FROM table_name_29 WHERE score = "103-96"
Write a SQL query that answers the following question: What is the smallest game had a location of Madison Square Garden with a score of 109-99?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (game INTEGER, location_attendance VARCHAR, score VARCHAR)
SELECT MIN(game) FROM table_name_3 WHERE location_attendance = "madison square garden" AND score = "109-99"
Write a SQL query that answers the following question: What is the 2007 value for the 2006 wta premier tournaments?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (Id VARCHAR)
SELECT 2007 FROM table_name_25 WHERE 2006 = "wta premier tournaments"
Write a SQL query that answers the following question: What is the 2007 value for the 2010 wta premier 5 tournaments?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (Id VARCHAR)
SELECT 2007 FROM table_name_12 WHERE 2010 = "wta premier 5 tournaments"
Write a SQL query that answers the following question: What is the 2004 value with A in 2005, A in 2008, and lq in 2009?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (Id VARCHAR)
SELECT 2004 FROM table_name_55 WHERE 2005 = "a" AND 2008 = "a" AND 2009 = "lq"
Write a SQL query that answers the following question: What is the career SR for the tournament of wimbledon?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (career_sr VARCHAR, tournament VARCHAR)
SELECT career_sr FROM table_name_21 WHERE tournament = "wimbledon"
Write a SQL query that answers the following question: What is the score for the Tie no. 12?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (score VARCHAR, tie_no VARCHAR)
SELECT score FROM table_name_71 WHERE tie_no = "12"
Write a SQL query that answers the following question: What is the home team against the away team Norwich City?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_39 WHERE away_team = "norwich city"
Write a SQL query that answers the following question: Who is the home team with a tie no. 12?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (home_team VARCHAR, tie_no VARCHAR)
SELECT home_team FROM table_name_70 WHERE tie_no = "12"
Write a SQL query that answers the following question: WHAT IS THE PLAYER WITH A PICK OF 219?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (player VARCHAR, pick VARCHAR)
SELECT player FROM table_name_1 WHERE pick = 219
Write a SQL query that answers the following question: WHAT NATIONALITY HAS ROUND 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (nationality VARCHAR, round VARCHAR)
SELECT nationality FROM table_name_97 WHERE round = 3
Write a SQL query that answers the following question: WHAT PLAYER HAS A PICK SMALLER THAN 110, AND DUKE AS COLLEGE?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (player VARCHAR, pick VARCHAR, college VARCHAR)
SELECT player FROM table_name_97 WHERE pick < 110 AND college = "duke"
Write a SQL query that answers the following question: WHAT POSITION HAD SPURS IN 2009-2012?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (position VARCHAR, years_with_spurs VARCHAR)
SELECT position FROM table_name_75 WHERE years_with_spurs = "2009-2012"
Write a SQL query that answers the following question: Who won on the week of August 10?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (winner_and_score VARCHAR, week VARCHAR)
SELECT winner_and_score FROM table_name_7 WHERE week = "august 10"
Write a SQL query that answers the following question: What surface was played on during the week of August 10?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (surface VARCHAR, week VARCHAR)
SELECT surface FROM table_name_20 WHERE week = "august 10"
Write a SQL query that answers the following question: What tournament had Greg Rusedski as a finalist?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (tournament VARCHAR, finalist VARCHAR)
SELECT tournament FROM table_name_68 WHERE finalist = "greg rusedski"
Write a SQL query that answers the following question: What was the surface that was played on during the week of March 16?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (surface VARCHAR, week VARCHAR)
SELECT surface FROM table_name_71 WHERE week = "march 16"
Write a SQL query that answers the following question: what is the least laps when the driver is rubens barrichello and the grid is less than 12?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (laps INTEGER, driver VARCHAR, grid VARCHAR)
SELECT MIN(laps) FROM table_name_5 WHERE driver = "rubens barrichello" AND grid < 12
Write a SQL query that answers the following question: what is the time/retired when the laps is 55?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (time_retired VARCHAR, laps VARCHAR)
SELECT time_retired FROM table_name_96 WHERE laps = 55
Write a SQL query that answers the following question: Where was the event Kage Kombat 16?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (location VARCHAR, event VARCHAR)
SELECT location FROM table_name_76 WHERE event = "kage kombat 16"
Write a SQL query that answers the following question: Which event had the record of 18–5 (1)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (event VARCHAR, record VARCHAR)
SELECT event FROM table_name_18 WHERE record = "18–5 (1)"
Write a SQL query that answers the following question: What was Menato Boffa's grid?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (grid VARCHAR, driver VARCHAR)
SELECT grid FROM table_name_88 WHERE driver = "menato boffa"
Write a SQL query that answers the following question: What is the Time/Retired value for Ludovico Scarfiotti?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (time_retired VARCHAR, driver VARCHAR)
SELECT time_retired FROM table_name_80 WHERE driver = "ludovico scarfiotti"
Write a SQL query that answers the following question: Who was Albino Buticchi's constructor?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (constructor VARCHAR, driver VARCHAR)
SELECT constructor FROM table_name_53 WHERE driver = "albino buticchi"
Write a SQL query that answers the following question: Who was the driver for Rovero Campello?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (driver VARCHAR, entrant VARCHAR)
SELECT driver FROM table_name_72 WHERE entrant = "rovero campello"
Write a SQL query that answers the following question: What is the score of player jay haas?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_48 WHERE player = "jay haas"
Write a SQL query that answers the following question: Who is the player with a +3 to par and a 72-68-71-72=283 score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (player VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT player FROM table_name_54 WHERE to_par = "+3" AND score = 72 - 68 - 71 - 72 = 283
Write a SQL query that answers the following question: What country has a 74-72-71-67=284 score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (country VARCHAR, score VARCHAR)
SELECT country FROM table_name_46 WHERE score = 74 - 72 - 71 - 67 = 284
Write a SQL query that answers the following question: What is the lowest Bike No, when Driver / Passenger is Joris Hendrickx / Kaspars Liepins, and when Position is less than 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (bike_no INTEGER, driver___passenger VARCHAR, position VARCHAR)
SELECT MIN(bike_no) FROM table_name_13 WHERE driver___passenger = "joris hendrickx / kaspars liepins" AND position < 4
Write a SQL query that answers the following question: What is the average Position, when Bike No is greater than 8, and when Points is less than 240?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (position INTEGER, bike_no VARCHAR, points VARCHAR)
SELECT AVG(position) FROM table_name_16 WHERE bike_no > 8 AND points < 240
Write a SQL query that answers the following question: What is the lowest Postion, when Bike No is greater than 10, when Driver / Passenger is Nicky Pulinx / Ondrej Cermak, and when Points is greater than 244?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (position INTEGER, points VARCHAR, bike_no VARCHAR, driver___passenger VARCHAR)
SELECT MIN(position) FROM table_name_6 WHERE bike_no > 10 AND driver___passenger = "nicky pulinx / ondrej cermak" AND points > 244
Write a SQL query that answers the following question: What is the highest Points, when Position is less than 4, when Equipment is Zabel - VMC, and when Bike No is less than 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (points INTEGER, bike_no VARCHAR, position VARCHAR, equipment VARCHAR)
SELECT MAX(points) FROM table_name_19 WHERE position < 4 AND equipment = "zabel - vmc" AND bike_no < 1
Write a SQL query that answers the following question: What is the average Bike No, when Driver / Passenger is Joris Hendrickx / Kaspars Liepins, and when Position is greater than 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (bike_no INTEGER, driver___passenger VARCHAR, position VARCHAR)
SELECT AVG(bike_no) FROM table_name_34 WHERE driver___passenger = "joris hendrickx / kaspars liepins" AND position > 4
Write a SQL query that answers the following question: What is the type of electronic with the Gamecube Platform?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (type VARCHAR, platform VARCHAR)
SELECT type FROM table_name_10 WHERE platform = "gamecube"
Write a SQL query that answers the following question: On what type of surface did they play on 13 February 1994?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (surface VARCHAR, date VARCHAR)
SELECT surface FROM table_name_80 WHERE date = "13 february 1994"
Write a SQL query that answers the following question: In which tournament was Silke Meier the opponent in the final?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (tournament VARCHAR, opponent_in_the_final VARCHAR)
SELECT tournament FROM table_name_8 WHERE opponent_in_the_final = "silke meier"
Write a SQL query that answers the following question: Which venue has a scoreof 2–0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (venue VARCHAR, score VARCHAR)
SELECT venue FROM table_name_60 WHERE score = "2–0"
Write a SQL query that answers the following question: WHAT IS THE SCORE WITH THE TEAM OF INDIANA?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (score VARCHAR, team VARCHAR)
SELECT score FROM table_name_75 WHERE team = "indiana"
Write a SQL query that answers the following question: WHAT IS THE TEAM WITH ATTENDANCE AT TARGET CENTER 11,921?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (team VARCHAR, location_attendance VARCHAR)
SELECT team FROM table_name_8 WHERE location_attendance = "target center 11,921"
Write a SQL query that answers the following question: What was the attendance on 10/29/1932?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_15 WHERE date = "10/29/1932"
Write a SQL query that answers the following question: What was the Attendance on December 21, 1986 before Week 16?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (attendance INTEGER, date VARCHAR, week VARCHAR)
SELECT SUM(attendance) FROM table_name_91 WHERE date = "december 21, 1986" AND week < 16
Write a SQL query that answers the following question: In what Week was the Attendance 43,430?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (week INTEGER, attendance VARCHAR)
SELECT MAX(week) FROM table_name_13 WHERE attendance = 43 OFFSET 430
Write a SQL query that answers the following question: What was the Result of the game on December 14, 1986 after Week 11?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (result VARCHAR, week VARCHAR, date VARCHAR)
SELECT result FROM table_name_10 WHERE week > 11 AND date = "december 14, 1986"
Write a SQL query that answers the following question: What team did they play when the series was 1-1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (team VARCHAR, series VARCHAR)
SELECT team FROM table_name_51 WHERE series = "1-1"
Write a SQL query that answers the following question: What were the high points on May 12?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (high_points VARCHAR, date VARCHAR)
SELECT high_points FROM table_name_4 WHERE date = "may 12"
Write a SQL query that answers the following question: What was the team they played when the series was 2-1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (team VARCHAR, series VARCHAR)
SELECT team FROM table_name_76 WHERE series = "2-1"
Write a SQL query that answers the following question: who is the opponent on february 8, 1990?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_23 WHERE date = "february 8, 1990"
Write a SQL query that answers the following question: who is the opponent when the streak is won 9 on april 13, 1990?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (opponent VARCHAR, streak VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_3 WHERE streak = "won 9" AND date = "april 13, 1990"
Write a SQL query that answers the following question: What is the total number of # Of Prefectural Votes, when # Of Seats Won is greater than 69, and when Leader is Yasuhiro Nakasone?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (_number_of_prefectural_votes VARCHAR, _number_of_seats_won VARCHAR, leader VARCHAR)
SELECT COUNT(_number_of_prefectural_votes) FROM table_name_54 WHERE _number_of_seats_won > 69 AND leader = "yasuhiro nakasone"
Write a SQL query that answers the following question: What is the average # Of National Votes, when the Election is before 1992, when the % Of Prefectural Vote is 39.5%, when Leader is Takeo Fukuda, and when # Of Seats Won is greater than 63?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (_number_of_national_votes INTEGER, _number_of_seats_won VARCHAR, leader VARCHAR, election VARCHAR, _percentage_of_prefectural_vote VARCHAR)
SELECT AVG(_number_of_national_votes) FROM table_name_30 WHERE election < 1992 AND _percentage_of_prefectural_vote = "39.5%" AND leader = "takeo fukuda" AND _number_of_seats_won > 63
Write a SQL query that answers the following question: What is the total number of # Of Prefectural Votes, when % Of Prefectural Vote is 48.4%, and when # Of Seats Won is greater than 61?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (_number_of_prefectural_votes VARCHAR, _percentage_of_prefectural_vote VARCHAR, _number_of_seats_won VARCHAR)
SELECT COUNT(_number_of_prefectural_votes) FROM table_name_37 WHERE _percentage_of_prefectural_vote = "48.4%" AND _number_of_seats_won > 61
Write a SQL query that answers the following question: What was the resolution of the fight against steve schneider?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (res VARCHAR, opponent VARCHAR)
SELECT res FROM table_name_25 WHERE opponent = "steve schneider"
Write a SQL query that answers the following question: What was the resolution of the fight when matt grice had a record of 2-0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (res VARCHAR, record VARCHAR)
SELECT res FROM table_name_89 WHERE record = "2-0"
Write a SQL query that answers the following question: What was the record when matt grice fought dennis bermudez with a time of 5:00?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (record VARCHAR, time VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_36 WHERE time = "5:00" AND opponent = "dennis bermudez"
Write a SQL query that answers the following question: What was the outcome of the match against Juan Ignacio Chela?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (outcome VARCHAR, opponent VARCHAR)
SELECT outcome FROM table_name_51 WHERE opponent = "juan ignacio chela"
Write a SQL query that answers the following question: What is the 250 cc with a year bigger than 1984?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (year INTEGER)
SELECT 250 AS _cc FROM table_name_89 WHERE year > 1984
Write a SQL query that answers the following question: How much did Jerry Barber score to come in at T9?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (score VARCHAR, place VARCHAR, player VARCHAR)
SELECT score FROM table_name_79 WHERE place = "t9" AND player = "jerry barber"
Write a SQL query that answers the following question: What place did Jerry Barber of the United States come in at?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (place VARCHAR, country VARCHAR, player VARCHAR)
SELECT place FROM table_name_92 WHERE country = "united states" AND player = "jerry barber"
Write a SQL query that answers the following question: What score did Ed Furgol get to come in at T6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (score VARCHAR, place VARCHAR, player VARCHAR)
SELECT score FROM table_name_7 WHERE place = "t6" AND player = "ed furgol"
Write a SQL query that answers the following question: What score did Ted Kroll get to come in at T2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (score VARCHAR, place VARCHAR, player VARCHAR)
SELECT score FROM table_name_80 WHERE place = "t2" AND player = "ted kroll"
Write a SQL query that answers the following question: Where is Fred Haas from?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_15 WHERE player = "fred haas"
Write a SQL query that answers the following question: Where is Fred Haas from?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_93 WHERE player = "fred haas"
Write a SQL query that answers the following question: What is Position, when School/Club Team is McMaster?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (position VARCHAR, school_club_team VARCHAR)
SELECT position FROM table_name_34 WHERE school_club_team = "mcmaster"
Write a SQL query that answers the following question: What is the lowest Round, when Pick is 9 (via Hamilton)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (round INTEGER, pick VARCHAR)
SELECT MIN(round) FROM table_name_66 WHERE pick = "9 (via hamilton)"