Question: Question; Some instructors are mentors for other instructors. Write a SQL query to list the instructor ID for each of the mentors and a count

Question; Some instructors are mentors for other instructors. Write a SQL query to list the instructor ID for each of the mentors and a count of how many instructors they mentor.
INSTRUCTOR_ID INSTRUCTOR_NAME SALARY COMMISSION MENTOR_ID DATE_HIRED 835 SPARKS 4000 200 978 16-DEC-84 978 STEEL 5000 250 222 16-JAN-80 222 CAINE 5500 350 02-NOV-76 243 TUCKER 2000 835 18-DEC-90 263 JOHNSON 4000 - 835 18-JUL-92 515 SHELLEY 3500 200 700 20-JAN-91 453 LODGE 2500 100 835 14-SEP-88 700 WAYNE 4500 300 16-MAY-81 628 MONROE 3000 700 16-JUL-84 790 NEWMAN 3100 300 700 16-DEC-82 795 BOGART 3200 700 16-DEC-83 560 LAUREL 5200 200 978 16-DEC-83 123 FLINTSTONE, FRED _ 1000 978 16-JUN-89
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
