Home > Uncategorized > Double joins in access

Double joins in access

With SQL server, there is no problem with joining multiple tables in the same query like  so:
 
select * from a
join b on a.bid = b.id
join c on b.cid = c.id
 
But this doesn’t work in MS Acess, but this format does
 
select * from a,b,c
where a.bid= b.id and c.id = b.cid
 
 
Advertisements
Categories: Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: