MySQL Query Error: Unknown column 'e.href' in 'where clause'

Query: select intPageID from Pages where strFriendlyURL = 'js/fancybox/'+e.href+''