============================================================================= Mysql_Query : select * from
where 'G5_TIME_YMDHIS' between nw_begin_time and nw_end_time
and nw_device IN ( 'both', 'pc' ) and nw_division IN ( 'both', 'comm' )
order by nw_id asc Mysql_Error : 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 'where 'G5_TIME_YMDHIS' between nw_begin_time and nw_end_time
and nw_' at line 2 Mysql Error Num : 1064 =============================================================================