The sql statement is
INSERT INTO t_source_type_transfer(logdate,time, Host, CountryCode, RegionCode,City, SourceIP, Hits, cdn_id, CityName ,type)
select b.logdate,b.time,b.Host,b.CountryCode, b.RegionCode,b.City, b.SourceIP, b.Hits, b.cdn_id, b.CityName ,b.type
from t_source_type as b
ON DUPLICATE KEY UPDATE Hits=t_source_type.Hits+b.Hits;
The time field in t_source_type
is 14:35:21
How can I change it to 14:35:00 while using that statement?
Thanks!