Hi,
Can anyone point out to me why I am getting a parameter prompting for RelType when I run this Union Query? I’m obviously violating something of am not aware of some limitations regarding Union Queries!
The SQL is:
SELECT Customers.[First Name] AS FN, Customers.[Last Name] AS LN, Customers.Title AS TL, Customers.[Work Phone] AS PH, “C” AS RelType
FROM Customers
UNION SELECT Employees.FirstName, Employees.LastName, Employees.Title, Employees.HomePhone, “E”
FROM Employees
WHERE RelType = “E”
ORDER BY TL, LN;
Thanks