answer
stringlengths 18
557
| question
stringlengths 12
244
| context
stringlengths 27
489
|
|---|---|---|
SELECT captain FROM table_name_54 WHERE manufacturer = "nike" AND club = "manchester united"
|
Which Manchester United captain is sponsored by Nike?
|
CREATE TABLE table_name_54 (captain VARCHAR, manufacturer VARCHAR, club VARCHAR)
|
SELECT neon FROM table_name_61 WHERE krypton = "213"
|
What neon has a krypton of 213?
|
CREATE TABLE table_name_61 (neon VARCHAR, krypton VARCHAR)
|
SELECT t1.country FROM inst AS t1 JOIN authorship AS t2 ON t1.instid = t2.instid JOIN papers AS t3 ON t2.paperid = t3.paperid GROUP BY t1.country ORDER BY COUNT(*) DESC LIMIT 1
|
Retrieve the country that has published the most papers.
|
CREATE TABLE inst (country VARCHAR, instid VARCHAR); CREATE TABLE authorship (instid VARCHAR, paperid VARCHAR); CREATE TABLE papers (paperid VARCHAR)
|
SELECT AVG(fall_09) FROM table_name_34 WHERE fall_05 < 3
|
What is the mean Fall 09 number where fall 05 is less than 3?
|
CREATE TABLE table_name_34 (fall_09 INTEGER, fall_05 INTEGER)
|
SELECT written_by FROM table_23916272_6 WHERE original_air_date = "March 1, 2004"
|
Who was the writer for the episode originally airing on March 1, 2004?
|
CREATE TABLE table_23916272_6 (written_by VARCHAR, original_air_date VARCHAR)
|
SELECT score FROM table_name_80 WHERE record = "58–15–8"
|
Which score has a record of 58–15–8?
|
CREATE TABLE table_name_80 (score VARCHAR, record VARCHAR)
|
SELECT team FROM table_name_79 WHERE laps = 97 AND grid = 3
|
Name the team with laps of 97 and grid of 3
|
CREATE TABLE table_name_79 (team VARCHAR, laps VARCHAR, grid VARCHAR)
|
SELECT score_[a_] FROM table_name_39 WHERE venue = "vanuatu (n)" AND date = "5 september 1998"
|
What is the score [A] of the match at Vanuatu (n) on 5 September 1998?
|
CREATE TABLE table_name_39 (score_ VARCHAR, a_ VARCHAR, venue VARCHAR, date VARCHAR)
|
SELECT school FROM table_name_43 WHERE _number___county = "85 wabash" AND ihsaa_football_class = "a" AND mascot = "norsemen"
|
Which School has a #/ County of 85 wabash, and an IHSAA Football Class of A, and a Mascot of norsemen?
|
CREATE TABLE table_name_43 (school VARCHAR, mascot VARCHAR, _number___county VARCHAR, ihsaa_football_class VARCHAR)
|
SELECT score FROM table_22879323_10 WHERE game = 80
|
What was the score when the game was 80?
|
CREATE TABLE table_22879323_10 (score VARCHAR, game VARCHAR)
|
SELECT away_team FROM table_name_96 WHERE home_team = "carlton"
|
Which Away team has Carlton for it's Home team?
|
CREATE TABLE table_name_96 (away_team VARCHAR, home_team VARCHAR)
|
SELECT trainer FROM table_name_24 WHERE time = "1:09.40"
|
Who trained the horse with time of 1:09.40?
|
CREATE TABLE table_name_24 (trainer VARCHAR, time VARCHAR)
|
SELECT T1.name FROM Employee AS T1 JOIN Certificate AS T2 ON T1.eid = T2.eid JOIN Aircraft AS T3 ON T3.aid = T2.aid WHERE T3.name = "Boeing 737-800"
|
Show names for all employees who have certificate of Boeing 737-800.
|
CREATE TABLE Employee (name VARCHAR, eid VARCHAR); CREATE TABLE Certificate (eid VARCHAR, aid VARCHAR); CREATE TABLE Aircraft (aid VARCHAR, name VARCHAR)
|
SELECT batting_1st FROM table_name_20 WHERE game = 8
|
who is batting 1st in game 8?
|
CREATE TABLE table_name_20 (batting_1st VARCHAR, game VARCHAR)
|
SELECT population FROM table_name_18 WHERE median_family_income = "$38,044"
|
What Population has a Median family income of $38,044?
|
CREATE TABLE table_name_18 (population VARCHAR, median_family_income VARCHAR)
|
SELECT COUNT(*) FROM professor WHERE prof_high_degree = 'Ph.D.' OR prof_high_degree = 'MA'
|
How many professors who has a either Ph.D. or MA degree?
|
CREATE TABLE professor (prof_high_degree VARCHAR)
|
SELECT no_in_series FROM table_15938543_1 WHERE production_code = 116
|
Which series number had the production code of 116
|
CREATE TABLE table_15938543_1 (no_in_series VARCHAR, production_code VARCHAR)
|
SELECT player FROM table_name_56 WHERE rank = 8 AND tally = "1-5"
|
Which player had a rank of 8 and tally of 1-5?
|
CREATE TABLE table_name_56 (player VARCHAR, rank VARCHAR, tally VARCHAR)
|
SELECT actor_in_original_production FROM table_name_69 WHERE gameplan = "troy stephens"
|
Who is the actor in the original production when Troy Stephens is the GamePlan?
|
CREATE TABLE table_name_69 (actor_in_original_production VARCHAR, gameplan VARCHAR)
|
SELECT report FROM table_1140117_5 WHERE race_name = "V Ulster Trophy"
|
What is the report for the race name V Ulster Trophy?
|
CREATE TABLE table_1140117_5 (report VARCHAR, race_name VARCHAR)
|
SELECT open_cup FROM table_name_36 WHERE year = "2012"
|
which open cup was in 2012?
|
CREATE TABLE table_name_36 (open_cup VARCHAR, year VARCHAR)
|
SELECT COUNT(international_freight) FROM table_1754531_4 WHERE domestic_mail = 260
|
Name the number of international frieghts for domestic mail of 260
|
CREATE TABLE table_1754531_4 (international_freight VARCHAR, domestic_mail VARCHAR)
|
SELECT name FROM table_name_2 WHERE round = 23
|
What is the name of the player taken in round 23?
|
CREATE TABLE table_name_2 (name VARCHAR, round VARCHAR)
|
SELECT MAX(draw) FROM table_name_92 WHERE points > 4 AND match > 5
|
What is the highest draw that has points greater than 4, with a match greater than 5?
|
CREATE TABLE table_name_92 (draw INTEGER, points VARCHAR, match VARCHAR)
|
SELECT score FROM table_name_65 WHERE opponent = "at los angeles rams"
|
For the game where the opponent is listed as At Los Angeles Rams, what was the final score?
|
CREATE TABLE table_name_65 (score VARCHAR, opponent VARCHAR)
|
SELECT cfl_team FROM table_name_86 WHERE pick__number > 34 AND college = "boise state"
|
What is CFL Team, when Pick # is greater than 34, and when College is Boise State?
|
CREATE TABLE table_name_86 (cfl_team VARCHAR, pick__number VARCHAR, college VARCHAR)
|
SELECT total FROM table_name_95 WHERE set_1 = "21–25"
|
What is the total when the set 1 is 21–25?
|
CREATE TABLE table_name_95 (total VARCHAR, set_1 VARCHAR)
|
SELECT MAX(pa) FROM table_17012578_6
|
What is the top Points Allowed?
|
CREATE TABLE table_17012578_6 (pa INTEGER)
|
SELECT year FROM table_name_73 WHERE league = "malaysian super league" AND malaysia_cup = "group stage"
|
What year was the League the malaysian super league, and a Malaysia Cup of group stage?
|
CREATE TABLE table_name_73 (year VARCHAR, league VARCHAR, malaysia_cup VARCHAR)
|
SELECT MAX(total) FROM table_name_43 WHERE gold < 12 AND nation = "hong kong (hkg)"
|
Which Total has Gold smaller than 12, and a Nation of hong kong (hkg)?
|
CREATE TABLE table_name_43 (total INTEGER, gold VARCHAR, nation VARCHAR)
|
SELECT COUNT(overall) FROM table_name_84 WHERE position = "kicker" AND pick__number < 6
|
What is the overall number for a kicker with a pick of less than 6?
|
CREATE TABLE table_name_84 (overall VARCHAR, position VARCHAR, pick__number VARCHAR)
|
SELECT 1998 FROM table_name_7 WHERE 1992 = "a" AND tournament = "hamburg masters"
|
What is 1998, when 1992 is "A", and when Tournament is "Hamburg Masters"?
|
CREATE TABLE table_name_7 (tournament VARCHAR)
|
SELECT COUNT(week) FROM table_name_59 WHERE attendance = 48 OFFSET 667
|
What week had attendance of 48,667?
|
CREATE TABLE table_name_59 (week VARCHAR, attendance VARCHAR)
|
SELECT venue FROM table_name_15 WHERE batting_team = "india" AND batting_partners = "sachin tendulkar and rahul dravid"
|
In what venue was the Batting team India who featured partners Sachin Tendulkar and Rahul Dravid?
|
CREATE TABLE table_name_15 (venue VARCHAR, batting_team VARCHAR, batting_partners VARCHAR)
|
SELECT AVG(gold) FROM table_name_99 WHERE silver < 13 AND total > 18 AND bronze < 8
|
What is the average number of gold medals won among participants that won less than 13 silver, less than 8 bronze, and more than 18 medals overall?
|
CREATE TABLE table_name_99 (gold INTEGER, bronze VARCHAR, silver VARCHAR, total VARCHAR)
|
SELECT track FROM table_22765887_1 WHERE date = "September 12, 1981"
|
Which track was used on September 12, 1981?
|
CREATE TABLE table_22765887_1 (track VARCHAR, date VARCHAR)
|
SELECT years FROM table_2841865_2 WHERE congress = "72nd"
|
What frame of time is listed under years during the 72nd congress?
|
CREATE TABLE table_2841865_2 (years VARCHAR, congress VARCHAR)
|
SELECT decision FROM table_name_62 WHERE visitor = "montreal"
|
No Decision listed above has a visitor of Montreal.
|
CREATE TABLE table_name_62 (decision VARCHAR, visitor VARCHAR)
|
SELECT date FROM table_name_43 WHERE visitor = "cleveland" AND record = "34-26"
|
What day was the visitor Cleveland when the record was 34-26?
|
CREATE TABLE table_name_43 (date VARCHAR, visitor VARCHAR, record VARCHAR)
|
SELECT LOCATION FROM wrestler GROUP BY LOCATION HAVING COUNT(*) > 2
|
List the locations that are shared by more than two wrestlers.
|
CREATE TABLE wrestler (LOCATION VARCHAR)
|
SELECT COUNT(setting) FROM table_24463470_1 WHERE unlocked_by = "N/A"
|
How many instances is the unlocked n/a?
|
CREATE TABLE table_24463470_1 (setting VARCHAR, unlocked_by VARCHAR)
|
SELECT COUNT(position) FROM table_1473672_2 WHERE player = "Rene Villemure"
|
How many positions does rene villemure play?
|
CREATE TABLE table_1473672_2 (position VARCHAR, player VARCHAR)
|
SELECT score FROM table_name_46 WHERE opponent = "@ houston" AND record = "2-0"
|
Which Score has an Opponent of @ houston, and a Record of 2-0?
|
CREATE TABLE table_name_46 (score VARCHAR, opponent VARCHAR, record VARCHAR)
|
SELECT opponent FROM table_name_6 WHERE date = "november 8, 1981"
|
What was the opponent on november 8, 1981?
|
CREATE TABLE table_name_6 (opponent VARCHAR, date VARCHAR)
|
SELECT COUNT(league_cup_goals) FROM table_name_90 WHERE total_goals = 0 AND name = "delroy facey"
|
How many League Cup Goals have 0 as the total goals, with delroy facey as the name?
|
CREATE TABLE table_name_90 (league_cup_goals VARCHAR, total_goals VARCHAR, name VARCHAR)
|
SELECT district FROM table_1341453_37 WHERE incumbent = "Marcia C. Kaptur"
|
In which district is the incumbent Marcia C. Kaptur?
|
CREATE TABLE table_1341453_37 (district VARCHAR, incumbent VARCHAR)
|
SELECT directed_by FROM table_16581695_4 WHERE no_in_season = "12"
|
Who directed episode 12 in season 3?
|
CREATE TABLE table_16581695_4 (directed_by VARCHAR, no_in_season VARCHAR)
|
SELECT date FROM table_11960610_7 WHERE team = "LA Lakers"
|
What date did the Bulls play the LA Lakers?
|
CREATE TABLE table_11960610_7 (date VARCHAR, team VARCHAR)
|
SELECT score FROM table_name_63 WHERE attendance = "13,617"
|
Name the score for attendance of 13,617
|
CREATE TABLE table_name_63 (score VARCHAR, attendance VARCHAR)
|
SELECT COUNT(total_pld) FROM table_name_14 WHERE team = "arsenal"
|
What is the total number of PLD for Team Arsenal?
|
CREATE TABLE table_name_14 (total_pld VARCHAR, team VARCHAR)
|
SELECT gdp__ppp__per_capita_2012_eu27_ = _100 FROM table_name_27 WHERE gdp_2012_millions_of_euro = "309,900"
|
What is GDP (PPP) Per Capita 2012 EU27 = 100, when GDP 2012 Millions Of Euro is 309,900?
|
CREATE TABLE table_name_27 (gdp__ppp__per_capita_2012_eu27_ VARCHAR, _100 VARCHAR, gdp_2012_millions_of_euro VARCHAR)
|
SELECT weekday FROM table_name_68 WHERE against = "kashima antlers"
|
What weekday has an against of kashima antlers?
|
CREATE TABLE table_name_68 (weekday VARCHAR, against VARCHAR)
|
SELECT date_of_vacancy FROM table_18795125_6 WHERE position_in_table = "23rd"
|
At what date did the 23rd manager vacate the position?
|
CREATE TABLE table_18795125_6 (date_of_vacancy VARCHAR, position_in_table VARCHAR)
|
SELECT stadium FROM table_name_13 WHERE visiting_team = "new england patriots"
|
In what stadium were the New England Patriots the visiting team?
|
CREATE TABLE table_name_13 (stadium VARCHAR, visiting_team VARCHAR)
|
SELECT country FROM table_16175217_1 WHERE children_per_donor = "8 children" AND donor_payment = "no data"
|
What is the country where there are 8 children per donor and no data for donor payments?
|
CREATE TABLE table_16175217_1 (country VARCHAR, children_per_donor VARCHAR, donor_payment VARCHAR)
|
SELECT week_4 FROM table_name_12 WHERE week_3 = "mikaela james"
|
Who was the girl on week 4 after week 3's Mikaela James?
|
CREATE TABLE table_name_12 (week_4 VARCHAR, week_3 VARCHAR)
|
SELECT market_value__billion_$_ FROM table_1682026_2 WHERE assets__billion_$_ = "2,550"
|
When the assets are 2,550, what is the Market Value?
|
CREATE TABLE table_1682026_2 (market_value__billion_$_ VARCHAR, assets__billion_$_ VARCHAR)
|
SELECT 2012 FROM table_name_18 WHERE 2007 = "2r" AND 2009 = "1r"
|
What was the 2012 result associated with a 2007 finish of 2R and a 2009 of 1R?
|
CREATE TABLE table_name_18 (Id VARCHAR)
|
SELECT record FROM table_27539535_7 WHERE opponent = "Ottawa Senators"
|
What was the teams record when they played the ottawa senators?
|
CREATE TABLE table_27539535_7 (record VARCHAR, opponent VARCHAR)
|
SELECT kids FROM Reservations WHERE FirstName = "ROY" AND LastName = "SWEAZY"
|
How many kids stay in the rooms reserved by ROY SWEAZY?
|
CREATE TABLE Reservations (kids VARCHAR, FirstName VARCHAR, LastName VARCHAR)
|
SELECT COUNT(game) FROM table_22654073_13 WHERE date = "May 1"
|
How many games were there on May 1?
|
CREATE TABLE table_22654073_13 (game VARCHAR, date VARCHAR)
|
SELECT 1997 FROM table_name_63 WHERE 1989 = "a" AND 1995 = "qf" AND 1996 = "3r" AND career_sr = "0 / 8"
|
What is the value in 1997 when the value in 1989 is A, 1995 is QF, 1996 is 3R and the career SR is 0 / 8?
|
CREATE TABLE table_name_63 (career_sr VARCHAR)
|
SELECT 1987 FROM table_name_47 WHERE 1995 = "1r" AND 1986 = "a" AND 1988 = "sf"
|
What shows for 1987 when 1995 shows 1r, 1986 is a, and 1998 is sf?
|
CREATE TABLE table_name_47 (Id VARCHAR)
|
SELECT duration FROM table_name_83 WHERE start_date_time = "8 july 12:38"
|
The EVA that started on 8 July 12:38 went for how long?
|
CREATE TABLE table_name_83 (duration VARCHAR, start_date_time VARCHAR)
|
SELECT muzzle_device FROM table_name_47 WHERE barrel_twist = "1:7" AND stock = "4th generation"
|
What is the muzzle device with a 1:7 barrel twist and a stock 4th generation?
|
CREATE TABLE table_name_47 (muzzle_device VARCHAR, barrel_twist VARCHAR, stock VARCHAR)
|
SELECT MIN(share) FROM table_name_63 WHERE rating > 1.3 AND air_date = "may 28, 2008"
|
What is the lowest Share, when Rating is greater than 1.3, and when Air Date is May 28, 2008?
|
CREATE TABLE table_name_63 (share INTEGER, rating VARCHAR, air_date VARCHAR)
|
SELECT MIN(laps) FROM table_name_14 WHERE bike = "kawasaki zx-6r" AND time = "+26.891"
|
Which Laps have a Bike of kawasaki zx-6r, and a Time of +26.891?
|
CREATE TABLE table_name_14 (laps INTEGER, bike VARCHAR, time VARCHAR)
|
SELECT affiliation FROM table_name_54 WHERE enrollment > 502
|
Which Affiliation has an Enrollement larger than 502?
|
CREATE TABLE table_name_54 (affiliation VARCHAR, enrollment INTEGER)
|
SELECT COUNT(gold) FROM table_name_65 WHERE bronze = 4 AND silver > 2
|
How many golds have bronze values of 4 and silver values over 2?
|
CREATE TABLE table_name_65 (gold VARCHAR, bronze VARCHAR, silver VARCHAR)
|
SELECT team FROM table_name_32 WHERE manager = "graeme souness"
|
What team does Graeme Souness manage?
|
CREATE TABLE table_name_32 (team VARCHAR, manager VARCHAR)
|
SELECT Product_Price FROM Products WHERE Product_Name = "Dining" OR Product_Name = "Trading Policy"
|
Show the prices of the products named "Dining" or "Trading Policy".
|
CREATE TABLE Products (Product_Price VARCHAR, Product_Name VARCHAR)
|
SELECT manner_of_departure FROM table_11206916_2 WHERE date_of_appointment = "13 March 2008"
|
What manner of departure is listed with an appointment date of 13 march 2008
|
CREATE TABLE table_11206916_2 (manner_of_departure VARCHAR, date_of_appointment VARCHAR)
|
SELECT result FROM table_name_61 WHERE date = "february 18, 2003"
|
What was the result on February 18, 2003?
|
CREATE TABLE table_name_61 (result VARCHAR, date VARCHAR)
|
SELECT MIN(cycle) FROM table_name_57 WHERE number_of_contestants = "11" AND international_destinations = "paris gran canaria"
|
What is the lowest Cycle, when Number Of Contestants is 11, and when International Destinations is Paris Gran Canaria?
|
CREATE TABLE table_name_57 (cycle INTEGER, number_of_contestants VARCHAR, international_destinations VARCHAR)
|
SELECT nupowr_167 FROM table_3002894_4 WHERE model = "Maker"
|
When maker is the model what is the nupowr 167?
|
CREATE TABLE table_3002894_4 (nupowr_167 VARCHAR, model VARCHAR)
|
SELECT home__2nd_leg_ FROM table_name_19 WHERE aggregate = "2-0"
|
Which team played at home for the second leg and has aggregate score of 2-0?
|
CREATE TABLE table_name_19 (home__2nd_leg_ VARCHAR, aggregate VARCHAR)
|
SELECT 1954 FROM table_name_28 WHERE 1969 = "a" AND tournament = "australian championships"
|
What did the Tournament of Australian Championships, with an A in 1969, get in 1954?
|
CREATE TABLE table_name_28 (tournament VARCHAR)
|
SELECT series FROM table_27734577_13 WHERE high_rebounds = "Al Horford (10)"
|
What is the series number when al horford (10) had the high rebounds?
|
CREATE TABLE table_27734577_13 (series VARCHAR, high_rebounds VARCHAR)
|
SELECT week_32 FROM table_23680576_3 WHERE week_33 = "31.9%"
|
What is the week 32 result when week 33 is 31.9%?
|
CREATE TABLE table_23680576_3 (week_32 VARCHAR, week_33 VARCHAR)
|
SELECT processor FROM table_199666_1 WHERE wireless_lan = "Intel centrino Wireless-N 105"
|
What type of processor does the Intel Centrino Wireless-N 105 wireless LAN have?
|
CREATE TABLE table_199666_1 (processor VARCHAR, wireless_lan VARCHAR)
|
SELECT team FROM table_27723228_3 WHERE game = 4
|
What team did the Hornets play in game 4?
|
CREATE TABLE table_27723228_3 (team VARCHAR, game VARCHAR)
|
SELECT date FROM table_name_43 WHERE week = 16
|
What was the Date of Week 16?
|
CREATE TABLE table_name_43 (date VARCHAR, week VARCHAR)
|
SELECT team FROM table_name_24 WHERE laps = 10 AND driver = "alex yoong"
|
What team had 10 Labs and the Driver was Alex Yoong?
|
CREATE TABLE table_name_24 (team VARCHAR, laps VARCHAR, driver VARCHAR)
|
SELECT record FROM table_23274514_9 WHERE team = "Golden State"
|
What was the record when they played golden state?
|
CREATE TABLE table_23274514_9 (record VARCHAR, team VARCHAR)
|
SELECT country FROM table_14937957_1 WHERE city = "Netanya"
|
In which country is the city of Netanya?
|
CREATE TABLE table_14937957_1 (country VARCHAR, city VARCHAR)
|
SELECT director FROM table_13719788_1 WHERE original_title = "Biola tak berdawai"
|
Who is the director of the fimm Biola Tak Berdawai?
|
CREATE TABLE table_13719788_1 (director VARCHAR, original_title VARCHAR)
|
SELECT record FROM table_name_24 WHERE game = 36
|
What is Record, when Game is "36"?
|
CREATE TABLE table_name_24 (record VARCHAR, game VARCHAR)
|
SELECT date FROM table_name_7 WHERE opponent_in_the_final = "andrey golubev"
|
When did Mathieu play against Andrey Golubev?
|
CREATE TABLE table_name_7 (date VARCHAR, opponent_in_the_final VARCHAR)
|
SELECT date_withdrawn FROM table_11662133_3 WHERE ships_name = "Koningin Beatrix"
|
what are all the date withdrawn for koningin beatrix
|
CREATE TABLE table_11662133_3 (date_withdrawn VARCHAR, ships_name VARCHAR)
|
SELECT MAX(year) FROM table_1507806_1 WHERE runner_up = "William Mehlhorn"
|
WHAT WAS THE YEAR WHEN THE RUNNER-UP WAS WILLIAM MEHLHORN?
|
CREATE TABLE table_1507806_1 (year INTEGER, runner_up VARCHAR)
|
SELECT tries_against FROM table_name_99 WHERE try_bonus = "5"
|
If the try bonus was 5 what was the try against score?
|
CREATE TABLE table_name_99 (tries_against VARCHAR, try_bonus VARCHAR)
|
SELECT original_nfl_team FROM table_name_25 WHERE player = "rashied davis category:articles with hcards"
|
Who's the original team for Rashied Davis Category:articles with hcards?
|
CREATE TABLE table_name_25 (original_nfl_team VARCHAR, player VARCHAR)
|
SELECT flno FROM Flight WHERE distance > 2000
|
Show flight number for all flights with more than 2000 distance.
|
CREATE TABLE Flight (flno VARCHAR, distance INTEGER)
|
SELECT written_by FROM table_27117365_1 WHERE us_viewers__million_ = "7.70"
|
Who wrote the episodes with 7.70 u.s. viewers (million) ?
|
CREATE TABLE table_27117365_1 (written_by VARCHAR, us_viewers__million_ VARCHAR)
|
SELECT COUNT(season) FROM table_name_27 WHERE team_2 = "chonburi" AND score = "0:1"
|
Can you tell me the total number of Season that has the Team 2 of chonburi, and the Score of 0:1?
|
CREATE TABLE table_name_27 (season VARCHAR, team_2 VARCHAR, score VARCHAR)
|
SELECT theme FROM table_name_28 WHERE paper_type = "tullis russell coatings" AND date_of_issue = "1 october 2008"
|
What is the Theme with a Paper Type of tullis russell coatings, and a Date with Issue of 1 october 2008?
|
CREATE TABLE table_name_28 (theme VARCHAR, paper_type VARCHAR, date_of_issue VARCHAR)
|
SELECT nationality FROM table_name_28 WHERE name = "hamzah idris"
|
What nationality is hamzah idris?
|
CREATE TABLE table_name_28 (nationality VARCHAR, name VARCHAR)
|
SELECT T2.theme FROM exhibition_record AS T1 JOIN exhibition AS T2 ON T1.exhibition_id = T2.exhibition_id WHERE T1.attendance < 100 INTERSECT SELECT T2.theme FROM exhibition_record AS T1 JOIN exhibition AS T2 ON T1.exhibition_id = T2.exhibition_id WHERE T1.attendance > 500
|
Show the theme for exhibitions with both records of an attendance below 100 and above 500.
|
CREATE TABLE exhibition (theme VARCHAR, exhibition_id VARCHAR); CREATE TABLE exhibition_record (exhibition_id VARCHAR, attendance INTEGER)
|
SELECT opponent FROM table_name_23 WHERE date = "june 6"
|
Who is the opponent on June 6?
|
CREATE TABLE table_name_23 (opponent VARCHAR, date VARCHAR)
|
SELECT SUM(solidat__) AS °c_ FROM table_name_15 WHERE purpose = "display type, heavy duty jobs" AND hardness___brinell__ < 33
|
What is the sum of Solidat (c) that's purpose is display type, heavy duty jobs, and a hardness (brinell) is smaller than 33?
|
CREATE TABLE table_name_15 (solidat__ INTEGER, purpose VARCHAR, hardness___brinell__ VARCHAR)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.