What are the type of joins? When do we use Outer and Self joins?
Answers were Sorted based on User's Feedback
Types of joins:
->Inner join
->Outer join->1.Left Outer join
2.Right Outer join
->Cross join
->Equi join
->Natural join
->Self join
Outer join:-When we need all rows from one table and some
rows from the other table
Self join:-When one row in a table correlated with other
rows in the same table
Is This Answer Correct ? | 6 Yes | 0 No |
Answer / shivanibehere
For the joins you can go for this link ----
http://www.databasejournal.com/features/oracle/article.php/3
527921
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / shivanibehere
http://www.tomjewett.com/dbdesign/dbdesign.php?
page=jointypes.php&imgsize=medium
Is This Answer Correct ? | 0 Yes | 0 No |
what is the Enterprise manager(2000) and management studio (2005)?
What is the purpose of data source?
How to get the definition of a user defined function back?
hi to all teachers,... Friends who write in the query mode Full text Search in Sql Server have experience Who make(Convert) this Stored Procedure as a normal Full text Search, which contains and .. Is used, into Advance of the tips I have thanked all friends perfection. Email : rezaafandi@yahoo.com Create PROCEDURE Sp_student @fname varchar(50), @lname varchar(50), @tel varchar(50), @code varchar(50), @adr varchar(50), @search_operation varchar(50), @totalRowCount bigint output AS begin if @search_operation = 'and' begin SELECT f3,f4,f5,f6,f7 FROM tb_student WHERE( f5 like '%' + @fname + '%' and f4 like '%' + @lname + '%' and f6 like '%' + @tel + '%' and f7 like '%' + @code + '%' and f3 like '%' + @adr +'%' ) select @totalRowCount = @@rowcount end
What are the transaction properties?
Can a table be moved to different filegroup?
CTE(common table expression)
What is the difference between local and global temporary tables?
What is a Trace frag?Where can we use this?
How to get max 100 values from sql server
what is Data Transformation Services (DTS) ?can u explain me in detail?
Disadvantages of the indexes?