Hi there
I want to do a left outer join but i also have a bunch of where conditions
in my sql statment that i need. Can anyone help me out:
SELECT title, authorName, journalName, journalPages, aname, tname,
avg(ranking)
FROM publications, area, topic, pubTopicInt,
LEFT OUTER JOIN ranking publications.pubID = ranking.pubID
WHERE publications.areaID = area.areaID
AND
publications.pubID = pubTopicInt.pubID
AND
topic.topicID = pubTopicInt.topicID
AND
publications.pubID = ranking.pubID
AND
publications.pubID = 3
GROUP BY (publications.pubID);
I look at the mysql documentation, but i couldn't really understand their
examples when they had additional where cluases.
THanks
Desmond
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php