Hi i have queries that I use to get single result. How could I do this with just one query?
First I ask
SELECT "userId" FROM "Devices" WHERE "deviceNumber" = '0001563055080020'
Then save UserId and ask following another table
SELECT "email" FROM "Users" WHERE "id" = '1'
Any ideas?
INNER JOIN.