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