Task: Text to Code
Input (English): SQL: SELECT Avg ( followers ) FROM user_profiles
Feedback: Make sure to find for users who have corresponding email in tweets table .
Output (English): SELECT avg(followers) FROM user_profiles WHERE UID IN (SELECT UID FROM tweets)