task: List the names of the dentists who had appointments between 01/11/2016 and 01/12/2016 and administered a procedure named ‘Local Anaesthetic.’
relevant tables:
staff(ID, fname,lname,role)
patient(pID,pFname,pLname,bdate,address)
appointment(aptID, patientID,staffID,aptDate,aptTime)
procedures(procNum,pName,price)
aptDetail(aptID,procNo)
Issue: I can inner join appointment and staff on ID=staffID but procedure has no common column, is it acceptable to do an inner join on appointment , procedures,staff and aptdetail even though I would not be using anything in aptDetai? Is that the bestw ay to go about it ? Thanks