answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT country FROM table_name_38 WHERE place = "t1" AND score = 72 - 68 - 70 - 73 = 283
Which country had a place of t1, as well as a score of 72-68-70-73=283?
CREATE TABLE table_name_38 (country VARCHAR, place VARCHAR, score VARCHAR)
SELECT design FROM table_name_33 WHERE denomination = "$1.18"
What stamp design has a denomination of $1.18?
CREATE TABLE table_name_33 (design VARCHAR, denomination VARCHAR)
SELECT AVG(grid) FROM table_name_62 WHERE rider = "toni elias" AND laps > 30
What is the average Grid for the Rider Toni Elias with Laps more than 30?
CREATE TABLE table_name_62 (grid INTEGER, rider VARCHAR, laps VARCHAR)
SELECT COUNT(division) FROM table_12002388_1 WHERE reg_season = "4th"
How many teams placed 4th in the regular season?
CREATE TABLE table_12002388_1 (division VARCHAR, reg_season VARCHAR)
SELECT rank FROM table_name_21 WHERE winning_party_2003 = "labour" AND swing_to_gain > 2.13 AND result = "lab hold" AND constituency = "linlithgow"
Which rank had the Labour party winning in 2003, a swing to gain that was larger than 2.13, a lab hold as a result, and which took place in the Linlithgow constituency?
CREATE TABLE table_name_21 (rank VARCHAR, constituency VARCHAR, result VARCHAR, winning_party_2003 VARCHAR, swing_to_gain VARCHAR)
SELECT COUNT(colors) FROM table_29612224_1 WHERE location = "Maroa, Illinois"
How many different combinations of team colors are there in all the schools in Maroa, Illinois?
CREATE TABLE table_29612224_1 (colors VARCHAR, location VARCHAR)
SELECT points_for FROM table_name_24 WHERE points = "60" AND club = "bedwas rfc"
What is Points, when Points is 60, and when Club is Bedwas RFC?
CREATE TABLE table_name_24 (points_for VARCHAR, points VARCHAR, club VARCHAR)
SELECT distance FROM table_28750142_1 WHERE jockey = "Jason Titley"
What is the distance of jockey Jason Titley?
CREATE TABLE table_28750142_1 (distance VARCHAR, jockey VARCHAR)
SELECT COUNT(losses) FROM table_name_61 WHERE games < 14 AND wins < 3 AND conference = "maac" AND school = "fairfield"
What is the total number of losses of the team with games less than 14, wins less than 3, in the Maac Conference at Fairfield School?
CREATE TABLE table_name_61 (losses VARCHAR, school VARCHAR, conference VARCHAR, games VARCHAR, wins VARCHAR)
SELECT record FROM table_name_59 WHERE round = "3" AND event = "afc: brazil 1"
What was his record at the AFC: Brazil 1 event that went 3 rounds?
CREATE TABLE table_name_59 (record VARCHAR, round VARCHAR, event VARCHAR)
SELECT directed_by FROM table_29574579_1 WHERE uk_viewers__million_ = "2.70"
Who is the director when there are 2.70 million viewers?
CREATE TABLE table_29574579_1 (directed_by VARCHAR, uk_viewers__million_ VARCHAR)
SELECT 2008 FROM table_name_77 WHERE 2009 = "1r" AND 2006 = "3r"
What is the value in 2008 when 1R is 2009 and 3R?
CREATE TABLE table_name_77 (Id VARCHAR)
SELECT country FROM table_name_98 WHERE to_par = "+1" AND score = 72 - 71 - 70 - 72 = 285
What is Country, when To par is "+1", and when Score is "72-71-70-72=285"?
CREATE TABLE table_name_98 (country VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT SUM(upper_index_kcal__nm_3) FROM table_name_93 WHERE lower_index_mj__nm_3 = 47.91 AND upper_index_mj__nm_3 > 53.28
What is the entry for Upper index Kcal/ Nm 3 for the row with an entry that has a Lower index MJ/ Nm 3 of 47.91, and an Upper index MJ/ Nm 3 larger than 53.28?
CREATE TABLE table_name_93 (upper_index_kcal__nm_3 INTEGER, lower_index_mj__nm_3 VARCHAR, upper_index_mj__nm_3 VARCHAR)
SELECT nationality FROM table_name_12 WHERE round = 4
What country does Round 4 come from?
CREATE TABLE table_name_12 (nationality VARCHAR, round VARCHAR)
SELECT COUNT(total_congregations) FROM table_name_85 WHERE _percentage_lds = "0.54%" AND population > 105 OFFSET 275
What is the total number of Total Congregations, when % LDS is 0.54%, and when Population is greater than 105,275?
CREATE TABLE table_name_85 (total_congregations VARCHAR, _percentage_lds VARCHAR, population VARCHAR)
SELECT opponent FROM table_name_30 WHERE round > 1 AND method = "decision (unanimous)"
What is the opponent after round number 1 with a method of decision (unanimous)?
CREATE TABLE table_name_30 (opponent VARCHAR, round VARCHAR, method VARCHAR)
SELECT home_team AS score FROM table_name_89 WHERE away_team = "essendon"
What is the score of the home team aginst Essendon?
CREATE TABLE table_name_89 (home_team VARCHAR, away_team VARCHAR)
SELECT MIN(term_ending) FROM table_name_54 WHERE position = "member" AND tenure_began = 2010 AND name = "xue hanqin"
Position of member, and a Tenure Began of 2010, and a Name of xue hanqin has what lowest term ending?
CREATE TABLE table_name_54 (term_ending INTEGER, name VARCHAR, position VARCHAR, tenure_began VARCHAR)
SELECT game FROM table_name_37 WHERE result = "win" AND opponent = "new hampshire" AND season < 2008
Which Game has a Result of win, and an Opponent of new hampshire, and a Season smaller than 2008?
CREATE TABLE table_name_37 (game VARCHAR, season VARCHAR, result VARCHAR, opponent VARCHAR)
SELECT code_ & _location FROM table_22282917_26 WHERE launch_site_condition_owner = "Obliterated"
What is every code and location where the launch site condition and owner is obliterated?
CREATE TABLE table_22282917_26 (code_ VARCHAR, _location VARCHAR, launch_site_condition_owner VARCHAR)
SELECT airport FROM table_name_52 WHERE carriers = "malaysia airlines"
Which Airport has a Carrier of malaysia airlines?
CREATE TABLE table_name_52 (airport VARCHAR, carriers VARCHAR)
SELECT college_junior_club_team__league_ FROM table_name_52 WHERE position = "(c)" AND round > 2
what is the college/junior/club team (league) when the position is (c) and the round is higher than 2?
CREATE TABLE table_name_52 (college_junior_club_team__league_ VARCHAR, position VARCHAR, round VARCHAR)
SELECT run_2 FROM table_name_9 WHERE rank = "4"
Which Run 2 has a Rank of 4?
CREATE TABLE table_name_9 (run_2 VARCHAR, rank VARCHAR)
SELECT sanction FROM table_16275828_4 WHERE track_name = "Fayette County Speedway"
Who sanctioned the event at fayette county speedway?
CREATE TABLE table_16275828_4 (sanction VARCHAR, track_name VARCHAR)
SELECT record FROM table_name_32 WHERE score = "73-82"
What is the record of the 73-82 score?
CREATE TABLE table_name_32 (record VARCHAR, score VARCHAR)
SELECT SUM(bronze) FROM table_name_47 WHERE rank > 11 AND gold < 0
What is the sum of Bronze when the rank is more than 11 and gold is less than 0?
CREATE TABLE table_name_47 (bronze INTEGER, rank VARCHAR, gold VARCHAR)
SELECT parent_unit FROM table_28342423_1 WHERE commanding_officer = "Ludwig Franzisket"
Name the parent unit for ludwig franzisket
CREATE TABLE table_28342423_1 (parent_unit VARCHAR, commanding_officer VARCHAR)
SELECT film_title_used_in_nomination FROM table_name_83 WHERE original_name = "panny z wilka"
What was the film title used in nomination for Panny Z Wilka?
CREATE TABLE table_name_83 (film_title_used_in_nomination VARCHAR, original_name VARCHAR)
SELECT MAX(round) FROM table_20861261_4 WHERE weight = "192lb (87kg)"
In what round did the player who weights 192lb (87kg) play?
CREATE TABLE table_20861261_4 (round INTEGER, weight VARCHAR)
SELECT country FROM table_name_12 WHERE debt_as__percentage_of_value < 86 AND _percentage_change_on_year = "21"
Name the country where % change on year is 21 and value is less than 86
CREATE TABLE table_name_12 (country VARCHAR, debt_as__percentage_of_value VARCHAR, _percentage_change_on_year VARCHAR)
SELECT player_name FROM table_name_42 WHERE position = "cornerback" AND year = 1997
What is the name of the cornerback from 1997?
CREATE TABLE table_name_42 (player_name VARCHAR, position VARCHAR, year VARCHAR)
SELECT T1.Investor_details FROM INVESTORS AS T1 JOIN TRANSACTIONS AS T2 ON T1.investor_id = T2.investor_id WHERE T2.share_count > 100
Show details of all investors if they make any transaction with share count greater than 100.
CREATE TABLE TRANSACTIONS (investor_id VARCHAR, share_count INTEGER); CREATE TABLE INVESTORS (Investor_details VARCHAR, investor_id VARCHAR)
SELECT COUNT(overall) FROM table_name_76 WHERE position = "ot" AND round > 5
How much Overall has a Position of ot, and a Round larger than 5?
CREATE TABLE table_name_76 (overall VARCHAR, position VARCHAR, round VARCHAR)
SELECT visitor FROM table_name_93 WHERE date = "april 17"
Who was the visitor for the April 17 game?
CREATE TABLE table_name_93 (visitor VARCHAR, date VARCHAR)
SELECT total FROM table_name_31 WHERE a_score > 6.4 AND b_score < 9.025
Can you tell me the Total that has the A Score larger than 6.4, and the B Score smaller than 9.025?
CREATE TABLE table_name_31 (total VARCHAR, a_score VARCHAR, b_score VARCHAR)
SELECT MIN(react) FROM table_name_50 WHERE lane = 5
Can you tell me the lowest React that has the Lane of 5?
CREATE TABLE table_name_50 (react INTEGER, lane VARCHAR)
SELECT venue FROM table_name_37 WHERE kitmaker = "lotto" AND team = "apoel"
Which Venue has a Kitmaker of lotto, and a Team of apoel?
CREATE TABLE table_name_37 (venue VARCHAR, kitmaker VARCHAR, team VARCHAR)
SELECT college FROM table_20860739_1 WHERE height = "6'1"
What college has a player that is 6'1?
CREATE TABLE table_20860739_1 (college VARCHAR, height VARCHAR)
SELECT group FROM table_1358608_2 WHERE weight__kg_ = "56.5"
What group info is available for the 56.5 kg weight?
CREATE TABLE table_1358608_2 (group VARCHAR, weight__kg_ VARCHAR)
SELECT club_s_ FROM table_28286776_12 WHERE goal_s_ = 10
What club did the championship player come from who had 10 goals?
CREATE TABLE table_28286776_12 (club_s_ VARCHAR, goal_s_ VARCHAR)
SELECT MIN(share) FROM table_name_67 WHERE viewers__m_ < 8.78 AND timeslot_rank < 4
What is the smallest share for a timeslot ranking less than 4 and fewer viewers than 8.78 million?
CREATE TABLE table_name_67 (share INTEGER, viewers__m_ VARCHAR, timeslot_rank VARCHAR)
SELECT damage__millions_usd__ FROM table_name_36 WHERE min_press___mbar__ = "972" AND deaths = "52"
What is the cost of 972 Min Press caused 52 death?
CREATE TABLE table_name_36 (damage__millions_usd__ VARCHAR, min_press___mbar__ VARCHAR, deaths VARCHAR)
SELECT MIN(year) FROM table_name_56 WHERE category = "best performance by a leading actor in a play"
What is the first year that Reasons to be Pretty had a nominee for best performance by a leading actor in a play?
CREATE TABLE table_name_56 (year INTEGER, category VARCHAR)
SELECT AVG(played) FROM table_name_18 WHERE goals_against < 63 AND team = "nelson" AND lost > 16
What is the average Played, when Goals Against is less than 63, when Team is "Nelson", and when Lost is greater than 16?
CREATE TABLE table_name_18 (played INTEGER, lost VARCHAR, goals_against VARCHAR, team VARCHAR)
SELECT incumbent FROM table_1342393_16 WHERE district = "Kentucky 9"
Name the incumbent for kentucky 9
CREATE TABLE table_1342393_16 (incumbent VARCHAR, district VARCHAR)
SELECT name FROM Person WHERE age < 30
Who is the person whose age is below 30?
CREATE TABLE Person (name VARCHAR, age INTEGER)
SELECT 3 AS rd_place_team FROM table_18618672_2 WHERE year = 1955
What is the 3rd place team for the year of 1955?
CREATE TABLE table_18618672_2 (year VARCHAR)
SELECT × FROM table_26173063_2 WHERE faisaly = "0-0"
what is x when faisaly is 0-0?
CREATE TABLE table_26173063_2 (× VARCHAR, faisaly VARCHAR)
SELECT COUNT(points) FROM table_name_19 WHERE class = "250cc" AND year < 1978 AND team = "yamaha" AND wins > 0
How many points numbers had a class of 250cc, a year prior to 1978, Yamaha as a team, and where wins was more than 0?
CREATE TABLE table_name_19 (points VARCHAR, wins VARCHAR, team VARCHAR, class VARCHAR, year VARCHAR)
SELECT high_rebounds FROM table_18894744_6 WHERE high_points = "Douglas (28)"
Who did the high rebounds in the game where Douglas (28) did the high points?
CREATE TABLE table_18894744_6 (high_rebounds VARCHAR, high_points VARCHAR)
SELECT score FROM table_name_47 WHERE time = "2:22"
what is the score when the time is 2:22?
CREATE TABLE table_name_47 (score VARCHAR, time VARCHAR)
SELECT rating FROM table_name_63 WHERE rank___number_ = "tba" AND air_date = "april 21, 2009"
What is the rating of the show ranked tba, aired on April 21, 2009?
CREATE TABLE table_name_63 (rating VARCHAR, rank___number_ VARCHAR, air_date VARCHAR)
SELECT venue FROM table_name_18 WHERE result = "12th" AND year < 2012
What venue is used before 2012 with a result of 12th?
CREATE TABLE table_name_18 (venue VARCHAR, result VARCHAR, year VARCHAR)
SELECT COUNT(number_of_fixtures) FROM table_27973624_1 WHERE new_entries_this_round = "none"
How many times is the new entries this round is none?
CREATE TABLE table_27973624_1 (number_of_fixtures VARCHAR, new_entries_this_round VARCHAR)
SELECT home_team FROM table_name_73 WHERE away_team = "collingwood"
What was the home team that played Collingwood?
CREATE TABLE table_name_73 (home_team VARCHAR, away_team VARCHAR)
SELECT COUNT(revenue__millions_) FROM table_14700336_1 WHERE spending_per_capita = "$6,736"
How many times was revenue in millions recorded when the spending per capita was $6,736?
CREATE TABLE table_14700336_1 (revenue__millions_ VARCHAR, spending_per_capita VARCHAR)
SELECT winner FROM table_1594772_2 WHERE match_date = "Nov 5, 1987"
Name the winner for date of nov 5, 1987
CREATE TABLE table_1594772_2 (winner VARCHAR, match_date VARCHAR)
SELECT MIN(year) FROM table_name_99 WHERE entrant = "rotary watches stanley brm" AND chassis = "brm p207" AND points > 0
What is the earliest year with an entry from Rotary Watches Stanley BRM and a BRM P207 with more than 0 points?
CREATE TABLE table_name_99 (year INTEGER, points VARCHAR, entrant VARCHAR, chassis VARCHAR)
SELECT MIN(bronze) FROM table_name_34 WHERE total = 4 AND gold < 1
Which Bronze has a Total of 4, and a Gold smaller than 1?
CREATE TABLE table_name_34 (bronze INTEGER, total VARCHAR, gold VARCHAR)
SELECT fat32 FROM table_name_31 WHERE ntfs = "yes v1.0/v1.1"
Which FAT32 has yes v1.0/v1.1 for NTFS?
CREATE TABLE table_name_31 (fat32 VARCHAR, ntfs VARCHAR)
SELECT dimensions FROM table_298883_5 WHERE obverse = "Kim Il-sung" AND date_of_issue = "1992"
What are the dimensions of the coin issued in 1992 with kim il-sung on the obverse?
CREATE TABLE table_298883_5 (dimensions VARCHAR, obverse VARCHAR, date_of_issue VARCHAR)
SELECT candidates FROM table_1341395_33 WHERE incumbent = "Gregory W. Meeks"
Who were the candidates when gregory w. meeks was the incumbent
CREATE TABLE table_1341395_33 (candidates VARCHAR, incumbent VARCHAR)
SELECT SUM(bronze) FROM table_name_39 WHERE silver > 0 AND nation = "soviet union" AND total > 3
What is the total sum of bronze medals for the Soviet Union when there are more than 0 silver medals and more than 3 total medals?
CREATE TABLE table_name_39 (bronze INTEGER, total VARCHAR, silver VARCHAR, nation VARCHAR)
SELECT successor FROM table_2417330_4 WHERE reason_for_change = "Election was successfully contested July 30, 1861"
Name the successor for election was successfully contested july 30, 1861
CREATE TABLE table_2417330_4 (successor VARCHAR, reason_for_change VARCHAR)
SELECT 2010 FROM table_name_56 WHERE tournament = "us open"
Which 2010 featured the US Open?
CREATE TABLE table_name_56 (tournament VARCHAR)
SELECT MIN(swimsuit) FROM table_name_66 WHERE state = "rhode island" AND average > 9.235
What is the lowest swimsuit score a contestant from Rhode Island with an average larger than 9.235 has?
CREATE TABLE table_name_66 (swimsuit INTEGER, state VARCHAR, average VARCHAR)
SELECT unit_price FROM tracks WHERE name = "Fast As a Shark"
How much is the track Fast As a Shark?
CREATE TABLE tracks (unit_price VARCHAR, name VARCHAR)
SELECT year FROM table_21756039_1 WHERE overall = "29-4"
In which year is the overall 29-4?
CREATE TABLE table_21756039_1 (year VARCHAR, overall VARCHAR)
SELECT automobile_name FROM table_name_11 WHERE manufacturer = "letecke zavody n.p., jinonice"
What is the name of the car manufactured by Letecke Zavody N.P., Jinonice?
CREATE TABLE table_name_11 (automobile_name VARCHAR, manufacturer VARCHAR)
SELECT loss FROM table_name_94 WHERE name = "boris picano-nacci"
What was the loss for Boris Picano-Nacci?
CREATE TABLE table_name_94 (loss VARCHAR, name VARCHAR)
SELECT nfl_team FROM table_16376436_1 WHERE college = "Norfolk State"
What is the NFL team for the player who's college was Norfolk State?
CREATE TABLE table_16376436_1 (nfl_team VARCHAR, college VARCHAR)
SELECT competition FROM table_name_90 WHERE date = "8 june 2005"
Which competition was played on 8 June 2005?
CREATE TABLE table_name_90 (competition VARCHAR, date VARCHAR)
SELECT COUNT(*), T1.blockfloor FROM BLOCK AS T1 JOIN room AS T2 ON T1.blockfloor = T2.blockfloor AND T1.blockcode = T2.blockcode GROUP BY T1.blockfloor
Find the number of rooms located on each block floor.
CREATE TABLE room (blockfloor VARCHAR, blockcode VARCHAR); CREATE TABLE BLOCK (blockfloor VARCHAR, blockcode VARCHAR)
SELECT score FROM table_name_4 WHERE visitor = "edmonton oilers"
What was the score for the game in which the Edmonton Oilers were visitors?
CREATE TABLE table_name_4 (score VARCHAR, visitor VARCHAR)
SELECT MAX(bronze) FROM table_name_79 WHERE total < 1
How many bronze medals for the nation with less than 1 total?
CREATE TABLE table_name_79 (bronze INTEGER, total INTEGER)
SELECT date FROM table_25380472_2 WHERE final_score = "L 14–24"
On what dates was the final score of the game L 14–24?
CREATE TABLE table_25380472_2 (date VARCHAR, final_score VARCHAR)
SELECT score FROM table_name_77 WHERE date = "february 17"
What was the score on February 17?
CREATE TABLE table_name_77 (score VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_27 WHERE result = "l 13-7 ot"
When the result was l 13-7 ot, who was the opponent?
CREATE TABLE table_name_27 (opponent VARCHAR, result VARCHAR)
SELECT winner FROM table_name_97 WHERE fifth = "joss stone"
WHAT IS THE WINNER WITH A FIFTH OF JOSS STONE?
CREATE TABLE table_name_97 (winner VARCHAR, fifth VARCHAR)
SELECT hometown FROM table_name_13 WHERE profession = "mixologist"
What was the hometown of the contestant who was a professional mixologist?
CREATE TABLE table_name_13 (hometown VARCHAR, profession VARCHAR)
SELECT viewers__in_millions_ FROM table_name_69 WHERE season = "1"
How many people watched season 1?
CREATE TABLE table_name_69 (viewers__in_millions_ VARCHAR, season VARCHAR)
SELECT T1.document_id FROM Documents AS T1 JOIN Documents_with_expenses AS T2 ON T1.document_id = T2.document_id WHERE T1.document_name LIKE '%s%'
What are the ids of documents with letter 's' in the name with any expense budgets.
CREATE TABLE Documents_with_expenses (document_id VARCHAR); CREATE TABLE Documents (document_id VARCHAR, document_name VARCHAR)
SELECT home_team FROM table_name_32 WHERE venue = "mcg"
Which Home team has a Venue of mcg?
CREATE TABLE table_name_32 (home_team VARCHAR, venue VARCHAR)
SELECT MIN(maximum_fps) FROM table_name_84 WHERE width = 3072 AND height < 1620
What is the lowest maximum of fps with a width of 3072 and a height less than 1620?
CREATE TABLE table_name_84 (maximum_fps INTEGER, width VARCHAR, height VARCHAR)
SELECT MIN(opponents) FROM table_22801331_1 WHERE cowboys_points = 36
What is the fewest points opponents have scored when the Cowboys score 36?
CREATE TABLE table_22801331_1 (opponents INTEGER, cowboys_points VARCHAR)
SELECT COUNT(reunion_bmi) FROM table_28654454_5 WHERE contestant = "Miles"
What was miles's bmi att the reunion?
CREATE TABLE table_28654454_5 (reunion_bmi VARCHAR, contestant VARCHAR)
SELECT alabama FROM table_name_76 WHERE mississippi_st = "walt harris"
Who was the Alabama player associated with Walt Harris?
CREATE TABLE table_name_76 (alabama VARCHAR, mississippi_st VARCHAR)
SELECT name FROM table_name_1 WHERE left_office = "june 2011"
Who left office in June 2011?
CREATE TABLE table_name_1 (name VARCHAR, left_office VARCHAR)
SELECT model_number FROM table_name_46 WHERE socket = "μpga2 bga2 mmc-2"
Which model number has socket μpga2 bga2 mmc-2?
CREATE TABLE table_name_46 (model_number VARCHAR, socket VARCHAR)
SELECT champions FROM table_name_47 WHERE year > 1999 AND runners_up = "changwon lg sakers"
Who won after 1999 with changwon lg sakers as runners-up?
CREATE TABLE table_name_47 (champions VARCHAR, year VARCHAR, runners_up VARCHAR)
SELECT MAX(booked_count), MIN(booked_count), AVG(booked_count) FROM products_booked
What are the maximum, minimum, and average booked count for the products booked?
CREATE TABLE products_booked (booked_count INTEGER)
SELECT local_host_s_ FROM table_name_86 WHERE country = "united states" AND year < 2007
Who are the local hosts for the United States in years earlier than 2007?
CREATE TABLE table_name_86 (local_host_s_ VARCHAR, country VARCHAR, year VARCHAR)
SELECT score FROM table_30049462_8 WHERE date = "March 8"
Name the score for march 8
CREATE TABLE table_30049462_8 (score VARCHAR, date VARCHAR)
SELECT qual FROM table_name_70 WHERE rank = "29" AND year = "1957"
What is the qualification for rank of 29 in 1957?
CREATE TABLE table_name_70 (qual VARCHAR, rank VARCHAR, year VARCHAR)
SELECT T1.product_name, T2.color_description, T1.product_description FROM products AS T1 JOIN Ref_colors AS T2 ON T1.color_code = T2.color_code WHERE product_category_code = "Herbs"
List the names, color descriptions and product descriptions of products with category "Herbs".
CREATE TABLE Ref_colors (color_description VARCHAR, color_code VARCHAR); CREATE TABLE products (product_name VARCHAR, product_description VARCHAR, color_code VARCHAR)
SELECT opponent FROM table_24814477_2 WHERE week = 8
Who was the opponent in Week 8?
CREATE TABLE table_24814477_2 (opponent VARCHAR, week VARCHAR)
SELECT T2.customer_first_name, T2.customer_last_name, T2.customer_phone FROM Customers_cards AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T1.card_number = "4560596484842"
What is the first name, last name, and phone of the customer with card 4560596484842.
CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR, customer_phone VARCHAR, customer_id VARCHAR); CREATE TABLE Customers_cards (customer_id VARCHAR, card_number VARCHAR)
SELECT home_team FROM table_name_89 WHERE road_team = "boston" AND game = "game 4"
Who was the home team when Boston is the road team in game 4?
CREATE TABLE table_name_89 (home_team VARCHAR, road_team VARCHAR, game VARCHAR)
SELECT home_team AS score FROM table_name_74 WHERE venue = "western oval"
What was the home teams score at Western Oval?
CREATE TABLE table_name_74 (home_team VARCHAR, venue VARCHAR)