Supposing I have two tables to query, which query should I choose?
Left join between them or two separate queries? Which option is faster?
Same question on three tables (so basically double left join vs. three queries), which is faster?
Supposing I have two tables to query, which query should I choose?
Left join between them or two separate queries? Which option is faster?
Same question on three tables (so basically double left join vs. three queries), which is faster?
i think only one query is better. But you should try in your SQL Server both queries and see which take a longer time
Join query is intoduced for faster data fetching..It consumes execution time..So no doubt join query is much faster...When you use seperate query then each time it has to go database and fetch result but when join all queries,it needs only single time travel to db...