Question: What is a self-join?Answer: A self-join is a regular join, but the table is joined with itself. It is useful when you want to combine rows with related data in the same table.Example:
|
Is it helpful?
Yes
No
Most helpful rated by users:
- What is SQL?
- What is the difference between SQL and MySQL?
- What is a primary key?
- What is an index in a database?
- What is a foreign key?