I
Ivan Debono
Hi all,
I've got this query:
SELECT a.Item, b.Cost, b.Category
FROM [Table B] b
RIGHT OUTER JOIN [Table A] a
ON a.Item = b.Item
AND b.Cost = (SELECT MIN(Cost)
FROM [Table B] WHERE Item = b.Item)
But I get a Syntax error in expression '' error when I try to run it. This
works fine of SQL Server but not under Access 2003. Is there something wrong
with the statement, or Access can't handle this kind of statement? What's
the alternative?
Thanks,
Ivan
I've got this query:
SELECT a.Item, b.Cost, b.Category
FROM [Table B] b
RIGHT OUTER JOIN [Table A] a
ON a.Item = b.Item
AND b.Cost = (SELECT MIN(Cost)
FROM [Table B] WHERE Item = b.Item)
But I get a Syntax error in expression '' error when I try to run it. This
works fine of SQL Server but not under Access 2003. Is there something wrong
with the statement, or Access can't handle this kind of statement? What's
the alternative?
Thanks,
Ivan