Unknown table 'common' in where clause
select * from city_celebrities_more_pics where status=1 AND celebrities_id = common.js