C# Corner
Tech
News
Videos
Forums
Trainings
Books
Events
More
Interviews
Jobs
Live
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
.NET
ADO.NET
Android
ASP.NET
C#
Databases & DBA
Design Patterns & Practices
Java
Learn iOS Programming
OOP/OOD
SharePoint
Software Testing
Web Development
WPF
View All
6
Reply
What is Self Join?
Ankur Jain
11y
1.8k
0
Reply
Delete Row
Delete Column
Insert Link
×
Insert
Cancel
Embed YouTube Video
×
Width (%)
Height (%)
Insert
Cancel
Table Options
×
Rows
Columns
First row as header
Create Table
Insert Image
×
Selected file:
Alignment
Left
Center
Right
Select an image from your device to upload
Upload to Server
Cancel
Submit
A self-join is a query in which a table is joined (compared) to itself. Self-joins are used to compare values in a column with other values in the same column in the same table. One practical use for self-joins: obtaining running counts and running totals in an SQL query.
Munesh Sharma
9y
0
Simply we can say join means join and self join means A table join with itself i.e called Self Join.
Vijay Kumar
10y
0
Joining to iteself is nothing but self join. Ex: Empno Mgr 1 2 2 3 3 4 In the above for empno 1, empno 2 is manager. To extract this type of data we use self joins.
Sreekanth Reddy
10y
0
a table join with it self is called as self join
Rakesh Kalluri
11y
0
A self join involves a relationship with only one table.
Akhil Garg
11y
0
A self join can be of any type, as long as the joined tables are the same. A self join is rather unique in that it involves a relationship with only one table.
Ankur Jain
11y
0
What is Cross Join?
What is a default constraint?
Message