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 's date angers Jolie ' and active='Y'' at line 1

Select author_id from author_master where author_name = 'Aniston and Pitt's date angers Jolie ' and active='Y'

Error