question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
When has Result of 2–0, and a Score of 2 – 0?
CREATE TABLE table_name_38 (date VARCHAR, result VARCHAR, score VARCHAR)
SELECT date FROM table_name_38 WHERE result = "2–0" AND score = "2 – 0"
List the brands of lenses that took both a picture of mountains with range 'Toubkal Atlas' and a picture of mountains with range 'Lasta Massif'
CREATE TABLE mountain (id VARCHAR, range VARCHAR); CREATE TABLE photos (mountain_id VARCHAR, camera_lens_id VARCHAR); CREATE TABLE camera_lens (brand VARCHAR, id VARCHAR)
SELECT T3.brand FROM mountain AS T1 JOIN photos AS T2 ON T1.id = T2.mountain_id JOIN camera_lens AS T3 ON T2.camera_lens_id = T3.id WHERE T1.range = 'Toubkal Atlas' INTERSECT SELECT T3.brand FROM mountain AS T1 JOIN photos AS T2 ON T1.id = T2.mountain_id JOIN camera_lens AS T3 ON T2.camera_lens_id = T3.id WHERE T1.rang...
Which final opponent's surface was hard (i) and participated on October 9, 2005?
CREATE TABLE table_name_26 (opponent_in_the_final VARCHAR, surface VARCHAR, date VARCHAR)
SELECT opponent_in_the_final FROM table_name_26 WHERE surface = "hard (i)" AND date = "october 9, 2005"
What is the nationality of the 2012 clausura tournament?
CREATE TABLE table_30083499_1 (nationality VARCHAR, tournament VARCHAR)
SELECT nationality FROM table_30083499_1 WHERE tournament = "2012 Clausura"
Who was the Cover model on 11-03?
CREATE TABLE table_name_96 (cover_model VARCHAR, date VARCHAR)
SELECT cover_model FROM table_name_96 WHERE date = "11-03"
What is the total number of First Year, when Displacement CC is greater than 4719, when Engine is V8, when Power HP (kW) is "335 (246)", and when Model is "Ghibli SS"?
CREATE TABLE table_name_18 (first_year VARCHAR, model VARCHAR, power_hp__kw_ VARCHAR, displacement_cc VARCHAR, engine VARCHAR)
SELECT COUNT(first_year) FROM table_name_18 WHERE displacement_cc > 4719 AND engine = "v8" AND power_hp__kw_ = "335 (246)" AND model = "ghibli ss"
What is the smallest total from Japan with a rank larger than 3?
CREATE TABLE table_name_95 (total INTEGER, nation VARCHAR, rank VARCHAR)
SELECT MIN(total) FROM table_name_95 WHERE nation = "japan" AND rank > 3
What's the total number of points when the vancouver burrards have fewer than 9 losses and more than 24 games?
CREATE TABLE table_name_18 (points VARCHAR, team_name VARCHAR, losses VARCHAR, games VARCHAR)
SELECT COUNT(points) FROM table_name_18 WHERE losses < 9 AND games > 24 AND team_name = "vancouver burrards"
What is the most recent championship for FISA?
CREATE TABLE table_name_26 (year INTEGER, entrant VARCHAR)
SELECT MAX(year) FROM table_name_26 WHERE entrant = "fisa"
Name the total number of pinyin for hsin-yüan-i-ma
CREATE TABLE table_16162581_1 (pinyin VARCHAR, wade_giles VARCHAR)
SELECT COUNT(pinyin) FROM table_16162581_1 WHERE wade_giles = "hsin-yüan-i-ma"
Which Round has a Player of anthony christnovich?
CREATE TABLE table_name_72 (round VARCHAR, player VARCHAR)
SELECT round FROM table_name_72 WHERE player = "anthony christnovich"
what is the district of wallasey
CREATE TABLE table_name_57 (district VARCHAR, name VARCHAR)
SELECT district FROM table_name_57 WHERE name = "wallasey"
On what date did a race occur at Long Beach?
CREATE TABLE table_name_76 (date VARCHAR, location VARCHAR)
SELECT date FROM table_name_76 WHERE location = "long beach"
Which driver has 45 laps?
CREATE TABLE table_name_92 (driver VARCHAR, laps VARCHAR)
SELECT driver FROM table_name_92 WHERE laps = 45
When was episode 02x07 first broadcast?
CREATE TABLE table_29141354_2 (first_broadcast VARCHAR, episode VARCHAR)
SELECT first_broadcast FROM table_29141354_2 WHERE episode = "02x07"
Which club has a try bonus of 2 ?
CREATE TABLE table_name_8 (club VARCHAR, try_bonus VARCHAR)
SELECT club FROM table_name_8 WHERE try_bonus = "2"
How many positions does building Costanera Center Torre 1 have?
CREATE TABLE table_27067379_1 (position VARCHAR, building VARCHAR)
SELECT COUNT(position) FROM table_27067379_1 WHERE building = "Costanera Center Torre 1"
What parties are represented in Massachusetts4 district?
CREATE TABLE table_1341522_24 (party VARCHAR, district VARCHAR)
SELECT party FROM table_1341522_24 WHERE district = "Massachusetts4"
What is the status of the 10 against?
CREATE TABLE table_name_93 (status VARCHAR, against VARCHAR)
SELECT status FROM table_name_93 WHERE against = 10
What won best pc demo when tower power (camelot) won best c64 demo?
CREATE TABLE table_2490289_1 (pc_demo VARCHAR, c64_demo VARCHAR)
SELECT pc_demo FROM table_2490289_1 WHERE c64_demo = "Tower Power (Camelot)"
What is the average total of Italy and has a bronze larger than 1?
CREATE TABLE table_name_56 (total INTEGER, nation VARCHAR, bronze VARCHAR)
SELECT AVG(total) FROM table_name_56 WHERE nation = "italy" AND bronze > 1
What venue did the game on september 5, 1998 take place at?
CREATE TABLE table_name_71 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_71 WHERE date = "september 5, 1998"
If the grid is 13 who is driving?
CREATE TABLE table_name_42 (driver VARCHAR, grid VARCHAR)
SELECT driver FROM table_name_42 WHERE grid = 13
What position did eric norri play who was the overall pick less than 322 on a round larger than 3?
CREATE TABLE table_name_33 (position VARCHAR, name VARCHAR, overall VARCHAR, round VARCHAR)
SELECT position FROM table_name_33 WHERE overall < 322 AND round > 3 AND name = "eric norri"
Who's the incumbent of Florida 12 district?
CREATE TABLE table_1341423_9 (incumbent VARCHAR, district VARCHAR)
SELECT incumbent FROM table_1341423_9 WHERE district = "Florida 12"
What is the total number of squad no when there are more than 8 points, Danny Mcguire is a player, and there are more than 0 goals?
CREATE TABLE table_name_23 (squad_no INTEGER, goals VARCHAR, points VARCHAR, player VARCHAR)
SELECT SUM(squad_no) FROM table_name_23 WHERE points > 8 AND player = "danny mcguire" AND goals > 0
Who was the opponent at the game that had a loss of Bell (6–9)?
CREATE TABLE table_name_96 (opponent VARCHAR, loss VARCHAR)
SELECT opponent FROM table_name_96 WHERE loss = "bell (6–9)"
When John Mcenroe won at Montreal, what was the score?
CREATE TABLE table_name_43 (score VARCHAR, location VARCHAR, champion VARCHAR)
SELECT score FROM table_name_43 WHERE location = "montreal" AND champion = "john mcenroe"
Which race has a pole of test driver and a team name of Lucky Strike Honda Racing f1 team?
CREATE TABLE table_name_36 (races VARCHAR, poles VARCHAR, team_name VARCHAR)
SELECT races FROM table_name_36 WHERE poles = "test driver" AND team_name = "lucky strike honda racing f1 team"
What is the average sinclair coefficient with a Sinclair Total of 477.2772023, and a Weight Class (kg) larger than 105?
CREATE TABLE table_name_61 (sinclair_coefficient INTEGER, sinclair_total VARCHAR, weight_class__kg_ VARCHAR)
SELECT AVG(sinclair_coefficient) FROM table_name_61 WHERE sinclair_total = 477.2772023 AND weight_class__kg_ > 105
how many player with nhl team being vancouver canucks
CREATE TABLE table_1473672_9 (player VARCHAR, nhl_team VARCHAR)
SELECT COUNT(player) FROM table_1473672_9 WHERE nhl_team = "Vancouver Canucks"
List the top 10 customers by total gross sales. List customers' first and last name and total gross sales.
CREATE TABLE invoices (total INTEGER, customer_id VARCHAR); CREATE TABLE customers (first_name VARCHAR, last_name VARCHAR, id VARCHAR)
SELECT T1.first_name, T1.last_name, SUM(T2.total) FROM customers AS T1 JOIN invoices AS T2 ON T2.customer_id = T1.id GROUP BY T1.id ORDER BY SUM(T2.total) DESC LIMIT 10
Who was the winner when the General classification was held by Miguel Indurain, the Points classification held by Mario Cipollini, the Mountains classification held by Claudio Chiappucci, and the Young RIder classification held by Pavel Tonkov?
CREATE TABLE table_name_10 (winner VARCHAR, young_rider_classification VARCHAR, mountains_classification VARCHAR, general_classification VARCHAR, points_classification VARCHAR)
SELECT winner FROM table_name_10 WHERE general_classification = "miguel indurain" AND points_classification = "mario cipollini" AND mountains_classification = "claudio chiappucci" AND young_rider_classification = "pavel tonkov"
What is the sum of all points in 1975 with 0 wins?
CREATE TABLE table_name_33 (points INTEGER, year VARCHAR, wins VARCHAR)
SELECT SUM(points) FROM table_name_33 WHERE year = 1975 AND wins < 0
What is the average of the contestant with a swimsuit less than 9.32?
CREATE TABLE table_name_86 (average INTEGER, swimsuit INTEGER)
SELECT SUM(average) FROM table_name_86 WHERE swimsuit < 9.32
Which Overall has a Round of 7?
CREATE TABLE table_name_99 (overall INTEGER, round VARCHAR)
SELECT MIN(overall) FROM table_name_99 WHERE round = 7
What is Tournament, when Date is "Sep 12, 1976"?
CREATE TABLE table_name_96 (tournament VARCHAR, date VARCHAR)
SELECT tournament FROM table_name_96 WHERE date = "sep 12, 1976"
Find the average number of customers in all banks of Utah state.
CREATE TABLE bank (no_of_customers INTEGER, state VARCHAR)
SELECT AVG(no_of_customers) FROM bank WHERE state = 'Utah'
Name the discipline for 1561 fis points
CREATE TABLE table_30073089_2 (discipline VARCHAR, fis_points VARCHAR)
SELECT discipline FROM table_30073089_2 WHERE fis_points = 1561
What pick number did the buffalo bills get?
CREATE TABLE table_2508633_5 (pick__number VARCHAR, nfl_team VARCHAR)
SELECT pick__number FROM table_2508633_5 WHERE nfl_team = "Buffalo Bills"
Find the customer name and date of the orders that have the status "Delivered".
CREATE TABLE customer_orders (order_date VARCHAR, customer_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR)
SELECT t1.customer_name, t2.order_date FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id WHERE order_status = "Delivered"
What Argentina country is in t10 place?
CREATE TABLE table_name_49 (score VARCHAR, place VARCHAR, country VARCHAR)
SELECT score FROM table_name_49 WHERE place = "t10" AND country = "argentina"
what is the sspec number when the part number is cw8064701470802?
CREATE TABLE table_name_2 (sspec_number VARCHAR, part_number_s_ VARCHAR)
SELECT sspec_number FROM table_name_2 WHERE part_number_s_ = "cw8064701470802"
what is 2012 when the tournament is cincinnati masters?
CREATE TABLE table_name_66 (tournament VARCHAR)
SELECT 2012 FROM table_name_66 WHERE tournament = "cincinnati masters"
How many fatalities were there in the crash described as ditched 300 m short of runway?
CREATE TABLE table_229917_2 (fatalities VARCHAR, brief_description VARCHAR)
SELECT fatalities FROM table_229917_2 WHERE brief_description = "Ditched 300 m short of runway"
How many picks played Tight end?
CREATE TABLE table_14650162_1 (pick__number VARCHAR, position VARCHAR)
SELECT COUNT(pick__number) FROM table_14650162_1 WHERE position = "Tight End"
Tell me the total number of Bronze for futsal
CREATE TABLE table_name_67 (bronze VARCHAR, sport VARCHAR)
SELECT COUNT(bronze) FROM table_name_67 WHERE sport = "futsal"
What is the set 1 when the time is 13:00, and total is 97–74?
CREATE TABLE table_name_42 (set_1 VARCHAR, time VARCHAR, total VARCHAR)
SELECT set_1 FROM table_name_42 WHERE time = "13:00" AND total = "97–74"
What is the name and description for document type code RV?
CREATE TABLE Ref_document_types (document_type_name VARCHAR, document_type_description VARCHAR, document_type_code VARCHAR)
SELECT document_type_name, document_type_description FROM Ref_document_types WHERE document_type_code = "RV"
Which Nation has Silver smaller than 16, Bronze larger than 6, and Gold of 2?
CREATE TABLE table_name_77 (nation VARCHAR, gold VARCHAR, silver VARCHAR, bronze VARCHAR)
SELECT nation FROM table_name_77 WHERE silver < 16 AND bronze > 6 AND gold = 2
Name the player for l apps is 27
CREATE TABLE table_19018191_5 (player VARCHAR, l_apps VARCHAR)
SELECT player FROM table_19018191_5 WHERE l_apps = 27
What is the Series, when the Season is after 2008, when the value for Podiums is 3, and when the Position is 8th?
CREATE TABLE table_name_28 (series VARCHAR, position VARCHAR, season VARCHAR, podiums VARCHAR)
SELECT series FROM table_name_28 WHERE season > 2008 AND podiums = "3" AND position = "8th"
What district does edward everett eslick represent?
CREATE TABLE table_1342379_41 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_1342379_41 WHERE incumbent = "Edward Everett Eslick"
How many years did he have an average finish of 29.2?
CREATE TABLE table_1637041_2 (winnings VARCHAR, avg_finish VARCHAR)
SELECT COUNT(winnings) FROM table_1637041_2 WHERE avg_finish = "29.2"
What is HDTV, when Television Service is MTV Rocks?
CREATE TABLE table_name_21 (hdtv VARCHAR, television_service VARCHAR)
SELECT hdtv FROM table_name_21 WHERE television_service = "mtv rocks"
What is the format of 105.5 fm?
CREATE TABLE table_2709_4 (format VARCHAR, frequency VARCHAR)
SELECT format FROM table_2709_4 WHERE frequency = "105.5 FM"
Name the stadium with final score of 20-10
CREATE TABLE table_name_35 (stadium VARCHAR, final_score VARCHAR)
SELECT stadium FROM table_name_35 WHERE final_score = "20-10"
Which Melbourne has a Perth of yes, and an Auckland of yes?
CREATE TABLE table_name_35 (melbourne VARCHAR, perth VARCHAR, auckland VARCHAR)
SELECT melbourne FROM table_name_35 WHERE perth = "yes" AND auckland = "yes"
Which name had a bodyweight bigger than 89.64, a total (kg) bigger than 310, a clean and jerk less than 207.5, and a snatch that is bigger than 165?
CREATE TABLE table_name_89 (name VARCHAR, snatch VARCHAR, bodyweight VARCHAR, total__kg_ VARCHAR, clean_ VARCHAR, _jerk VARCHAR)
SELECT name FROM table_name_89 WHERE bodyweight > 89.64 AND total__kg_ > 310 AND clean_ & _jerk < 207.5 AND snatch > 165
Which team has a midfielder of konrad warzycha?
CREATE TABLE table_29626583_3 (mls_team VARCHAR, position VARCHAR, player VARCHAR)
SELECT mls_team FROM table_29626583_3 WHERE position = "Midfielder" AND player = "Konrad Warzycha"
what is the technology when the gel pouring is no and the analysis time is 8 days?
CREATE TABLE table_name_88 (technology VARCHAR, gel_pouring VARCHAR, analysis_time VARCHAR)
SELECT technology FROM table_name_88 WHERE gel_pouring = "no" AND analysis_time = "8 days"
Which Site has a Sport of w swimming?
CREATE TABLE table_name_38 (site VARCHAR, sport VARCHAR)
SELECT site FROM table_name_38 WHERE sport = "w swimming"
How many laps did Jeff Burton have when he drove car with a # over 9 and more than 118 points?
CREATE TABLE table_name_82 (laps VARCHAR, points VARCHAR, car__number VARCHAR, driver VARCHAR)
SELECT COUNT(laps) FROM table_name_82 WHERE car__number > 9 AND driver = "jeff burton" AND points > 118
Game site of miami orange bowl, and a Attendance larger than 49,754 happened on what highest week?
CREATE TABLE table_name_60 (week INTEGER, game_site VARCHAR, attendance VARCHAR)
SELECT MAX(week) FROM table_name_60 WHERE game_site = "miami orange bowl" AND attendance > 49 OFFSET 754
Which Election has a Party of democratic party, and a Mayor of leonardo betti?
CREATE TABLE table_name_52 (election INTEGER, party VARCHAR, mayor VARCHAR)
SELECT MAX(election) FROM table_name_52 WHERE party = "democratic party" AND mayor = "leonardo betti"
Which catalog was published on December 19, 2001?
CREATE TABLE table_name_89 (catalog VARCHAR, date VARCHAR)
SELECT catalog FROM table_name_89 WHERE date = "december 19, 2001"
How many types of settlement if Neradin?
CREATE TABLE table_2562572_50 (type VARCHAR, settlement VARCHAR)
SELECT COUNT(type) FROM table_2562572_50 WHERE settlement = "Neradin"
what is the numbr for fri may 30 and mon may 26 is 19' 02.890 118.847mph?
CREATE TABLE table_14209455_1 (fri_30_may VARCHAR, mon_26_may VARCHAR)
SELECT fri_30_may FROM table_14209455_1 WHERE mon_26_may = "19' 02.890 118.847mph"
What is the sum of Height (cm), when the Weight (kg) is 90?
CREATE TABLE table_name_13 (height__cm_ INTEGER, weight__kg_ VARCHAR)
SELECT SUM(height__cm_) FROM table_name_13 WHERE weight__kg_ = 90
When the person died May 22, 1895 is the reason for vacancy what is the district?
CREATE TABLE table_2417445_4 (district VARCHAR, reason_for_vacancy VARCHAR)
SELECT district FROM table_2417445_4 WHERE reason_for_vacancy = "Died May 22, 1895"
What years did art grand prix compete?
CREATE TABLE table_10748727_1 (season VARCHAR, team_name VARCHAR)
SELECT season FROM table_10748727_1 WHERE team_name = "ART Grand Prix"
What was the Bye week attendance?
CREATE TABLE table_name_25 (attendance VARCHAR, record VARCHAR)
SELECT attendance FROM table_name_25 WHERE record = "bye"
Name the time with track number less than 4 for you're my everything
CREATE TABLE table_name_58 (time VARCHAR, track_number VARCHAR, song_title VARCHAR)
SELECT time FROM table_name_58 WHERE track_number < 4 AND song_title = "you're my everything"
What was the pic for Canada for player Yvon Bouillon earlier than 1974?
CREATE TABLE table_name_38 (pick INTEGER, player VARCHAR, nationality VARCHAR, year VARCHAR)
SELECT AVG(pick) FROM table_name_38 WHERE nationality = "canada" AND year < 1974 AND player = "yvon bouillon"
how much sesamin is in sesame seed?
CREATE TABLE table_1831262_2 (sesamin VARCHAR, foodstuff VARCHAR)
SELECT sesamin FROM table_1831262_2 WHERE foodstuff = "Sesame seed"
What week was the tournament of paris?
CREATE TABLE table_name_76 (week VARCHAR, tournament VARCHAR)
SELECT week FROM table_name_76 WHERE tournament = "paris"
Which Total is the lowest one that has a Country of united states, and a To par of +12?
CREATE TABLE table_name_99 (total INTEGER, country VARCHAR, to_par VARCHAR)
SELECT MIN(total) FROM table_name_99 WHERE country = "united states" AND to_par = "+12"
Overall of 208 occurred in what round?
CREATE TABLE table_name_67 (round VARCHAR, overall VARCHAR)
SELECT round FROM table_name_67 WHERE overall = 208
Which Loss has a Record of 30-32?
CREATE TABLE table_name_85 (loss VARCHAR, record VARCHAR)
SELECT loss FROM table_name_85 WHERE record = "30-32"
What is the score points when the total is 16?
CREATE TABLE table_name_35 (score_points VARCHAR, total VARCHAR)
SELECT score_points FROM table_name_35 WHERE total = "16"
What state is 25% Democrats has a ratio of 6/2 of Republicans to Democrats?
CREATE TABLE table_name_66 (state_ranked_in_partisan_order VARCHAR, percentage_democrats VARCHAR, republican__democratic VARCHAR)
SELECT state_ranked_in_partisan_order FROM table_name_66 WHERE percentage_democrats = "25%" AND republican__democratic = "6/2"
How many townlands are there for caheragh and is larger than 270 acres?
CREATE TABLE table_30121096_1 (townland VARCHAR, civil_parish VARCHAR, area__acres__ VARCHAR)
SELECT COUNT(townland) FROM table_30121096_1 WHERE civil_parish = "Caheragh" AND area__acres__ = 270
What was the date when the attendance was 48,041?
CREATE TABLE table_name_84 (date VARCHAR, attendance VARCHAR)
SELECT date FROM table_name_84 WHERE attendance = "48,041"
What circuit did Juan Manuel Fangio have the fastest lap at the german grand prix?
CREATE TABLE table_name_16 (circuit VARCHAR, fastest_lap VARCHAR, race VARCHAR)
SELECT circuit FROM table_name_16 WHERE fastest_lap = "juan manuel fangio" AND race = "german grand prix"
What's the highest Year for the Venue of Santiago De Chile and the Event of 800 m?
CREATE TABLE table_name_67 (year INTEGER, event VARCHAR, venue VARCHAR)
SELECT MAX(year) FROM table_name_67 WHERE event = "800 m" AND venue = "santiago de chile"
What is the original air date if the ratings is 1.92 million?
CREATE TABLE table_23705843_1 (original_air_date VARCHAR, ratings__millions_ VARCHAR)
SELECT original_air_date FROM table_23705843_1 WHERE ratings__millions_ = "1.92"
Which away team has a playoff record of (0-0) and played against Sioux City Bandits?
CREATE TABLE table_name_46 (away VARCHAR, plyff VARCHAR, opponent VARCHAR)
SELECT away FROM table_name_46 WHERE plyff = "(0-0)" AND opponent = "sioux city bandits"
Which Byes have an Against smaller than 1647, and an NTFA Div 2 of fingal valley, and Wins smaller than 14?
CREATE TABLE table_name_80 (byes INTEGER, wins VARCHAR, against VARCHAR, ntfa_div_2 VARCHAR)
SELECT MAX(byes) FROM table_name_80 WHERE against < 1647 AND ntfa_div_2 = "fingal valley" AND wins < 14
Can you tell me the average Attendance that has the Opponent of new orleans saints, and the Week larger than 12?
CREATE TABLE table_name_45 (attendance INTEGER, opponent VARCHAR, week VARCHAR)
SELECT AVG(attendance) FROM table_name_45 WHERE opponent = "new orleans saints" AND week > 12
What is the location attendance of the game on February 25?
CREATE TABLE table_name_52 (location_attendance VARCHAR, date VARCHAR)
SELECT location_attendance FROM table_name_52 WHERE date = "february 25"
What is every score when the date is January 2?
CREATE TABLE table_28220778_21 (score VARCHAR, date VARCHAR)
SELECT score FROM table_28220778_21 WHERE date = "January 2"
What is the status of the match between Scotland v Northern Ireland?
CREATE TABLE table_name_70 (status_of_match VARCHAR, fixture VARCHAR)
SELECT status_of_match FROM table_name_70 WHERE fixture = "scotland v northern ireland"
What products are available at store named "Miramichi"?
CREATE TABLE store_product (product_id VARCHAR, store_id VARCHAR); CREATE TABLE store (store_id VARCHAR, store_name VARCHAR); CREATE TABLE product (product VARCHAR, product_id VARCHAR)
SELECT t1.product FROM product AS t1 JOIN store_product AS t2 ON t1.product_id = t2.product_id JOIN store AS t3 ON t2.store_id = t3.store_id WHERE t3.store_name = "Miramichi"
Which country has a score of 72 by Andrew Brooks?
CREATE TABLE table_name_41 (country VARCHAR, score VARCHAR, player VARCHAR)
SELECT country FROM table_name_41 WHERE score = 72 AND player = "andrew brooks"
Show all the buildings that have at least 10 professors.
CREATE TABLE Faculty (building VARCHAR, rank VARCHAR)
SELECT building FROM Faculty WHERE rank = "Professor" GROUP BY building HAVING COUNT(*) >= 10
Which class has less than 3 in quantity with a type of 4-6-0?
CREATE TABLE table_name_70 (class VARCHAR, type VARCHAR, quantity VARCHAR)
SELECT class FROM table_name_70 WHERE type = "4-6-0" AND quantity < 3
What was the 1st leg score when Mufulira Wanderers played as Team 2?
CREATE TABLE table_name_6 (team_2 VARCHAR)
SELECT 1 AS st_leg FROM table_name_6 WHERE team_2 = "mufulira wanderers"
What is the highest playoffs that has tampa bay as the team?
CREATE TABLE table_name_79 (playoffs INTEGER, teams VARCHAR)
SELECT MAX(playoffs) FROM table_name_79 WHERE teams = "tampa bay"
What is the Tie number for the match that had away team of Scunthorpe & Lindsey United?
CREATE TABLE table_name_61 (tie_no VARCHAR, away_team VARCHAR)
SELECT tie_no FROM table_name_61 WHERE away_team = "scunthorpe & lindsey united"
What was the domestic box office for "House on Haunted Hill"?
CREATE TABLE table_2203760_4 (domestic_box_office VARCHAR, film VARCHAR)
SELECT domestic_box_office FROM table_2203760_4 WHERE film = "House on Haunted Hill"