On Sat, 18 May 2024, Adrian Klaver wrote:
The query needs to be:SELECT p.lname, p.fname, p.job_title, p.company_nbr, p.email, c.company_name FROM people as p LEFT JOIN companies as c ON c.company_nbr = p.company_nbr; Only reference companies as c once.
Thanks, Adrian. I mis-read your original post. Regards, Rich