human
Schema:
follows (f1, f2)
tweets (id, uid, text, createdate)
user_profiles (uid, name, email, partitionid, followers)
Please answer with SQL.
assistant
Sure, I understand.
human
List the names of 5 users followed by the largest number of other users.
assistant
SELECT name FROM user_profiles ORDER BY followers DESC LIMIT 5;
human
What is the email and followers of Iron Man?
assistant
SELECT email , followers FROM user_profiles WHERE name = 'Iron Man';
human
What name has the highest followers?
assistant
SELECT name FROM user_profiles ORDER BY followers DESC LIMIT 1;
human
How many followers does Tyler Swift have?
assistant
SELECT followers FROM user_profiles WHERE name = 'Tyler Swift';
human
What is the email and partition id of Tyler Swift?
assistant
SELECT email , partitionid FROM user_profiles WHERE name = "Tyler Swift" ;