answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT womens_doubles FROM table_27753492_2 WHERE mixed_doubles = "Zhang Nan Zhao Yunlei" AND tour = "All England Super Series" | Who were the womens doubles when the mixed doubles were zhang nan zhao yunlei on the tour all england super series? | CREATE TABLE table_27753492_2 (womens_doubles VARCHAR, mixed_doubles VARCHAR, tour VARCHAR) |
SELECT winner FROM table_name_40 WHERE score = "274 (–14)" AND location = "tennessee" | What is the name of the winner when the Score was 274 (–14) in tennessee? | CREATE TABLE table_name_40 (winner VARCHAR, score VARCHAR, location VARCHAR) |
SELECT institution FROM table_11658094_1 WHERE joined = "1993" | Which institutions joined in 1993 | CREATE TABLE table_11658094_1 (institution VARCHAR, joined VARCHAR) |
SELECT MIN(_number) FROM table_22904707_1 WHERE no = 52 | What number in the season was episode 52 in the series? | CREATE TABLE table_22904707_1 (_number INTEGER, no VARCHAR) |
SELECT record FROM table_name_59 WHERE game_site = "memorial stadium" AND date = "september 19, 1965" | What was the record at Memorial Stadium on September 19, 1965? | CREATE TABLE table_name_59 (record VARCHAR, game_site VARCHAR, date VARCHAR) |
SELECT a330 FROM table_name_62 WHERE a310 = "b10" | What is the A330 for A310 B10? | CREATE TABLE table_name_62 (a330 VARCHAR, a310 VARCHAR) |
SELECT city FROM table_name_75 WHERE iata = "lao" | What is City, when IATA is "LAO"? | CREATE TABLE table_name_75 (city VARCHAR, iata VARCHAR) |
SELECT percent__1990_ FROM table_1182314_5 WHERE state = "Mississippi" | what are all the percent (1990) where state is mississippi | CREATE TABLE table_1182314_5 (percent__1990_ VARCHAR, state VARCHAR) |
SELECT commodity FROM table_21109892_1 WHERE value__int_$1000_ = 409566 | when the value (int $1000) is 409566, what is the commodity? | CREATE TABLE table_21109892_1 (commodity VARCHAR, value__int_$1000_ VARCHAR) |
SELECT institution FROM table_262560_1 WHERE founded = 1920 | Name the place that was founded in 1920 | CREATE TABLE table_262560_1 (institution VARCHAR, founded VARCHAR) |
SELECT COUNT(laps) FROM table_name_42 WHERE grid = 3 | How many total laps for a grid of 3? | CREATE TABLE table_name_42 (laps VARCHAR, grid VARCHAR) |
SELECT MIN(attendance) FROM table_name_45 WHERE date = "august 9, 1968" | What is the smallest attendance number for august 9, 1968? | CREATE TABLE table_name_45 (attendance INTEGER, date VARCHAR) |
SELECT date FROM table_name_25 WHERE record = "43.66 m" | What is the date of the games that saw a record of 43.66 m? | CREATE TABLE table_name_25 (date VARCHAR, record VARCHAR) |
SELECT quantity_preserved FROM table_name_11 WHERE quantity_made = "6" | What is the quantity preserved to the locomotive with a quantity made of 6? | CREATE TABLE table_name_11 (quantity_preserved VARCHAR, quantity_made VARCHAR) |
SELECT insurgents FROM table_name_75 WHERE civilians = "49" | Name the insurgents for civilians being 49 | CREATE TABLE table_name_75 (insurgents VARCHAR, civilians VARCHAR) |
SELECT AVG(max_height__ft_) FROM table_name_19 WHERE time_to_ft__m__at_55°__seconds_ > 16.3 AND m_v_ft_s = 2200 | What is the average maximum height of a shell that travels for more than 16.3 seconds at 55° and has a maximum velocity of 2200 ft/s? | CREATE TABLE table_name_19 (max_height__ft_ INTEGER, time_to_ft__m__at_55°__seconds_ VARCHAR, m_v_ft_s VARCHAR) |
SELECT rider FROM table_name_64 WHERE points > 108 AND wins = 0 AND rank < 8 AND manufacturer = "honda" | Points larger than 108, and a Wins of 0, and a Rank smaller than 8, and a Manufacturer of honda is what rider? | CREATE TABLE table_name_64 (rider VARCHAR, manufacturer VARCHAR, rank VARCHAR, points VARCHAR, wins VARCHAR) |
SELECT deleted FROM table_name_8 WHERE name = "rca del caribe" | What site in the RCA Del Caribe was deleted? | CREATE TABLE table_name_8 (deleted VARCHAR, name VARCHAR) |
SELECT DISTINCT (BillingCountry) FROM INVOICE | What are the distinct billing countries of the invoices? | CREATE TABLE INVOICE (BillingCountry VARCHAR) |
SELECT COUNT(incumbent) FROM table_1341522_41 WHERE party = "Republican" AND first_elected = 1974 | How many republican incumbents first elected in 1974? | CREATE TABLE table_1341522_41 (incumbent VARCHAR, party VARCHAR, first_elected VARCHAR) |
SELECT date__from_ FROM table_12562214_1 WHERE notes = "Apeldoornsche Tramweg-Maatschappij" | what is the date (from) where the notes are apeldoornsche tramweg-maatschappij? | CREATE TABLE table_12562214_1 (date__from_ VARCHAR, notes VARCHAR) |
SELECT h___a FROM table_name_54 WHERE date = "20 february 2007" | What is the H/A for 20 february 2007? | CREATE TABLE table_name_54 (h___a VARCHAR, date VARCHAR) |
SELECT margin_of_victory FROM table_name_41 WHERE runner_s__up = "stuart appleby" | In the tournament where Stuart Appleby was the runner-up, what was the margin of victory? | CREATE TABLE table_name_41 (margin_of_victory VARCHAR, runner_s__up VARCHAR) |
SELECT date FROM table_13258851_2 WHERE opponent = "Kansas City Chiefs" | What was the date of the game against Kansas City Chiefs? | CREATE TABLE table_13258851_2 (date VARCHAR, opponent VARCHAR) |
SELECT android FROM table_name_42 WHERE other_unix = "unknown" | Which Android has anOther Unix of unknown? | CREATE TABLE table_name_42 (android VARCHAR, other_unix VARCHAR) |
SELECT signed FROM table_name_13 WHERE school = "university of michigan" | Was the University of Michigan Signed? | CREATE TABLE table_name_13 (signed VARCHAR, school VARCHAR) |
SELECT to_par FROM table_28498999_3 WHERE after = 33 | What is the to par when the after is 33? | CREATE TABLE table_28498999_3 (to_par VARCHAR, after VARCHAR) |
SELECT MAX(number_of_households) FROM table_name_57 WHERE per_capita_income = "$25,557" AND population < 22 OFFSET 330 | What is the highest Number of Households, when Per Capita Income is "$25,557", and when Population is less than "22,330"? | CREATE TABLE table_name_57 (number_of_households INTEGER, per_capita_income VARCHAR, population VARCHAR) |
SELECT college FROM table_name_50 WHERE round < 2 | Which College has a Round smaller than 2? | CREATE TABLE table_name_50 (college VARCHAR, round INTEGER) |
SELECT team FROM table_name_88 WHERE week_1 = "28" | Name the team for week 1 of 28 | CREATE TABLE table_name_88 (team VARCHAR, week_1 VARCHAR) |
SELECT COUNT(*), city_code FROM student GROUP BY city_code HAVING COUNT(*) > 1 | Find the number of students for the cities where have more than one student. | CREATE TABLE student (city_code VARCHAR) |
SELECT score FROM table_name_98 WHERE country = "united states" AND player = "raymond floyd" | What is Score, when Country is "United States", and when Player is "Raymond Floyd"? | CREATE TABLE table_name_98 (score VARCHAR, country VARCHAR, player VARCHAR) |
SELECT wins FROM table_name_89 WHERE poles = "0" AND final_placing = "15th" | How many wins did Hobbs had a 15th finish at poles 0? | CREATE TABLE table_name_89 (wins VARCHAR, poles VARCHAR, final_placing VARCHAR) |
SELECT score FROM table_name_77 WHERE record = "18-20" | What was the score of the game when the record was 18-20? | CREATE TABLE table_name_77 (score VARCHAR, record VARCHAR) |
SELECT model FROM table_name_62 WHERE seats = "37-78" | Which Model had 37-78 seats? | CREATE TABLE table_name_62 (model VARCHAR, seats VARCHAR) |
SELECT record FROM table_name_37 WHERE opponent = "bos" AND loss = "morris" | Name the record with opponent of bos and loss of morris | CREATE TABLE table_name_37 (record VARCHAR, opponent VARCHAR, loss VARCHAR) |
SELECT MIN(e_score) FROM table_name_66 WHERE t_score = 8 AND total < 22.95 | What E score has the T score of 8 and a number smaller than 22.95? | CREATE TABLE table_name_66 (e_score INTEGER, t_score VARCHAR, total VARCHAR) |
SELECT COUNT(displacement__tons_) FROM table_name_52 WHERE armament = "2 x -inch (mm), 16 x -inch (mm)" | How much Displacement (tons) has an Armament of 2 x -inch (mm), 16 x -inch (mm)? | CREATE TABLE table_name_52 (displacement__tons_ VARCHAR, armament VARCHAR) |
SELECT player FROM table_name_78 WHERE round = 17 | what player score is higher than 17 | CREATE TABLE table_name_78 (player VARCHAR, round VARCHAR) |
SELECT MAX(weight) FROM table_name_33 WHERE position = "fullback" | Position of fullback has what highest weight? | CREATE TABLE table_name_33 (weight INTEGER, position VARCHAR) |
SELECT opponent FROM table_name_34 WHERE january = 27 | Who were the opponents on January 27? | CREATE TABLE table_name_34 (opponent VARCHAR, january VARCHAR) |
SELECT COUNT(laps) FROM table_name_54 WHERE rider = "aleix espargaro" | What is the total number of Laps, when Ride is Aleix Espargaro? | CREATE TABLE table_name_54 (laps VARCHAR, rider VARCHAR) |
SELECT original_air_date__uk_ FROM table_2570269_3 WHERE episode_title = "Another Happy Day" | What is the original air date of the episode "Another Happy Day"? | CREATE TABLE table_2570269_3 (original_air_date__uk_ VARCHAR, episode_title VARCHAR) |
SELECT away_team AS score FROM table_16388478_4 WHERE crowd = 5391 | What was the away team score for the game with a crowd of 5391? | CREATE TABLE table_16388478_4 (away_team VARCHAR, crowd VARCHAR) |
SELECT location FROM table_name_99 WHERE mascot = "spartans" | What's the location for the Spartans? | CREATE TABLE table_name_99 (location VARCHAR, mascot VARCHAR) |
SELECT high_points FROM table_name_79 WHERE location_attendance = "conseco fieldhouse 7,134" | What is the highest number of points of the game in Conseco fieldhouse 7,134? | CREATE TABLE table_name_79 (high_points VARCHAR, location_attendance VARCHAR) |
SELECT MAX(average) FROM table_name_57 WHERE state = "texas" AND evening_gown > 8.875 | What is the highest average of the contestant from Texas with an evening gown larger than 8.875? | CREATE TABLE table_name_57 (average INTEGER, state VARCHAR, evening_gown VARCHAR) |
SELECT tournament FROM table_name_25 WHERE 2001 = "a" AND 2006 = "a" | Which tournament's 2001 and 2006s were a? | CREATE TABLE table_name_25 (tournament VARCHAR) |
SELECT label FROM table_name_14 WHERE catalog = "emb 31956" | What is the label for catalog EMB 31956? | CREATE TABLE table_name_14 (label VARCHAR, catalog VARCHAR) |
SELECT score FROM table_name_69 WHERE date = "april 23" | What is the Score for the Date of April 23? | CREATE TABLE table_name_69 (score VARCHAR, date VARCHAR) |
SELECT pts_for FROM table_28201906_1 WHERE won = 5 | How many points did the team that won 5 games make? | CREATE TABLE table_28201906_1 (pts_for VARCHAR, won VARCHAR) |
SELECT location FROM table_15851155_1 WHERE control = "Private" AND founded = 1870 | Name the location when control is private and founded is 1870 | CREATE TABLE table_15851155_1 (location VARCHAR, control VARCHAR, founded VARCHAR) |
SELECT price FROM table_name_63 WHERE internet_plan = "internet 150" | What is the price of the internet 150 plans? | CREATE TABLE table_name_63 (price VARCHAR, internet_plan VARCHAR) |
SELECT COUNT(participating_parties) FROM table_2676980_4 WHERE registered_voters = 643629 | What is the number of participating parties when registered voters totaled 643629? | CREATE TABLE table_2676980_4 (participating_parties VARCHAR, registered_voters VARCHAR) |
SELECT AVG(drawn) FROM table_name_45 WHERE points_1 = "33" AND goals_against = 45 AND played < 28 | For entries with fewer than 28 played, with 45 goals against and points 1 of 33, what is the average drawn? | CREATE TABLE table_name_45 (drawn INTEGER, played VARCHAR, points_1 VARCHAR, goals_against VARCHAR) |
SELECT COUNT(2011) FROM table_name_48 WHERE airport = "sydney airport" AND rank < 1 | What was the total number of aircrafts in 2011 for sydney airport that was ranked number 1? | CREATE TABLE table_name_48 (airport VARCHAR, rank VARCHAR) |
SELECT position FROM table_name_68 WHERE pick = "47" | Tell me the position for pick of 47 | CREATE TABLE table_name_68 (position VARCHAR, pick VARCHAR) |
SELECT tv_network_s_ FROM table_29799700_2 WHERE country = "Iran" | Which TV network has a country of origin of Iran? | CREATE TABLE table_29799700_2 (tv_network_s_ VARCHAR, country VARCHAR) |
SELECT COUNT(*) FROM weather WHERE mean_humidity > 50 AND mean_visibility_miles > 8 | How many days had both mean humidity above 50 and mean visibility above 8? | CREATE TABLE weather (mean_humidity VARCHAR, mean_visibility_miles VARCHAR) |
SELECT builder FROM table_19872699_1 WHERE design_firm = "Botin Carkeek" | Who were the builders of the boat designed by Botin Carkeek? | CREATE TABLE table_19872699_1 (builder VARCHAR, design_firm VARCHAR) |
SELECT MIN(laps) FROM table_name_45 WHERE time = "42:31.153" AND grid > 1 | What is the fewest amount of laps when the grid was larger than 1 and 42:31.153? | CREATE TABLE table_name_45 (laps INTEGER, time VARCHAR, grid VARCHAR) |
SELECT opponents FROM table_name_2 WHERE kick_off = "2007-03-06, 20:45" | WHAT OPPONENT HAD A KICKOFF OF 2007-03-06, 20:45? | CREATE TABLE table_name_2 (opponents VARCHAR, kick_off VARCHAR) |
SELECT weekly_schedule FROM table_name_97 WHERE tv_network_s_ = "sky italia" | What is the weekly schedule for the network sky italia? | CREATE TABLE table_name_97 (weekly_schedule VARCHAR, tv_network_s_ VARCHAR) |
SELECT socket FROM table_18823880_10 WHERE part_number_s_ = "BY80607002907AHBX80607I7720QM" | When by80607002907ahbx80607i7720qm is the part number what is the socket? | CREATE TABLE table_18823880_10 (socket VARCHAR, part_number_s_ VARCHAR) |
SELECT MAX(number) FROM table_name_81 WHERE long > 50 AND yards < 762 | What is the highest number when there were more than 50 long and less than 762 yards? | CREATE TABLE table_name_81 (number INTEGER, long VARCHAR, yards VARCHAR) |
SELECT COUNT(pick__number) FROM table_name_69 WHERE round > 2 AND name = "lawrence sidbury" AND overall < 125 | How many Picks have a Round larger than 2, and a Name of lawrence sidbury, and an Overall smaller than 125? | CREATE TABLE table_name_69 (pick__number VARCHAR, overall VARCHAR, round VARCHAR, name VARCHAR) |
SELECT college FROM table_name_65 WHERE pick < 3 AND pba_team = "alaska milkmen" | What is the College of the Player from PBA Team Alaska Milkmen with a Pick number of 3 or less? | CREATE TABLE table_name_65 (college VARCHAR, pick VARCHAR, pba_team VARCHAR) |
SELECT wager FROM table_name_94 WHERE winner = "vampiro" AND date = "august 23, 1992" | What is the wager on August 23, 1992 where vampiro was the winner? | CREATE TABLE table_name_94 (wager VARCHAR, winner VARCHAR, date VARCHAR) |
SELECT gtc_winning_team FROM table_24037660_2 WHERE lmp_winning_team = "#8 Drayson Racing" | What was the gtc winning team when lmp winning team was #8 drayson racing? | CREATE TABLE table_24037660_2 (gtc_winning_team VARCHAR, lmp_winning_team VARCHAR) |
SELECT event FROM table_name_60 WHERE opponent = "akihiro gono" AND method = "decision" | Which event has an Opponent of akihiro gono, and a Method of decision? | CREATE TABLE table_name_60 (event VARCHAR, opponent VARCHAR, method VARCHAR) |
SELECT winner FROM table_name_96 WHERE circuit = "lakeside international raceway" AND series = "amc round 4" | Who was the Winner in the AMC Round 4 at Lakeside International Raceway? | CREATE TABLE table_name_96 (winner VARCHAR, circuit VARCHAR, series VARCHAR) |
SELECT COUNT(november_3) FROM table_25235489_2 WHERE january_15_16 = "January 15, 1991" | How many times does November 3rd occur when January 15, 1991 does? | CREATE TABLE table_25235489_2 (november_3 VARCHAR, january_15_16 VARCHAR) |
SELECT T2.customer_name, T3.city, T1.date_from, T1.date_to FROM customer_address_history AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id JOIN addresses AS T3 ON T1.address_id = T3.address_id | Show the customer name, customer address city, date from, and date to for each customer address history. | CREATE TABLE addresses (city VARCHAR, address_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_address_history (date_from VARCHAR, date_to VARCHAR, customer_id VARCHAR, address_id VARCHAR) |
SELECT MIN(points) FROM table_name_43 WHERE driver = "alex sperafico" AND grid > 17 | HOW MANY POINTS DOES ALEX SPERAFICO HAVE WITH A GRID LARGER THAN 17? | CREATE TABLE table_name_43 (points INTEGER, driver VARCHAR, grid VARCHAR) |
SELECT time_retired FROM table_name_89 WHERE constructor = "brabham - climax" AND grid = 10 | What is the Time/Retired for brabham - climax, on Grid of 10? | CREATE TABLE table_name_89 (time_retired VARCHAR, constructor VARCHAR, grid VARCHAR) |
SELECT losses FROM table_name_92 WHERE pct = ".451" AND finish = "6th" | Which Losses have a Pct of .451 and Finished 6th? | CREATE TABLE table_name_92 (losses VARCHAR, pct VARCHAR, finish VARCHAR) |
SELECT circuit FROM table_25322130_3 WHERE date = "13 July" | Name the circuit for 13 july | CREATE TABLE table_25322130_3 (circuit VARCHAR, date VARCHAR) |
SELECT COUNT(*) FROM railway | How many railways are there? | CREATE TABLE railway (Id VARCHAR) |
SELECT COUNT(stories) FROM table_name_99 WHERE building = "torre reforma" | How many stories is the torre reforma building? | CREATE TABLE table_name_99 (stories VARCHAR, building VARCHAR) |
SELECT MAX(round) FROM table_name_12 WHERE position = "defensive tackle" AND overall < 282 | What round is highest and has a defensive tackle position and overall lower than 282? | CREATE TABLE table_name_12 (round INTEGER, position VARCHAR, overall VARCHAR) |
SELECT last_appearance FROM table_2517159_1 WHERE name_of_bowl = "Music City Bowl" | Name the last appearance for music city bowl | CREATE TABLE table_2517159_1 (last_appearance VARCHAR, name_of_bowl VARCHAR) |
SELECT title_and_source FROM table_26538035_1 WHERE developer = "Hydravision Entertainment" | What is the title and source for the game developed by Hydravision Entertainment? | CREATE TABLE table_26538035_1 (title_and_source VARCHAR, developer VARCHAR) |
SELECT player FROM table_name_84 WHERE long > 8 AND yards = "73" | Who has greater than 8 Long and a 73 Yards? | CREATE TABLE table_name_84 (player VARCHAR, long VARCHAR, yards VARCHAR) |
SELECT MAX(frequency) FROM table_name_4 WHERE callsign = "kbdr" | What's the highest frequency of the KBDR callsign? | CREATE TABLE table_name_4 (frequency INTEGER, callsign VARCHAR) |
SELECT catalog FROM table_name_62 WHERE format = "lp" AND label = "simply vinyl" | What is the catalog with an LP Format and under the Simply Vinyl label? | CREATE TABLE table_name_62 (catalog VARCHAR, format VARCHAR, label VARCHAR) |
SELECT appointmentid FROM appointment ORDER BY START DESC LIMIT 1 | Find the id of the appointment with the most recent start date? | CREATE TABLE appointment (appointmentid VARCHAR, START VARCHAR) |
SELECT MAX(number) FROM table_name_41 WHERE name = "hill, lucius t." | Which Number has a Name of hill, lucius t.? | CREATE TABLE table_name_41 (number INTEGER, name VARCHAR) |
SELECT date FROM table_name_90 WHERE home_team = "west bromwich albion" | What is the date of the match with west bromwich albion as the home team? | CREATE TABLE table_name_90 (date VARCHAR, home_team VARCHAR) |
SELECT format FROM table_name_81 WHERE catalog = "561 445-1" | Which Format has a Catalog of 561 445-1? | CREATE TABLE table_name_81 (format VARCHAR, catalog VARCHAR) |
SELECT COUNT(*) FROM rooms WHERE NOT roomid IN (SELECT DISTINCT room FROM reservations) | Find the number of rooms that do not have any reservation. | CREATE TABLE rooms (roomid VARCHAR, room VARCHAR); CREATE TABLE reservations (roomid VARCHAR, room VARCHAR) |
SELECT venue FROM table_name_71 WHERE year = "1986" AND outcome = "1" | What was the Venue in 1986 with an Outcome of 1? | CREATE TABLE table_name_71 (venue VARCHAR, year VARCHAR, outcome VARCHAR) |
SELECT points FROM table_name_12 WHERE class = "500cc" AND machine = "nsr500" | What points have 500cc as a class, and nsr500 as a machine? | CREATE TABLE table_name_12 (points VARCHAR, class VARCHAR, machine VARCHAR) |
SELECT tournament FROM table_name_70 WHERE opponent = "magnus larsson" | What was the tournament that had byron black playing against magnus larsson? | CREATE TABLE table_name_70 (tournament VARCHAR, opponent VARCHAR) |
SELECT score FROM table_name_93 WHERE date = "march 12" | What is the Score with a Date that is march 12? | CREATE TABLE table_name_93 (score VARCHAR, date VARCHAR) |
SELECT AVG(number) FROM table_name_54 WHERE pieces < 511 AND name = "chauchilla cemetery battle" | What is the number for Chauchilla Cemetery Battle with less than 511 pieces? | CREATE TABLE table_name_54 (number INTEGER, pieces VARCHAR, name VARCHAR) |
SELECT COUNT(name_of_bowl) FROM table_2517159_1 WHERE last_appearance = "2006 Season" | Name the name of bowl for 2006 season | CREATE TABLE table_2517159_1 (name_of_bowl VARCHAR, last_appearance VARCHAR) |
SELECT name FROM table_name_35 WHERE license = "gpl" AND current_version = "1.72" | What is the Name when the License is gpl and the Current Version is 1.72? | CREATE TABLE table_name_35 (name VARCHAR, license VARCHAR, current_version VARCHAR) |
SELECT medal FROM table_name_48 WHERE games = "2008 beijing" AND sport = "taekwondo" | Which Medal had a Games of 2008 beijing, and a Sport of taekwondo? | CREATE TABLE table_name_48 (medal VARCHAR, games VARCHAR, sport VARCHAR) |
SELECT record FROM table_name_13 WHERE game = "45" | What was the record after game 45? | CREATE TABLE table_name_13 (record VARCHAR, game VARCHAR) |
SELECT SUM(subframe__number) FROM table_name_48 WHERE bits = "18–22" | What is the total subframe count with Bits of 18–22? | CREATE TABLE table_name_48 (subframe__number INTEGER, bits VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.