answer
stringlengths
28
316
question
stringlengths
21
201
context
stringlengths
33
286
SELECT date FROM table_name_28 WHERE constructor = "maserati" AND fastest_lap = "stirling moss"
What is the date that Stirling Moss had his fastest lap in a Maserati?
CREATE TABLE table_name_28 (date VARCHAR, constructor VARCHAR, fastest_lap VARCHAR)
SELECT player FROM table_name_48 WHERE round < 4 AND college_junior_club_team__league_ = "usa u-18"
Which Player has a Round smaller than 4, and a College/junior/club team (league) of usa u-18?
CREATE TABLE table_name_48 (player VARCHAR, round VARCHAR, college_junior_club_team__league_ VARCHAR)
SELECT chassis FROM table_name_75 WHERE entrant = "lavazza march" AND points = 0.5
What was the chassis when the entrant was Lavazza March, and the points were 0.5?
CREATE TABLE table_name_75 (chassis VARCHAR, entrant VARCHAR, points VARCHAR)
SELECT record FROM table_name_25 WHERE game_site = "riverfront stadium"
What was their record when they played at Riverfront Stadium?
CREATE TABLE table_name_25 (record VARCHAR, game_site VARCHAR)
SELECT class FROM table_22824312_1 WHERE player = "Ren Alde"
What class was ren alde?
CREATE TABLE table_22824312_1 (class VARCHAR, player VARCHAR)
SELECT losses FROM table_14594528_6 WHERE games = 19
How many losses for the coach that coached 19 games?
CREATE TABLE table_14594528_6 (losses VARCHAR, games VARCHAR)
SELECT role FROM table_name_20 WHERE broadcaster = "bbc1"
What was the role for BBC1?
CREATE TABLE table_name_20 (role VARCHAR, broadcaster VARCHAR)
SELECT away FROM table_name_61 WHERE result = "1-5 aet"
Who was the Away team on the result of 1-5 aet?
CREATE TABLE table_name_61 (away VARCHAR, result VARCHAR)
SELECT COUNT(network) FROM table_28190363_1 WHERE judges = "Pete Goffe-Wood Andrew Atkinson Benny Masekwameng"
How many networks are there that include the judges pete goffe-wood andrew atkinson benny masekwameng?
CREATE TABLE table_28190363_1 (network VARCHAR, judges VARCHAR)
SELECT SUM(pct) FROM table_name_89 WHERE years = "1957–1970" AND wins < 78
Which Pct has Years of 1957–1970, and Wins smaller than 78?
CREATE TABLE table_name_89 (pct INTEGER, years VARCHAR, wins VARCHAR)
SELECT no_in_series FROM table_23117208_5 WHERE directed_by = "Matthew Penn"
For the episode directed by Matthew Penn, what is the total number in the series?
CREATE TABLE table_23117208_5 (no_in_series VARCHAR, directed_by VARCHAR)
SELECT MAX(Milliseconds), MIN(Milliseconds) FROM TRACK
What are the durations of the longest and the shortest tracks in milliseconds?
CREATE TABLE TRACK (Milliseconds INTEGER)
SELECT year FROM table_14903491_1 WHERE womens_doubles = "Victoria Hristova Neli Nedialkova"
Name the year for victoria hristova neli nedialkova
CREATE TABLE table_14903491_1 (year VARCHAR, womens_doubles VARCHAR)
SELECT candidate FROM table_24501530_1 WHERE hometown = "Maylands, Western Australia"
What is the name of the player from Maylands, Western Australia?
CREATE TABLE table_24501530_1 (candidate VARCHAR, hometown VARCHAR)
SELECT unit FROM table_name_29 WHERE location = "mongolia"
What unit is in Mongolia?
CREATE TABLE table_name_29 (unit VARCHAR, location VARCHAR)
SELECT away_team FROM table_name_32 WHERE venue = "arden street oval"
Which Away team has a Venue of arden street oval?
CREATE TABLE table_name_32 (away_team VARCHAR, venue VARCHAR)
SELECT to_par FROM table_name_93 WHERE country = "england"
How many to par in England?
CREATE TABLE table_name_93 (to_par VARCHAR, country VARCHAR)
SELECT cast FROM table_2570269_2 WHERE episode__number = "2-03"
For episode number 2-03, what are the names of the cast?
CREATE TABLE table_2570269_2 (cast VARCHAR, episode__number VARCHAR)
SELECT AVG(total) FROM table_name_33 WHERE bronze > 3 AND gold > 8
What is the average total for teams with over 3 bronzes and over 8 golds?
CREATE TABLE table_name_33 (total INTEGER, bronze VARCHAR, gold VARCHAR)
SELECT week FROM table_14984078_1 WHERE date = "December 2, 1962"
What week of the season did the date December 2, 1962 fall on?
CREATE TABLE table_14984078_1 (week VARCHAR, date VARCHAR)
SELECT sydney FROM table_name_53 WHERE perth = "no" AND adelaide = "no" AND melbourne = "yes" AND gold_coast = "yes"
Name the sydney with perth of no, adelaide of no with melbourne of yes and gold coast of yes
CREATE TABLE table_name_53 (sydney VARCHAR, gold_coast VARCHAR, melbourne VARCHAR, perth VARCHAR, adelaide VARCHAR)
SELECT tenure FROM table_28051859_3 WHERE school = "Field"
When were the members tenured in the Field school?
CREATE TABLE table_28051859_3 (tenure VARCHAR, school VARCHAR)
SELECT trainer FROM table_name_34 WHERE year < 2009 AND time = "1:10.09"
Which trainer had a time of 1:10.09 with a year less than 2009?
CREATE TABLE table_name_34 (trainer VARCHAR, year VARCHAR, time VARCHAR)
SELECT COUNT(bronze) FROM table_name_70 WHERE silver > 2 AND nation = "mixed team" AND rank > 4
How much Bronze has a Silver larger than 2, and a Nation of mixed team, and a Rank larger than 4?
CREATE TABLE table_name_70 (bronze VARCHAR, rank VARCHAR, silver VARCHAR, nation VARCHAR)
SELECT score FROM table_name_69 WHERE to_par = "–3" AND player = "santiago luna"
Which Score has a To par of –3, and a Player of santiago luna?
CREATE TABLE table_name_69 (score VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT MIN(points_for) FROM table_26200568_16 WHERE club = "Toronto Downtown Dingos"
How many points did the Toronto Downtown Dingos score?
CREATE TABLE table_26200568_16 (points_for INTEGER, club VARCHAR)
SELECT record FROM table_27734286_1 WHERE high_points = "C. J. Miles (20)"
What record has c. j. miles (20) in the high points?
CREATE TABLE table_27734286_1 (record VARCHAR, high_points VARCHAR)
SELECT COUNT(player) FROM table_11734041_16 WHERE years_for_rockets = "1998"
what is the total amount of players for the rockets in 1998 only?
CREATE TABLE table_11734041_16 (player VARCHAR, years_for_rockets VARCHAR)
SELECT SUM(population__2011_) FROM table_name_28 WHERE land_area__km²_ > 15.69 AND population_density__per_km²_ > 57.3
How much Population (2011) has a Land area (km²) larger than 15.69, and a Population density (per km²) larger than 57.3?
CREATE TABLE table_name_28 (population__2011_ INTEGER, land_area__km²_ VARCHAR, population_density__per_km²_ VARCHAR)
SELECT party FROM table_name_14 WHERE took_office = "1998"
What is Party, when Took Office is 1998?
CREATE TABLE table_name_14 (party VARCHAR, took_office 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 COUNT(*) FROM scientists
Find the total number of scientists.
CREATE TABLE scientists (Id VARCHAR)
SELECT metlink_code FROM table_3005450_1 WHERE opened = "1908"
what is the metlink code that opened in 1908?
CREATE TABLE table_3005450_1 (metlink_code VARCHAR, opened VARCHAR)
SELECT SUM(lost) FROM table_name_20 WHERE points < 3 AND drawn > 0
How many losses have points less than 3, with a drawn greater than 0?
CREATE TABLE table_name_20 (lost INTEGER, points VARCHAR, drawn VARCHAR)
SELECT objectnumber FROM table_name_95 WHERE location = "barrow hill" AND wheels = "4-4-0"
What is the Object Number for the item with wheels 4-4-0 and a location of Barrow Hill?
CREATE TABLE table_name_95 (objectnumber VARCHAR, location VARCHAR, wheels VARCHAR)
SELECT venue FROM table_name_22 WHERE competition = "european championships" AND position = "7th"
Which Venue has a Competition of european championships, and a Position of 7th?
CREATE TABLE table_name_22 (venue VARCHAR, competition VARCHAR, position VARCHAR)
SELECT original_artist FROM table_28715942_6 WHERE vocal_percussionist = "Benjamin Holder"
Who is the artist where the vocal percussionist is Benjamin Holder?
CREATE TABLE table_28715942_6 (original_artist VARCHAR, vocal_percussionist VARCHAR)
SELECT opponent FROM table_27877656_7 WHERE edition = "2009 Europe/Africa Group IIIB" AND opponent_team = "Armenia"
For armenia as opponent team and edition is 2009 europe/africa group iiib mention all the opponent
CREATE TABLE table_27877656_7 (opponent VARCHAR, edition VARCHAR, opponent_team VARCHAR)
SELECT district FROM table_2668336_17 WHERE incumbent = "Charles Fisher"
In what district is the incumbent Charles Fisher?
CREATE TABLE table_2668336_17 (district VARCHAR, incumbent VARCHAR)
SELECT avg FROM table_name_76 WHERE player = "domenik hixon"
What is Domenik Hixon's average rush?
CREATE TABLE table_name_76 (avg VARCHAR, player VARCHAR)
SELECT opponent FROM table_name_65 WHERE type = "ud" AND round = "10" AND date = "2008-06-11"
Which Opponent has a Type of ud and a Round of 10 on 2008-06-11?
CREATE TABLE table_name_65 (opponent VARCHAR, date VARCHAR, type VARCHAR, round VARCHAR)
SELECT competition FROM table_name_87 WHERE venue = "arles, france"
Which competition was held in Arles, France?
CREATE TABLE table_name_87 (competition VARCHAR, venue VARCHAR)
SELECT reign FROM table_name_25 WHERE date_of_birth = "22 march 1459"
What was the Reign of the person whose Date of Birth was 22 March 1459?
CREATE TABLE table_name_25 (reign VARCHAR, date_of_birth VARCHAR)
SELECT team FROM table_name_21 WHERE year_entered_league < 2009 AND location = "bath"
Which team had a year entering the league under 2009, located in Bath?
CREATE TABLE table_name_21 (team VARCHAR, year_entered_league VARCHAR, location VARCHAR)
SELECT date FROM table_name_40 WHERE result = "8-0"
What date had a result of 8-0?
CREATE TABLE table_name_40 (date VARCHAR, result VARCHAR)
SELECT license_plate_code FROM table_name_52 WHERE area__sqmi_ = 784
What is the license plate code for the country with an area of 784?
CREATE TABLE table_name_52 (license_plate_code VARCHAR, area__sqmi_ 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 catalogue FROM table_name_33 WHERE song_title = "love me tonight"
Name the catalogue with song title of love me tonight
CREATE TABLE table_name_33 (catalogue VARCHAR, song_title VARCHAR)
SELECT player FROM table_name_16 WHERE position = "lock" AND caps = 1
What player is a lock with 1 cap?
CREATE TABLE table_name_16 (player VARCHAR, position VARCHAR, caps VARCHAR)
SELECT record FROM table_name_87 WHERE date = "5 february 2008"
What is the record of the game on 5 February 2008?
CREATE TABLE table_name_87 (record VARCHAR, date VARCHAR)
SELECT SUM(silver) FROM table_name_93 WHERE bronze > 5 AND gold < 16
How many silver medals did the team that had 5 bronze and less than 16 gold have?
CREATE TABLE table_name_93 (silver INTEGER, bronze VARCHAR, gold VARCHAR)
SELECT nfl_team FROM table_14649522_1 WHERE college = "South Carolina"
Which team picked from South Carolina college?
CREATE TABLE table_14649522_1 (nfl_team VARCHAR, college VARCHAR)
SELECT MAX(rank) FROM table_name_72 WHERE sport = "boys swimming" AND city = "albuquerque"
What is the highest rank for the boys swimming team in Albuquerque?
CREATE TABLE table_name_72 (rank INTEGER, sport VARCHAR, city VARCHAR)
SELECT COUNT(episode_titles) FROM table_11220799_2 WHERE first_air_date = "March 6, 2008"
How many episodes had their first air date on March 6, 2008?
CREATE TABLE table_11220799_2 (episode_titles VARCHAR, first_air_date VARCHAR)
SELECT date FROM table_name_63 WHERE round = "2nd round 2nd leg"
What is the date of the 2nd round 2nd leg?
CREATE TABLE table_name_63 (date VARCHAR, round VARCHAR)
SELECT AVG(games) FROM table_name_3 WHERE name = "stéphane dumas" AND rank > 5
How many Games has a Name of stéphane dumas and a Rank larger than 5?
CREATE TABLE table_name_3 (games INTEGER, name VARCHAR, rank VARCHAR)
SELECT COUNT(grid) FROM table_name_86 WHERE driver = "anthony davidson" AND laps < 8
What was the grid for anthony davidson when the laps were less than 8?
CREATE TABLE table_name_86 (grid VARCHAR, driver VARCHAR, laps VARCHAR)
SELECT player FROM table_name_71 WHERE country = "united states" AND place = "t6" AND score = 67 - 69 = 136
What player placed t6 for the United States with a score of 67-69=136?
CREATE TABLE table_name_71 (player VARCHAR, country VARCHAR, place VARCHAR, score VARCHAR)
SELECT COUNT(total_points) FROM table_name_99 WHERE 1982 = "n/a" AND points_average > 34 AND 1984 > 37
What is the points total for the team with points average more than 34, 1984 score more than 37 and N/A in 1982?
CREATE TABLE table_name_99 (total_points VARCHAR, points_average VARCHAR)
SELECT constructor FROM table_name_84 WHERE laps > 17 AND grid < 7 AND time_retired = "+ 1:35.6"
When grid is less than 7, laps are greater than 17, and time/retired is + 1:35.6, who is the constructor?
CREATE TABLE table_name_84 (constructor VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT population FROM table_22815568_7 WHERE county = "McDowell"
What is the population of the country of McDowell?
CREATE TABLE table_22815568_7 (population VARCHAR, county VARCHAR)
SELECT score FROM table_15869204_6 WHERE game = 31
WHAT WAS THE SCORE FOR GAME 31?
CREATE TABLE table_15869204_6 (score VARCHAR, game VARCHAR)
SELECT un_region FROM table_16278349_1 WHERE population = 3314000
Name the un region for 3314000 population
CREATE TABLE table_16278349_1 (un_region VARCHAR, population VARCHAR)
SELECT result FROM table_name_19 WHERE attendance = "65,473"
What was the result of the game played in front of 65,473?
CREATE TABLE table_name_19 (result VARCHAR, attendance VARCHAR)
SELECT stage__winner_ FROM table_name_17 WHERE general_classification = "vladimir karpets" AND team_classification = "relax-gam" AND points_classification = "denis menchov"
Which Stage (Winner) has a Vladimir Karpets General classification and a Team classification of relax-gam, and a Points classification of Denis Menchov?
CREATE TABLE table_name_17 (stage__winner_ VARCHAR, points_classification VARCHAR, general_classification VARCHAR, team_classification VARCHAR)
SELECT team_2 FROM table_name_46 WHERE team_1 = "la nuova piovese (veneto a)"
Tell me the team 2 for team 1 being la nuova piovese (veneto a)
CREATE TABLE table_name_46 (team_2 VARCHAR, team_1 VARCHAR)
SELECT competition FROM table_name_77 WHERE event = "4x100 m relay" AND time = "38.89"
What Competition has an Event of 4x100 m relay and has the Time of 38.89?
CREATE TABLE table_name_77 (competition VARCHAR, event VARCHAR, time VARCHAR)
SELECT assists FROM table_name_90 WHERE competition = "k-league" AND total_gs > 20 AND team = "pohang steelers" AND opponent = "chunnam dragons"
How many assists were in the k-league competition, which has more than 20 total Gs, the pohang steelers team, and chunnam dragons as the opponent?
CREATE TABLE table_name_90 (assists VARCHAR, opponent VARCHAR, team VARCHAR, competition VARCHAR, total_gs VARCHAR)
SELECT MAX(bronze) FROM table_name_13 WHERE nation = "united states" AND silver > 1
What is the highest number of bronze for the United States with more than 1 silver?
CREATE TABLE table_name_13 (bronze INTEGER, nation VARCHAR, silver VARCHAR)
SELECT engine FROM table_name_99 WHERE entrant = "marlboro team alfa romeo" AND chassis = "alfa romeo 179"
Which engine did Marlboro Team Alfa Romeo used with a chassis of alfa romeo 179?
CREATE TABLE table_name_99 (engine VARCHAR, entrant VARCHAR, chassis VARCHAR)
SELECT position FROM table_26533354_8 WHERE player = "Stanley Havili"
Name the position for stanley havili
CREATE TABLE table_26533354_8 (position VARCHAR, player VARCHAR)
SELECT COUNT(year) FROM table_1507806_1 WHERE winning_score = (76 - 73 - 79 - 72 = 300)
HOW MANY YEARS WAS IT FOR THE SCORE (76-73-79-72=300)?
CREATE TABLE table_1507806_1 (year VARCHAR, winning_score VARCHAR)
SELECT date FROM table_name_32 WHERE attendance = "73,405"
On what Date was the Attendance 73,405?
CREATE TABLE table_name_32 (date VARCHAR, attendance VARCHAR)
SELECT AVG(age), job FROM Person GROUP BY job
What is average age for different job title?
CREATE TABLE Person (job VARCHAR, age INTEGER)
SELECT date FROM table_23286223_5 WHERE high_assists = "Deron Williams (13)"
When was the game in which Deron Williams (13) did the high assists played?
CREATE TABLE table_23286223_5 (date VARCHAR, high_assists VARCHAR)
SELECT visitor FROM table_name_29 WHERE score = "121–85"
Who was the visiting team at the Cavaliers game that had a score of 121–85?
CREATE TABLE table_name_29 (visitor VARCHAR, score VARCHAR)
SELECT power_rpm FROM table_name_91 WHERE model_engine = "1.8 duratorq"
Name the power for 1.8 duratorq
CREATE TABLE table_name_91 (power_rpm VARCHAR, model_engine VARCHAR)
SELECT game_site FROM table_name_64 WHERE opponent = "cf pachuca"
Where does CF Pachuca play?
CREATE TABLE table_name_64 (game_site VARCHAR, opponent VARCHAR)
SELECT AVG(attendance) FROM table_name_33 WHERE date = "october 30, 1938"
What was the average attendance on October 30, 1938?
CREATE TABLE table_name_33 (attendance INTEGER, date VARCHAR)
SELECT score FROM table_name_56 WHERE tournament = "rabat" AND opponent_in_the_final = "frederico gil"
What is the Score of the Rabat Tournament with Opponent in the final of Frederico Gil?
CREATE TABLE table_name_56 (score VARCHAR, tournament VARCHAR, opponent_in_the_final VARCHAR)
SELECT declination___j2000__ FROM table_name_55 WHERE constellation = "ophiuchus" AND apparent_magnitude < 8.6 AND right_ascension___j2000__ = "16h47m14.5s"
Tell me the declination for consellaion of ophiuchus and apparent magnitude less than 8.6 with right ascension of 16h47m14.5s
CREATE TABLE table_name_55 (declination___j2000__ VARCHAR, right_ascension___j2000__ VARCHAR, constellation VARCHAR, apparent_magnitude VARCHAR)
SELECT county FROM table_22815568_2 WHERE unemployment_rate = "3.6%"
Which county had a 3.6% unemployment rate?
CREATE TABLE table_22815568_2 (county VARCHAR, unemployment_rate VARCHAR)
SELECT original_title FROM table_20124413_3 WHERE production_code = "3.19"
What was the original title of 3.19?
CREATE TABLE table_20124413_3 (original_title VARCHAR, production_code VARCHAR)
SELECT MAX(wins) FROM table_name_65 WHERE byes > 0
Which Wins has a Byes larger than 0?
CREATE TABLE table_name_65 (wins INTEGER, byes INTEGER)
SELECT type_of_work FROM table_207795_1 WHERE published_in_english = "N/A" AND published_in_russian = "1986"
when it published in english is n/a and published in russian is 1986, what is the type of work?
CREATE TABLE table_207795_1 (type_of_work VARCHAR, published_in_english VARCHAR, published_in_russian VARCHAR)
SELECT MIN(year) FROM table_name_67 WHERE final_position___tour > 72 AND final_position___vuelta < 77 AND final_position___giro < 57 AND rider = "valdimir poelnikov"
What is the earliest year of Valdimir Poelnikov, who has a final position-tour bigger than 72, a final position-vuelta less than 77, and a final position-giro less than 57?
CREATE TABLE table_name_67 (year INTEGER, rider VARCHAR, final_position___giro VARCHAR, final_position___tour VARCHAR, final_position___vuelta VARCHAR)
SELECT na__350_ FROM table_13663434_1 WHERE title_and_source = "Paper Wars: Cannon Fodder"
what's the na -350- with title and source being paper wars: cannon fodder
CREATE TABLE table_13663434_1 (na__350_ VARCHAR, title_and_source VARCHAR)
SELECT MAX(enrollment) FROM table_26355116_1
What is the maximum enrollment of the schools?
CREATE TABLE table_26355116_1 (enrollment INTEGER)
SELECT MIN(bronze) FROM table_name_7 WHERE rank = "3" AND silver < 2
Which Bronze is the lowest one that has a Rank of 3, and a Silver smaller than 2?
CREATE TABLE table_name_7 (bronze INTEGER, rank VARCHAR, silver VARCHAR)
SELECT digital_psip FROM table_name_14 WHERE broadcast_channel > 15 AND call_sign = "cftu-dt"
What is the Digital PSIP for channels over 15 with callsign CFTU-DT?
CREATE TABLE table_name_14 (digital_psip VARCHAR, broadcast_channel VARCHAR, call_sign VARCHAR)
SELECT MAX(long) FROM table_name_91 WHERE car = 59
Who has the highest Long with 59 Car?
CREATE TABLE table_name_91 (long INTEGER, car VARCHAR)
SELECT date FROM table_name_35 WHERE tournament = "izmir cup" AND opponent = "somdev devvarman"
What date was the Izmir Cup in which İlhan played against Somdev Devvarman?
CREATE TABLE table_name_35 (date VARCHAR, tournament VARCHAR, opponent VARCHAR)
SELECT replaced_by FROM table_17115950_2 WHERE team = "CFR Cluj"
Who replaced the manager on Team Cfr Cluj?
CREATE TABLE table_17115950_2 (replaced_by VARCHAR, team VARCHAR)
SELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id HAVING COUNT(*) >= 2
Show the names of students who have at least 2 likes.
CREATE TABLE Likes (student_id VARCHAR); CREATE TABLE Highschooler (name VARCHAR, id VARCHAR)
SELECT director FROM table_name_90 WHERE primary_language_s_ = "azerbaijani" AND original_title = "buta"
What is Director, when Primary Language(s) is "Azerbaijani", and when Original Title is "Buta"?
CREATE TABLE table_name_90 (director VARCHAR, primary_language_s_ VARCHAR, original_title VARCHAR)
SELECT MIN(_number_of_bids) FROM table_name_47 WHERE conference = "missouri valley"
What is the lowest number of bids in the Missouri Valley conference?
CREATE TABLE table_name_47 (_number_of_bids INTEGER, conference VARCHAR)
SELECT record FROM table_17325580_10 WHERE team = "Boston"
What was the record when the team played Boston?
CREATE TABLE table_17325580_10 (record VARCHAR, team VARCHAR)
SELECT player FROM table_name_12 WHERE score = 73 - 69 - 74 - 71 = 287
Name the player with score of 73-69-74-71=287
CREATE TABLE table_name_12 (player VARCHAR, score VARCHAR)
SELECT t1.product_name, t1.product_price FROM products AS t1 JOIN regular_order_products AS t2 ON t1.product_id = t2.product_id GROUP BY t2.product_id ORDER BY COUNT(*) DESC LIMIT 1
Find the name and price of the product that has been ordered the greatest number of times.
CREATE TABLE products (product_name VARCHAR, product_price VARCHAR, product_id VARCHAR); CREATE TABLE regular_order_products (product_id VARCHAR)
SELECT vacator FROM table_2417345_3 WHERE date_of_successors_formal_installation = "February 1, 1871"
Who was the vacator when the successor was formally installed on February 1, 1871?
CREATE TABLE table_2417345_3 (vacator VARCHAR, date_of_successors_formal_installation VARCHAR)