sftryeler Posted June 14, 2007 Share Posted June 14, 2007 Hello all! I'm fairly new to everything but can sometimes work my problems out. I installed the abstract zones contrib. and everything works fine except for when i go to my reports I get 2 errors. --------------------------------- #1 Best Products Purchased 1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '*) as total from products p, products_description pd where pd. select count(distinct *) as total from products p, products_description pd where pd.products_id = p.products_id and pd.language_id = '1' and p.products_ordered > 0 [TEP STOP] ---------------------------------#2 Best Customer Orders-Total 1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '*) as total from customers c, orders_products op, orders o whe select count(distinct *) as total from customers c, orders_products op, orders o where c.customers_id = o.customers_id and o.orders_id = op.orders_id [TEP STOP] I just don't know where to start. If someone could help me out I'd really appreciate it :lol: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.