Skip to content
Advertisement

Tag: sql

How do you join multiple foreign keys?

I am creating a blog using PHP and SQL, I am trying to query everything in 1 SQL query so I can bring out all of the comments with the authors and all of the blogs with the authors. Each of them have …

Cannot exclude previous non-duplicate rows

In a nutshell, here it is: I have 1000(ish) employees who have multiple recurrent annual training requirements I need to be able to sort the employees by County, Facility, Employee, and Type of Training (and also allow for sorted lists at each level) I want to display only the most recent date the Employee took the training What I’ve tried

Advertisement