1 echo Create table t1
(f1
time, f2
time);
3 Statement Executed
: Rows Affected
= 1
4 Statement Executed
: Rows Affected
= 1
5 Statement Executed
: Rows Affected
= 1
6 Statement Executed
: Rows Affected
= 1
7 Statement Executed
: Rows Affected
= 1
9 ---------------------------------------------------------
11 ---------------------------------------------------------
18 echo select * from t1 where time_add
(f2 interval
2 hour
) = '13:30:01';
19 ---------------------------------------------------------
21 ---------------------------------------------------------
24 echo select * from t1 where time_add
(f2 interval
2 hour
) <= '13:30:01';
25 ---------------------------------------------------------
27 ---------------------------------------------------------
32 echo select * from t1 where time_add
(f2 interval
2 hour
) >= '13:30:01';
33 ---------------------------------------------------------
35 ---------------------------------------------------------
40 echo select * from t1 where time_add
(f2 interval
10 hour
) = '11:30:01';
41 ---------------------------------------------------------
43 ---------------------------------------------------------
46 echo select * from t1 where time_add
(f2 interval
10 hour
) <= '11:30:01';
47 ---------------------------------------------------------
49 ---------------------------------------------------------
54 echo select * from t1 where time_add
(f2 interval
10 hour
) >= '11:30:01';
55 ---------------------------------------------------------
57 ---------------------------------------------------------
62 echo select * from t1 where time_add
(f2 interval
10 hour
) != '11:30:01';
63 ---------------------------------------------------------
65 ---------------------------------------------------------