Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
SELECT p1.Emname, p1.location, p2.location
FROM myLocationPreference p1
JOIN
( SELECT Emname, location
FROM myLocationPreference
WHERE preference = 2 ) p2
ON p1.Emname = p2.Emname
WHERE preference = 1
SELECT p1.Emname, p1.location, p2.location
FROM myLocationPreference p1
JOIN myLocationPreference p2 ON p1.Emname = p2.Emname AND p2.preference = 2
WHERE p1.preference = 1