MySQL Forums
Forum List  »  Newbie

Re: Need help with {oj... LEFT OUTER JOIN.... ?
Posted by: Jay Pipes
Date: March 15, 2006 12:01PM

SELECT
t.snr
, t.telefonnr
, t.fysisk
, a.navnbruker
, a.gradtittel
, a.avdeling
, a.privattlfnr
, a.stillingfunksjon
FROM telefonnummer t
LEFT JOIN abotlfnr af
ON t.snr = af.snr
AND t.telefonnr = af.telefonnr
LEFT JOIN abonnent a
ON af.abonnentid = a.abonnentid
GROUP BY
t.snr
, t.telefonnr
, t.fysisk
ORDER BY t.telefonnr ASC

Jay Pipes
Community Relations Manager, North America, MySQL Inc.

Got Cluster? http://www.mysql.com/cluster
Personal: http://jpipes.com

Options: ReplyQuote


Subject
Written By
Posted
Re: Need help with {oj... LEFT OUTER JOIN.... ?
March 15, 2006 12:01PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.