Gallery

Homes

Hospitality

Accesories

Home Gallery
Query : select a.*,b.* from photo_gallery a,album_master b where a.album_id=b.album_id group by a.album_id ORDER BY gallery_id desc LIMIT 0, 16

Error No : 1055

Error : Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'tulips_gallery.a.gallery_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by