MySQL Query ERROR in - 4select * from event_mem e_id
where select * from announcements a_id where a_type = '' AND a_date_expire >= now() and a_sort >= 1 order by a_sort AND e_active_yn = 'y'
and e_date >= now() order by e_date limit 3You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'select * from announcements a_id where a_type = '' AND a_date_expire >= now() ' at line 2

MySQL Query ERROR in - 4select * from download d_id
where select * from announcements a_id where a_type = '' AND a_date_expire >= now() and a_sort >= 1 order by a_sort AND d_exp >= now() order by d_post_dateYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'select * from announcements a_id where a_type = '' AND a_date_expire >= now() ' at line 2