When I use this query
select s.* from ta as s left join (select a.* from tb as a)
This error appears
every derived table must have its own alias
When I use this query
select s.* from ta as s left join (select a.* from tb as a)
This error appears
every derived table must have its own alias
 
    
     
    
    You need to add an alias after parenthesis as below
select s.* 
from ta as s 
left join (select a.* from tb as a) as a on/* here you need input condtion */
