select * from t_policy_prem where due_time > cast('2012-10-28 00:00:00' as datetime)
1
SELECT id FROM table WHERE add_user = 'xxx' and add_time > cast('2012-11-11 00:00:00' as datetime)
SELECT
id
FROM
table
WHERE
add_user =
'xxx'
and
add_time >
cast
(
'2012-11-11 00:00:00'
as
datetime)