answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT away_team FROM table_name_6 WHERE attendance = "81"
CREATE TABLE table_name_6 (away_team VARCHAR, attendance VARCHAR)
Who was the away team at the game attended by 81?
SELECT score FROM table_name_55 WHERE tie_no = "5"
CREATE TABLE table_name_55 (score VARCHAR, tie_no VARCHAR)
What score has a tie of 5?
SELECT date FROM table_name_56 WHERE tie_no = "3"
CREATE TABLE table_name_56 (date VARCHAR, tie_no VARCHAR)
What was the date of the game that tied at 3?
SELECT european_release_date FROM table_name_50 WHERE north_american_release_date = "2013-03-05"
CREATE TABLE table_name_50 (european_release_date VARCHAR, north_american_release_date VARCHAR)
What is European Release Date, when North American Release Date is "2013-03-05"?
SELECT japanese_release_date FROM table_name_34 WHERE australia_release_date = "2006-03-23"
CREATE TABLE table_name_34 (japanese_release_date VARCHAR, australia_release_date VARCHAR)
What is Japanese Release Date, when Australia Release Date is "2006-03-23"?
SELECT north_american_release_date FROM table_name_17 WHERE japanese_release_date = "2011-06-23"
CREATE TABLE table_name_17 (north_american_release_date VARCHAR, japanese_release_date VARCHAR)
What is North American Release Date, when Japanese Release Date is "2011-06-23"?
SELECT SUM(goal_difference) FROM table_name_3 WHERE draws = 8 AND goals_against = 32 AND wins < 12
CREATE TABLE table_name_3 (goal_difference INTEGER, wins VARCHAR, draws VARCHAR, goals_against VARCHAR)
What is the goal difference when there are fewer than 12 wins, 32 goals against and 8 draws?
SELECT MIN(goal_difference) FROM table_name_85 WHERE position > 16
CREATE TABLE table_name_85 (goal_difference INTEGER, position INTEGER)
What's the lowest goal difference when the position is higher than 16?
SELECT venue FROM table_name_11 WHERE opposing_teams = "new zealand" AND date = "22/11/1997"
CREATE TABLE table_name_11 (venue VARCHAR, opposing_teams VARCHAR, date VARCHAR)
Which venue was the opposing team New Zealand on 22/11/1997?
SELECT date FROM table_name_77 WHERE against = 25 AND opposing_teams = "australia"
CREATE TABLE table_name_77 (date VARCHAR, against VARCHAR, opposing_teams VARCHAR)
What day was the opposing team Australia and the against 25?
SELECT status FROM table_name_9 WHERE opposing_teams = "south africa"
CREATE TABLE table_name_9 (status VARCHAR, opposing_teams VARCHAR)
What was the status for the opposing team South Africa?
SELECT AVG(league_goals) FROM table_name_98 WHERE fa_cup_goals = "0" AND position = "mf" AND league_cup_apps = "0" AND name = "ben thornley"
CREATE TABLE table_name_98 (league_goals INTEGER, name VARCHAR, league_cup_apps VARCHAR, fa_cup_goals VARCHAR, position VARCHAR)
What is the League Goals when the FA Cup Goals are 0, position is mf, League Cup Apps of 0, and name is Ben Thornley?
SELECT total_apps FROM table_name_55 WHERE league_cup_apps = "0 (1)" AND position = "df"
CREATE TABLE table_name_55 (total_apps VARCHAR, league_cup_apps VARCHAR, position VARCHAR)
What is the Total Apps when League Cup Apps is 0 (1), and position is df?
SELECT MIN(total_goals) FROM table_name_64 WHERE name = "mark ward"
CREATE TABLE table_name_64 (total_goals INTEGER, name VARCHAR)
What is the total goals for Mark Ward?
SELECT party FROM table_name_85 WHERE name = "jackie goldberg"
CREATE TABLE table_name_85 (party VARCHAR, name VARCHAR)
What is the political party of Jackie Goldberg?
SELECT years_in_assembly FROM table_name_71 WHERE name = "christine kehoe"
CREATE TABLE table_name_71 (years_in_assembly VARCHAR, name VARCHAR)
During what years was Christine Kehoe in Assembly?
SELECT years_in_assembly FROM table_name_54 WHERE residence = "san francisco"
CREATE TABLE table_name_54 (years_in_assembly VARCHAR, residence VARCHAR)
What were the San Francisco resident's years in assembly?
SELECT party FROM table_name_75 WHERE residence = "san diego"
CREATE TABLE table_name_75 (party VARCHAR, residence VARCHAR)
What political party does the person from San Diego belong to?
SELECT opposing_teams FROM table_name_18 WHERE date = "06/02/1988"
CREATE TABLE table_name_18 (opposing_teams VARCHAR, date VARCHAR)
Which Opposing Teams is on 06/02/1988?
SELECT date FROM table_name_42 WHERE status = "five nations" AND venue = "twickenham , london" AND opposing_teams = "ireland"
CREATE TABLE table_name_42 (date VARCHAR, opposing_teams VARCHAR, status VARCHAR, venue VARCHAR)
When Status of five nations, and a Venue of twickenham , london, and a Opposing Teams of ireland are in?
SELECT attendance FROM table_name_12 WHERE opponents = "cambridge united"
CREATE TABLE table_name_12 (attendance VARCHAR, opponents VARCHAR)
What's the attendance when the opponents are cambridge united?
SELECT AVG(attendance) FROM table_name_85 WHERE opponents = "dundalk"
CREATE TABLE table_name_85 (attendance INTEGER, opponents VARCHAR)
What's the average attendance when the opponents are dundalk?
SELECT COUNT(attendance) FROM table_name_42 WHERE h___a = "a" AND opponents = "wolverhampton wanderers"
CREATE TABLE table_name_42 (attendance VARCHAR, h___a VARCHAR, opponents VARCHAR)
What's the total attendance for H/A of A and opponents of wolverhampton wanderers?
SELECT MIN(total) FROM table_name_44 WHERE gold < 4
CREATE TABLE table_name_44 (total INTEGER, gold INTEGER)
Which Total has a Gold smaller than 4?
SELECT MAX(rank) FROM table_name_17 WHERE nation = "china (chn)" AND bronze < 4
CREATE TABLE table_name_17 (rank INTEGER, nation VARCHAR, bronze VARCHAR)
Which Rank has a Nation of china (chn), and a Bronze smaller than 4?
SELECT COUNT(total) FROM table_name_20 WHERE bronze < 13 AND nation = "netherlands (ned)" AND gold > 4
CREATE TABLE table_name_20 (total VARCHAR, gold VARCHAR, bronze VARCHAR, nation VARCHAR)
How much Total has a Bronze smaller than 13, and a Nation of netherlands (ned), and a Gold larger than 4?
SELECT website FROM table_name_82 WHERE founded < 1897 AND suburb_town = "adaminaby"
CREATE TABLE table_name_82 (website VARCHAR, founded VARCHAR, suburb_town VARCHAR)
Which website was founded before 1897, and is located in Adaminaby?
SELECT AVG(founded) FROM table_name_31 WHERE years = "k-6" AND suburb_town = "broken hill"
CREATE TABLE table_name_31 (founded INTEGER, years VARCHAR, suburb_town VARCHAR)
What is the average year founded that is located in Broken Hill and has school years of k-6?
SELECT suburb_town FROM table_name_11 WHERE years = "k-6" AND founded < 1875 AND school = "ashfield public school"
CREATE TABLE table_name_11 (suburb_town VARCHAR, school VARCHAR, years VARCHAR, founded VARCHAR)
What suburb/town has school years of k-6, was founded before 1875, and has Ashfield Public School as its school?
SELECT founded FROM table_name_65 WHERE school = "airds high school"
CREATE TABLE table_name_65 (founded VARCHAR, school VARCHAR)
What is the year Airds High School was founded?
SELECT website FROM table_name_76 WHERE founded = 1921
CREATE TABLE table_name_76 (website VARCHAR, founded VARCHAR)
Which website has 1921 as the year founded?
SELECT score_points FROM table_name_80 WHERE rank_points = "defending champion"
CREATE TABLE table_name_80 (score_points VARCHAR, rank_points VARCHAR)
What Score points has a Rank points of defending champion?
SELECT rank_points FROM table_name_40 WHERE event = "wc beijing" AND score_points = "11"
CREATE TABLE table_name_40 (rank_points VARCHAR, event VARCHAR, score_points VARCHAR)
What Rank points has an Event of wc beijing, and Score points of 11?
SELECT shooter FROM table_name_9 WHERE total = "28"
CREATE TABLE table_name_9 (shooter VARCHAR, total VARCHAR)
What Shooter has a Total of 28?
SELECT shooter FROM table_name_21 WHERE event = "wc beijing" AND total = "16" AND rank_points = "4"
CREATE TABLE table_name_21 (shooter VARCHAR, rank_points VARCHAR, event VARCHAR, total VARCHAR)
What Shooter has an Event of wc beijing, a Total of 16, and Rank points of 4?
SELECT AVG(against) FROM table_name_13 WHERE venue = "murrayfield, edinburgh"
CREATE TABLE table_name_13 (against INTEGER, venue VARCHAR)
What is the average against of Murrayfield, Edinburgh?
SELECT status FROM table_name_70 WHERE opposing_teams = "wales"
CREATE TABLE table_name_70 (status VARCHAR, opposing_teams VARCHAR)
What is the status of the Wales opposing team?
SELECT date FROM table_name_95 WHERE against = 7
CREATE TABLE table_name_95 (date VARCHAR, against VARCHAR)
What date has an against of 7?
SELECT district FROM table_name_1 WHERE first_elected > 1998 AND party = "democratic" AND incumbent = "steve israel"
CREATE TABLE table_name_1 (district VARCHAR, incumbent VARCHAR, first_elected VARCHAR, party VARCHAR)
What District was Incumbent Steve Israel First elected after 1998 in the Democratic party?
SELECT results FROM table_name_48 WHERE first_elected < 1982
CREATE TABLE table_name_48 (results VARCHAR, first_elected INTEGER)
What are the results of a first elected prior to year 1982?
SELECT incumbent FROM table_name_45 WHERE party = "democratic" AND results = "re-elected" AND first_elected > 1992 AND district = "new york 1"
CREATE TABLE table_name_45 (incumbent VARCHAR, district VARCHAR, first_elected VARCHAR, party VARCHAR, results VARCHAR)
Who is the Incumbent of the Democratic Party at an election after 1992 in the New York 1 District who was Re-elected?
SELECT to_par FROM table_name_28 WHERE player = "gene sauers"
CREATE TABLE table_name_28 (to_par VARCHAR, player VARCHAR)
What is Gene Sauers' to par?
SELECT place FROM table_name_77 WHERE country = "united states" AND player = "john daly"
CREATE TABLE table_name_77 (place VARCHAR, country VARCHAR, player VARCHAR)
Where is john daly of united states from?
SELECT AVG(rank) FROM table_name_69 WHERE city = "el paso" AND population > 672 OFFSET 538
CREATE TABLE table_name_69 (rank INTEGER, city VARCHAR, population VARCHAR)
What is the average rank of the city of el paso, which has a population greater than 672,538?
SELECT state FROM table_name_99 WHERE rank < 10 AND city = "denver"
CREATE TABLE table_name_99 (state VARCHAR, rank VARCHAR, city VARCHAR)
What is the state of the city of denver, which has a rank less than 10?
SELECT result FROM table_name_29 WHERE round < 3 AND location = "auckland, new zealand" AND method = "tko"
CREATE TABLE table_name_29 (result VARCHAR, method VARCHAR, round VARCHAR, location VARCHAR)
What is the result when the round is less than 3, the location is in Auckland, New Zealand, and tko is the method?
SELECT MIN(round) FROM table_name_95 WHERE record = "4-0"
CREATE TABLE table_name_95 (round INTEGER, record VARCHAR)
What is the smallest round to have a record of 4-0?
SELECT result FROM table_name_55 WHERE round > 3
CREATE TABLE table_name_55 (result VARCHAR, round INTEGER)
What is the result of a round greater than 3?
SELECT event FROM table_name_92 WHERE opponent = "toa naketoatama"
CREATE TABLE table_name_92 (event VARCHAR, opponent VARCHAR)
Which event has Toa Naketoatama as an opponent?
SELECT SUM(killed) FROM table_name_4 WHERE injured = "15" AND year < 1987
CREATE TABLE table_name_4 (killed INTEGER, injured VARCHAR, year VARCHAR)
How many kills have 15 as the injured, with a year prior to 1987?
SELECT date FROM table_name_22 WHERE opposing_teams = "south africa" AND venue = "vodacom park , bloemfontein"
CREATE TABLE table_name_22 (date VARCHAR, opposing_teams VARCHAR, venue VARCHAR)
What is Date, when Opposing Teams is "South Africa", and when Venus is "Vodacom Park , Bloemfontein"?
SELECT AVG(against) FROM table_name_74 WHERE status = "2007 rugby world cup" AND opposing_teams = "u.s.a."
CREATE TABLE table_name_74 (against INTEGER, status VARCHAR, opposing_teams VARCHAR)
What is the average Against, when Status is "2007 Rugby World Cup", and when Opposing Teams is "U.S.A."?
SELECT venue FROM table_name_22 WHERE status = "2007 rugby world cup" AND against < 22 AND date = "08/09/2007"
CREATE TABLE table_name_22 (venue VARCHAR, date VARCHAR, status VARCHAR, against VARCHAR)
What is Venue, when Status is "2007 Rugby World Cup", when Against is less than 22, and when Date is "08/09/2007"?
SELECT MIN(against) FROM table_name_42 WHERE status = "first test" AND date = "26/05/2007"
CREATE TABLE table_name_42 (against INTEGER, status VARCHAR, date VARCHAR)
What is the lowest Against, when Status is "First Test", and when Date is "26/05/2007"?
SELECT opposing_teams FROM table_name_35 WHERE against = 20 AND venue = "twickenham , london"
CREATE TABLE table_name_35 (opposing_teams VARCHAR, against VARCHAR, venue VARCHAR)
What is Opposing Teams, when Against is "20", and when Venue is "Twickenham , London"?
SELECT record FROM table_name_58 WHERE opponent = "danilo pereira"
CREATE TABLE table_name_58 (record VARCHAR, opponent VARCHAR)
What is the record when Danilo Pereira was the opponent?
SELECT event FROM table_name_55 WHERE opponent = "edson claas vieira"
CREATE TABLE table_name_55 (event VARCHAR, opponent VARCHAR)
Which event had Edson Claas Vieira as an opponent?
SELECT method FROM table_name_2 WHERE opponent = "rafael cavalcante"
CREATE TABLE table_name_2 (method VARCHAR, opponent VARCHAR)
Which method was used when Rafael Cavalcante was the opponent?
SELECT method FROM table_name_38 WHERE opponent = "alessio sakara"
CREATE TABLE table_name_38 (method VARCHAR, opponent VARCHAR)
Which method was used when Alessio Sakara was the opponent?
SELECT opponent FROM table_name_53 WHERE record = "3-8"
CREATE TABLE table_name_53 (opponent VARCHAR, record VARCHAR)
Who is the opponent when the record is 3-8?
SELECT AVG(population_2006_census) FROM table_name_66 WHERE local_government_area = "alexandrina council" AND rank < 19
CREATE TABLE table_name_66 (population_2006_census INTEGER, local_government_area VARCHAR, rank VARCHAR)
What was the 2006 population for the local government area of alexandrina council whose rank was smaller than 19?
SELECT total_fat FROM table_name_60 WHERE smoke_point = "°c ()" AND saturated_fat = "25g"
CREATE TABLE table_name_60 (total_fat VARCHAR, smoke_point VARCHAR, saturated_fat VARCHAR)
What is the total fat with a smoke point of °c (), 25g of saturated fat?
SELECT total_fat FROM table_name_63 WHERE polyunsaturated_fat = "11g" AND monounsaturated_fat = "73g"
CREATE TABLE table_name_63 (total_fat VARCHAR, polyunsaturated_fat VARCHAR, monounsaturated_fat VARCHAR)
What is the total fat when the polyunsaturated fat is 11g, and Monounsaturated fat is 73g?
SELECT smoke_point FROM table_name_97 WHERE total_fat = "100g" AND monounsaturated_fat = "46g"
CREATE TABLE table_name_97 (smoke_point VARCHAR, total_fat VARCHAR, monounsaturated_fat VARCHAR)
What is the smoke point with a total fat of 100g, and monounsaturated fat of 46g?
SELECT monounsaturated_fat FROM table_name_32 WHERE saturated_fat = "39g"
CREATE TABLE table_name_32 (monounsaturated_fat VARCHAR, saturated_fat VARCHAR)
What shows for monounsaturated fat when the saturated fat is 39g?
SELECT smoke_point FROM table_name_24 WHERE polyunsaturated_fat = "69g (4g in high oleic variety)"
CREATE TABLE table_name_24 (smoke_point VARCHAR, polyunsaturated_fat VARCHAR)
What is the smoke point when the polyunsaturated fat is 69g (4g in high oleic variety)?
SELECT saturated_fat FROM table_name_63 WHERE total_fat = "100g" AND polyunsaturated_fat = "69g (4g in high oleic variety)"
CREATE TABLE table_name_63 (saturated_fat VARCHAR, total_fat VARCHAR, polyunsaturated_fat VARCHAR)
What is the saturated fat when the total fat is 100g, and polyunsaturated fat is 69g (4g in high oleic variety)?
SELECT tie_no FROM table_name_26 WHERE score = "2–2"
CREATE TABLE table_name_26 (tie_no VARCHAR, score VARCHAR)
What is the Tie No with a Score of 2–2?
SELECT date FROM table_name_33 WHERE away_team = "crystal palace"
CREATE TABLE table_name_33 (date VARCHAR, away_team VARCHAR)
What is the Date of the Crystal Palace Away game?
SELECT home_team FROM table_name_20 WHERE tie_no = "2"
CREATE TABLE table_name_20 (home_team VARCHAR, tie_no VARCHAR)
What is the Home team of Tie no 2?
SELECT home_team FROM table_name_36 WHERE tie_no = "2"
CREATE TABLE table_name_36 (home_team VARCHAR, tie_no VARCHAR)
What is the Home team of tie no 2?
SELECT AVG(grid) FROM table_name_7 WHERE laps < 24 AND bike = "honda cbr1000rr" AND rider = "jason pridmore"
CREATE TABLE table_name_7 (grid INTEGER, rider VARCHAR, laps VARCHAR, bike VARCHAR)
What is the average Grid, when Laps is less than 24, when Bike is "Honda CBR1000RR", and when Rider is "Jason Pridmore"?
SELECT MAX(laps) FROM table_name_78 WHERE bike = "yamaha yzf-r1" AND rider = "david checa" AND grid > 18
CREATE TABLE table_name_78 (laps INTEGER, grid VARCHAR, bike VARCHAR, rider VARCHAR)
What is the highest Laps, when Bike is "Yamaha YZF-R1", when Rider is "David Checa", and when Grid is greater than 18?
SELECT SUM(grid) FROM table_name_60 WHERE time = "+16.687"
CREATE TABLE table_name_60 (grid INTEGER, time VARCHAR)
What is the sum of Grid, when Time is "+16.687"?
SELECT COUNT(grid) FROM table_name_78 WHERE laps > 24
CREATE TABLE table_name_78 (grid VARCHAR, laps INTEGER)
What is the total number of Grid, when Laps is greater than 24?
SELECT runner_up FROM table_name_27 WHERE season > 2 AND total_prize_money = "$108,000"
CREATE TABLE table_name_27 (runner_up VARCHAR, season VARCHAR, total_prize_money VARCHAR)
Who was the runner-up after season 2 when the total prize money was $108,000?
SELECT MAX(season) FROM table_name_17 WHERE total_prize_money = "$108,000"
CREATE TABLE table_name_17 (season INTEGER, total_prize_money VARCHAR)
What was the highest season number with a total prize of $108,000?
SELECT MIN(season) FROM table_name_13 WHERE runner_up = "aisha jefcoate"
CREATE TABLE table_name_13 (season INTEGER, runner_up VARCHAR)
What is the earliest season where Aisha Jefcoate was the runner-up?
SELECT potential_prize_money FROM table_name_70 WHERE mole = "petrina edge"
CREATE TABLE table_name_70 (potential_prize_money VARCHAR, mole VARCHAR)
When the Mole was Petrina Edge, what was the potential prize money?
SELECT share FROM table_name_12 WHERE weekly_rank = "8" AND date = "15 june"
CREATE TABLE table_name_12 (share VARCHAR, weekly_rank VARCHAR, date VARCHAR)
Which Share has a weekly Rank of 8 and is dated 15 June?
SELECT weekly_rank FROM table_name_82 WHERE official_ratings__millions_ = 11.58
CREATE TABLE table_name_82 (weekly_rank VARCHAR, official_ratings__millions_ VARCHAR)
Which Weekly Rank has an Official ratings (millions) of 11.58?
SELECT show FROM table_name_39 WHERE date = "9 june"
CREATE TABLE table_name_39 (show VARCHAR, date VARCHAR)
Which Show is dated 9 June?
SELECT weekly_rank FROM table_name_8 WHERE official_ratings__millions_ > 5.2 AND show = "live final"
CREATE TABLE table_name_8 (weekly_rank VARCHAR, official_ratings__millions_ VARCHAR, show VARCHAR)
Which Weekly Rank for a Live Final Show has an Official Ratings (millions) greater than 5.2?
SELECT status FROM table_name_9 WHERE opposing_teams = "scotland"
CREATE TABLE table_name_9 (status VARCHAR, opposing_teams VARCHAR)
What is the status with the opposing team of Scotland?
SELECT MIN(against) FROM table_name_16 WHERE venue = "twickenham, london" AND status = "five nations" AND opposing_teams = "ireland"
CREATE TABLE table_name_16 (against INTEGER, opposing_teams VARCHAR, venue VARCHAR, status VARCHAR)
What is the lowest against score for Twickenham, London with the status of Five Nations against Ireland?
SELECT venue FROM table_name_31 WHERE against < 7
CREATE TABLE table_name_31 (venue VARCHAR, against INTEGER)
Which Venue has a Against smaller than 7?
SELECT date FROM table_name_71 WHERE status = "five nations" AND against = 7
CREATE TABLE table_name_71 (date VARCHAR, status VARCHAR, against VARCHAR)
When has a Status of five nations, and a Against of 7?
SELECT venue FROM table_name_16 WHERE against > 13
CREATE TABLE table_name_16 (venue VARCHAR, against INTEGER)
Which Venue has a Against larger than 13?
SELECT MAX(against) FROM table_name_91 WHERE venue = "wembley stadium , london"
CREATE TABLE table_name_91 (against INTEGER, venue VARCHAR)
Name the Against which has a Venue of wembley stadium , london?
SELECT MAX(wins) FROM table_name_29 WHERE byes < 1
CREATE TABLE table_name_29 (wins INTEGER, byes INTEGER)
Which wins have less than 1 bye?
SELECT MIN(against) FROM table_name_38 WHERE losses > 10 AND wins < 4 AND club = "dunolly"
CREATE TABLE table_name_38 (against INTEGER, club VARCHAR, losses VARCHAR, wins VARCHAR)
Which Against has Losses larger than 10, and Wins smaller than 4, and a Club of dunolly?
SELECT AVG(byes) FROM table_name_45 WHERE against < 1297 AND club = "avoca" AND wins > 12
CREATE TABLE table_name_45 (byes INTEGER, wins VARCHAR, against VARCHAR, club VARCHAR)
Which Byes has an Against smaller than 1297, and a Club of avoca, and Wins larger than 12?
SELECT kit_factory FROM table_name_90 WHERE manufacturer = "jabiru" AND model = "j250"
CREATE TABLE table_name_90 (kit_factory VARCHAR, manufacturer VARCHAR, model VARCHAR)
What Kit/Factory has a J250 model made by Jabiru?
SELECT birth FROM table_name_12 WHERE marriage = "11 july 1643"
CREATE TABLE table_name_12 (birth VARCHAR, marriage VARCHAR)
When was the duchess, who was married on 11 july 1643, born?
SELECT birth FROM table_name_91 WHERE name = "anne of lorraine"
CREATE TABLE table_name_91 (birth VARCHAR, name VARCHAR)
When was anne of lorraine born?
SELECT death FROM table_name_56 WHERE spouse = "philippe"
CREATE TABLE table_name_56 (death VARCHAR, spouse VARCHAR)
When did the duchess, who was married to philippe, die?
SELECT ceased_to_be_duchess FROM table_name_59 WHERE marriage = "22 may 1657"
CREATE TABLE table_name_59 (ceased_to_be_duchess VARCHAR, marriage VARCHAR)
When did the woman, who was married 22 may 1657, cease to be the duchess?
SELECT score FROM table_name_14 WHERE tie_no = "3"
CREATE TABLE table_name_14 (score VARCHAR, tie_no VARCHAR)
What is the score of the game with a tie no of 3?
SELECT away_team FROM table_name_33 WHERE date = "23 january 1982" AND home_team = "sunderland"
CREATE TABLE table_name_33 (away_team VARCHAR, date VARCHAR, home_team VARCHAR)
Who did home team sunderland play on 23 january 1982?
SELECT score FROM table_name_63 WHERE date = "23 january 1982" AND away_team = "queens park rangers"
CREATE TABLE table_name_63 (score VARCHAR, date VARCHAR, away_team VARCHAR)
What is the score of the game against away team queens park rangers on 23 january 1982?