Hi, I tried doingthis code but it doesn't let me because of syntax error. How can I make this work, cuz I want to use two tables into one query so that I can use it in the reports.
SELECT A.FirstName, A.LastName, Count(A.Classes) AS CountOfClasses, First(A.Title2) AS FirstOfTitle2
FROM Training AS A
GROUP BY A.FirstName, A.LastName
ORDER BY A.LastName
AND
SELECT [Employees Contact Information].Title, [Employees Contact Information].EmployeeID, TrainingClasses.Classes, TrainingClasses.[Other Classes]
FROM [Employees Contact Information] RIGHT JOIN TrainingClasses ON [Employees Contact Information].EmployeeID = TrainingClasses.EmployeesID;
I Hate Spammers and Flammers!!!
SELECT A.FirstName, A.LastName, Count(A.Classes) AS CountOfClasses, First(A.Title2) AS FirstOfTitle2
FROM Training AS A
GROUP BY A.FirstName, A.LastName
ORDER BY A.LastName
AND
SELECT [Employees Contact Information].Title, [Employees Contact Information].EmployeeID, TrainingClasses.Classes, TrainingClasses.[Other Classes]
FROM [Employees Contact Information] RIGHT JOIN TrainingClasses ON [Employees Contact Information].EmployeeID = TrainingClasses.EmployeesID;
I Hate Spammers and Flammers!!!