질문을 제대로 이해하지 못했을 수도 있지만, 만약 이해했다면 다음과 같습니다.
SELECT u.username
FROM users u
LEFT JOIN user_profiles up ON u.id = up.user_id
WHERE location = 'Pakistan'
또는 동일하게,
SELECT username from user_profiles, users
where user_id = id and location = 'Pakistan'
데이터 탐색기(Data Explorer)는 이중 인용 부호를 구분자로 허용하지 않는다는 점에 유의하세요.