Question: For each user, find their name and the number of reviews written by them.
Schema: create table useracct (name varchar, u_id varchar, PRIMARY KEY (name)); create table review (u_id varchar, PRIMARY KEY (u_id))
SQL: select t1.name, count(*) from useracct as t1 join review as t2 on t1.u_id = t2.u_id group by t2.u_id