摘要:
通常的写法: if(select count(1) from table where id=XXX)=0 insert into XXX else update table set xxx where id=XXX 优化后的写法: update table set xxx where id=XXX 阅读全文
posted @ 2016-02-06 16:20
davidhou
阅读(174)
评论(0)
推荐(0)
浙公网安备 33010602011771号