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 ') order by UpdatedDate desc limit 0,10' at line 1
CHECK THE URL =>
SELECT ID,CompanyName,Website,YOE,SubCompanyType,CompanyLogo,ContactName,ContactEmail,Designation,AddressLine1,AddressLine2,Town,State,PostalCode,Status,PurchaseLeads,ModUrlCompanyName,AddedDate FROM if_companydetails where Status = 'Approved' and () order by UpdatedDate desc limit 0,10