Query: SELECT COUNT(*) AS total_albums FROM photo_category WHERE cat_id = 2 AND a.add_time > 1527404400 AND a.add_time < 1527490800
Error Message: Unknown column 'a.add_time' in 'where clause'
Error Number: 1054