gistfile1.txt u.*,r.id as "rinfo.id",r.name as "rinfo.name" select from userinfo u,roles r where u.rolesid=r.id select * from userinfo where id=#{id} select * from userinfo where name=#{a} and pwd=#{pwd} select seq2.nextval from dual insert
u.*,r.id as "rinfo.id",r.name as "rinfo.name" select seq2.nextval from dual insert into userinfo values(#{id},#{name},#{pwd},#{rolesid})update userinfo where id=0 name=#{name}, pwd=#{pwd}, roleid=#{roleid},