function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
How would I write this SQL query in SOQL?
SELECT t1.name, t1.address, t2.profilename
FROM Table1 t1
INNER JOIN Table2 t2 ON t2.id = t1.id
WHERE t1.city = 'city name'
SELECT name, address, profilename
FROM Table1 WHERE id IN(SELECT id FROM t2) AND city = 'city name'
SELECT name, address, profilename
FROM Table1 WHERE id IN(SELECT id FROM t2) AND city = 'city name'