Database & SQL

Moderators: None (Apply to moderate this forum)
Number of threads: 1174
Number of posts: 2221

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
What's wrong with this syntax? Posted by aznwildkat on 5 May 2002 at 8:40 PM
This is in MS Access 2000
SELECT a.*, b.[Position Code], c.[Skill Code]
FROM (Roster AS a RIGHT JOIN [Roster Position] AS b ON a.[Roster ID]=b.[Roster ID] ) right join [Roster Skill] as c on a.[Roster ID] = c.[Roster ID];

What I'm trying to do is to combine 3 tables. I want to include the records that also don't match my criteria. That is why I'm trying to outer join the two tables.

Report
Re: What's wrong with this syntax? Posted by zeeshan on 11 Jun 2002 at 8:49 AM
: This is in MS Access 2000
: SELECT a.*, b.[Position Code], c.[Skill Code]
: FROM (Roster AS a RIGHT JOIN [Roster Position] AS b ON a.[Roster ID]=b.[Roster ID] ) right join [Roster Skill] as c on a.[Roster ID] = c.[Roster ID];
:
: What I'm trying to do is to combine 3 tables. I want to include the records that also don't match my criteria. That is why I'm trying to outer join the two tables.
:
:

=======
Maybe it's ur mistake ...

SELECT a.*, b.[Position Code], c.[Skill Code]
FROM (Roster AS a RIGHT JOIN [Roster Position] AS b ON a.[Roster ID]=b.[Roster ID] ) right join [Roster Skill] as c on a.[Roster ID] = c.[Roster ID];


Zeeshan Arshad
Web Developer
http://zeeshan.smashglobal.com/




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.