answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT d_40_√ FROM table_name_23 WHERE d_43_√ = "d 14" | What's the D 40 √ when D 43 √ is d 14? | CREATE TABLE table_name_23 (d_40_√ VARCHAR, d_43_√ VARCHAR) |
SELECT last_5_meetings FROM table_name_6 WHERE at_columbia = "mu, 4-2" | What were the last 5 meetings when Columbia was mu, 4-2? | CREATE TABLE table_name_6 (last_5_meetings VARCHAR, at_columbia VARCHAR) |
SELECT year FROM table_13114949_3 WHERE qualifying_score = "15.150" | what is the year where the qualifying score was 15.150? | CREATE TABLE table_13114949_3 (year VARCHAR, qualifying_score VARCHAR) |
SELECT laps FROM table_name_30 WHERE finish = "15" | Which Laps have a Finish of 15? | CREATE TABLE table_name_30 (laps VARCHAR, finish VARCHAR) |
SELECT * FROM CUSTOMER WHERE State = "NY" | Find all the customer information in state NY. | CREATE TABLE CUSTOMER (State VARCHAR) |
SELECT AVG(round) FROM table_name_32 WHERE time = "5:00" AND event = "ufc 78" | At the UFC 78, what is the average round when the time is 5:00? | CREATE TABLE table_name_32 (round INTEGER, time VARCHAR, event VARCHAR) |
SELECT week FROM table_name_65 WHERE winners = "serena williams 6–1, 6–7(7), 6–3" | In what Week was Serena Williams 6–1, 6–7(7), 6–3 the Winner? | CREATE TABLE table_name_65 (week VARCHAR, winners VARCHAR) |
SELECT type_of_record FROM table_21436373_5 WHERE result_games = "Montreal 31 @ Calgary 32" | What type of record is the result of the game Montreal 31 @ Calgary 32? | CREATE TABLE table_21436373_5 (type_of_record VARCHAR, result_games VARCHAR) |
SELECT us_viewers__in_millions_ FROM table_23399481_4 WHERE written_by = "Andrea Conway Kagey" | How many millions of viewers did the episode written by Andrea Conway Kagey? | CREATE TABLE table_23399481_4 (us_viewers__in_millions_ VARCHAR, written_by VARCHAR) |
SELECT player FROM table_name_23 WHERE year > 2010 AND pick = 2 | Which player was pick 2 later than 2010? | CREATE TABLE table_name_23 (player VARCHAR, year VARCHAR, pick VARCHAR) |
SELECT 2002 FROM table_name_96 WHERE 2009 = "2r" | Which 2002 has a 2009 of 2r? | CREATE TABLE table_name_96 (Id VARCHAR) |
SELECT succeeded_by FROM table_1601027_2 WHERE earpads = "Foam" | Name what succeeded by for foam | CREATE TABLE table_1601027_2 (succeeded_by VARCHAR, earpads VARCHAR) |
SELECT date FROM table_name_4 WHERE score = "195 (-21)" | When did the Score of 195 (-21) happen? | CREATE TABLE table_name_4 (date VARCHAR, score VARCHAR) |
SELECT nationality FROM table_name_64 WHERE ship = "willerby" | what is the nationality when the ship is willerby? | CREATE TABLE table_name_64 (nationality VARCHAR, ship VARCHAR) |
SELECT record FROM table_name_23 WHERE score = "2–4" AND home = "quebec nordiques" | Which Record has a Score of 2–4, and a Home of quebec nordiques? | CREATE TABLE table_name_23 (record VARCHAR, score VARCHAR, home VARCHAR) |
SELECT finish FROM table_name_33 WHERE car_number = "6" | What's the finish for car number 6? | CREATE TABLE table_name_33 (finish VARCHAR, car_number VARCHAR) |
SELECT result FROM table_1360997_2 WHERE venue = "Rosehill" | Was the rosehill venue a win or loss? | CREATE TABLE table_1360997_2 (result VARCHAR, venue VARCHAR) |
SELECT high_assists FROM table_11964154_2 WHERE game = 4 | Who had the highest assists in game 4? | CREATE TABLE table_11964154_2 (high_assists VARCHAR, game VARCHAR) |
SELECT standalone FROM table_name_43 WHERE console = "space invaders" | What is the Standalone in the year when Space Invaders is the Console? | CREATE TABLE table_name_43 (standalone VARCHAR, console VARCHAR) |
SELECT SUM(attendance) FROM table_name_46 WHERE record = "1-6" | What attendance does 1-6 record have? | CREATE TABLE table_name_46 (attendance INTEGER, record VARCHAR) |
SELECT SUM(year_opened) FROM table_name_75 WHERE material = "steel" AND span_feet = 1476 | What is the sum of Year opened when steel was the material with a Span feet of 1476? | CREATE TABLE table_name_75 (year_opened INTEGER, material VARCHAR, span_feet VARCHAR) |
SELECT driver FROM table_name_98 WHERE grid = 18 | What driver has grid number 18? | CREATE TABLE table_name_98 (driver VARCHAR, grid VARCHAR) |
SELECT COUNT(*) FROM Addresses WHERE state_province_county = "Georgia" | How many staff live in state Georgia? | CREATE TABLE Addresses (state_province_county VARCHAR) |
SELECT MIN(capacity) FROM table_11208143_9 WHERE team = "Dundee United" | What is the minimum capacity of Dundee United's stadium? | CREATE TABLE table_11208143_9 (capacity INTEGER, team VARCHAR) |
SELECT position FROM table_name_78 WHERE name = "martin rucker" | What position does Martin Rucker play? | CREATE TABLE table_name_78 (position VARCHAR, name VARCHAR) |
SELECT nationality FROM table_name_91 WHERE player = "bobby ryan" | What is Bobby Ryan's nationality? | CREATE TABLE table_name_91 (nationality VARCHAR, player VARCHAR) |
SELECT pole_position FROM table_name_83 WHERE grand_prix = "german grand prix" | What is the Pole Position for the German Grand Prix | CREATE TABLE table_name_83 (pole_position VARCHAR, grand_prix VARCHAR) |
SELECT location_attendance FROM table_17322817_10 WHERE date = "April 13" | Name the location attendance for april 13 | CREATE TABLE table_17322817_10 (location_attendance VARCHAR, date VARCHAR) |
SELECT MAX(attendance) FROM table_name_64 WHERE week = 12 | What was the highest attendance week 12? | CREATE TABLE table_name_64 (attendance INTEGER, week VARCHAR) |
SELECT metrical_equivalence FROM table_26538461_2 WHERE portuguese_name = "Linha" | Name the metrical equivalence for linha | CREATE TABLE table_26538461_2 (metrical_equivalence VARCHAR, portuguese_name VARCHAR) |
SELECT email_address, phone_number FROM customers WHERE NOT customer_id IN (SELECT customer_id FROM complaints) | Find the email and phone number of the customers who have never filed a complaint before. | CREATE TABLE complaints (email_address VARCHAR, phone_number VARCHAR, customer_id VARCHAR); CREATE TABLE customers (email_address VARCHAR, phone_number VARCHAR, customer_id VARCHAR) |
SELECT bronze FROM table_name_75 WHERE gold = "kim woo-jin" | What's the Bronze that's also got a Godl of Kim Woo-Jin? | CREATE TABLE table_name_75 (bronze VARCHAR, gold VARCHAR) |
SELECT player FROM table_name_47 WHERE nationality = "sweden" | Which player is from Sweden? | CREATE TABLE table_name_47 (player VARCHAR, nationality VARCHAR) |
SELECT maximum_download_speed__kbps FROM table_name_24 WHERE technology = "3g" AND plan_name = "internet basic" | What is the maximum download speed for the Internet basic plan with 3G? | CREATE TABLE table_name_24 (maximum_download_speed__kbps VARCHAR, technology VARCHAR, plan_name VARCHAR) |
SELECT MIN(year) FROM table_29506171_2 WHERE earnings___€__ = "4,050 1" | In what year were Reid's earnings €4,050 1? | CREATE TABLE table_29506171_2 (year INTEGER, earnings___€__ VARCHAR) |
SELECT product_type_code, AVG(product_price) FROM products GROUP BY product_type_code | What is the average price for each type of product? | CREATE TABLE products (product_type_code VARCHAR, product_price INTEGER) |
SELECT original_title FROM table_10874596_1 WHERE film_title_used_in_nomination = "A Woman in Flames" | What was the original title of the film submitted with the title A Woman in Flames? | CREATE TABLE table_10874596_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR) |
SELECT SUM(gold) FROM table_name_78 WHERE bronze < 2 AND silver = 0 AND rank > 3 | How much Gold has a Bronze smaller than 2, and a Silver of 0, and a Rank larger than 3? | CREATE TABLE table_name_78 (gold INTEGER, rank VARCHAR, bronze VARCHAR, silver VARCHAR) |
SELECT date FROM table_name_62 WHERE goal = 2 | What was the date of the game where Esteban Paredes scored 2 goals? | CREATE TABLE table_name_62 (date VARCHAR, goal VARCHAR) |
SELECT founded FROM table_1301373_1 WHERE captain = "Matt Smith" | When was the team, whose captain is Matt Smith, founded? | CREATE TABLE table_1301373_1 (founded VARCHAR, captain VARCHAR) |
SELECT settlement FROM table_2562572_37 WHERE cyrillic_name_other_names = "Александрово" | Name the settlement for александрово | CREATE TABLE table_2562572_37 (settlement VARCHAR, cyrillic_name_other_names VARCHAR) |
SELECT into_service FROM table_29002641_1 WHERE number = "DH2" | Name the into service for dh2 | CREATE TABLE table_29002641_1 (into_service VARCHAR, number VARCHAR) |
SELECT type FROM table_name_40 WHERE moving_from = "rangers" | What is the type when Rangers are the moving from? | CREATE TABLE table_name_40 (type VARCHAR, moving_from VARCHAR) |
SELECT name FROM table_name_2 WHERE country = "cod" | What is the name of the player from Cod? | CREATE TABLE table_name_2 (name VARCHAR, country VARCHAR) |
SELECT player FROM table_name_54 WHERE country = "northern ireland" | Who is the golfer that golfs for Northern Ireland? | CREATE TABLE table_name_54 (player VARCHAR, country VARCHAR) |
SELECT score FROM table_name_1 WHERE game > 4 | What is Score, when Game is greater than 4? | CREATE TABLE table_name_1 (score VARCHAR, game INTEGER) |
SELECT AVG(round) FROM table_name_75 WHERE school_club_team = "memphis" | In what Round was the Memphis Player drafted? | CREATE TABLE table_name_75 (round INTEGER, school_club_team VARCHAR) |
SELECT COUNT(caps) FROM table_name_49 WHERE date_of_birth__age_ = "15 july 1981" | How many caps have a Date of Birth (Age) of 15 july 1981? | CREATE TABLE table_name_49 (caps VARCHAR, date_of_birth__age_ VARCHAR) |
SELECT MAX(population) FROM table_1300525_1 WHERE simplified = "铅山县" | How many people live in 铅山县? | CREATE TABLE table_1300525_1 (population INTEGER, simplified VARCHAR) |
SELECT site FROM table_name_38 WHERE sport = "w swimming" | Which Site has a Sport of w swimming? | CREATE TABLE table_name_38 (site VARCHAR, sport VARCHAR) |
SELECT team FROM table_name_6 WHERE date = "august 17" | What is the name of the team leading on August 17? | CREATE TABLE table_name_6 (team VARCHAR, date VARCHAR) |
SELECT translation FROM table_23915_4 WHERE ipa___são_paulo__ = "dɐ̃ːˈtɕiɣɐ ˈtɐ̃ʊ̯̃ ɐ̃ˈmadɐ ˈsuɐ ɦõ̞ˈmənə" | What is the original of the ipa ( são paulo ) translation dɐ̃ːˈtɕiɣɐ ˈtɐ̃ʊ̯̃ ɐ̃ˈmadɐ ˈsuɐ ɦõ̞ˈmənə? | CREATE TABLE table_23915_4 (translation VARCHAR, ipa___são_paulo__ VARCHAR) |
SELECT SUM(erp_w) FROM table_name_40 WHERE call_sign = "w273bs" | How many ERP W is it that has a Call sign of w273bs? | CREATE TABLE table_name_40 (erp_w INTEGER, call_sign VARCHAR) |
SELECT kemmerode FROM table_name_68 WHERE gersdorf = "39" | What Kemmerode has a Gersforf of 39? | CREATE TABLE table_name_68 (kemmerode VARCHAR, gersdorf VARCHAR) |
SELECT AVG(T2.Weeks_on_Top) FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID = T2.Artist_ID WHERE T1.age <= 25 | What is the average weeks on top of volumes associated with the artist aged 25 or younger? | CREATE TABLE volume (Weeks_on_Top INTEGER, Artist_ID VARCHAR); CREATE TABLE artist (Artist_ID VARCHAR, age VARCHAR) |
SELECT year FROM table_15315816_1 WHERE tournament_location = "Western Turnpike Golf Course" | When are all years that tournament location is Western Turnpike Golf Course? | CREATE TABLE table_15315816_1 (year VARCHAR, tournament_location VARCHAR) |
SELECT music FROM table_name_22 WHERE score = "30 (10, 10, 10)" AND style = "cha-cha-cha" | Which Music has a Score of 30 (10, 10, 10), and a Style of cha-cha-cha? | CREATE TABLE table_name_22 (music VARCHAR, score VARCHAR, style VARCHAR) |
SELECT COUNT(order) FROM table_name_77 WHERE goals = 239 | What is total orders for goals of 239? | CREATE TABLE table_name_77 (order VARCHAR, goals VARCHAR) |
SELECT score FROM table_name_54 WHERE january < 22 AND record = "30-7-7" | What is the score of the game before January 22 with a 30-7-7 record? | CREATE TABLE table_name_54 (score VARCHAR, january VARCHAR, record VARCHAR) |
SELECT status FROM table_name_21 WHERE notes = "primitive confuciusornithid ." | What is the Status of primitive confuciusornithid .? | CREATE TABLE table_name_21 (status VARCHAR, notes VARCHAR) |
SELECT part_3 FROM table_name_60 WHERE verb_meaning = "to gather" | What is the Part 3 when the Verb meaning is to gather? | CREATE TABLE table_name_60 (part_3 VARCHAR, verb_meaning VARCHAR) |
SELECT construction_completed FROM table_name_1 WHERE cerclis_id = "ard092916188" | What construction has a CERCLIS ID of ard092916188? | CREATE TABLE table_name_1 (construction_completed VARCHAR, cerclis_id VARCHAR) |
SELECT AVG(game) FROM table_name_24 WHERE date = "june 14" | What is the average Game with a Date that is june 14? | CREATE TABLE table_name_24 (game INTEGER, date VARCHAR) |
SELECT MIN(against) FROM table_name_69 WHERE round = "fourth round" | Which Against has a Round of fourth round? | CREATE TABLE table_name_69 (against INTEGER, round VARCHAR) |
SELECT agg FROM table_name_98 WHERE team_2 = "hafia fc" | What was the aggregate for the match with a team 2 of Hafia FC? | CREATE TABLE table_name_98 (agg VARCHAR, team_2 VARCHAR) |
SELECT city FROM table_name_16 WHERE venue = "riverside ground" AND year < 1998 | What city has riverside ground as the venue, with a year prior to 1998? | CREATE TABLE table_name_16 (city VARCHAR, venue VARCHAR, year VARCHAR) |
SELECT score FROM table_name_82 WHERE home_team = "yeovil town won 5–3 on penalties" | Which Score has a Home team of yeovil town won 5–3 on penalties? | CREATE TABLE table_name_82 (score VARCHAR, home_team VARCHAR) |
SELECT MIN(week) FROM table_name_75 WHERE result = "t 17–17" | What's the smallest week that had a result of t 17–17? | CREATE TABLE table_name_75 (week INTEGER, result VARCHAR) |
SELECT date FROM table_name_46 WHERE opponent_in_final = "virginie pichet" | What date was the opponent in the final Virginie Pichet? | CREATE TABLE table_name_46 (date VARCHAR, opponent_in_final VARCHAR) |
SELECT MIN(year) FROM table_22514845_4 WHERE reporters = "Howard Cosell and Jack Whitaker" AND s_analyst = "Bill Hartack" | In which year were howard cosell and jack whitaker reporters and s analyst is bill hartack? | CREATE TABLE table_22514845_4 (year INTEGER, reporters VARCHAR, s_analyst VARCHAR) |
SELECT segment_c FROM table_15187735_1 WHERE segment_b = "Package printing" | What was segment C when segment B was package printing? | CREATE TABLE table_15187735_1 (segment_c VARCHAR, segment_b VARCHAR) |
SELECT builder FROM table_name_30 WHERE fleet_series = "s057-s061" | Which builder has a fleet series of s057-s061? | CREATE TABLE table_name_30 (builder VARCHAR, fleet_series VARCHAR) |
SELECT tie_no FROM table_name_88 WHERE home_team = "altrincham" | What is the number of ties when Altrincham is the home team? | CREATE TABLE table_name_88 (tie_no VARCHAR, home_team VARCHAR) |
SELECT surface FROM table_name_63 WHERE opponent_in_the_final = "nathalie dechy meilen tu" | What was the surface where the opponent was Nathalie Dechy Meilen Tu? | CREATE TABLE table_name_63 (surface VARCHAR, opponent_in_the_final VARCHAR) |
SELECT COUNT(seat_order__right_to_left_) FROM table_name_83 WHERE series_3 = "deborah meaden" | How many Seat Orders (Right to Left) have a Series 3 of deborah meaden? | CREATE TABLE table_name_83 (seat_order__right_to_left_ VARCHAR, series_3 VARCHAR) |
SELECT MAX(touchdowns) FROM table_name_71 WHERE field_goals > 0 | Who had the most touchdowns with more than 0 Field goals? | CREATE TABLE table_name_71 (touchdowns INTEGER, field_goals INTEGER) |
SELECT time_retired FROM table_name_49 WHERE grid = 18 | What time/retired for grid 18? | CREATE TABLE table_name_49 (time_retired VARCHAR, grid VARCHAR) |
SELECT MIN(enrollment) FROM table_16432543_3 | What is the smallest number of enrolled students? | CREATE TABLE table_16432543_3 (enrollment INTEGER) |
SELECT date FROM table_name_95 WHERE race = "british grand prix" | When were the British Grand Prix races? | CREATE TABLE table_name_95 (date VARCHAR, race VARCHAR) |
SELECT MAX(year) FROM table_name_11 WHERE placement_in_miss_world = "did not place" AND delegate = "daisy garcia reyes" | What's the latest year that daisy garcia reyes did not place in miss world? | CREATE TABLE table_name_11 (year INTEGER, placement_in_miss_world VARCHAR, delegate VARCHAR) |
SELECT name, headquarter FROM manufacturers ORDER BY revenue DESC | Find all manufacturers' names and their headquarters, sorted by the ones with highest revenue first. | CREATE TABLE manufacturers (name VARCHAR, headquarter VARCHAR, revenue VARCHAR) |
SELECT COUNT(october) FROM table_name_18 WHERE game = 4 AND points < 3 | What day in october was game number 4 with under 3 points? | CREATE TABLE table_name_18 (october VARCHAR, game VARCHAR, points VARCHAR) |
SELECT production_code FROM table_23242950_1 WHERE us_viewers__millions_ = "7.49" | What's the production code of the episode seen by 7.49 million people in the US? | CREATE TABLE table_23242950_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR) |
SELECT MAX(2007) FROM table_name_61 WHERE change_06_07 = "14.7%" | What is the greatest 2007 when the change 06-07 was 14.7%? | CREATE TABLE table_name_61 (change_06_07 VARCHAR) |
SELECT losing_pitcher FROM table_12125069_2 WHERE winning_pitcher = "Roy Oswalt" | Who is the losing pitcher when the winning pitcher is roy oswalt? | CREATE TABLE table_12125069_2 (losing_pitcher VARCHAR, winning_pitcher VARCHAR) |
SELECT date FROM table_27756014_6 WHERE game = 22 | What date was game number 22 on? | CREATE TABLE table_27756014_6 (date VARCHAR, game VARCHAR) |
SELECT COUNT(state_and_district_of_columbia) FROM table_18958648_1 WHERE overweight__incl_obese__adults = "65.4%" | How many states or District of Columbia have 65.4% overweight or obese adults? | CREATE TABLE table_18958648_1 (state_and_district_of_columbia VARCHAR, overweight__incl_obese__adults VARCHAR) |
SELECT COUNT(game) FROM table_17326036_6 WHERE team = "@ Memphis" | How many games were recorded when the team was @ Memphis? | CREATE TABLE table_17326036_6 (game VARCHAR, team VARCHAR) |
SELECT MAX(seats_2006) FROM table_name_5 WHERE parties_and_voter_communities = "bürger für groß-rohrheim" AND _percentage_2006 < 21.3 | What is the highest number of Seats 2006 held by the communities of Bürger Für Groß-Rohrheim Party/Voter Community, with a %2006 less than 21.3? | CREATE TABLE table_name_5 (seats_2006 INTEGER, parties_and_voter_communities VARCHAR, _percentage_2006 VARCHAR) |
SELECT barrel_length FROM table_12834315_4 WHERE rear_sight = "A2" AND muzzle_device = "Factory compensator" | Name the barrel length for rear sight a2 for factory compensator | CREATE TABLE table_12834315_4 (barrel_length VARCHAR, rear_sight VARCHAR, muzzle_device VARCHAR) |
SELECT player FROM table_name_59 WHERE score = 76 - 67 - 71 = 214 | Who is the player with a 76-67-71=214 score? | CREATE TABLE table_name_59 (player VARCHAR, score VARCHAR) |
SELECT venue FROM table_name_40 WHERE home_team = "carlton" | What venue features carlton as the home side? | CREATE TABLE table_name_40 (venue VARCHAR, home_team VARCHAR) |
SELECT attendance FROM table_name_81 WHERE date = "october 16, 2005" | What attendance has October 16, 2005 as the date? | CREATE TABLE table_name_81 (attendance VARCHAR, date VARCHAR) |
SELECT nightly_rank FROM table_name_21 WHERE viewers__millions_ > 1.244 | Rank for viewers larger than 1.244? | CREATE TABLE table_name_21 (nightly_rank VARCHAR, viewers__millions_ INTEGER) |
SELECT 2011 FROM table_name_89 WHERE 2009 = "a" AND 2013 = "4r" | What is the value for 2011 when `a` is the value for 2009, and 4r is the value for 2013? | CREATE TABLE table_name_89 (Id VARCHAR) |
SELECT MAX(year_named) FROM table_16799784_4 WHERE name = "Norterma Tholus" | What year was Norterma Tholus created? | CREATE TABLE table_16799784_4 (year_named INTEGER, name VARCHAR) |
SELECT COUNT(december) FROM table_name_11 WHERE opponent = "boston bruins" | What is the day in December of the game against the Boston Bruins? | CREATE TABLE table_name_11 (december VARCHAR, opponent VARCHAR) |
SELECT place FROM table_name_77 WHERE score = 69 - 69 = 138 AND country = "united states" | What is Place, when Score is "69-69=138", and when Country is "United States"? | CREATE TABLE table_name_77 (place VARCHAR, country VARCHAR, score VARCHAR) |
SELECT catalog FROM table_name_93 WHERE format = "cd" | Name the catalog with cd format | CREATE TABLE table_name_93 (catalog VARCHAR, format VARCHAR) |
SELECT region FROM table_name_28 WHERE icao = "vmmc" | I want the region for ICAO of vmmc | CREATE TABLE table_name_28 (region VARCHAR, icao VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.