摘要:
, 坑 1、可变类型的值不要作为函数参数默认值,应该是不可变的对象,如None,True,False,数字或字符串 2、小心+= a = range(10) b = range(5) a_orig = a a += b print a print a_orig # a_orig在以上处理过程中取值被 阅读全文
摘要:
select top distinct column_name from tbl where id>0 group by name having count(*)>10 order by dtime desc age asc limit 1 60、NULL是没有值,空串是一个有效值61、主键只能使用 阅读全文