1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and vm.category_id= and DATE(vm.video_date1)<='2024-12-30' and vm.video_epoch<='' at line 1
Select vm.video_id,video_random_id,video_name,video_name_home,video_url,video_story_label,video_description,video_page_title,video_keywords,video_tags,category_id,(select cm.category_master_name from category_master cm where cm.category_master_id=vm.category_id and cm.active='Y') as category_name,sub_category_id,(select scm.sub_category_master_name from sub_category_master scm where scm.sub_category_master_id=vm.sub_category_id and scm.active='Y') as sub_category_name,video_tags1,video_date,video_time_r,video_date1,video_time,video_image,video_image1,video_localities,video_youtube_id from video_master vm where vm.video_id!= and vm.category_id= and DATE(vm.video_date1)<='2024-12-30' and vm.video_epoch<='1735590677' and vm.active='Y' order by vm.video_epoch DESC LIMIT 0,4
Error