question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
What is the average time with a rank lower than 2 for Andy Turner? | CREATE TABLE table_name_24 (time INTEGER, rank VARCHAR, name VARCHAR) | SELECT AVG(time) FROM table_name_24 WHERE rank > 2 AND name = "andy turner" |
What role did John Wayne play with Verna Hillie as the leading lady? | CREATE TABLE table_name_80 (role VARCHAR, leading_lady VARCHAR) | SELECT role FROM table_name_80 WHERE leading_lady = "verna hillie" |
What year was transamerica field built in? | CREATE TABLE table_name_10 (year_built VARCHAR, venue VARCHAR) | SELECT year_built FROM table_name_10 WHERE venue = "transamerica field" |
Who was the writer of the episode number in series 4? | CREATE TABLE table_16581695_2 (written_by VARCHAR, no_in_series VARCHAR) | SELECT written_by FROM table_16581695_2 WHERE no_in_series = "4" |
What's the total number of copies sold for the single that sold 206,030 in the first week? | CREATE TABLE table_name_43 (copies_sold VARCHAR, first_week_sales VARCHAR) | SELECT COUNT(copies_sold) FROM table_name_43 WHERE first_week_sales = 206 OFFSET 030 |
List top 3 highest Rating TV series. List the TV series's Episode and Rating. | CREATE TABLE TV_series (Episode VARCHAR, Rating VARCHAR) | SELECT Episode, Rating FROM TV_series ORDER BY Rating DESC LIMIT 3 |
What is the maximum Obama supporters in Wayne county? | CREATE TABLE table_20688030_1 (obama_number INTEGER, county VARCHAR) | SELECT MAX(obama_number) FROM table_20688030_1 WHERE county = "Wayne" |
Which position had a goal difference of less than 27, lost more than 13 games, scored less than 42 goals and drew 6 games? | CREATE TABLE table_name_61 (played INTEGER, draws VARCHAR, goals_for VARCHAR, goal_difference VARCHAR, losses VARCHAR) | SELECT MAX(played) FROM table_name_61 WHERE goal_difference < 27 AND losses > 13 AND goals_for < 42 AND draws = 6 |
What's the total number of points scored during the 1951 NSWRFL Grand Final? | CREATE TABLE table_name_3 (points VARCHAR, details VARCHAR) | SELECT COUNT(points) FROM table_name_3 WHERE details = "1951 nswrfl grand final" |
Name the opponent with loss of sanderson (9-8) | CREATE TABLE table_name_80 (opponent VARCHAR, loss VARCHAR) | SELECT opponent FROM table_name_80 WHERE loss = "sanderson (9-8)" |
Which population areas have "replaced by us 83" listed in their remarks section? | CREATE TABLE table_11336756_6 (population_area VARCHAR, remarks VARCHAR) | SELECT population_area FROM table_11336756_6 WHERE remarks = "Replaced by US 83" |
who is the incumbent with candidates being bud shuster (r) unopposed | CREATE TABLE table_1341586_39 (incumbent VARCHAR, candidates VARCHAR) | SELECT incumbent FROM table_1341586_39 WHERE candidates = "Bud Shuster (R) Unopposed" |
How many number of series have a production code of 1.11? | CREATE TABLE table_2226817_2 (no_in_series VARCHAR, production_code VARCHAR) | SELECT no_in_series FROM table_2226817_2 WHERE production_code = "1.11" |
What is the attendance record for week 6? | CREATE TABLE table_17928023_1 (attendance VARCHAR, week VARCHAR) | SELECT COUNT(attendance) FROM table_17928023_1 WHERE week = 6 |
What's the highest lowest number of capacity that ibrox stadium has when the average is larger than 49,143? | CREATE TABLE table_name_67 (lowest INTEGER, stadium VARCHAR, average VARCHAR) | SELECT MAX(lowest) FROM table_name_67 WHERE stadium = "ibrox stadium" AND average > 49 OFFSET 143 |
How many attended the game on December 16, 2001? | CREATE TABLE table_name_92 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_92 WHERE date = "december 16, 2001" |
What is the name of the movie from 1997 distributed from HBO Pictures? | CREATE TABLE table_name_99 (title VARCHAR, year VARCHAR, distributor_s_ VARCHAR) | SELECT title FROM table_name_99 WHERE year = "1997" AND distributor_s_ = "hbo pictures" |
How many candidates ran in the race where the incumbent is J. L. Pilcher? | CREATE TABLE table_1342013_10 (candidates VARCHAR, incumbent VARCHAR) | SELECT COUNT(candidates) FROM table_1342013_10 WHERE incumbent = "J. L. Pilcher" |
Name the total number of length minutes for number in series for 17 | CREATE TABLE table_15430606_1 (length__minutes_ VARCHAR, no_in_series VARCHAR) | SELECT COUNT(length__minutes_) FROM table_15430606_1 WHERE no_in_series = "17" |
What was the home team score for the game played at Western Oval? | CREATE TABLE table_name_75 (home_team VARCHAR, venue VARCHAR) | SELECT home_team AS score FROM table_name_75 WHERE venue = "western oval" |
Where did fitzroy play as the home team? | CREATE TABLE table_name_21 (venue VARCHAR, home_team VARCHAR) | SELECT venue FROM table_name_21 WHERE home_team = "fitzroy" |
Which staff handled least number of payments? List the full name and the id. | CREATE TABLE payment (staff_id VARCHAR); CREATE TABLE staff (first_name VARCHAR, last_name VARCHAR, staff_id VARCHAR) | SELECT T1.first_name, T1.last_name, T1.staff_id FROM staff AS T1 JOIN payment AS T2 ON T1.staff_id = T2.staff_id GROUP BY T1.staff_id ORDER BY COUNT(*) LIMIT 1 |
How many parks are called mt. olympus | CREATE TABLE table_2665085_1 (name VARCHAR, park VARCHAR) | SELECT COUNT(name) FROM table_2665085_1 WHERE park = "Mt. Olympus" |
Which 2008 has a 2005 of 13–3? | CREATE TABLE table_name_48 (Id VARCHAR) | SELECT 2008 FROM table_name_48 WHERE 2005 = "13–3" |
Who appointed the conservative from Ontario on June 18, 1993? | CREATE TABLE table_name_61 (appointed_by VARCHAR, date_appointed VARCHAR, party VARCHAR, province__division_ VARCHAR) | SELECT appointed_by FROM table_name_61 WHERE party = "conservative" AND province__division_ = "ontario" AND date_appointed = "june 18, 1993" |
What is the lowest level of Earnings($) to have a Wins value of 22 and a Rank lower than 2? | CREATE TABLE table_name_78 (earnings__ INTEGER, wins VARCHAR, rank VARCHAR) | SELECT MIN(earnings__) AS $__ FROM table_name_78 WHERE wins = 22 AND rank < 2 |
What are the rank/s of Eddie Guerrero? | CREATE TABLE table_2305948_1 (_number VARCHAR, name VARCHAR) | SELECT _number FROM table_2305948_1 WHERE name = "Eddie Guerrero" |
Which is the earliest founded day school to have entered the competition after 1958? | CREATE TABLE table_name_64 (founded INTEGER, day_boarding VARCHAR, year_entered_competition VARCHAR) | SELECT MIN(founded) FROM table_name_64 WHERE day_boarding = "day" AND year_entered_competition > 1958 |
Can you tell me the Result that has the Date of september 13, 1998? | CREATE TABLE table_name_28 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_28 WHERE date = "september 13, 1998" |
What is the UNGEGN, when the Value is 10 000? | CREATE TABLE table_name_34 (ungegn VARCHAR, value VARCHAR) | SELECT ungegn FROM table_name_34 WHERE value = "10 000" |
What is Date, when Outcome is Winner, and when Opponent is An-Sophie Mestach? | CREATE TABLE table_name_68 (date VARCHAR, outcome VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_68 WHERE outcome = "winner" AND opponent = "an-sophie mestach" |
When 21' 05.83 107.304mph is Wednesday August 25th what is Friday August 27th? | CREATE TABLE table_26986076_5 (fri_27_aug VARCHAR, wed_25_aug VARCHAR) | SELECT fri_27_aug FROM table_26986076_5 WHERE wed_25_aug = "21' 05.83 107.304mph" |
what is the average number of factories and maximum number of shops for manufacturers that opened before 1990. | CREATE TABLE manufacturer (num_of_shops INTEGER, Num_of_Factories INTEGER, open_year INTEGER) | SELECT MAX(num_of_shops), AVG(Num_of_Factories) FROM manufacturer WHERE open_year < 1990 |
What is the highest bronze total for east germany with under 3 total medals? | CREATE TABLE table_name_5 (bronze INTEGER, nation VARCHAR, total VARCHAR) | SELECT MAX(bronze) FROM table_name_5 WHERE nation = "east germany" AND total < 3 |
What 2011 has 4r as the 2008? | CREATE TABLE table_name_68 (Id VARCHAR) | SELECT 2011 FROM table_name_68 WHERE 2008 = "4r" |
What is the league listed that has goals of 10? | CREATE TABLE table_name_53 (league VARCHAR, goals VARCHAR) | SELECT league FROM table_name_53 WHERE goals = "10" |
WHAT IS THE TOTAL NUMBER WITH A WARD SMALLER THAN 0? | CREATE TABLE table_name_80 (total VARCHAR, ward INTEGER) | SELECT COUNT(total) FROM table_name_80 WHERE ward < 0 |
What is the highest 2003 value with a 1990 greater than 74, a 125 value in 1985, and a 1995 value greater than 130? | CREATE TABLE table_name_84 (Id VARCHAR) | SELECT MAX(2003) FROM table_name_84 WHERE 1990 > 74 AND 1985 = 125 AND 1995 > 130 |
What is the earliest February date with a record of 37-13-4 in a game earlier than 54? | CREATE TABLE table_name_52 (february INTEGER, record VARCHAR, game VARCHAR) | SELECT MIN(february) FROM table_name_52 WHERE record = "37-13-4" AND game < 54 |
On September 10, 1989 how many people attended the game? | CREATE TABLE table_name_65 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_65 WHERE date = "september 10, 1989" |
Name the team number 1 for san lorenzo | CREATE TABLE table_23812628_1 (team__number1 VARCHAR, team__number2 VARCHAR) | SELECT team__number1 FROM table_23812628_1 WHERE team__number2 = "San Lorenzo" |
For the model with torque of n·m (lb·ft)/*n·m (lb·ft) @1750, what is the power? | CREATE TABLE table_1212189_1 (power_rpm VARCHAR, torque__nm__rpm VARCHAR) | SELECT power_rpm FROM table_1212189_1 WHERE torque__nm__rpm = "N·m (lb·ft)/*N·m (lb·ft) @1750" |
How many cuts did Reid make in the year when her earnings were n/a? | CREATE TABLE table_29506171_2 (cuts_made INTEGER, earnings___€__ VARCHAR) | SELECT MAX(cuts_made) FROM table_29506171_2 WHERE earnings___€__ = "n/a" |
Lowest pick for mike flater? | CREATE TABLE table_name_21 (pick INTEGER, name VARCHAR) | SELECT MIN(pick) FROM table_name_21 WHERE name = "mike flater" |
When did the tournament, in which the runner-up was Song-Hee Kim, happen | CREATE TABLE table_1940012_2 (date VARCHAR, runner_s__up VARCHAR) | SELECT date FROM table_1940012_2 WHERE runner_s__up = "Song-Hee Kim" |
What is Run 3, when Team is United States (USA) USA I? | CREATE TABLE table_name_73 (run_3 VARCHAR, team VARCHAR) | SELECT run_3 FROM table_name_73 WHERE team = "united states (usa) usa i" |
What are the names of body builders in descending order of total scores? | CREATE TABLE body_builder (People_ID VARCHAR, Total VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR) | SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Total DESC |
Which country has the banglavision Network? | CREATE TABLE table_name_85 (origin_of_programming VARCHAR, network VARCHAR) | SELECT origin_of_programming FROM table_name_85 WHERE network = "banglavision" |
What is Peter Jacobsen's Place? | CREATE TABLE table_name_8 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_8 WHERE player = "peter jacobsen" |
How large was the crowd when the away team was melbourne? | CREATE TABLE table_name_77 (crowd VARCHAR, away_team VARCHAR) | SELECT crowd FROM table_name_77 WHERE away_team = "melbourne" |
Name the total number of high rebounds for february 10 | CREATE TABLE table_17058151_8 (high_rebounds VARCHAR, date VARCHAR) | SELECT COUNT(high_rebounds) FROM table_17058151_8 WHERE date = "February 10" |
Name the college for dl | CREATE TABLE table_28059992_2 (college VARCHAR, position VARCHAR) | SELECT college FROM table_28059992_2 WHERE position = "DL" |
what tournament happened on march 27, 2006? | CREATE TABLE table_name_34 (tournament VARCHAR, date VARCHAR) | SELECT tournament FROM table_name_34 WHERE date = "march 27, 2006" |
What is the 1981 value at the Tournament of Wimbledon? | CREATE TABLE table_name_97 (tournament VARCHAR) | SELECT 1981 FROM table_name_97 WHERE tournament = "wimbledon" |
What is the lowest market value (billion $) with a headquarter of usa , and the rank larger than 3, assets (billion$) larger than 208.34, and the company jpmorgan chase? | CREATE TABLE table_name_2 (market_value__billion_ INTEGER, company VARCHAR, assets__billion_$_ VARCHAR, headquarters VARCHAR, rank VARCHAR) | SELECT MIN(market_value__billion_) AS $_ FROM table_name_2 WHERE headquarters = "usa" AND rank > 3 AND assets__billion_$_ > 208.34 AND company = "jpmorgan chase" |
What is the competition type when the score is 1-1? | CREATE TABLE table_name_44 (competition VARCHAR, score VARCHAR) | SELECT competition FROM table_name_44 WHERE score = "1-1" |
What is the tour Apps when the career caps show 15? | CREATE TABLE table_name_57 (tour_apps VARCHAR, career_caps VARCHAR) | SELECT tour_apps FROM table_name_57 WHERE career_caps = 15 |
Which state has a Percent (2009) of 6.2%? | CREATE TABLE table_name_95 (state VARCHAR, percent__2009_ VARCHAR) | SELECT state FROM table_name_95 WHERE percent__2009_ = "6.2%" |
What is the total of Final year that has a Notes of replaced by i-96? | CREATE TABLE table_name_15 (final_year INTEGER, notes VARCHAR) | SELECT SUM(final_year) FROM table_name_15 WHERE notes = "replaced by i-96" |
What country is Jack Nicklaus from? | CREATE TABLE table_name_17 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_17 WHERE player = "jack nicklaus" |
What is the Constituency number for Pandhana? | CREATE TABLE table_name_62 (constituency_number VARCHAR, name VARCHAR) | SELECT constituency_number FROM table_name_62 WHERE name = "pandhana" |
For the game played against the L.A. Lakers, where was the match played and what was the attendance level? | CREATE TABLE table_name_80 (location_attendance VARCHAR, team VARCHAR) | SELECT location_attendance FROM table_name_80 WHERE team = "l.a. lakers" |
Who is the head coach for the team that has finke as the shirt sponsor? | CREATE TABLE table_name_75 (head_coach VARCHAR, shirt_sponsor VARCHAR) | SELECT head_coach FROM table_name_75 WHERE shirt_sponsor = "finke" |
Show all product names without an order. | CREATE TABLE Products (product_name VARCHAR, product_id VARCHAR); CREATE TABLE Order_items (product_id VARCHAR); CREATE TABLE Products (product_name VARCHAR) | SELECT product_name FROM Products EXCEPT SELECT T1.product_name FROM Products AS T1 JOIN Order_items AS T2 ON T1.product_id = T2.product_id |
What country had the runner abubaker kaki khamis in lane 5? | CREATE TABLE table_name_9 (country VARCHAR, lane VARCHAR, name VARCHAR) | SELECT country FROM table_name_9 WHERE lane = 5 AND name = "abubaker kaki khamis" |
Who was the game played against on October 9, 1966? | CREATE TABLE table_name_18 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_18 WHERE date = "october 9, 1966" |
What margin was in after 1981, and was Roberto De Vicenzo runner-up? | CREATE TABLE table_name_88 (margin VARCHAR, year VARCHAR, runner_s__up VARCHAR) | SELECT margin FROM table_name_88 WHERE year > 1981 AND runner_s__up = "roberto de vicenzo" |
What is the name of the non-mammal who has tatarinov as the author? | CREATE TABLE table_name_4 (name VARCHAR, authors VARCHAR) | SELECT name FROM table_name_4 WHERE authors = "tatarinov" |
How many years did Germany participate, when the team from Italy was Naples LL Naples and the team from England was London Area Youth London? | CREATE TABLE table_28562675_3 (germany VARCHAR, italy VARCHAR, england VARCHAR) | SELECT COUNT(germany) FROM table_28562675_3 WHERE italy = "Naples LL Naples" AND england = "London Area Youth London" |
What's the language in the school teaching grades 4-12? | CREATE TABLE table_1930857_1 (language VARCHAR, grades VARCHAR) | SELECT language FROM table_1930857_1 WHERE grades = "4-12" |
Where is Tamunosiki Atorudibo from | CREATE TABLE table_1231316_4 (country VARCHAR, athlete VARCHAR) | SELECT country FROM table_1231316_4 WHERE athlete = "Tamunosiki Atorudibo" |
How much money does the player with a score of 76-70-65-68=279 have? | CREATE TABLE table_name_24 (money___$__ VARCHAR, score VARCHAR) | SELECT money___$__ FROM table_name_24 WHERE score = 76 - 70 - 65 - 68 = 279 |
Which OpinionWay 5/18/09 has an Ipsos 5/16/09 of 11%? | CREATE TABLE table_name_52 (opinionway_5_18_09 VARCHAR, ipsos_5_16_09 VARCHAR) | SELECT opinionway_5_18_09 FROM table_name_52 WHERE ipsos_5_16_09 = "11%" |
What is the Record of the game with a Result of l 14–16? | CREATE TABLE table_name_82 (record VARCHAR, result VARCHAR) | SELECT record FROM table_name_82 WHERE result = "l 14–16" |
Name the artist for 1595 televotes | CREATE TABLE table_21378339_5 (artist VARCHAR, televotes VARCHAR) | SELECT artist FROM table_21378339_5 WHERE televotes = 1595 |
On what date was the home team Footscray? | CREATE TABLE table_name_49 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_49 WHERE home_team = "footscray" |
Who is the goalkeeper with fewer than 24 goals? | CREATE TABLE table_name_15 (goalkeeper VARCHAR, goals INTEGER) | SELECT goalkeeper FROM table_name_15 WHERE goals < 24 |
What is the Tyre when Jerry Hoyt was the pole position? | CREATE TABLE table_name_22 (tyre VARCHAR, pole_position VARCHAR) | SELECT tyre FROM table_name_22 WHERE pole_position = "jerry hoyt" |
Name the number of wheel arrangement when class is d14 | CREATE TABLE table_15608800_2 (wheel_arrangement VARCHAR, class VARCHAR) | SELECT COUNT(wheel_arrangement) FROM table_15608800_2 WHERE class = "D14" |
Which award show had the category of best supporting actress? | CREATE TABLE table_name_22 (award VARCHAR, category VARCHAR) | SELECT award FROM table_name_22 WHERE category = "best supporting actress" |
What job is at red bank? | CREATE TABLE table_name_90 (occupation VARCHAR, residence VARCHAR) | SELECT occupation FROM table_name_90 WHERE residence = "red bank" |
What is the name of the replacement manager for the Bolton Wanderers? | CREATE TABLE table_name_2 (replaced_by VARCHAR, team VARCHAR) | SELECT replaced_by FROM table_name_2 WHERE team = "bolton wanderers" |
What is the semifinals for the light flyweight event? | CREATE TABLE table_27294107_11 (semifinals VARCHAR, event VARCHAR) | SELECT semifinals FROM table_27294107_11 WHERE event = "Light flyweight" |
What is the operating mode of the Coda? | CREATE TABLE table_23840623_4 (operating_mode VARCHAR, vehicle VARCHAR) | SELECT operating_mode FROM table_23840623_4 WHERE vehicle = "Coda" |
what's the torque with fuel mileage (latest epa mpg - us ) being 22 city, 30 hwy, 25 comb | CREATE TABLE table_1373768_1 (torque VARCHAR, fuel_mileage__latest_epa_mpg___us__ VARCHAR) | SELECT torque FROM table_1373768_1 WHERE fuel_mileage__latest_epa_mpg___us__ = "22 city, 30 hwy, 25 comb" |
Who is the composer of the song with a length of 6:24? | CREATE TABLE table_name_85 (composer_s_ VARCHAR, length VARCHAR) | SELECT composer_s_ FROM table_name_85 WHERE length = "6:24" |
What is the lowest percentage of wins for 6½ games and more than 77 total wins? | CREATE TABLE table_name_63 (win_percentage INTEGER, games_behind VARCHAR, wins VARCHAR) | SELECT MIN(win_percentage) FROM table_name_63 WHERE games_behind = "6½" AND wins > 77 |
Which American has British of ɛm? | CREATE TABLE table_name_62 (american VARCHAR, british VARCHAR) | SELECT american FROM table_name_62 WHERE british = "ɛm" |
Name the least game for arco arena 13,330 | CREATE TABLE table_17102076_10 (game INTEGER, location_attendance VARCHAR) | SELECT MIN(game) FROM table_17102076_10 WHERE location_attendance = "ARCO Arena 13,330" |
On the title feature brad mehldau as the performer, what is the original album? | CREATE TABLE table_name_92 (original_album VARCHAR, performer VARCHAR) | SELECT original_album FROM table_name_92 WHERE performer = "brad mehldau" |
Who was the partner when the surface was clay, and outcome was runner-up, with a score of 4–6, 1–6? | CREATE TABLE table_name_28 (partner VARCHAR, score VARCHAR, surface VARCHAR, outcome VARCHAR) | SELECT partner FROM table_name_28 WHERE surface = "clay" AND outcome = "runner-up" AND score = "4–6, 1–6" |
What is the 123 south broad street address name before 1973? | CREATE TABLE table_name_33 (name VARCHAR, year VARCHAR, address VARCHAR) | SELECT name FROM table_name_33 WHERE year < 1973 AND address = "123 south broad street" |
What is the date of the game when the opponent is the Cleveland Browns? | CREATE TABLE table_name_98 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_98 WHERE opponent = "cleveland browns" |
What is the yam amount with amount of soybean 0 and potato of 0.01? | CREATE TABLE table_name_48 (yam_ VARCHAR, y_ VARCHAR, soybean__green__ VARCHAR, f_ VARCHAR, potato_ VARCHAR, d_ VARCHAR) | SELECT yam_[y_] FROM table_name_48 WHERE soybean__green__[f_] = "0" AND potato_[d_] = "0.01" |
How many numbers in series were for the number in season of 8? | CREATE TABLE table_2618119_1 (no_in_series VARCHAR, no_in_season VARCHAR) | SELECT COUNT(no_in_series) FROM table_2618119_1 WHERE no_in_season = 8 |
When were 668 units produced? | CREATE TABLE table_1245350_1 (production_period VARCHAR, units_produced VARCHAR) | SELECT production_period FROM table_1245350_1 WHERE units_produced = 668 |
Which away team had a crowd of over 23,000 people? | CREATE TABLE table_name_95 (away_team VARCHAR, crowd INTEGER) | SELECT away_team FROM table_name_95 WHERE crowd > 23 OFFSET 000 |
when was al landis first elected | CREATE TABLE table_29486189_4 (first_elected VARCHAR, representative VARCHAR) | SELECT first_elected FROM table_29486189_4 WHERE representative = "Al Landis" |
Where was the game played when they kickoff was 12:00 p.m., and a Record of 8-5? | CREATE TABLE table_name_48 (game_site VARCHAR, kickoff VARCHAR, record VARCHAR) | SELECT game_site FROM table_name_48 WHERE kickoff = "12:00 p.m." AND record = "8-5" |
For each user, find their name and the number of reviews written by them. | CREATE TABLE useracct (name VARCHAR, u_id VARCHAR); CREATE TABLE review (u_id VARCHAR) | SELECT T1.name, COUNT(*) FROM useracct AS T1 JOIN review AS T2 ON T1.u_id = T2.u_id GROUP BY T2.u_id |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.