创建角色表 字段为 编号(主键) 名字
create table role (id number(10,0) not null, rolename varchar2(255 char), primary key (id))
创建 用户表 字段为 编号(主键) 用户名 密码 密码 年龄 性别
create table userinfor (id number(10,0) not null, username varchar2(255 char), password varchar2(255 char), age number(10,0), sex varchar2(255 char), primary key (id))
创建 角色用户关系表 字段为 编号 用户ID 角色IDcreate table userinfor_and_role (role_id number(10,0) not n......
阅读全文