Assuming 3 tables:
Division (DivCode, DivName)
Department (DeptCode, DivCode, DeptName)
Professor (FName, LName, DeptCode)
How do I write a query to return a listing or professors by Division? So far I can only write queries that return Departments based on Division or Professors based on Department.
Is this a circumstance where Cursors are required?
Please return and code snippets or References to online articles that are clear for an SQL Server newbie.
Thanks!!!
Division (DivCode, DivName)
Department (DeptCode, DivCode, DeptName)
Professor (FName, LName, DeptCode)
How do I write a query to return a listing or professors by Division? So far I can only write queries that return Departments based on Division or Professors based on Department.
Is this a circumstance where Cursors are required?
Please return and code snippets or References to online articles that are clear for an SQL Server newbie.
Thanks!!!