Question: Find the names of users who have more than one tweet.
Schema: create table tweets (uid varchar, PRIMARY KEY (uid)); create table user_profiles (name varchar, uid varchar, PRIMARY KEY (name))
SQL: select t1.name from user_profiles as t1 join tweets as t2 on t1.uid = t2.uid group by t2.uid having count(*) > 1