question

rishi avatar image
rishi asked

sql self join

Write a SQL query to display the column value of 'Departmentid', Name of the HOD from the column value 'Name' and finally need to generate the third column as total number of lecturers working under each HOD from the 'Student_Details' table with the help of self join.

sqljoinssql query
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.