You need to sign in to do that
Don't have an account?
amyamyamy
SOQL select from temp table
Is it possible to convert the SQL query below to SOQL???
select * from (select * from table where email = 'abc@gmail.com' order by CreatedDate ) limit 1
Thank you!!
There's no temporary tables in SOQL, but this query will do the same thing.
All Answers
There's no temporary tables in SOQL, but this query will do the same thing.
You can't use * in SOQL and there is no temp table as well.
If this post is helpful please throw Kudos.If this post solves your problem kindly mark it as solution.
Thanks
This may help you to build the * alternative using dynamic query
(select Pid from relation where AId = 2)a2 where a1.Pid = a2.Pid;
how do i write this SQL query in SOQL please help me