Hi there:
Thank you all for the helps! I just have another question about the use of Table name as the field of "Union select" to describe the data sources. The SQL describes as such:
-------------------------------------
SELECT City, CompanyName, ContactName, "Customers" AS [Relationship]
FROM Customers
UNION SELECT City, CompanyName, ContactName, "Suppliers"
FROM Suppliers
ORDER BY City, CompanyName;
--------------------------------------
And it does not take the "Customers" or "Supplies" as the name to insert into a new field called "Relationship".
Is there a solution for this?
Thanks in advance
Thank you all for the helps! I just have another question about the use of Table name as the field of "Union select" to describe the data sources. The SQL describes as such:
-------------------------------------
SELECT City, CompanyName, ContactName, "Customers" AS [Relationship]
FROM Customers
UNION SELECT City, CompanyName, ContactName, "Suppliers"
FROM Suppliers
ORDER BY City, CompanyName;
--------------------------------------
And it does not take the "Customers" or "Supplies" as the name to insert into a new field called "Relationship".
Is there a solution for this?
Thanks in advance