1. 要比较 内容,就用equals ,比较内存中,是不是同一个对象,就用==
2. sqlite中选择最后输入记录
select name,psw from u_user where _id in (select max(_id) from u_user) //注意:in 而非=
select name,pwd from u_user order by _id desc limit 0,1
有错误:select last_insert_rowid() from tablename