answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT surface FROM table_29163303_4 WHERE score = "6–1, 4–6, [12–10]" | On what surface was it the year when the score was 6–1, 4–6, [12–10]? | CREATE TABLE table_29163303_4 (surface VARCHAR, score VARCHAR) |
SELECT plant_patent_number FROM table_name_21 WHERE "inventor" = "fukuda" | What's the patent number of Fukuda? | CREATE TABLE table_name_21 (plant_patent_number VARCHAR) |
SELECT MIN(week) FROM table_name_66 WHERE opponent = "minnesota vikings" | What is the Week of the game against the Minnesota Vikings? | CREATE TABLE table_name_66 (week INTEGER, opponent VARCHAR) |
SELECT score FROM table_name_21 WHERE country = "united states" AND money___$__ > 24 OFFSET 542 | What is the score of the United States, which has more than $24,542? | CREATE TABLE table_name_21 (score VARCHAR, country VARCHAR, money___$__ VARCHAR) |
SELECT game FROM table_name_32 WHERE location_attendance = "omni coliseum" AND score = "w 105-95" | What game was played at Omni Coliseum with a w 105-95 score? | CREATE TABLE table_name_32 (game VARCHAR, location_attendance VARCHAR, score VARCHAR) |
SELECT AVG(cr_no) FROM table_name_23 WHERE works = "hawthorn leslie 3100" AND lms_no < 14761 | What's the CR number that has an LMS number less than 14761 and works of Hawthorn Leslie 3100? | CREATE TABLE table_name_23 (cr_no INTEGER, works VARCHAR, lms_no VARCHAR) |
SELECT candidates FROM table_1341930_40 WHERE district = "South Carolina 3" | Name the candidates for south carolina 3 | CREATE TABLE table_1341930_40 (candidates VARCHAR, district VARCHAR) |
SELECT venue FROM table_name_91 WHERE score_f_a = "1–2" AND game = 41 | What is the Venue of Game 41 with a Score F–A of 1–2? | CREATE TABLE table_name_91 (venue VARCHAR, score_f_a VARCHAR, game VARCHAR) |
SELECT record FROM table_name_63 WHERE home = "chicago" | What was the record when chicago was the home team? | CREATE TABLE table_name_63 (record VARCHAR, home VARCHAR) |
SELECT class FROM table_name_19 WHERE quantity_made = "20" | Which class had a quantity made of 20? | CREATE TABLE table_name_19 (class VARCHAR, quantity_made VARCHAR) |
SELECT name, open_date FROM church ORDER BY open_date DESC LIMIT 3 | Show the name and opening year for three churches that opened most recently. | CREATE TABLE church (name VARCHAR, open_date VARCHAR) |
SELECT COUNT(nationality) FROM table_14407512_23 WHERE name = "Tom Hilde" | Name the number of nationality is tom hilde | CREATE TABLE table_14407512_23 (nationality VARCHAR, name VARCHAR) |
SELECT SUM(crowd) FROM table_name_92 WHERE away_team = "north melbourne" | What is the sum of crowd(s) when north melbourne is away? | CREATE TABLE table_name_92 (crowd INTEGER, away_team VARCHAR) |
SELECT name, Num_of_Component FROM furniture ORDER BY market_rate LIMIT 1 | Find the name and component amount of the least popular furniture. | CREATE TABLE furniture (name VARCHAR, Num_of_Component VARCHAR, market_rate VARCHAR) |
SELECT method FROM table_name_37 WHERE record = "15-11" | How did the match end when his record was 15-11? | CREATE TABLE table_name_37 (method VARCHAR, record VARCHAR) |
SELECT result FROM table_name_66 WHERE date = "october 27, 2002" | What was the Result on October 27, 2002? | CREATE TABLE table_name_66 (result VARCHAR, date VARCHAR) |
SELECT country FROM table_name_80 WHERE internetlists = "—" AND onisecurityfiltering = "—" | What is the name of the country that has internetlists of —, and ONIsecurityfiltering of —? | CREATE TABLE table_name_80 (country VARCHAR, internetlists VARCHAR, onisecurityfiltering VARCHAR) |
SELECT COUNT(avg) FROM table_name_89 WHERE yards > 20 AND player = "darrius heyward-bey" AND long < 80 | What is Darrius Heyward-Bey's average with more than 20 yards and less than 80 long? | CREATE TABLE table_name_89 (avg VARCHAR, long VARCHAR, yards VARCHAR, player VARCHAR) |
SELECT MAX(week) FROM table_name_40 WHERE result = "w 24-0" AND attendance < 10 OFFSET 000 | Which Week has a Result of w 24-0, and an Attendance smaller than 10,000? | CREATE TABLE table_name_40 (week INTEGER, result VARCHAR, attendance VARCHAR) |
SELECT player FROM table_name_64 WHERE pick < 149 AND round = 9 | Who was picked before 149 in round 9? | CREATE TABLE table_name_64 (player VARCHAR, pick VARCHAR, round VARCHAR) |
SELECT outcome FROM table_name_19 WHERE score = "6–4, 6–4, 6–2" | Which Outcome has a Score of 6–4, 6–4, 6–2? | CREATE TABLE table_name_19 (outcome VARCHAR, score VARCHAR) |
SELECT title FROM table_27914606_1 WHERE written_by = "Jeff Astrof & Matt Goldman" | what is the name of the episode whose writers were jeff astrof & matt goldman? | CREATE TABLE table_27914606_1 (title VARCHAR, written_by VARCHAR) |
SELECT season AS premiere FROM table_name_12 WHERE viewer_rank___number_ = "#6" | When did the season premiere that had a viewer rank of #6? | CREATE TABLE table_name_12 (season VARCHAR, viewer_rank___number_ VARCHAR) |
SELECT free_reduced_lunch___percentage_ FROM table_14754471_1 WHERE hispanic___percentage_ = "3.7" | What percentage of free/reduced lunch are there when the hispanic percentage is 3.7? | CREATE TABLE table_14754471_1 (free_reduced_lunch___percentage_ VARCHAR, hispanic___percentage_ VARCHAR) |
SELECT player FROM table_name_3 WHERE country = "united states" AND place = "t3" | Which United States player has a place of T3? | CREATE TABLE table_name_3 (player VARCHAR, country VARCHAR, place VARCHAR) |
SELECT home_team AS score FROM table_name_63 WHERE venue = "windy hill" | What was the Home Team Score for the Windy Hill Venue? | CREATE TABLE table_name_63 (home_team VARCHAR, venue VARCHAR) |
SELECT school FROM table_name_60 WHERE location = "rochester" | what is the school when the location is rochester? | CREATE TABLE table_name_60 (school VARCHAR, location VARCHAR) |
SELECT architecture FROM table_name_73 WHERE original_vehicle = "ford escort wagon" | What architecture type does the Ford Escort Wagon have? | CREATE TABLE table_name_73 (architecture VARCHAR, original_vehicle VARCHAR) |
SELECT year_built FROM table_name_43 WHERE location_of_the_church = "arnafjord" | When was the church in Arnafjord built? | CREATE TABLE table_name_43 (year_built VARCHAR, location_of_the_church VARCHAR) |
SELECT train_number, name FROM train ORDER BY TIME | show all train numbers and names ordered by their time from early to late. | CREATE TABLE train (train_number VARCHAR, name VARCHAR, TIME VARCHAR) |
SELECT constructor FROM table_name_41 WHERE driver = "juan pablo montoya" | who is the constructor when the driver is juan pablo montoya? | CREATE TABLE table_name_41 (constructor VARCHAR, driver VARCHAR) |
SELECT bats FROM table_name_9 WHERE position = "lhp" AND first = "lachlan" | Which does the lhp player with the first name lachlan bat? | CREATE TABLE table_name_9 (bats VARCHAR, position VARCHAR, first VARCHAR) |
SELECT raw_bandwidth__mbit_s_ FROM table_name_8 WHERE name = "sas 300" | What is the Raw bandwidth (Mbit/s) for the SAS 300? | CREATE TABLE table_name_8 (raw_bandwidth__mbit_s_ VARCHAR, name VARCHAR) |
SELECT wins FROM table_27631002_1 WHERE position = "7th" | What are the wins for the 7th position? | CREATE TABLE table_27631002_1 (wins VARCHAR, position VARCHAR) |
SELECT start FROM table_name_40 WHERE category = "2" AND year = 1947 | Name the start of an event in Catagory 2 of the year 1947. | CREATE TABLE table_name_40 (start VARCHAR, category VARCHAR, year VARCHAR) |
SELECT COUNT(rnd) FROM table_13512105_3 WHERE race = "Kansas" | tell the number of times where kansas was the location | CREATE TABLE table_13512105_3 (rnd VARCHAR, race VARCHAR) |
SELECT team FROM table_13619053_9 WHERE record = "15-63" | Which team was in a game with a record of 15-63? | CREATE TABLE table_13619053_9 (team VARCHAR, record VARCHAR) |
SELECT atsushi_aoki FROM table_name_96 WHERE black_tiger_v = "ibushi (16:35)" | What is he Atsushi Aoki when the Black Tiger V is ibushi (16:35)? | CREATE TABLE table_name_96 (atsushi_aoki VARCHAR, black_tiger_v VARCHAR) |
SELECT nation FROM table_name_77 WHERE rank > 9 | Name the nation with rank more than 9 | CREATE TABLE table_name_77 (nation VARCHAR, rank INTEGER) |
SELECT f_laps FROM table_name_16 WHERE season = "2011" AND races = "18" | what is the f/laps when the season is 2011 and races is 18? | CREATE TABLE table_name_16 (f_laps VARCHAR, season VARCHAR, races VARCHAR) |
SELECT school FROM table_name_1 WHERE team = "new york yankees" | what is the school when the team is new york yankees? | CREATE TABLE table_name_1 (school VARCHAR, team VARCHAR) |
SELECT competition FROM table_name_90 WHERE score = "2-1" | What is the name of the competition that ended with a score of 2-1? | CREATE TABLE table_name_90 (competition VARCHAR, score VARCHAR) |
SELECT COUNT(money___) AS $__ FROM table_name_14 WHERE to_par = "e" | How much money has a to par of E? | CREATE TABLE table_name_14 (money___ VARCHAR, to_par VARCHAR) |
SELECT date FROM table_name_42 WHERE total = "75–45" | What date was the total 75–45? | CREATE TABLE table_name_42 (date VARCHAR, total VARCHAR) |
SELECT residence FROM table_name_20 WHERE party = "dem" AND representative = "linda lawson" | Which Residence has a Party of dem, and a Representative of linda lawson? | CREATE TABLE table_name_20 (residence VARCHAR, party VARCHAR, representative VARCHAR) |
SELECT MAX(scored) FROM table_14871601_2 WHERE points = 19 AND team = "3 de Febrero" | What is the value scored when there were 19 points for the team 3 de Febrero? | CREATE TABLE table_14871601_2 (scored INTEGER, points VARCHAR, team VARCHAR) |
SELECT tournament FROM table_name_34 WHERE 2007 = "lq" | In which tournament did Pauline Parmentier finish LQ in 2007? | CREATE TABLE table_name_34 (tournament VARCHAR) |
SELECT state FROM table_1762887_1 WHERE county = "Lake county" | Name the state for lake county | CREATE TABLE table_1762887_1 (state VARCHAR, county VARCHAR) |
SELECT race FROM table_15530244_2 WHERE circuit = "Indy F3 Challenge" AND pole_position = "John Martin" | Which race number in the Indy F3 Challenge circuit had John Martin in pole position? | CREATE TABLE table_15530244_2 (race VARCHAR, circuit VARCHAR, pole_position VARCHAR) |
SELECT away_team FROM table_name_13 WHERE footytab_winner = "st. george" | What is the Away team when the FootyTAB winner was st. george? | CREATE TABLE table_name_13 (away_team VARCHAR, footytab_winner VARCHAR) |
SELECT MAX(ovrs) FROM table_name_20 WHERE econ = 2.02 | What is the highest Ovrs, when Econ is 2.02? | CREATE TABLE table_name_20 (ovrs INTEGER, econ VARCHAR) |
SELECT nationality FROM table_11545282_12 WHERE school_club_team = "Oregon" | Which country is the player that went to Oregon? | CREATE TABLE table_11545282_12 (nationality VARCHAR, school_club_team VARCHAR) |
SELECT written_by FROM table_22269839_1 WHERE production_code = "7ACX14" | Who wrote the title with production code 7acx14? | CREATE TABLE table_22269839_1 (written_by VARCHAR, production_code VARCHAR) |
SELECT AVG(gold) FROM table_name_47 WHERE nation = "sweden" AND silver > 1 | Count the average Gold which has a Nation of sweden, and a Silver larger than 1? | CREATE TABLE table_name_47 (gold INTEGER, nation VARCHAR, silver VARCHAR) |
SELECT constructor FROM table_name_75 WHERE tyre = "d" AND engine = "talbot 23cv 4.5 l6" AND chassis = "talbot-lago t26c" AND entrant = "ecurie belge" | who is the constructor when the tyre is d, the engine is talbot 23cv 4.5 l6, the chassis is talbot-lago t26c and the entrant is ecurie belge? | CREATE TABLE table_name_75 (constructor VARCHAR, entrant VARCHAR, chassis VARCHAR, tyre VARCHAR, engine VARCHAR) |
SELECT date FROM table_name_72 WHERE result = "w 20-19" | When did the w 20-19 happen? | CREATE TABLE table_name_72 (date VARCHAR, result VARCHAR) |
SELECT COUNT(poll_source) FROM table_20597634_3 WHERE scott_mcadams__d_ = "30%" | When 30% is scott mcadams (d) percentage how many poll sources are there? | CREATE TABLE table_20597634_3 (poll_source VARCHAR, scott_mcadams__d_ VARCHAR) |
SELECT round_1_ + _2a_points FROM table_name_61 WHERE horse = "poncorde" | Name the round 1 +2A points for horse of poncorde | CREATE TABLE table_name_61 (round_1_ VARCHAR, _2a_points VARCHAR, horse VARCHAR) |
SELECT time_retired FROM table_name_65 WHERE grid > 3 AND driver = "kimi räikkönen" | What time/retired has a Grid larger than 3, and a Driver of kimi räikkönen? | CREATE TABLE table_name_65 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR) |
SELECT recorded FROM table_name_63 WHERE time = "2:12" AND song_title = "i want to be free" | What is the date recorded for I Want to Be Free with a length of 2:12? | CREATE TABLE table_name_63 (recorded VARCHAR, time VARCHAR, song_title VARCHAR) |
SELECT MAX(no) FROM table_1924975_1 | What is the highest no.? | CREATE TABLE table_1924975_1 (no INTEGER) |
SELECT production_code FROM table_14035132_3 WHERE no_in_series = "37b" | What's the production code of the episode with a series number 37b? | CREATE TABLE table_14035132_3 (production_code VARCHAR, no_in_series VARCHAR) |
SELECT 2 AS nd_place_team FROM table_name_93 WHERE host_location = "tulsa, ok" AND year < 1956 | Who was the 2nd place team when the location was Tulsa, OK before 1956? | CREATE TABLE table_name_93 (host_location VARCHAR, year VARCHAR) |
SELECT year FROM table_name_13 WHERE position = "defensive tackle" AND college = "lsu" | Tell me the year for defensive tackle and college of lsu | CREATE TABLE table_name_13 (year VARCHAR, position VARCHAR, college VARCHAR) |
SELECT position FROM table_name_99 WHERE pick__number = 18 | Which Position has a Pick # of 18? | CREATE TABLE table_name_99 (position VARCHAR, pick__number VARCHAR) |
SELECT glendale_principal FROM table_name_58 WHERE ms_principal = "greg smorel" AND hs_principal = "joleen reinholz" AND year = "2006-2007" | Who is the Glendale principal with Greg Smorel as m.s. principal and Joleen Reinholz as H.S. principal during 2006-2007? | CREATE TABLE table_name_58 (glendale_principal VARCHAR, year VARCHAR, ms_principal VARCHAR, hs_principal VARCHAR) |
SELECT title FROM table_21025437_5 WHERE written_by = "Keith Temple" | What was the title of the episode written by Keith Temple? | CREATE TABLE table_21025437_5 (title VARCHAR, written_by VARCHAR) |
SELECT MAX(episode_no) FROM table_26136228_3 WHERE us_viewers__millions_ = "1.05" | What episode number in the season had 1.05 million U.S. viewers? | CREATE TABLE table_26136228_3 (episode_no INTEGER, us_viewers__millions_ VARCHAR) |
SELECT COUNT(eliminated_from_competition) FROM table_27987767_3 WHERE proceed_to_quarter_final = "Brive" | When brive is the proceed to quarter final how many were eliminated from competition? | CREATE TABLE table_27987767_3 (eliminated_from_competition VARCHAR, proceed_to_quarter_final VARCHAR) |
SELECT park_and_ride_lot FROM table_name_53 WHERE station_name = "temple square" | For the Temple Square station, what is the park & ride lot name? | CREATE TABLE table_name_53 (park_and_ride_lot VARCHAR, station_name VARCHAR) |
SELECT SUM(week) FROM table_name_42 WHERE attendance = "55,158" | Which week had an attendance of 55,158? | CREATE TABLE table_name_42 (week INTEGER, attendance VARCHAR) |
SELECT height FROM table_name_84 WHERE rank < 20 AND floors > 9 AND built = 2005 AND name = "the edge (c)" | What is Height, when Rank is less than 20, when Floors is greater than 9, when Built is 2005, and when Name is The Edge (C)? | CREATE TABLE table_name_84 (height VARCHAR, name VARCHAR, built VARCHAR, rank VARCHAR, floors VARCHAR) |
SELECT time FROM table_name_15 WHERE event = "bellator 89" | what is the time when the event is bellator 89? | CREATE TABLE table_name_15 (time VARCHAR, event VARCHAR) |
SELECT year FROM table_name_67 WHERE 2004 = "shake don't stir" | What year is the 2004 shake don't stir? | CREATE TABLE table_name_67 (year VARCHAR) |
SELECT format FROM table_name_15 WHERE catalog = "3645" AND date > 1981 AND label = "luaka bop" | What is the format for the album under the label, luaka bop, that had a catalog number of 3645 and dated after 1981? | CREATE TABLE table_name_15 (format VARCHAR, label VARCHAR, catalog VARCHAR, date VARCHAR) |
SELECT AVG(pick) FROM table_name_3 WHERE player = "jim h. mitchell" | What is the average pick of player jim h. mitchell? | CREATE TABLE table_name_3 (pick INTEGER, player VARCHAR) |
SELECT muklom FROM table_name_23 WHERE halang = "wɯ¹cʰi¹" | Which Muklom has a Halang of wɯ¹cʰi¹? | CREATE TABLE table_name_23 (muklom VARCHAR, halang VARCHAR) |
SELECT website FROM table_name_69 WHERE report = "ofsted" AND ages = "4-19" AND locality = "cheadle hulme" | What is the Website of the Cheadle Hulme School with a Report of Ofsted for Ages 4-19? | CREATE TABLE table_name_69 (website VARCHAR, locality VARCHAR, report VARCHAR, ages VARCHAR) |
SELECT competition FROM table_name_99 WHERE notes = "1.90 m" | In which competition(s) did Iljuštšenko jump 1.90 m? | CREATE TABLE table_name_99 (competition VARCHAR, notes VARCHAR) |
SELECT COUNT(DISTINCT instrument) FROM instruments AS T1 JOIN Band AS T2 ON T1.bandmateid = T2.id WHERE T2.lastname = "Heilo" | How many instrument does the musician with last name "Heilo" use? | CREATE TABLE instruments (bandmateid VARCHAR); CREATE TABLE Band (id VARCHAR, lastname VARCHAR) |
SELECT T2.name, T2.open_year FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id = T2.branch_id WHERE T1.register_year = 2016 GROUP BY T2.branch_id ORDER BY COUNT(*) DESC LIMIT 1 | What is the name and open year for the branch with most number of memberships registered in 2016? | CREATE TABLE membership_register_branch (branch_id VARCHAR, register_year VARCHAR); CREATE TABLE branch (name VARCHAR, open_year VARCHAR, branch_id VARCHAR) |
SELECT player FROM table_name_24 WHERE cfl_team = "toronto" | Name the Player who has a CFL Team of toronto? | CREATE TABLE table_name_24 (player VARCHAR, cfl_team VARCHAR) |
SELECT career_and_other_notes FROM table_1557974_1 WHERE stable = "Oguruma" | What are the career and other notes for wrestlers whose stable is oguruma? | CREATE TABLE table_1557974_1 (career_and_other_notes VARCHAR, stable VARCHAR) |
SELECT winner FROM table_name_70 WHERE distance = "175.6km" | Who was the winner of the race that had a distance of 175.6km? | CREATE TABLE table_name_70 (winner VARCHAR, distance VARCHAR) |
SELECT COUNT(*) FROM pets WHERE weight > 10 | Find the number of pets whose weight is heavier than 10. | CREATE TABLE pets (weight INTEGER) |
SELECT home FROM table_name_99 WHERE record = "33-30-8" | Who had a 33-30-8 record at home? | CREATE TABLE table_name_99 (home VARCHAR, record VARCHAR) |
SELECT MAX(number_of_electorates__2009_) FROM table_name_81 WHERE name = "beohari" | What is Beohari's highest number of electorates? | CREATE TABLE table_name_81 (number_of_electorates__2009_ INTEGER, name VARCHAR) |
SELECT stations FROM table_name_64 WHERE city = "vancouver, bc" | Which Stations are in vancouver, bc? | CREATE TABLE table_name_64 (stations VARCHAR, city VARCHAR) |
SELECT COUNT(*) FROM Invoices | How many invoices do we have? | CREATE TABLE Invoices (Id VARCHAR) |
SELECT season FROM table_name_46 WHERE champion = "manresa" | Which season was Manresa the champion? | CREATE TABLE table_name_46 (season VARCHAR, champion VARCHAR) |
SELECT horse_1 FROM table_name_32 WHERE rider_1 = "rené guzmán" AND association = "mulchén" | Which horse was Horse 1 when rené guzmán raced with the mulchén association? | CREATE TABLE table_name_32 (horse_1 VARCHAR, rider_1 VARCHAR, association VARCHAR) |
SELECT location FROM table_name_77 WHERE runners_up = "canada" AND winners = "australia" | What is the Location when Canada was the runner-up and Australia was the winner? | CREATE TABLE table_name_77 (location VARCHAR, runners_up VARCHAR, winners VARCHAR) |
SELECT COUNT(opponents) FROM table_name_34 WHERE result = "loss" AND game < 49 AND nuggets_points = 108 | How many Opponents have a Result of loss, and a Game smaller than 49, and Nuggets points of 108? | CREATE TABLE table_name_34 (opponents VARCHAR, nuggets_points VARCHAR, result VARCHAR, game VARCHAR) |
SELECT round FROM table_name_28 WHERE opponent = "clyde" | In what round was Clyde the opponent? | CREATE TABLE table_name_28 (round VARCHAR, opponent VARCHAR) |
SELECT result FROM table_name_48 WHERE role_episode = "outstanding achievement in drama" AND year < 1995 | What result has outstanding achievement in drama, as the role/episode with a year prior to 1995? | CREATE TABLE table_name_48 (result VARCHAR, role_episode VARCHAR, year VARCHAR) |
SELECT MAX(week) FROM table_name_57 WHERE attendance > 65 OFFSET 070 | Which Week has an Attendance larger than 65,070? | CREATE TABLE table_name_57 (week INTEGER, attendance INTEGER) |
SELECT rank FROM table_name_76 WHERE height_feet___m = "427 / 130" | What is the rank associated with a Height feet / m of 427 / 130? | CREATE TABLE table_name_76 (rank VARCHAR, height_feet___m VARCHAR) |
SELECT score FROM table_name_56 WHERE tournament = "san jose, us (2)" | Which Score has a Tournament of san jose, us (2)? | CREATE TABLE table_name_56 (score VARCHAR, tournament VARCHAR) |
SELECT district FROM table_2160008_4 WHERE reason_for_change = "Died July 4, 1939" | Name the district for reason for change being died july 4, 1939 | CREATE TABLE table_2160008_4 (district VARCHAR, reason_for_change VARCHAR) |
SELECT score FROM table_name_90 WHERE venue = "n/a" AND team_2 = "yokohama f. marinos" | Team 2 of Yokohama F. Marinos in the n/a venue had what score? | CREATE TABLE table_name_90 (score VARCHAR, venue VARCHAR, team_2 VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.