answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT COUNT(episode) FROM table_23292220_8 WHERE seans_team = "Jeremy Clarkson and James McQuillan"
In how many episodes did Sean's team include Jeremy Clarkson and James McQuillan?
CREATE TABLE table_23292220_8 (episode VARCHAR, seans_team VARCHAR)
SELECT netscape FROM table_name_45 WHERE firefox = "21.67%"
What percentage of users were using Netscape during the period in which 21.67% were using Firefox?
CREATE TABLE table_name_45 (netscape VARCHAR, firefox VARCHAR)
SELECT date FROM table_14984078_1 WHERE week = 13
What was the game date in week 13?
CREATE TABLE table_14984078_1 (date VARCHAR, week VARCHAR)
SELECT MIN(ends) FROM table_name_3 WHERE app_l_c_e_ = "51 (44/6/1)"
What are the fewest ends with an App(L/C/E) of 51 (44/6/1)?
CREATE TABLE table_name_3 (ends INTEGER, app_l_c_e_ VARCHAR)
SELECT MAX(score) FROM table_name_1 WHERE country = "france" AND venue = "bokskogens"
What was France's highest score when the venue was Bokskogens?
CREATE TABLE table_name_1 (score INTEGER, country VARCHAR, venue VARCHAR)
SELECT order_year FROM table_name_89 WHERE builder = "obi" AND length__ft_ = "30" AND model = "05.505"
What is the order year of obi builder and 05.505 model that is 30 feet long?
CREATE TABLE table_name_89 (order_year VARCHAR, model VARCHAR, builder VARCHAR, length__ft_ VARCHAR)
SELECT opposing_team FROM table_name_14 WHERE venue = "rectory ground, devonport"
Which Opposing Team has a Venue of rectory ground, devonport?
CREATE TABLE table_name_14 (opposing_team VARCHAR, venue VARCHAR)
SELECT SUM(avg_finish) FROM table_name_78 WHERE starts = 9 AND top_10 < 0
How much average Finish has Starts of 9, and a Top 10 smaller than 0?
CREATE TABLE table_name_78 (avg_finish INTEGER, starts VARCHAR, top_10 VARCHAR)
SELECT bronze FROM table_name_20 WHERE location = "seoul"
Who won bronze in Seoul?
CREATE TABLE table_name_20 (bronze VARCHAR, location VARCHAR)
SELECT date FROM table_name_70 WHERE away_team = "richmond"
What is the date of the game where Richmond was the away team?
CREATE TABLE table_name_70 (date VARCHAR, away_team VARCHAR)
SELECT loss FROM table_name_4 WHERE record = "71-33"
Name the loss with record of 71-33
CREATE TABLE table_name_4 (loss VARCHAR, record VARCHAR)
SELECT miles__km_ FROM table_1771753_3 WHERE race_time = "1:34:01"
When 1:34:01 is the race time what is the miles in kilometers?
CREATE TABLE table_1771753_3 (miles__km_ VARCHAR, race_time VARCHAR)
SELECT iata_code FROM table_18047346_4 WHERE passengers = "15,505,566"
If the passengers are 15,505,566, what is the iata code?
CREATE TABLE table_18047346_4 (iata_code VARCHAR, passengers VARCHAR)
SELECT event FROM table_name_85 WHERE time = "3:06"
What is the Event with a Time that is 3:06?
CREATE TABLE table_name_85 (event VARCHAR, time VARCHAR)
SELECT DISTINCT T1.state, T1.enr FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.decision = 'yes'
What is the state and enrollment of the colleges where have any students who got accepted in the tryout decision.
CREATE TABLE tryout (cName VARCHAR, decision VARCHAR); CREATE TABLE college (state VARCHAR, enr VARCHAR, cName VARCHAR)
SELECT SUM(against) FROM table_name_17 WHERE draws = 2 AND losses < 4
How much Against has Draws of 2, and Losses smaller than 4?
CREATE TABLE table_name_17 (against INTEGER, draws VARCHAR, losses VARCHAR)
SELECT outcome FROM table_name_25 WHERE partner = "jürgen melzer" AND date = "january 7, 2012"
What was the Outcome for the Partner of Jürgen Melzer and the Date of January 7, 2012?
CREATE TABLE table_name_25 (outcome VARCHAR, partner VARCHAR, date VARCHAR)
SELECT kalamazoo__azo_ FROM table_1637981_7 WHERE saginaw__mbs_ = "$481.39"
What is the fare to Kalamazoo during the time frame when Saginaw's was $481.39?
CREATE TABLE table_1637981_7 (kalamazoo__azo_ VARCHAR, saginaw__mbs_ VARCHAR)
SELECT date FROM table_name_97 WHERE circuit = "monaco"
What is the date of the circuit of Monaco?
CREATE TABLE table_name_97 (date VARCHAR, circuit VARCHAR)
SELECT country___exonym__ FROM table_1008653_9 WHERE country___endonym__ = "Isle of Man Ellan Vannin"
Which country (exonym) is the country (endonym) isle of man ellan vannin?
CREATE TABLE table_1008653_9 (country___exonym__ VARCHAR, country___endonym__ VARCHAR)
SELECT role FROM table_148386_2 WHERE casino_theatre_1888 = "George Broderick"
How many roles include George Broderick in the casino 1888 theater?
CREATE TABLE table_148386_2 (role VARCHAR, casino_theatre_1888 VARCHAR)
SELECT MIN(year) FROM table_name_22 WHERE opponents_in_final = "shingo kunieda satoshi saida"
What year were the opponents Shingo Kunieda Satoshi Saida?
CREATE TABLE table_name_22 (year INTEGER, opponents_in_final VARCHAR)
SELECT australian_cast, _2012 FROM table_29289213_1 WHERE character = "Lily Cahill"
Who played Lily Cahill in the Australian 2012 production?
CREATE TABLE table_29289213_1 (australian_cast VARCHAR, _2012 VARCHAR, character VARCHAR)
SELECT english FROM table_name_92 WHERE latin = "uxor"
What is the English word for the Latin word uxor?
CREATE TABLE table_name_92 (english VARCHAR, latin VARCHAR)
SELECT award FROM table_name_96 WHERE category = "excellence in tamil"
What was the award for the excellence in tamil category?
CREATE TABLE table_name_96 (award VARCHAR, category VARCHAR)
SELECT package_version FROM table_name_9 WHERE device = "blackberry storm 9530" AND applications = "5.0.0.419" AND carrier = "mts mobility"
WHAT IS THE PACKAGE VERSION FOR blackberry storm 9530, APPLICATION 5.0.0.419, AND MTS MOBILITY?
CREATE TABLE table_name_9 (package_version VARCHAR, carrier VARCHAR, device VARCHAR, applications VARCHAR)
SELECT T1.owner_id, T2.first_name, T2.last_name FROM Dogs AS T1 JOIN Owners AS T2 ON T1.owner_id = T2.owner_id GROUP BY T1.owner_id ORDER BY COUNT(*) DESC LIMIT 1
Which owner owns the most dogs? List the owner id, first name and last name.
CREATE TABLE Owners (first_name VARCHAR, last_name VARCHAR, owner_id VARCHAR); CREATE TABLE Dogs (owner_id VARCHAR)
SELECT british FROM table_name_10 WHERE american = "ə"
What is the British letter if American is ə?
CREATE TABLE table_name_10 (british VARCHAR, american VARCHAR)
SELECT date FROM table_name_17 WHERE away_team = "hawthorn"
what date were they playing in hawthorn
CREATE TABLE table_name_17 (date VARCHAR, away_team VARCHAR)
SELECT MIN(08 AS _09_gp_jgp_2nd) FROM table_23938357_7 WHERE ws_points = 3197
What is the smallest 08-09 GP/JGP 2nd value when WS points equals 3197?
CREATE TABLE table_23938357_7 (ws_points VARCHAR)
SELECT COUNT(poles) FROM table_20396_1 WHERE points = "78"
How many poles had 78 points?
CREATE TABLE table_20396_1 (poles VARCHAR, points VARCHAR)
SELECT MAX(total_medals) FROM table_name_27 WHERE gold_medals = 0 AND ensemble = "east 80 indoor percussion"
What is the highest Total Medals that has 0 Gold Medal and a Ensemble of east 80 indoor percussion?
CREATE TABLE table_name_27 (total_medals INTEGER, gold_medals VARCHAR, ensemble VARCHAR)
SELECT slovak FROM table_25008327_8 WHERE ukrainian = "пес, собака"
What area all values for Slovak when value for Ukranian is пес, собака?
CREATE TABLE table_25008327_8 (slovak VARCHAR, ukrainian VARCHAR)
SELECT flight_day FROM table_name_2 WHERE artist = "u2"
On what flight day was U2 played?
CREATE TABLE table_name_2 (flight_day VARCHAR, artist VARCHAR)
SELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id JOIN order_items AS t3 ON t2.order_id = t3.order_id GROUP BY t1.customer_name ORDER BY SUM(t3.order_quantity) DESC LIMIT 1
What is the name of the customer that has purchased the most items?
CREATE TABLE order_items (order_id VARCHAR, order_quantity INTEGER); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_id VARCHAR)
SELECT region FROM table_name_29 WHERE date = "february 2006"
What shows for region when the date is february 2006?
CREATE TABLE table_name_29 (region VARCHAR, date VARCHAR)
SELECT MIN(top_division_titles) FROM table_11250_4
What is the least top division titles?
CREATE TABLE table_11250_4 (top_division_titles INTEGER)
SELECT opponents FROM table_name_73 WHERE date = "may 3, 1982"
Who is the Opponents on May 3, 1982?
CREATE TABLE table_name_73 (opponents VARCHAR, date VARCHAR)
SELECT name FROM table_28367242_1 WHERE incorporation_date__city_ = "July 16, 1860"
What is the name of the city which incorporated on july 16, 1860?
CREATE TABLE table_28367242_1 (name VARCHAR, incorporation_date__city_ VARCHAR)
SELECT high_rebounds FROM table_name_15 WHERE location_attendance = "madison square garden unknown" AND date = "may 18"
What is High Rebounds, when Location Attendance is "Madison Square Garden Unknown", and when Date is "May 18"?
CREATE TABLE table_name_15 (high_rebounds VARCHAR, location_attendance VARCHAR, date VARCHAR)
SELECT date FROM table_name_99 WHERE home = "montreal canadiens" AND points > 9 AND decision = "price"
Which Date has a Home of montreal canadiens, and Points larger than 9, and a Decision of price?
CREATE TABLE table_name_99 (date VARCHAR, decision VARCHAR, home VARCHAR, points VARCHAR)
SELECT rank FROM table_name_43 WHERE publication = "the observer music monthly"
What rank is the publication the observer music monthly?
CREATE TABLE table_name_43 (rank VARCHAR, publication VARCHAR)
SELECT district FROM table_name_9 WHERE city_area_km_2__ < 12 AND serial_no = 35
What district was the city with an area smaller than 12 square kilometers and a serial number of 35?
CREATE TABLE table_name_9 (district VARCHAR, city_area_km_2__ VARCHAR, serial_no VARCHAR)
SELECT date FROM table_21373283_3 WHERE pole_position = "Renger van der Zande" AND circuit = "Donington Park"
What date did Renger Van Der Zande have the pole position at Donington Park?
CREATE TABLE table_21373283_3 (date VARCHAR, pole_position VARCHAR, circuit VARCHAR)
SELECT venue FROM table_name_82 WHERE home_team = "fitzroy"
What is Fitzroy's home field?
CREATE TABLE table_name_82 (venue VARCHAR, home_team VARCHAR)
SELECT T1.title, T2.inventory_id FROM film AS T1 JOIN inventory AS T2 ON T1.film_id = T2.film_id JOIN rental AS T3 ON T2.inventory_id = T3.inventory_id GROUP BY T2.inventory_id ORDER BY COUNT(*) DESC LIMIT 1
What is the film title and inventory id of the item in the inventory which was rented most frequently?
CREATE TABLE film (title VARCHAR, film_id VARCHAR); CREATE TABLE inventory (inventory_id VARCHAR, film_id VARCHAR); CREATE TABLE rental (inventory_id VARCHAR)
SELECT season FROM table_name_86 WHERE player = "bob pratt"
In what season did Bob Pratt play?
CREATE TABLE table_name_86 (season VARCHAR, player VARCHAR)
SELECT venue FROM table_name_46 WHERE away_team = "hawthorn"
Where was the game held where Hawthorn was the away team?
CREATE TABLE table_name_46 (venue VARCHAR, away_team VARCHAR)
SELECT visitor FROM table_name_86 WHERE date = "april 2"
What is the Visitor of the game on April 2?
CREATE TABLE table_name_86 (visitor VARCHAR, date VARCHAR)
SELECT home_team FROM table_name_57 WHERE round = "2nd" AND away_team = "vitória da conquista"
What is the name of the home team with a round of 2nd and Vitória da Conquista as the way team?
CREATE TABLE table_name_57 (home_team VARCHAR, round VARCHAR, away_team VARCHAR)
SELECT team_2 FROM table_name_48 WHERE team_1 = "barcelona"
Which Team 2 faced Team 1 from Barcelona?
CREATE TABLE table_name_48 (team_2 VARCHAR, team_1 VARCHAR)
SELECT city_of_license FROM table_name_4 WHERE channels_tv___rf = "67 ( psip ) 29 ( uhf )"
Which City of license has a Channels TV / RF of 67 ( psip ) 29 ( uhf )
CREATE TABLE table_name_4 (city_of_license VARCHAR, channels_tv___rf VARCHAR)
SELECT 2008 FROM table_name_30 WHERE 2007 = "f"
When in 2008 that has a 2007 of f?
CREATE TABLE table_name_30 (Id VARCHAR)
SELECT country FROM table_name_83 WHERE team = "relax-gam"
What country is Relax-Gam from?
CREATE TABLE table_name_83 (country VARCHAR, team VARCHAR)
SELECT Carrier FROM phone GROUP BY Carrier ORDER BY COUNT(*) DESC LIMIT 1
Show the most frequently used carrier of the phones.
CREATE TABLE phone (Carrier VARCHAR)
SELECT last_title FROM table_2454589_1 WHERE first_season_in_current_spell = 2012
Name the last title for 2012
CREATE TABLE table_2454589_1 (last_title VARCHAR, first_season_in_current_spell VARCHAR)
SELECT MIN(matches) FROM table_name_99 WHERE clubs = "46 → 32"
What is the lowest number of matches that has a Clubs of 46 → 32?
CREATE TABLE table_name_99 (matches INTEGER, clubs VARCHAR)
SELECT MAX(2010) FROM table_name_80 WHERE 2009 < 6.5 AND 2008 = 0.4 AND 2007 < 0.5
What is the highest 2010 that has a 2009 less than 6.5, 0.4 as the 2008, with a 2007 less than 0.5?
CREATE TABLE table_name_80 (Id VARCHAR)
SELECT lessons_taught FROM table_24172078_2 WHERE episode__number = "2/205"
Name the lessons taught for episode # 2/205
CREATE TABLE table_24172078_2 (lessons_taught VARCHAR, episode__number VARCHAR)
SELECT height_in_ft FROM table_name_15 WHERE school_club_team_country = "mississippi"
How tall is the player from Mississippi
CREATE TABLE table_name_15 (height_in_ft VARCHAR, school_club_team_country VARCHAR)
SELECT SUM(closed) FROM table_name_73 WHERE city = "pittsburgh" AND capacity > 59 OFFSET 000
Tell me the sum of closed for city of pittsburgh and capacity larger than 59,000
CREATE TABLE table_name_73 (closed INTEGER, city VARCHAR, capacity VARCHAR)
SELECT MAX(goals_against) FROM table_name_57 WHERE wins = 18 AND goal_difference = 43 AND draws < 6
What is the high goal against associated with 18 wins, a Goal Difference of 43, and under 6 draws?
CREATE TABLE table_name_57 (goals_against INTEGER, draws VARCHAR, wins VARCHAR, goal_difference VARCHAR)
SELECT order__number FROM table_12175755_1 WHERE original_artist = "Luis Fonsi"
What is the order number for songs by the original artist Luis Fonsi?
CREATE TABLE table_12175755_1 (order__number VARCHAR, original_artist VARCHAR)
SELECT city FROM table_name_93 WHERE opponent = "towson"
What city was the game held in when the opponent was Towson?
CREATE TABLE table_name_93 (city VARCHAR, opponent VARCHAR)
SELECT league FROM table_1939202_2 WHERE avg_attendance = 1452
What league has an average attendance of 1452?
CREATE TABLE table_1939202_2 (league VARCHAR, avg_attendance VARCHAR)
SELECT tie_no FROM table_name_80 WHERE score = "1–1" AND home_team = "hull city"
What is the Tie no at the Hull City Home game with a Score of 1–1?
CREATE TABLE table_name_80 (tie_no VARCHAR, score VARCHAR, home_team VARCHAR)
SELECT no_in_season FROM table_24319661_5 WHERE production_code = "BCW410"
What episode number of the season had BCW410 as a production code?
CREATE TABLE table_24319661_5 (no_in_season VARCHAR, production_code VARCHAR)
SELECT championship FROM table_name_50 WHERE year > 2002 AND surface = "hard"
What is Championship, when Year is greater than 2002, and when Surface is Hard?
CREATE TABLE table_name_50 (championship VARCHAR, year VARCHAR, surface VARCHAR)
SELECT name FROM table_name_60 WHERE qual_2 = "1:10.771"
What is the name of the person with a 1:10.771 qual 2?
CREATE TABLE table_name_60 (name VARCHAR, qual_2 VARCHAR)
SELECT SUM(gross_tonnage) FROM table_name_75 WHERE material = "wood" AND date_commissioned > 1846 AND ship = "esk"
Name the sum of gross tonnage for wood on date more tahn 1846 for comissioned and ship of esk
CREATE TABLE table_name_75 (gross_tonnage INTEGER, ship VARCHAR, material VARCHAR, date_commissioned VARCHAR)
SELECT network FROM table_2899987_2 WHERE region = "Guerrero"
Which network serves the Guerrero region
CREATE TABLE table_2899987_2 (network VARCHAR, region VARCHAR)
SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 JOIN order_items AS T3 JOIN products AS T4 ON T1.customer_id = T2.customer_id AND T2.order_id = T3.order_id AND T3.product_id = T4.product_id WHERE T3.order_item_status = "Cancel" AND T4.product_name = "food" GROUP BY T1.customer_id HAVING COUNT(*) >= 1
List the names of customers who have once canceled the purchase of the product "food" (the item status is "Cancel").
CREATE TABLE orders (customer_id VARCHAR, order_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR); CREATE TABLE order_items (product_id VARCHAR, order_item_status VARCHAR, order_id VARCHAR)
SELECT nationality FROM table_name_82 WHERE position = "small forward"
What is the nationality of the person who played small forward?
CREATE TABLE table_name_82 (nationality VARCHAR, position VARCHAR)
SELECT code FROM table_2801442_1 WHERE density_in_2011___km²_ = "800.5"
What's the code of the district with 800.5 people per km2?
CREATE TABLE table_2801442_1 (code VARCHAR, density_in_2011___km²_ VARCHAR)
SELECT AVG(average) FROM table_name_90 WHERE matches < 2
What is the typical match smaller than 2?
CREATE TABLE table_name_90 (average INTEGER, matches INTEGER)
SELECT 3 AS _dart_average FROM table_20463779_22 WHERE player = "Phil Taylor"
What is Phil Taylor's 3-dart average?
CREATE TABLE table_20463779_22 (player VARCHAR)
SELECT high_assists FROM table_name_62 WHERE score = "l 86–94 (ot)"
What were the high assists when the score was l 86–94 (ot)?
CREATE TABLE table_name_62 (high_assists VARCHAR, score VARCHAR)
SELECT deadline_for_completion FROM table_12078626_1 WHERE description = "iPhone recall within the first 3 months of release"
what's the deadline for completion where description is iphone recall within the first 3 months of release
CREATE TABLE table_12078626_1 (deadline_for_completion VARCHAR, description VARCHAR)
SELECT loss FROM table_name_62 WHERE date = "september 16"
What's the loss for September 16?
CREATE TABLE table_name_62 (loss VARCHAR, date VARCHAR)
SELECT replaced_by FROM table_10592536_8 WHERE position_in_table = "Pre-season"
Who replaced when position in table is pre-season?
CREATE TABLE table_10592536_8 (replaced_by VARCHAR, position_in_table VARCHAR)
SELECT title FROM table_name_48 WHERE studio = "embassy pictures"
What is Title, when Studio is "Embassy Pictures"?
CREATE TABLE table_name_48 (title VARCHAR, studio VARCHAR)
SELECT candidate FROM table_name_13 WHERE riding = "hochelaga"
Who is the Candidate when the Riding is Hochelaga?
CREATE TABLE table_name_13 (candidate VARCHAR, riding VARCHAR)
SELECT d_49_√ FROM table_name_37 WHERE d_47_√ = "d 67 +"
What is the D 49 √ when D 47 √ is d 67 +?
CREATE TABLE table_name_37 (d_49_√ VARCHAR, d_47_√ VARCHAR)
SELECT cust_name FROM customer WHERE acc_type = 'saving' INTERSECT SELECT cust_name FROM customer WHERE acc_type = 'checking'
Find the name of customers who have both saving and checking account types.
CREATE TABLE customer (cust_name VARCHAR, acc_type VARCHAR)
SELECT service_charge FROM table_name_9 WHERE number_made = 1009
What is the service charge of the boat howitzers with 1009 made?
CREATE TABLE table_name_9 (service_charge VARCHAR, number_made VARCHAR)
SELECT club FROM table_name_91 WHERE time = "4:03.63"
Who is the club with a 4:03.63 time?
CREATE TABLE table_name_91 (club VARCHAR, time VARCHAR)
SELECT tries_against FROM table_name_56 WHERE tries_for = "21"
What is Tries Against, when Tries For is 21?
CREATE TABLE table_name_56 (tries_against VARCHAR, tries_for VARCHAR)
SELECT rochester FROM table_name_39 WHERE syracuse = "cardiff dark gray shale" AND albany = "(mt. marion fm.)"
What is Rochester, when Syracuse is Cardiff Dark Gray Shale, and when Albany is (Mt. Marion Fm.)?
CREATE TABLE table_name_39 (rochester VARCHAR, syracuse VARCHAR, albany VARCHAR)
SELECT previous_conference FROM table_name_67 WHERE school = "penn"
Which previous conference is associated with Penn school?
CREATE TABLE table_name_67 (previous_conference VARCHAR, school VARCHAR)
SELECT pos FROM table_name_39 WHERE race = "24 hours of le mans" AND co_driver = "jackie oliver"
What position did Co-driver Jackie Oliver finish in the 24 hours of Le Mans?
CREATE TABLE table_name_39 (pos VARCHAR, race VARCHAR, co_driver VARCHAR)
SELECT tournament FROM table_name_70 WHERE date = "14 may"
Which tournament included the round played on 14 May?
CREATE TABLE table_name_70 (tournament VARCHAR, date VARCHAR)
SELECT MAX(wins) FROM table_name_65 WHERE losses < 2
What is the highest win for losses less than 2?
CREATE TABLE table_name_65 (wins INTEGER, losses INTEGER)
SELECT example FROM table_30011_2 WHERE equivalent = "NTE160"
What is every example for the equivalent of NTE160?
CREATE TABLE table_30011_2 (example VARCHAR, equivalent VARCHAR)
SELECT country FROM table_name_16 WHERE year > 1978 AND score = "295" AND venue = "lindrick golf club"
Which Country has a Year larger than 1978, and a Score of 295, and a Venue of lindrick golf club?
CREATE TABLE table_name_16 (country VARCHAR, venue VARCHAR, year VARCHAR, score VARCHAR)
SELECT venue FROM table_name_98 WHERE sport = "basketball"
Which venue held a basketball team?
CREATE TABLE table_name_98 (venue VARCHAR, sport VARCHAR)
SELECT place FROM table_name_33 WHERE score = 66
What is the Place for the 66 Score?
CREATE TABLE table_name_33 (place VARCHAR, score VARCHAR)
SELECT lince FROM table_name_8 WHERE leclerc = "hp (kw)"
What's the lince when Leclerc was Hp (kw)?
CREATE TABLE table_name_8 (lince VARCHAR, leclerc VARCHAR)
SELECT event FROM table_26335424_86 WHERE round_of_32 = "Sawatvilay Phimmasone ( LAO ) W PTS 9-7"
If round of 32 is sawatvilay phimmasone ( lao ) w pts 9-7, what was the event?
CREATE TABLE table_26335424_86 (event VARCHAR, round_of_32 VARCHAR)
SELECT COUNT(rank) FROM table_21109892_1 WHERE production__mt_ = 650000
When the production (mt) is 650000, what is the total number of rank?
CREATE TABLE table_21109892_1 (rank VARCHAR, production__mt_ VARCHAR)
SELECT SUM(total) FROM table_name_1 WHERE bronze > 1 AND gold < 1
what is the total when bronze is more than 1 and gold smaller than 1?
CREATE TABLE table_name_1 (total INTEGER, bronze VARCHAR, gold VARCHAR)