Hi
I try to run the following query..
But I get a error message telling me..."only one expression can be specified in the selected list when the subquery is not introduced with exsits"
What do I need to change to get this to work?
Regards
I try to run the following query..
Code:
SELECT
(SELECT DISTINCT Artno, L, D, CreatedBy FROM dbo.tbl_Art WHERE (L = N'SE')) AS SE,
(SELECT DISTINCT Artno, L, D, CreatedBy FROM dbo.tbl_Art WHERE (L = N'GB')) AS GB
FROM dbo.tbl_Art
But I get a error message telling me..."only one expression can be specified in the selected list when the subquery is not introduced with exsits"
What do I need to change to get this to work?
Regards