常用sql语句
select * from 表名 where id = '226'
and amt in ('1','10')
and nbr='2'
order by gmt desc;
update 表名 set gmt=now() where nbr='20' 更新为现在时间
update 表名 set gmt='2015-06-30 14:00:51.076000' where nbr='20' 更新为指定时间
select * from 表名 where biz like '2015%' 模糊查询
delete from 表名; 删除一个表