Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 12:38 am EST

Geeklog Forums

1064 SQL Syntax Error


SteamyMe

Anonymous
Can anybody help me with this error? :helpme:

1064 - You have an error in your SQL syntax near 'on p.products_id=pd.products_id left join products_to_manufacturers ptm on ptm.p' at line 1

select count(distinct p.products_id) as total from products p join products_description pd on p.products_id=pd.products_id left join products_to_manufacturers ptm on ptm.products_id=p.products_id left join manufacturers m on p.manufacturers_id = m.manufacturers_id join products_to_categories p2c on p.products_id = p2c.products_id left join specials s on p.products_id = s.products_id left join compare c on p.products_id = c.products_id where p.products_status=1 and p2c.categories_id='1000'
 Quote

All times are EST. The time is now 12:38 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content