SQL: select postings.postid, postings.poststart as date, postings.city as pcity, postings.title as title,profile.profileid,employers.name as name, postings.spotlight from postings, profile, employers where and profile.profileid=postings.profileid and postings.poststart <='2009-11-22 5:31:17' and postings.end_date >='2009-11-22 5:31:17' and employers.eid=profile.eid and postings.status='a' order by postings.poststart desc, postings.insertdate desc ERROR: syntax error at or near "and" LINE 1: ...potlight from postings, profile, employers where and profil... ^ SQL: select postings.postid, postings.poststart as date, postings.city as pcity, postings.title as title,profile.profileid,employers.name as name, postings.spotlight from postings, profile, employers where and profile.profileid=postings.profileid and postings.poststart <='2009-11-22 5:31:17' and postings.end_date >='2009-11-22 5:31:17' and employers.eid=profile.eid and postings.status='a' order by postings.poststart desc, postings.insertdate desc