answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT date FROM table_name_51 WHERE tie_no = "6" | Name the team with a tie number of 6. | CREATE TABLE table_name_51 (date VARCHAR, tie_no VARCHAR) |
SELECT SUM(share) FROM table_name_2 WHERE air_date = "november 19, 2007" | What is the total share for an episode with an air date of November 19, 2007? | CREATE TABLE table_name_2 (share INTEGER, air_date VARCHAR) |
SELECT format FROM table_name_28 WHERE note = "12cm" AND catalog = "alca-9198" | Name the format for 12cm note and catalog of alca-9198 | CREATE TABLE table_name_28 (format VARCHAR, note VARCHAR, catalog VARCHAR) |
SELECT position FROM table_name_47 WHERE overall < 100 AND college = "north carolina" | What is the position of the player from the college of North Carolina with an overall less than 100? | CREATE TABLE table_name_47 (position VARCHAR, overall VARCHAR, college VARCHAR) |
SELECT opponent FROM table_name_40 WHERE record = "31-24" | Who was the opponent when the record was 31-24? | CREATE TABLE table_name_40 (opponent VARCHAR, record VARCHAR) |
SELECT home_team FROM table_name_3 WHERE date = "june 12" | Which Home Team is on june 12? | CREATE TABLE table_name_3 (home_team VARCHAR, date VARCHAR) |
SELECT date FROM table_name_91 WHERE "score" = "score" | What date was the score "score"? | CREATE TABLE table_name_91 (date VARCHAR) |
SELECT date_of_birth FROM table_27998152_1 WHERE no = 7 | for the no. 7 what is the date of birth | CREATE TABLE table_27998152_1 (date_of_birth VARCHAR, no VARCHAR) |
SELECT status FROM table_name_25 WHERE authors = "colbert" | What is the Status with an Author that is colbert? | CREATE TABLE table_name_25 (status VARCHAR, authors VARCHAR) |
SELECT rank FROM table_name_83 WHERE total > 2 AND gold = 2 | What is the rank of the country with more than 2 medals, and 2 gold medals? | CREATE TABLE table_name_83 (rank VARCHAR, total VARCHAR, gold VARCHAR) |
SELECT current_name FROM table_name_91 WHERE year_first_opened > 2011 | What ride opened after 2011? | CREATE TABLE table_name_91 (current_name VARCHAR, year_first_opened INTEGER) |
SELECT total_votes FROM table_name_62 WHERE members = "holly scouler" | What was Holly Scouler's total votes | CREATE TABLE table_name_62 (total_votes VARCHAR, members VARCHAR) |
SELECT constructor FROM table_name_66 WHERE time_retired = "1:36:38.887" | Who built the car that has a Time/Retired of 1:36:38.887? | CREATE TABLE table_name_66 (constructor VARCHAR, time_retired VARCHAR) |
SELECT no_in_series FROM table_25604014_6 WHERE directed_by = "Win Phelps" AND no_in_season = 11 | What are the number in series of the pieces directed by Win Phelps and which number in season is 11? | CREATE TABLE table_25604014_6 (no_in_series VARCHAR, directed_by VARCHAR, no_in_season VARCHAR) |
SELECT 2005 FROM table_name_3 WHERE 2004 = "3–2" | Which 2005 has a 2004 of 3–2? | CREATE TABLE table_name_3 (Id VARCHAR) |
SELECT date FROM table_name_25 WHERE time = "1:54.00" | What is the date of the event with a 1:54.00 time? | CREATE TABLE table_name_25 (date VARCHAR, time VARCHAR) |
SELECT title FROM table_17624965_1 WHERE production_code = 618 | What was the name of eipsode 618? | CREATE TABLE table_17624965_1 (title VARCHAR, production_code VARCHAR) |
SELECT winner FROM table_name_45 WHERE points_classification = "robbie mcewen" AND mountains_classification = "josé rujano" | Who was the winner when points classification is Robbie Mcewen, and a Mountains classification is José Rujano? | CREATE TABLE table_name_45 (winner VARCHAR, points_classification VARCHAR, mountains_classification VARCHAR) |
SELECT SUM(lane) FROM table_name_48 WHERE heat_rank = 7 | In heat rank 7, what is the sum of lanes? | CREATE TABLE table_name_48 (lane INTEGER, heat_rank VARCHAR) |
SELECT attendance FROM table_name_8 WHERE tie_no = "16" | When there was a tie of 16 what was the attendance? | CREATE TABLE table_name_8 (attendance VARCHAR, tie_no VARCHAR) |
SELECT state FROM table_name_49 WHERE name = "yi" | What is the name of Yi's state? | CREATE TABLE table_name_49 (state VARCHAR, name VARCHAR) |
SELECT score FROM table_name_21 WHERE venue = "royal liverpool golf club" AND champion = "willie hunter" | What is the score of the match won by Willie Hunter at the Royal Liverpool Golf Club? | CREATE TABLE table_name_21 (score VARCHAR, venue VARCHAR, champion VARCHAR) |
SELECT date FROM table_17294353_1 WHERE opponent = "Miami Dolphins" | When did the Broncos play the Miami Dolphins? | CREATE TABLE table_17294353_1 (date VARCHAR, opponent VARCHAR) |
SELECT sundsvall FROM table_name_94 WHERE falun = "2" | What did Sundsvall score when Falun scored 2? | CREATE TABLE table_name_94 (sundsvall VARCHAR, falun VARCHAR) |
SELECT scores FROM table_name_63 WHERE grand_finalist = "hawthorn" | What scores did grand finalist hawthorn have? | CREATE TABLE table_name_63 (scores VARCHAR, grand_finalist VARCHAR) |
SELECT main_date FROM table_27973624_1 WHERE round = "Third round Qualifying" | What is the main date when the round is third round qualifying? | CREATE TABLE table_27973624_1 (main_date VARCHAR, round VARCHAR) |
SELECT rowers FROM table_name_18 WHERE time = "7:39.70" | Who were the rowers who had a time of 7:39.70? | CREATE TABLE table_name_18 (rowers VARCHAR, time VARCHAR) |
SELECT country FROM table_name_13 WHERE score = 75 - 70 - 74 = 219 | What is the Country of the Player with a Score of 75-70-74=219? | CREATE TABLE table_name_13 (country VARCHAR, score VARCHAR) |
SELECT august FROM table_name_51 WHERE october = "shannon long" | Who is the August playmate with the October playmate Shannon Long? | CREATE TABLE table_name_51 (august VARCHAR, october VARCHAR) |
SELECT finalist FROM table_name_3 WHERE semifinalists = "andre agassi (1) lleyton hewitt (14)" | Which finalist has Semifinalists of andre agassi (1) lleyton hewitt (14)? | CREATE TABLE table_name_3 (finalist VARCHAR, semifinalists VARCHAR) |
SELECT cylinders__valves FROM table_1176162_3 WHERE model = "1.8 20V" | what's the cylinders/ valves with model being 1.8 20v | CREATE TABLE table_1176162_3 (cylinders__valves VARCHAR, model VARCHAR) |
SELECT highest_score FROM table_27268238_4 WHERE matches = 5 AND team = "Worcestershire" | If the team is Worcestershire and the Matched had were 5, what is the highest score? | CREATE TABLE table_27268238_4 (highest_score VARCHAR, matches VARCHAR, team VARCHAR) |
SELECT terminus FROM table_name_37 WHERE length = "3.5km" | What terminus is 3.5km in lenght? | CREATE TABLE table_name_37 (terminus VARCHAR, length VARCHAR) |
SELECT spanish FROM table_26614365_1 WHERE central = "cas [ˈkas]" | What is the Spanish word for cas [ˈkas]? | CREATE TABLE table_26614365_1 (spanish VARCHAR, central VARCHAR) |
SELECT MIN(points) FROM table_name_73 WHERE chassis = "ags jh23" AND year < 1988 | What point is the lowest for listings of chassis labeled AGS JH23 before 1988? | CREATE TABLE table_name_73 (points INTEGER, chassis VARCHAR, year VARCHAR) |
SELECT COUNT(crowd) FROM table_name_50 WHERE venue = "arden street oval" | What was the attendance when the VFL played Arden Street Oval? | CREATE TABLE table_name_50 (crowd VARCHAR, venue VARCHAR) |
SELECT COUNT(pick__number) FROM table_name_4 WHERE round > 8 AND college = "fresno state" | How many Picks have a Round larger than 8, and a College of fresno state? | CREATE TABLE table_name_4 (pick__number VARCHAR, round VARCHAR, college VARCHAR) |
SELECT SUM(staterooms) FROM table_name_62 WHERE year_built = 2008 AND crew < 28 | What is the sum of staterooms in with a year buit of 2008, and a crew less than 28? | CREATE TABLE table_name_62 (staterooms INTEGER, year_built VARCHAR, crew VARCHAR) |
SELECT try_bp FROM table_name_82 WHERE losing_bp = "4" AND club = "bargoed rfc" | What is the try BP when the losing BP is 4 and the club is Bargoed RFC? | CREATE TABLE table_name_82 (try_bp VARCHAR, losing_bp VARCHAR, club VARCHAR) |
SELECT COUNT(year) FROM table_26368963_1 WHERE under_15 = "Arturo Salazar Martinez" AND under_19 = "Moises Galvez" | How many years are there where the the under-15 is Arturo Salazar Martinez and the under-19 is Moises Galvez? | CREATE TABLE table_26368963_1 (year VARCHAR, under_15 VARCHAR, under_19 VARCHAR) |
SELECT director FROM table_name_2 WHERE title = "hamateur night" | Who directed hamateur night? | CREATE TABLE table_name_2 (director VARCHAR, title VARCHAR) |
SELECT AVG(south_asians_2001) FROM table_name_86 WHERE province = "alberta" AND south_asians_2011 > 159 OFFSET 055 | How many South Asians on average were in Alberta in 2001 and in 2011 had 159,055? | CREATE TABLE table_name_86 (south_asians_2001 INTEGER, province VARCHAR, south_asians_2011 VARCHAR) |
SELECT COUNT(silver) FROM table_name_53 WHERE bronze > 2 AND gold > 7 | How many silver for the team with more than 2 bronze and more than 7 gold? | CREATE TABLE table_name_53 (silver VARCHAR, bronze VARCHAR, gold VARCHAR) |
SELECT yearly_cost_for_paid_account FROM table_name_94 WHERE monthly_cost_for_paid_account = "5 usd" AND userpics_paid = "50" | What is Yearly Cost For Paid Account, when Montly Cost For Paid Account is 5 USD, and when Userpics Paid is 50? | CREATE TABLE table_name_94 (yearly_cost_for_paid_account VARCHAR, monthly_cost_for_paid_account VARCHAR, userpics_paid VARCHAR) |
SELECT MAX(field_goals) FROM table_name_76 WHERE touchdowns = 0 AND points > 4 | Which Field goals is the highest one that has Touchdowns of 0, and Points larger than 4? | CREATE TABLE table_name_76 (field_goals INTEGER, touchdowns VARCHAR, points VARCHAR) |
SELECT AVG(singapore) FROM table_name_80 WHERE london < 0 | What is the average Singapore value with a London value less than 0? | CREATE TABLE table_name_80 (singapore INTEGER, london INTEGER) |
SELECT visitor FROM table_name_54 WHERE record = "14–17–5" | Who is the visitor with a record of 14–17–5? | CREATE TABLE table_name_54 (visitor VARCHAR, record VARCHAR) |
SELECT date FROM table_name_46 WHERE race = "dodge dealers grand prix" AND class = "gts" | On which date was the Dodge Dealers Grand Prix GTS class race? | CREATE TABLE table_name_46 (date VARCHAR, race VARCHAR, class VARCHAR) |
SELECT region FROM table_name_16 WHERE date = "2005" AND label = "playground music scandinavia" | What region has the date of 2005 and Playground Music Scandinavia as a label? | CREATE TABLE table_name_16 (region VARCHAR, date VARCHAR, label VARCHAR) |
SELECT casino_theatre_1888 FROM table_148386_2 WHERE savoy_theatre_1906 = "Overton Moyle" | Who plays Overton Moyle in casino theatre 1888 & savoy theatre 1906? | CREATE TABLE table_148386_2 (casino_theatre_1888 VARCHAR, savoy_theatre_1906 VARCHAR) |
SELECT player FROM table_name_41 WHERE height = 2.16 | Who has a height of 2.16? | CREATE TABLE table_name_41 (player VARCHAR, height VARCHAR) |
SELECT school FROM table_name_74 WHERE player = "alonzo mourning" | What School did Player Alonzo Mourning attend? | CREATE TABLE table_name_74 (school VARCHAR, player VARCHAR) |
SELECT platform_s_ FROM table_name_50 WHERE game = "red dead redemption" | Which platform was Red Dead Redemption for? | CREATE TABLE table_name_50 (platform_s_ VARCHAR, game VARCHAR) |
SELECT MIN(round) FROM table_name_59 WHERE overall < 150 AND position = "offensive guard" | What is the lowest round for an offensive guard when the overall is smaller than 150? | CREATE TABLE table_name_59 (round INTEGER, overall VARCHAR, position VARCHAR) |
SELECT name FROM table_name_70 WHERE authority = "private" AND local_board = "hibiscus and bays" | What name shows as private authority and hibiscus and bays local board ? | CREATE TABLE table_name_70 (name VARCHAR, authority VARCHAR, local_board VARCHAR) |
SELECT year FROM table_name_8 WHERE partner = "yoo sang-hee" AND venue = "german open" | In what Year did the German Open have Yoo Sang-Hee as Partner? | CREATE TABLE table_name_8 (year VARCHAR, partner VARCHAR, venue VARCHAR) |
SELECT place FROM table_name_23 WHERE player = "arnold palmer" | What is Place, when Player is "Arnold Palmer"? | CREATE TABLE table_name_23 (place VARCHAR, player VARCHAR) |
SELECT home_team FROM table_name_9 WHERE away_team = "telford united" | In the match played against Telford United, who was the home team? | CREATE TABLE table_name_9 (home_team VARCHAR, away_team VARCHAR) |
SELECT away_team AS score FROM table_name_62 WHERE home_team = "fitzroy" | What did the away team score when playing against fitzroy? | CREATE TABLE table_name_62 (away_team VARCHAR, home_team VARCHAR) |
SELECT date_completed FROM table_1373542_1 WHERE date_announced = "February 22, 2007" | On what date was the asset acquisition that was announced on February 22, 2007 completed? | CREATE TABLE table_1373542_1 (date_completed VARCHAR, date_announced VARCHAR) |
SELECT shop_id, address FROM shop WHERE score < (SELECT AVG(score) FROM shop) | Find the id and address of the shops whose score is below the average score. | CREATE TABLE shop (shop_id VARCHAR, address VARCHAR, score INTEGER) |
SELECT club FROM table_13564637_3 WHERE drawn = "1" AND lost = "10" | what is the name of the club where drawn is 1 and lost is 10? | CREATE TABLE table_13564637_3 (club VARCHAR, drawn VARCHAR, lost VARCHAR) |
SELECT COUNT(car) FROM table_name_86 WHERE long = "2" | How many carries for the player with a 2 yard long? | CREATE TABLE table_name_86 (car VARCHAR, long VARCHAR) |
SELECT team FROM table_name_48 WHERE laps = 5 | What is the Team with a Lap that is 5? | CREATE TABLE table_name_48 (team VARCHAR, laps VARCHAR) |
SELECT date FROM table_name_43 WHERE record = "21–10" | Which Date has a Record of 21–10? | CREATE TABLE table_name_43 (date VARCHAR, record VARCHAR) |
SELECT propulsion FROM table_name_79 WHERE year < 1962 AND name = "rb 04" | What is the propulsion for the RB 04 earlier than 1962? | CREATE TABLE table_name_79 (propulsion VARCHAR, year VARCHAR, name VARCHAR) |
SELECT college FROM table_11677691_9 WHERE hometown = "Crete, Illinois" | Which college is present in the hometown of Crete, Illinois? | CREATE TABLE table_11677691_9 (college VARCHAR, hometown VARCHAR) |
SELECT COUNT(floors) FROM table_name_3 WHERE height * _m__ft_ = "300 / 985" AND rank < 3 | How many floors were there with a building rank of less than 3 and a height of 300 / 985 m (ft)? | CREATE TABLE table_name_3 (floors VARCHAR, rank VARCHAR, height VARCHAR, _m__ft_ VARCHAR) |
SELECT T1.Famous_Title FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID = T2.Artist_ID WHERE T2.Weeks_on_Top > 2 | What are the famous title of the artists associated with volumes with more than 2 weeks on top? | CREATE TABLE artist (Famous_Title VARCHAR, Artist_ID VARCHAR); CREATE TABLE volume (Artist_ID VARCHAR, Weeks_on_Top INTEGER) |
SELECT COUNT(director) FROM table_15026994_2 WHERE writer = "Gaby Chiappe" | How many different directors are associated with the writer Gaby Chiappe? | CREATE TABLE table_15026994_2 (director VARCHAR, writer VARCHAR) |
SELECT result FROM table_name_72 WHERE attendance = "60,705" | Which Result has an Attendance of 60,705? | CREATE TABLE table_name_72 (result VARCHAR, attendance VARCHAR) |
SELECT position FROM table_11677691_10 WHERE school = "Dooly County High school" | What is the postion of the player listed from Dooly County High School? | CREATE TABLE table_11677691_10 (position VARCHAR, school VARCHAR) |
SELECT MAX(weeks_in_top_10) FROM table_26400041_2 WHERE peak = 9 | if the peak is 9, how many weeks was it in the top 10? | CREATE TABLE table_26400041_2 (weeks_in_top_10 INTEGER, peak VARCHAR) |
SELECT MAX(avg_g) FROM table_name_93 WHERE long < 24 AND gp_gs = "2-0" AND yards < 7 | What is the highest average for a long less than 24, a GP-GS of 2-0, and less than 7 yards? | CREATE TABLE table_name_93 (avg_g INTEGER, yards VARCHAR, long VARCHAR, gp_gs VARCHAR) |
SELECT T1.id FROM trip AS T1 JOIN station AS T2 ON T1.start_station_id = T2.id ORDER BY T2.dock_count DESC LIMIT 1 | Which trip started from the station with the largest dock count? Give me the trip id. | CREATE TABLE trip (id VARCHAR, start_station_id VARCHAR); CREATE TABLE station (id VARCHAR, dock_count VARCHAR) |
SELECT area_damaged FROM table_23014685_1 WHERE target = "King Khalid Military City" | What area was damaged when King Khalid Military City was targeted? | CREATE TABLE table_23014685_1 (area_damaged VARCHAR, target VARCHAR) |
SELECT original_air_date FROM table_22261877_1 WHERE production_code = "6ACX19" | What is the air date of the episode with the production code 6acx19? | CREATE TABLE table_22261877_1 (original_air_date VARCHAR, production_code VARCHAR) |
SELECT to_par FROM table_name_88 WHERE country = "united states" AND score = 73 - 68 = 141 AND player = "brad faxon" | What is the to par score from Brad Faxon of the United States with a score of 73-68=141? | CREATE TABLE table_name_88 (to_par VARCHAR, player VARCHAR, country VARCHAR, score VARCHAR) |
SELECT year FROM table_name_64 WHERE rank < 8 AND moving_from = "olympiacos" | What is the listed year that has a rank smaller than 8 and moving from Olympiacos? | CREATE TABLE table_name_64 (year VARCHAR, rank VARCHAR, moving_from VARCHAR) |
SELECT COUNT(*), semester, YEAR FROM SECTION GROUP BY semester, YEAR | Find the number of courses provided in each semester and year. | CREATE TABLE SECTION (semester VARCHAR, YEAR VARCHAR) |
SELECT sanskrit FROM table_201400_2 WHERE western_star_name = "Arcturus" | what is the sanskrit of western star name arcturus | CREATE TABLE table_201400_2 (sanskrit VARCHAR, western_star_name VARCHAR) |
SELECT score FROM table_name_92 WHERE home = "bobcats" | What was the score when the team played at the bobcats? | CREATE TABLE table_name_92 (score VARCHAR, home VARCHAR) |
SELECT obama_number FROM table_20453681_1 WHERE county = "Geauga" | How many votes did Obama get in Geauga? | CREATE TABLE table_20453681_1 (obama_number VARCHAR, county VARCHAR) |
SELECT laps FROM table_name_46 WHERE driver = "dario franchitti" | How many laps does driver dario franchitti have? | CREATE TABLE table_name_46 (laps VARCHAR, driver VARCHAR) |
SELECT us_viewers__million_ FROM table_19229713_6 WHERE _number = 16 | How many u.s. viewers (million) have the number 16? | CREATE TABLE table_19229713_6 (us_viewers__million_ VARCHAR, _number VARCHAR) |
SELECT MIN(tournaments) FROM table_name_46 WHERE highest_rank = "maegashira 13" | What is the lowest Tournaments with Highest Rank of Maegashira 13? | CREATE TABLE table_name_46 (tournaments INTEGER, highest_rank VARCHAR) |
SELECT fastest_lap FROM table_10527215_3 WHERE winning_driver = "Johnny Rutherford" AND pole_position = "Al Unser" | What was Johnny Rutherford's fastest lap while Al Unser was the pole position? | CREATE TABLE table_10527215_3 (fastest_lap VARCHAR, winning_driver VARCHAR, pole_position VARCHAR) |
SELECT director FROM table_20404716_1 WHERE result = "Not Nominated" AND spanish_title = "Play" | Who was the director of the film that was not nominated and had the Spanish title of play? | CREATE TABLE table_20404716_1 (director VARCHAR, result VARCHAR, spanish_title VARCHAR) |
SELECT bronze FROM table_name_69 WHERE gold > 1 AND silver < 3 AND rank < 5 | Which Bronze has a Gold larger than 1, and a Silver smaller than 3, and a Rank smaller than 5? | CREATE TABLE table_name_69 (bronze VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR) |
SELECT defensive FROM table_name_97 WHERE rookie = "craig point" AND week = 6 | Who played defensive when the rookie Craig Point was playing during week 6? | CREATE TABLE table_name_97 (defensive VARCHAR, rookie VARCHAR, week VARCHAR) |
SELECT 3 AS rd_place FROM table_11577996_1 WHERE year = 2007 | What school took 3rd place in 2007? | CREATE TABLE table_11577996_1 (year VARCHAR) |
SELECT match FROM table_name_11 WHERE points = 24 | What is the Match with Points that are 24? | CREATE TABLE table_name_11 (match VARCHAR, points VARCHAR) |
SELECT candidates FROM table_1341690_35 WHERE incumbent = "Del Latta" | Who were the candidates in the district won by the incumbent Del Latta? | CREATE TABLE table_1341690_35 (candidates VARCHAR, incumbent VARCHAR) |
SELECT original_air_date FROM table_23483182_1 WHERE us_viewers__million_ = "5.72" | What was the air date where there were 5.72 million viewers? | CREATE TABLE table_23483182_1 (original_air_date VARCHAR, us_viewers__million_ VARCHAR) |
SELECT buddhist FROM table_14598_5 WHERE s_jain = "941" | How many buddhists are where s jain have 941? | CREATE TABLE table_14598_5 (buddhist VARCHAR, s_jain VARCHAR) |
SELECT 2006 FROM table_name_91 WHERE 2013 = "2r" AND tournament = "us open" | What is the 2006 when the 2013 is 2r, and a Tournament was the us open? | CREATE TABLE table_name_91 (tournament VARCHAR) |
SELECT school FROM table_name_72 WHERE date = "june 4, 2011" | What is the School of the Player with a Date of June 4, 2011? | CREATE TABLE table_name_72 (school VARCHAR, date VARCHAR) |
SELECT months_in_malayalam_era FROM table_169955_1 WHERE in_malayalam = "കുംഭം" | Name the months in the malayalam era for കുംഭം | CREATE TABLE table_169955_1 (months_in_malayalam_era VARCHAR, in_malayalam VARCHAR) |
SELECT TYPE FROM artwork GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 1 | List the most common type of artworks. | CREATE TABLE artwork (TYPE VARCHAR) |
SELECT hdtv FROM table_15887683_6 WHERE television_service = "Sky Primafila 17" | Name the hdtv for sky primafila 17 | CREATE TABLE table_15887683_6 (hdtv VARCHAR, television_service VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.