Here is a query below I want to get all this information back plus some but the problem is the pictures. There can be more than 1 picture in the database. I just want to return the latest picture using pic.DateOfPicture so I dont get more than one row. I cannot use distinct because of the image listed.
SELECT Emp.EmployeeUID, pic.Picture, emp.FirstName, emp.LastName, pic.DateOfPicture
FROM emp_General emp Left Outer JOIN
Client_pictures pic ON Emp.EmployeeUID = pic.EmployeeUID
SELECT Emp.EmployeeUID, pic.Picture, emp.FirstName, emp.LastName, pic.DateOfPicture
FROM emp_General emp Left Outer JOIN
Client_pictures pic ON Emp.EmployeeUID = pic.EmployeeUID