-

Select gallery_id, gallery_random_id, gallery_name, gallery_name_home, gallery_url, gallery_story_label, gallery_description, gallery_page_title, gallery_keywords, gallery_tags, category_id, sub_category_id, sub_sub_category_id, gallery_o_tags, admin_name, admin_name1, gallery_date, gallery_time_r, gallery_date1, gallery_time, gallery_epoch, gallery_image, gallery_image1, gallery_image2, gallery_image_caption, gallery_type, gallery_author, is_midday_shots, midday_shorts_image, is_ai_sponsored_tag, active from gallery_master Where gallery_date >= DATE_SUB(NOW(),INTERVAL 1 MONTH) and active='Y' order by gallery_id DESC

Error