Query

P

Prashanta

Actually I am trying out the following query in Access 97
for the Northwind database(default databse in Access)

SELECT [CategoryName] FROM ([Categories] INNER JOIN
(SELECT distinct(CategoryID) FROM [Products]) as T ON
[Categories].[CategoryID] = T.[CategoryID]);

I am getting "Synatx Error in From Clause" as error...

But, the same query is working correctly in Access 2000
databse....Can Any one knows this Why is this happening..
I want to use similar kind of query for my application..


Regards
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top