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
30 minute
) = '04:00:01';
19 ---------------------------------------------------------
21 ---------------------------------------------------------
24 echo select * from t1 where time_add
(f2 interval
30 minute
) <= '04:00:01';
25 ---------------------------------------------------------
27 ---------------------------------------------------------
32 echo select * from t1 where time_add
(f2 interval
30 minute
) >= '04:00:01';
33 ---------------------------------------------------------
35 ---------------------------------------------------------
40 echo select * from t1 where time_add
(f2 interval
240 minute
) = '07:30:01';
41 ---------------------------------------------------------
43 ---------------------------------------------------------
46 echo select * from t1 where time_add
(f2 interval
240 minute
) <= '07:30:01';
47 ---------------------------------------------------------
49 ---------------------------------------------------------
54 echo select * from t1 where time_add
(f2 interval
1200 minute
) >= '21:30:01';
55 ---------------------------------------------------------
57 ---------------------------------------------------------
62 echo select * from t1 where time_add
(f2 interval
1200 minute
) < '21:30:01';
63 ---------------------------------------------------------
65 ---------------------------------------------------------