SELECT *
FROM YourTable t1
INNER JOIN YourTable t2
ON t1.f1 = t2.f1
WHERE t1.f2 = 'hi'
AND t2.f2 = 'sup'
SELECT *
FROM YourTable t1
INNER JOIN YourTable t2
ON t1.f1 = t2.f1
WHERE t1.f2 = 'hi'
AND t2.f2 = 'sup'