0

How to join same table having same Name and data everything is same how to join in SQL?

How to join same two tables

5th Dec 2019, 10:04 AM
AKshay Gawande
AKshay Gawande - avatar
6 Antworten
+ 1
select * from t, t; You need to explain more, to get a meaningful response. What kind of data is in the table and which key you want to connect it to itself? A typical case of self join, is a table of employees, where every employee has also a manager, so manager_id points to employee_id of the same table.
5th Dec 2019, 8:48 PM
Tibor Santa
Tibor Santa - avatar
0
How to join two similar tables that it?
5th Dec 2019, 10:27 PM
AKshay Gawande
AKshay Gawande - avatar
0
You are not adding any new information, just repeated your own question. Maybe try some reading. https://www.w3resource.com/sql/joins/perform-a-self-join.php
6th Dec 2019, 9:38 AM
Tibor Santa
Tibor Santa - avatar
0
Two same table cannot join
6th Dec 2019, 9:50 AM
AKshay Gawande
AKshay Gawande - avatar
0
It's against codds rules
6th Dec 2019, 9:50 AM
AKshay Gawande
AKshay Gawande - avatar
0
Understand
6th Dec 2019, 9:50 AM
AKshay Gawande
AKshay Gawande - avatar