S
sh
hi all,
problem with the sql query.
The Employees table has a primary key for the employee Id and the Boss
column has a foreign key that references the employee Id of the
Employees boss. There is a convention that the Id and Boss columns of
the big boss are the same.
In order to see the basics of a hierarchical pattern , how to write
query for mysql DB.
thanks in advance
problem with the sql query.
The Employees table has a primary key for the employee Id and the Boss
column has a foreign key that references the employee Id of the
Employees boss. There is a convention that the Id and Boss columns of
the big boss are the same.
In order to see the basics of a hierarchical pattern , how to write
query for mysql DB.
thanks in advance