SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id  =  T2.id INTERSECT SELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.liked_id  =  T2.id
What are the names of high schoolers who both have friends and are liked?
SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id INTERSECT SELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.liked_id = T2.id
select t2 . name from friend as t1 join highschooler as t2 on t1 . student_id = t2 . id intersect select t2 . name from likes as t1 join highschooler as t2 on t1 . liked_id = t2 . id
What are the names of high schoolers who both have friends and are liked ?