Hello,

I am having a SQL index problem when click a company from "Manufacturers" or "Record Companies" from the side boxes. When ever I click a company, it produces something like:

Code:
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 'from where record_company_id = 2' at line 2
in:
[select from where record_company_id = 2]
Please anyone show me what the problem is.
Many thanks!