Ian,>It now looks like this and still doesn't work, complains about exactly the >same thing. >SELECT c.*, g.name AS groupname, cc.name, u.name AS editor, f.content_id AS >frontpage, s.title AS section_name, v.name AS author FROM mos_content c, >mos_categories cc, mos_sections s INNER JOIN mos_groups g ON (g.id = >c.access) INNER JOIN mos_users u ON (u.id = c.checked_out) INNER JOIN >mos_users v ON (v.id = c.created_by) INNER JOIN mos_content_frontpage f ON >(f.content_id = c.id) WHERE c.state >= 0 AND c.catid=cc.id AND >cc.section=s.id AND s.scope='content' AND c.sectionid='1' ORDER BY >cc.ordering, cc.title, c.ordering LIMIT 0,10;Your query still has a comma join. PB ----- Ian Barnes wrote: Hi, It now looks like this and still doesn't work, complains about exactly the same thing. SELECT c.*, g.name AS groupname, cc.name, u.name AS editor, f.content_id AS frontpage, s.title AS section_name, v.name AS author FROM mos_content c, mos_categories cc, mos_sections s INNER JOIN mos_groups g ON (g.id = c.access) INNER JOIN mos_users u ON (u.id = c.checked_out) INNER JOIN mos_users v ON (v.id = c.created_by) INNER JOIN mos_content_frontpage f ON (f.content_id = c.id) WHERE c.state >= 0 AND c.catid=cc.id AND cc.section=s.id AND s.scope='content' AND c.sectionid='1' ORDER BY cc.ordering, cc.title, c.ordering LIMIT 0,10; Thanks, Ian -----Original Message----- From: gerald_clark [mailto:[EMAIL PROTECTED]] Sent: 24 January 2006 09:50 PM To: Ian Barnes Cc: [email protected] Subject: Re: Query Help Ian Barnes wrote: |
No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 267.14.22/238 - Release Date: 1/23/2006
-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]
