CREATE TABLE useracct (name VARCHAR, u_id VARCHAR)
CREATE TABLE review (u_id VARCHAR)

For each user, find their name and the number of reviews written by them.
SELECT T1.name, COUNT(*) FROM useracct AS T1 JOIN review AS T2 ON T1.u_id = T2.u_id GROUP BY T2.u_id
SELECT "T1"."name", COUNT(*) FROM "useracct" AS "T1" JOIN "review" AS "T2" ON "T1"."u_id" = "T2"."u_id" GROUP BY "T2"."u_id"