摘要:
关键词:位运算、开关设计 -- mysql的位运算 select 2 | power(2,3); -- 使某位为1 select 10 & ~power(2,1); -- 使某位为0 select 10 & power(2,3); -- 确定某位为1 效率对比 [SQL] update model_user_sttset op_code = INSE... 阅读全文
摘要:
关键词:位运算、开关设计 -- mysql的位运算 select 2 | power(2,3); -- 使某位为1 select 10 & ~power(2,1); -- 使某位为0 select 10 & power(2,3); -- 确定某位为1 效率对比 [SQL] update model_user_sttset op_code = INSE... 阅读全文
摘要:
ORACLE删除重复数据
-- 删除重复数据 delete from t_day_imp
where rowid not in(
select max(rowid) from t_day_imp
group by riqi,tcity,carrier,version,platform
);
commit;
-- 创建唯一索引 cr... 阅读全文
|