A Database Error Occurred

Error Number: 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 '.in && b.portfolio_id = a.id && c.portfolio_id = a.id && a.status = 'Active'' at line 2

select count(*) as total from user_portfolio a, user_portfolio_category_link b,user_portfolio_link c where b.category_id = 2 && c.user_id = www.antechsolution.co.in && b.portfolio_id = a.id && c.portfolio_id = a.id && a.status = 'Active'