What is a non equi join?



What is a non equi join?..

Answer / Pundreekaksha Sharma

"A Non-Equi Join in SQL Server is a join operation between two tables where the join condition does not involve an equality operator (=). Examples include greater than (>), less than (<), and BETWEEN. They are used when comparing data with some condition other than equal."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL Server Interview Questions

What is store procedure? How do they work?

1 Answers  


Syntax to find the used space and free space of the Data file in a database(SQL Server). Following queries didn't give the exact Used space and Free Space Information sp_spaceused;DBCC showfilestats;exec MyDbName.dbo.sp_spaceused;SP_HELPFILE Can any one tell me the query for how to find the exact used data file space and free space in a Data File?

2 Answers   Cognizant,


What are different types of subquery?

1 Answers  


Tell me what do you understand by a view? What does the with check option clause for a view do?

1 Answers  


Explain different types of self contained sub query?

1 Answers  


What is normalization? Describe its different types.

1 Answers   Wipro,


* CREATE TABLE [dbo].[t_Colors]([ColorId] [int] NOT NULL,[ColorName] [varchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [ColorDesc] [varchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,[ColorIndex] [int] NULL) ON [PRIMARY] GO * insert into [t_Colors] values(101,'Red','',1) insert into [t_Colors] values(101,'Red1','',2) insert into [t_Colors] values(102,'Blue','',1) insert into [t_Colors] values(102,'Blue1','',2) insert into [t_Colors] values(102,'Blue2','',3) * In this table i need to delete DELETE FROM t_Colors WHERE ColorIndex=1 AND ColorId=102 After delete above condition i need to update the ColorIndex set to 1 for Blue1[ColorName] and 2 for Blue2[ColorName] select * from [t_Colors] Note:- how can i get updates the ColorIndex values after delete. for example we need to update Blue1 ColorIndex set to 1 and Blue2 ColorIndex set to 2

0 Answers  


What is the difference between the application object and session object?

1 Answers  


What are the difference between clustered and a non-clustered index?

1 Answers  


1.What is the deferece between DBMS & RDBMS? 2.How can you trouble shoot? If u will get error while installing sql server? 3.How can u trouble shoot slow running query? 4.how can u trouble log shipping errors? 5.why do we use merge replication instead of T.log replication?

7 Answers   Microsoft,


How to add code to the existing article (using improve article)?

1 Answers  


What are some of the pros and cons of not dropping the sql server builtinadministrators group? : sql server security

1 Answers  


Categories