The following SQL statement:
select * from employees e   
left join departments d on e.deptid = d.deptid   
where ( d.deptname = 'HR' or d.deptname  = 'HR & Accounts')    
Produces the same results as the following inner join:
select * from employees e  
   inner join departments d on e.deptid = d.deptid and d.deptname like '%HR%';  
In what way they produce the same result.
I mean is the first query equivalent e.g. of:
- Select * from employees and filter using where
- Do left join?
What are the steps of the first query that make it the same as the inner join?
 
     
    