TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Online Sahu
NA
3
673
how fast the joins will work in subquery|sql server?
Nov 11 2017 2:31 AM
Select col1 from A where A.col1 in(Select distinct col1 from B where col1 is not null)
Select A.col1 from A inner join (select distinct col1 from B where col1 is not null) B on A.col1 = B.col1
Which is the more efficient one?and why?
Answer:
Joins are working fast when compared with the Subquery in any SQL Query. In Subquery main query is in
waiting
state until the completion of
inner
query but in Joins it is different.
For more Details Visit:
https://tekslate.com/msbi-training/
Reply
Answers (
2
)
How to use 'N' number of for loop concept in SQL Server.
select dynamic database