instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: Which player is from England?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (player VARCHAR, country VARCHAR)
SELECT player FROM table_name_16 WHERE country = "england"
Write a SQL query that answers the following question: Who scored 74-70-67=211 and placed t5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (player VARCHAR, place VARCHAR, score VARCHAR)
SELECT player FROM table_name_6 WHERE place = "t5" AND score = 74 - 70 - 67 = 211
Write a SQL query that answers the following question: Who is the player with a score less than 72 and a to par of +1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (player VARCHAR, score VARCHAR, to_par VARCHAR)
SELECT player FROM table_name_62 WHERE score < 72 AND to_par = "+1"
Write a SQL query that answers the following question: Who is the player with a to par of +1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (player VARCHAR, to_par VARCHAR)
SELECT player FROM table_name_71 WHERE to_par = "+1"
Write a SQL query that answers the following question: What is the to par of player john buczek, who has a t9 place and is from the United States?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (to_par VARCHAR, player VARCHAR, place VARCHAR, country VARCHAR)
SELECT to_par FROM table_name_36 WHERE place = "t9" AND country = "united states" AND player = "john buczek"
Write a SQL query that answers the following question: What is the to par of player bobby nichols?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_94 WHERE player = "bobby nichols"
Write a SQL query that answers the following question: What was the date for XLLP 369?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (date VARCHAR, catalog VARCHAR)
SELECT date FROM table_name_12 WHERE catalog = "xllp 369"
Write a SQL query that answers the following question: What was the label in the region of Canada?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (label VARCHAR, region VARCHAR)
SELECT label FROM table_name_57 WHERE region = "canada"
Write a SQL query that answers the following question: What is the format in the region of Europe with an XLCD369 and a label of XL?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (format VARCHAR, region VARCHAR, label VARCHAR, catalog VARCHAR)
SELECT format FROM table_name_36 WHERE label = "xl" AND catalog = "xlcd369" AND region = "europe"
Write a SQL query that answers the following question: What date was the United States the region?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (date VARCHAR, region VARCHAR)
SELECT date FROM table_name_25 WHERE region = "united states"
Write a SQL query that answers the following question: What was the label in the region of Argentina and had a format of CD?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (label VARCHAR, format VARCHAR, region VARCHAR)
SELECT label FROM table_name_82 WHERE format = "cd" AND region = "argentina"
Write a SQL query that answers the following question: What is the catalog with the region of the United States?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (catalog VARCHAR, region VARCHAR)
SELECT catalog FROM table_name_98 WHERE region = "united states"
Write a SQL query that answers the following question: Can you tell me the Opponent that has the November larger than 26, and the Game larger than 18?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (opponent VARCHAR, november VARCHAR, game VARCHAR)
SELECT opponent FROM table_name_51 WHERE november > 26 AND game > 18
Write a SQL query that answers the following question: Can you tell me the Record that has the Game of 19?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (record VARCHAR, game VARCHAR)
SELECT record FROM table_name_72 WHERE game = 19
Write a SQL query that answers the following question: Which Date has a Rockets score of 94, and a Game of 66?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (date VARCHAR, rockets_score VARCHAR, game VARCHAR)
SELECT date FROM table_name_21 WHERE rockets_score = 94 AND game = 66
Write a SQL query that answers the following question: Which Opponent has a Rockets score larger than 86, a Streak of won 1, and Opponents smaller than 101?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (opponent VARCHAR, opponents VARCHAR, rockets_score VARCHAR, streak VARCHAR)
SELECT opponent FROM table_name_17 WHERE rockets_score > 86 AND streak = "won 1" AND opponents < 101
Write a SQL query that answers the following question: Which Opponent has a Rockets score of 107?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (opponent VARCHAR, rockets_score VARCHAR)
SELECT opponent FROM table_name_25 WHERE rockets_score = 107
Write a SQL query that answers the following question: Which Opponent has a Date of march 16?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_42 WHERE date = "march 16"
Write a SQL query that answers the following question: When was the score l 111–122 (ot)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_84 WHERE score = "l 111–122 (ot)"
Write a SQL query that answers the following question: What was the score on January 26?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_79 WHERE date = "january 26"
Write a SQL query that answers the following question: What game was Minnesota the team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (game VARCHAR, team VARCHAR)
SELECT COUNT(game) FROM table_name_70 WHERE team = "minnesota"
Write a SQL query that answers the following question: What was the record of Game 43?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (record VARCHAR, game VARCHAR)
SELECT record FROM table_name_68 WHERE game = 43
Write a SQL query that answers the following question: What's the record of the game that Leandro Barbosa (32) had the high points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (record VARCHAR, high_points VARCHAR)
SELECT record FROM table_name_12 WHERE high_points = "leandro barbosa (32)"
Write a SQL query that answers the following question: What is the score when the tie no is 29?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (score VARCHAR, tie_no VARCHAR)
SELECT score FROM table_name_65 WHERE tie_no = "29"
Write a SQL query that answers the following question: What was the tie no when Watford was the away team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (tie_no VARCHAR, away_team VARCHAR)
SELECT tie_no FROM table_name_62 WHERE away_team = "watford"
Write a SQL query that answers the following question: What team was the home team when Luton Town was the home team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_49 WHERE away_team = "luton town"
Write a SQL query that answers the following question: What team was the home team when the tie no was 27?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (home_team VARCHAR, tie_no VARCHAR)
SELECT home_team FROM table_name_23 WHERE tie_no = "27"
Write a SQL query that answers the following question: Who played bass in 1994 for the Atlantic label?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (bass VARCHAR, label VARCHAR, year VARCHAR)
SELECT bass FROM table_name_2 WHERE label = "atlantic" AND year = 1994
Write a SQL query that answers the following question: Who played drums for the Gray Race album?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (drums VARCHAR, album VARCHAR)
SELECT drums FROM table_name_89 WHERE album = "the gray race"
Write a SQL query that answers the following question: Which album had Jay Bentley on bass and Bobby Schayer on drums?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (album VARCHAR, bass VARCHAR, drums VARCHAR)
SELECT album FROM table_name_32 WHERE bass = "jay bentley" AND drums = "bobby schayer"
Write a SQL query that answers the following question: Who played the bass for the Against the Grain album after 1982?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (bass VARCHAR, year VARCHAR, album VARCHAR)
SELECT bass FROM table_name_97 WHERE year > 1982 AND album = "against the grain"
Write a SQL query that answers the following question: What is the position when lost is less than 7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (position INTEGER, lost INTEGER)
SELECT AVG(position) FROM table_name_60 WHERE lost < 7
Write a SQL query that answers the following question: What is the largest drawn number when 14 is the position, and goals for is more than 66?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (drawn INTEGER, position VARCHAR, goals_for VARCHAR)
SELECT MAX(drawn) FROM table_name_17 WHERE position = 14 AND goals_for > 66
Write a SQL query that answers the following question: What is the played number with points 1 is 80, and goals for is more than 77?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (played VARCHAR, points_1 VARCHAR, goals_for VARCHAR)
SELECT COUNT(played) FROM table_name_57 WHERE points_1 = "80" AND goals_for > 77
Write a SQL query that answers the following question: What is the number of played when the position is less than 4, and the team is Witton Albion?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (played VARCHAR, position VARCHAR, team VARCHAR)
SELECT COUNT(played) FROM table_name_42 WHERE position < 4 AND team = "witton albion"
Write a SQL query that answers the following question: What is the position when the points 1 is 61?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (position INTEGER, points_1 VARCHAR)
SELECT SUM(position) FROM table_name_40 WHERE points_1 = "61"
Write a SQL query that answers the following question: Where is the locality with Ofsted less than 106478 for Meadowbank Primary and Nursery School?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (locality VARCHAR, ofsted VARCHAR, school VARCHAR)
SELECT locality FROM table_name_47 WHERE ofsted < 106478 AND school = "meadowbank primary and nursery school"
Write a SQL query that answers the following question: What website has an Ofsted less than 106478 in Atherton?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (website VARCHAR, ofsted VARCHAR, locality VARCHAR)
SELECT website FROM table_name_33 WHERE ofsted < 106478 AND locality = "atherton"
Write a SQL query that answers the following question: How many values for Ofsted occurr at Chowbent Primary School?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (ofsted VARCHAR, school VARCHAR)
SELECT COUNT(ofsted) FROM table_name_1 WHERE school = "chowbent primary school"
Write a SQL query that answers the following question: Which League championship is the lowest one that has a Venue of penn state ice pavilion, and a Club of penn state nittany lions men's ice hockey?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (league INTEGER, venue VARCHAR, club VARCHAR)
SELECT MIN(league) AS championships FROM table_name_78 WHERE venue = "penn state ice pavilion" AND club = "penn state nittany lions men's ice hockey"
Write a SQL query that answers the following question: Which Venue has a League of ncaa, and a Founded smaller than 1965, and a Club of penn state nittany lions men's ice hockey?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (venue VARCHAR, club VARCHAR, league VARCHAR, founded VARCHAR)
SELECT venue FROM table_name_24 WHERE league = "ncaa" AND founded < 1965 AND club = "penn state nittany lions men's ice hockey"
Write a SQL query that answers the following question: What is the freestyle leg for the Netherlands?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (freestyle_leg VARCHAR, country VARCHAR)
SELECT freestyle_leg FROM table_name_69 WHERE country = "netherlands"
Write a SQL query that answers the following question: In which state did Marquis Li rule?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (state VARCHAR, name VARCHAR, title VARCHAR)
SELECT state FROM table_name_43 WHERE name = "li" AND title = "marquis"
Write a SQL query that answers the following question: What was the Royal House for the state of Song?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (royal_house VARCHAR, state VARCHAR)
SELECT royal_house FROM table_name_54 WHERE state = "song"
Write a SQL query that answers the following question: What type of state was Chu?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (type VARCHAR, state VARCHAR)
SELECT type FROM table_name_41 WHERE state = "chu"
Write a SQL query that answers the following question: What type of state was Lu, when Yi was the ruler from the royal house of Ji?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (type VARCHAR, state VARCHAR, royal_house VARCHAR, name VARCHAR)
SELECT type FROM table_name_39 WHERE royal_house = "ji" AND name = "yi" AND state = "lu"
Write a SQL query that answers the following question: What is Score, when Competition is "Euro 2004 Qualifier"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (score VARCHAR, competition VARCHAR)
SELECT score FROM table_name_73 WHERE competition = "euro 2004 qualifier"
Write a SQL query that answers the following question: What is Competition, when Date is "28 March 2001"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (competition VARCHAR, date VARCHAR)
SELECT competition FROM table_name_24 WHERE date = "28 march 2001"
Write a SQL query that answers the following question: who is the opponent on 2004-06-26 with the result of loss?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (opponent VARCHAR, date VARCHAR, result VARCHAR)
SELECT opponent FROM table_name_78 WHERE date = "2004-06-26" AND result = "loss"
Write a SQL query that answers the following question: what is the location when the opponent is aleksandr pitchkounov?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (location VARCHAR, opponent VARCHAR)
SELECT location FROM table_name_54 WHERE opponent = "aleksandr pitchkounov"
Write a SQL query that answers the following question: what is the event when the location is saitama, japan?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (event VARCHAR, location VARCHAR)
SELECT event FROM table_name_66 WHERE location = "saitama, japan"
Write a SQL query that answers the following question: what is the location when the event is k-1 world grand prix 2004 in saitama?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (location VARCHAR, event VARCHAR)
SELECT location FROM table_name_19 WHERE event = "k-1 world grand prix 2004 in saitama"
Write a SQL query that answers the following question: what is the record when the result is win on 2004-06-26?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (record VARCHAR, result VARCHAR, date VARCHAR)
SELECT record FROM table_name_96 WHERE result = "win" AND date = "2004-06-26"
Write a SQL query that answers the following question: what is the event when the result is loss and the record is 7-5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (event VARCHAR, result VARCHAR, record VARCHAR)
SELECT event FROM table_name_50 WHERE result = "loss" AND record = "7-5"
Write a SQL query that answers the following question: What is the date of the game with a result of W 13-10?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (date VARCHAR, result VARCHAR)
SELECT date FROM table_name_53 WHERE result = "w 13-10"
Write a SQL query that answers the following question: What is the total number of Total(s), when Finish is "T21", and when To Par is greater than 23?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (total VARCHAR, finish VARCHAR, to_par VARCHAR)
SELECT COUNT(total) FROM table_name_11 WHERE finish = "t21" AND to_par > 23
Write a SQL query that answers the following question: What is Finish, when Total is "306"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (finish VARCHAR, total VARCHAR)
SELECT finish FROM table_name_20 WHERE total = 306
Write a SQL query that answers the following question: What is the total number of To Par, when Player is "Julius Boros", and when Total is greater than 295?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (to_par VARCHAR, player VARCHAR, total VARCHAR)
SELECT COUNT(to_par) FROM table_name_28 WHERE player = "julius boros" AND total > 295
Write a SQL query that answers the following question: What is the total number of To Par, when Total is "295"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (to_par VARCHAR, total VARCHAR)
SELECT COUNT(to_par) FROM table_name_38 WHERE total = 295
Write a SQL query that answers the following question: What is the lowest Total, when Year(s) Won is "1948 , 1950 , 1951 , 1953"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (total INTEGER, year_s__won VARCHAR)
SELECT MIN(total) FROM table_name_58 WHERE year_s__won = "1948 , 1950 , 1951 , 1953"
Write a SQL query that answers the following question: What is the sum of Year, when Role is "himself", and when Notes is "celebrity guest alongside yg family"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (year INTEGER, role VARCHAR, notes VARCHAR)
SELECT SUM(year) FROM table_name_39 WHERE role = "himself" AND notes = "celebrity guest alongside yg family"
Write a SQL query that answers the following question: What is the highest Year, when Notes is "Celebrity Guest Alongside YG Family"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (year INTEGER, notes VARCHAR)
SELECT MAX(year) FROM table_name_15 WHERE notes = "celebrity guest alongside yg family"
Write a SQL query that answers the following question: What is the Year, when Role is "himself", and when Title is "Epik High's Love And Delusion"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (year VARCHAR, role VARCHAR, title VARCHAR)
SELECT year FROM table_name_59 WHERE role = "himself" AND title = "epik high's love and delusion"
Write a SQL query that answers the following question: What is the sum of Year, when Title is "Mnet Director's Cut"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (year INTEGER, title VARCHAR)
SELECT SUM(year) FROM table_name_53 WHERE title = "mnet director's cut"
Write a SQL query that answers the following question: What is the Network, when Title is "Epik High's Love And Delusion"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (network VARCHAR, title VARCHAR)
SELECT network FROM table_name_86 WHERE title = "epik high's love and delusion"
Write a SQL query that answers the following question: How many were in attendance during week 12?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (attendance VARCHAR, week VARCHAR)
SELECT attendance FROM table_name_78 WHERE week = 12
Write a SQL query that answers the following question: On what date was the Result l 38-14?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (date VARCHAR, result VARCHAR)
SELECT date FROM table_name_46 WHERE result = "l 38-14"
Write a SQL query that answers the following question: On what date was the week less than 3 with a result of w 24-13?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (date VARCHAR, week VARCHAR, result VARCHAR)
SELECT date FROM table_name_60 WHERE week < 3 AND result = "w 24-13"
Write a SQL query that answers the following question: what is the water park with the rank 20?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (water_park VARCHAR, rank VARCHAR)
SELECT water_park FROM table_name_72 WHERE rank = 20
Write a SQL query that answers the following question: what is 2011 when the rank is less than 8 and the water park is ocean world?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (rank VARCHAR, water_park VARCHAR)
SELECT SUM(2011) FROM table_name_58 WHERE rank < 8 AND water_park = "ocean world"
Write a SQL query that answers the following question: What percentage of Azad Kashmir is Hindu?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (_percentage_hindu VARCHAR, area VARCHAR)
SELECT _percentage_hindu FROM table_name_74 WHERE area = "azad kashmir"
Write a SQL query that answers the following question: What area shows % Hindu of statistics from the bbc in depth report.?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (area VARCHAR, _percentage_hindu VARCHAR)
SELECT area FROM table_name_71 WHERE _percentage_hindu = "statistics from the bbc in depth report."
Write a SQL query that answers the following question: What is the population when the % Muslim shows 30%?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (population VARCHAR, _percentage_muslim VARCHAR)
SELECT population FROM table_name_81 WHERE _percentage_muslim = "30%"
Write a SQL query that answers the following question: What is the percentage of Buddhist when the Population is ~2.6 million (2.6million)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (_percentage_buddhist VARCHAR, population VARCHAR)
SELECT _percentage_buddhist FROM table_name_39 WHERE population = "~2.6 million (2.6million)"
Write a SQL query that answers the following question: What area has a % Other of –, and a % Muslim of 95%?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (area VARCHAR, _percentage_other VARCHAR, _percentage_muslim VARCHAR)
SELECT area FROM table_name_83 WHERE _percentage_other = "–" AND _percentage_muslim = "95%"
Write a SQL query that answers the following question: What area has a percentage of other of 3%?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (area VARCHAR, _percentage_other VARCHAR)
SELECT area FROM table_name_13 WHERE _percentage_other = "3%"
Write a SQL query that answers the following question: What Game had a Result of 125-123 (OT)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (game VARCHAR, result VARCHAR)
SELECT game FROM table_name_45 WHERE result = "125-123 (ot)"
Write a SQL query that answers the following question: What is the Date of Game 5 with Road Team St. Louis?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (date VARCHAR, road_team VARCHAR, game VARCHAR)
SELECT date FROM table_name_10 WHERE road_team = "st. louis" AND game = "game 5"
Write a SQL query that answers the following question: What is the Road Team of Game 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (road_team VARCHAR, game VARCHAR)
SELECT road_team FROM table_name_64 WHERE game = "game 3"
Write a SQL query that answers the following question: What is the Game on April 13 with Road Team St. Louis?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (game VARCHAR, road_team VARCHAR, date VARCHAR)
SELECT game FROM table_name_16 WHERE road_team = "st. louis" AND date = "april 13"
Write a SQL query that answers the following question: What is the Home Team in the game with a Result of 124-109?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (home_team VARCHAR, result VARCHAR)
SELECT home_team FROM table_name_48 WHERE result = "124-109"
Write a SQL query that answers the following question: What is the Home Team on April 13 with a Road Team of St. Louis?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (home_team VARCHAR, road_team VARCHAR, date VARCHAR)
SELECT home_team FROM table_name_8 WHERE road_team = "st. louis" AND date = "april 13"
Write a SQL query that answers the following question: What is Score, when Date is greater than 7, and when Game is "82"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (score VARCHAR, date VARCHAR, game VARCHAR)
SELECT score FROM table_name_29 WHERE date > 7 AND game = 82
Write a SQL query that answers the following question: What is Opponent, when Location/Attendance is "Mellon Arena - 17,132"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (opponent VARCHAR, location_attendance VARCHAR)
SELECT opponent FROM table_name_67 WHERE location_attendance = "mellon arena - 17,132"
Write a SQL query that answers the following question: What is Score, when Game is greater than 78, and when Date is "4"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (score VARCHAR, game VARCHAR, date VARCHAR)
SELECT score FROM table_name_31 WHERE game > 78 AND date = 4
Write a SQL query that answers the following question: What is Score, when Opponent is "Tampa Bay Lightning"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_13 WHERE opponent = "tampa bay lightning"
Write a SQL query that answers the following question: What is Location/Attendance, when Score is "4-5 (OT)"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (location_attendance VARCHAR, score VARCHAR)
SELECT location_attendance FROM table_name_2 WHERE score = "4-5 (ot)"
Write a SQL query that answers the following question: What driving wheels are on the m1 original NER class?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (driving_wheels VARCHAR, original_ner_class VARCHAR)
SELECT driving_wheels FROM table_name_8 WHERE original_ner_class = "m1"
Write a SQL query that answers the following question: What is the 1914 NER class with a d17/2 LNER class?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (lner_class VARCHAR)
SELECT 1914 AS _ner_class FROM table_name_78 WHERE lner_class = "d17/2"
Write a SQL query that answers the following question: What was Lew Worsham's score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_53 WHERE player = "lew worsham"
Write a SQL query that answers the following question: Which Points have a Time/Retired of +49.222 secs?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (points INTEGER, time_retired VARCHAR)
SELECT MAX(points) FROM table_name_5 WHERE time_retired = "+49.222 secs"
Write a SQL query that answers the following question: What are grid 4's average points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (points INTEGER, grid VARCHAR)
SELECT AVG(points) FROM table_name_25 WHERE grid = 4
Write a SQL query that answers the following question: Who was the owner of Give a Toast after 1985?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (owner VARCHAR, year VARCHAR, winner VARCHAR)
SELECT owner FROM table_name_43 WHERE year > 1985 AND winner = "give a toast"
Write a SQL query that answers the following question: What is the earliest year Stuart Janney III was an owner?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (year INTEGER, owner VARCHAR)
SELECT MIN(year) FROM table_name_10 WHERE owner = "stuart janney iii"
Write a SQL query that answers the following question: Who was the winner after 1989 when Stronach Stable was the owner?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (winner VARCHAR, year VARCHAR, owner VARCHAR)
SELECT winner FROM table_name_41 WHERE year > 1989 AND owner = "stronach stable"
Write a SQL query that answers the following question: Who was the trainer when Mckaymackenna won?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (trainer VARCHAR, winner VARCHAR)
SELECT trainer FROM table_name_3 WHERE winner = "mckaymackenna"
Write a SQL query that answers the following question: What Tunnel has an Imperial Length of 307 yd?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (tunnel VARCHAR, length__imperial_ VARCHAR)
SELECT tunnel FROM table_name_38 WHERE length__imperial_ = "307 yd"
Write a SQL query that answers the following question: What Type of Tunnel is the Downhill Tunnel?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (type VARCHAR, tunnel VARCHAR)
SELECT type FROM table_name_78 WHERE tunnel = "downhill"
Write a SQL query that answers the following question: What did United States score in the place t6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (score VARCHAR, country VARCHAR, place VARCHAR)
SELECT score FROM table_name_21 WHERE country = "united states" AND place = "t6"
Write a SQL query that answers the following question: Which country has the player Ted Schulz?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_41 WHERE player = "ted schulz"