2015年4月24日

MySQL数据库update更新子查询

摘要: 比如:UPDATE test.tb_vobile a set a.name = '111 'WHEREa.id = (select max(id) id from test.tb_vobile) 报错:[SQL]UPDATE test.tb_vobile a set a.name = '111 '... 阅读全文

posted @ 2015-04-24 18:00 吴一达 阅读(1213) 评论(0) 推荐(0)

python面向对象小练习

摘要: 就是几个动物,自动排列生成什么的 class Animal(object): def __init__(self,name,weight): self.name = name self.weight = weight def eat(self): self.weight +=1 ... 阅读全文

posted @ 2015-04-24 14:34 吴一达 阅读(250) 评论(0) 推荐(0)

导航