insert into tlive_usercount( rmkenable, channelid, time, count) select 0,$channelid$,$time$,$count$ where not exists(select * from tlive_usercount where channelid=$channelid$ and time=$time$)