Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. SQL Server
  3. Question
SQL Server

left join vs inner join - Which is better?

Asked by Claudine Tippins Mar 13, 2023 1.0K views 1 answer
Share

About this question

Which join is better performing if all of them provide the same result? For example, I have two tables: employees(emp_id,name, address, designation, age, sex) and work_log(emp_id,date,hours_wored). To get some specific results both inner join and left join gives the same result. But, I still have some doubts which are not limited to this question only.


Which join is more efficient, which should I prefer in case of the same result values ? What are other factors which must be considered at the time of applying to join? Is there any relationship between inner join and cross join?

Your answer

1 Answer

More SQL Server discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest SQL Server Blogs

Guides, tips and career advice on SQL Server from JanBask experts.