Database: network_1
Question: What are the ids of students who both have friends and are liked?
SQL:
SELECT student_id FROM Friend INTERSECT SELECT liked_id FROM Likes