Design and Implementation of Enterprise Office System

Keywords: Mobile Database SQL Oracle

Design and Implementation of Enterprise Office System

Design and Implementation of Enterprise Office System: mysql Database Version Source Code:

Super Administrator Table Creation Statement is as follows:

create table t_admin(
	id int primary key auto_increment comment 'Primary key',
	username varchar(100) comment 'Super Administrator Account',
	password varchar(100) comment 'Super Administrator Password'
) comment 'Super Administrator';
insert into t_admin(username,password) values('admin','123456');

The general staff table creation statement is as follows:

create table t_user(
	id int primary key auto_increment comment 'Primary key',
	customerId int comment 'I',
	title varchar(100) comment 'Title',
	pic varchar(100) comment 'picture',
	content varchar(100) comment 'content',
	zan int comment 'Fabulous'
) comment 'Ordinary staff';

The management table creation statement is as follows:

create table t_va(
	id int primary key auto_increment comment 'Primary key',
	insertDate datetime comment 'Date of publication',
	njId int comment 'grade',
	yxId int comment 'Faculty and department',
	zyId int comment 'major',
	num int comment 'Total enrollment',
	username varchar(100) comment 'Account number'
) comment 'Management';

The teacher table creation statement is as follows:

create table t_teacher(
	id int primary key auto_increment comment 'Primary key',
	password varchar(100) comment 'Password',
	vaName varchar(100) comment 'Name of Administrator',
	sex varchar(100) comment 'Gender',
	phone varchar(100) comment 'Telephone',
	address varchar(100) comment 'address'
) comment 'Teacher';

Work experience table creation statement is as follows:

create table t_gzjy(
	id int primary key auto_increment comment 'Primary key',
	username varchar(100) comment 'Account number'
) comment 'Hands-on background';

My message table creation statement is as follows:

create table t_wdxx(
	id int primary key auto_increment comment 'Primary key',
	password varchar(100) comment 'Password',
	name varchar(100) comment 'Full name',
	gh varchar(100) comment 'Job number',
	mobile varchar(100) comment 'Mobile phone',
	username varchar(100) comment 'Account number',
	password varchar(100) comment 'Password',
	teacherName varchar(100) comment 'Full name',
	phone varchar(100) comment 'Telephone',
	age varchar(100) comment 'Age',
	v1 varchar(100) comment 'Hands-on background'
) comment 'My news';

The collection table creation statement is as follows:

create table t_sc(
	id int primary key auto_increment comment 'Primary key',
	customerId int comment 'user',
	productId int comment 'product',
	insertDate datetime comment 'date'
) comment 'Collection';

Design and implementation of enterprise office system oracle database version source code:

Super Administrator Table Creation Statement is as follows:

create table t_admin(
	id integer,
	username varchar(100),
	password varchar(100)
);
insert into t_admin(id,username,password) values(1,'admin','123456');
--Super Administrator Field Annotated
comment on column t_admin.id is 'Primary key';
comment on column t_admin.username is 'Super Administrator Account';
comment on column t_admin.password is 'Super Administrator Password';
--Super Administrator Table Annotated
comment on table t_admin is 'Super Administrator';

The general staff table creation statement is as follows:

create table t_user(
	id integer,
	customerId int,
	title varchar(100),
	pic varchar(100),
	content varchar(100),
	zan int
);
--Annotation of General Employee Field
comment on column t_user.id is 'Primary key';
comment on column t_user.customerId is 'I';
comment on column t_user.title is 'Title';
comment on column t_user.pic is 'picture';
comment on column t_user.content is 'content';
comment on column t_user.zan is 'Fabulous';
--Annotation of General Staff Statement
comment on table t_user is 'Ordinary staff';

The management table creation statement is as follows:

create table t_va(
	id integer,
	insertDate datetime,
	njId int,
	yxId int,
	zyId int,
	num int,
	username varchar(100)
);
--Administrator field annotated
comment on column t_va.id is 'Primary key';
comment on column t_va.insertDate is 'Date of publication';
comment on column t_va.njId is 'grade';
comment on column t_va.yxId is 'Faculty and department';
comment on column t_va.zyId is 'major';
comment on column t_va.num is 'Total enrollment';
comment on column t_va.username is 'Account number';
--Annotation of Management Form
comment on table t_va is 'Management';

The teacher table creation statement is as follows:

create table t_teacher(
	id integer,
	password varchar(100),
	vaName varchar(100),
	sex varchar(100),
	phone varchar(100),
	address varchar(100)
);
--Annotation of Teacher Field
comment on column t_teacher.id is 'Primary key';
comment on column t_teacher.password is 'Password';
comment on column t_teacher.vaName is 'Name of Administrator';
comment on column t_teacher.sex is 'Gender';
comment on column t_teacher.phone is 'Telephone';
comment on column t_teacher.address is 'address';
--Teacher's table with notes
comment on table t_teacher is 'Teacher';

Work experience table creation statement is as follows:

create table t_gzjy(
	id integer,
	username varchar(100)
);
--Work experience field annotated
comment on column t_gzjy.id is 'Primary key';
comment on column t_gzjy.username is 'Account number';
--Annotation of Work Experience Sheet
comment on table t_gzjy is 'Hands-on background';

My message table creation statement is as follows:

create table t_wdxx(
	id integer,
	password varchar(100),
	name varchar(100),
	gh varchar(100),
	mobile varchar(100),
	username varchar(100),
	password varchar(100),
	teacherName varchar(100),
	phone varchar(100),
	age varchar(100),
	v1 varchar(100)
);
--Annotate my message field
comment on column t_wdxx.id is 'Primary key';
comment on column t_wdxx.password is 'Password';
comment on column t_wdxx.name is 'Full name';
comment on column t_wdxx.gh is 'Job number';
comment on column t_wdxx.mobile is 'Mobile phone';
comment on column t_wdxx.username is 'Account number';
comment on column t_wdxx.password is 'Password';
comment on column t_wdxx.teacherName is 'Full name';
comment on column t_wdxx.phone is 'Telephone';
comment on column t_wdxx.age is 'Age';
comment on column t_wdxx.v1 is 'Hands-on background';
--Annotate my message sheet
comment on table t_wdxx is 'My news';

The collection table creation statement is as follows:

create table t_sc(
	id integer,
	customerId int,
	productId int,
	insertDate datetime
);
--Collection field annotated
comment on column t_sc.id is 'Primary key';
comment on column t_sc.customerId is 'user';
comment on column t_sc.productId is 'product';
comment on column t_sc.insertDate is 'date';
--Notes on Collection Table
comment on table t_sc is 'Collection';

oracle is unique, and the corresponding sequence is as follows:

create sequence s_t_user;
create sequence s_t_va;
create sequence s_t_teacher;
create sequence s_t_gzjy;
create sequence s_t_wdxx;
create sequence s_t_sc;

Design and implementation of Enterprise Office System SQL Server database version source code:

Super Administrator Table Creation Statement is as follows:

--Super Administrator
create table t_admin(
	id int identity(1,1) primary key not null,--Primary key
	username varchar(100),--Super Administrator Account
	password varchar(100)--Super Administrator Password
);
insert into t_admin(username,password) values('admin','123456');

The general staff table creation statement is as follows:

--Notes to the General Staff Statement
create table t_user(
	id int identity(1,1) primary key not null,--Primary key
	customerId int,--I
	title varchar(100),--Title
	pic varchar(100),--picture
	content varchar(100),--content
	zan int--Fabulous
);

The management table creation statement is as follows:

--Management Schedule Notes
create table t_va(
	id int identity(1,1) primary key not null,--Primary key
	insertDate datetime,--Date of publication
	njId int,--grade
	yxId int,--Faculty and department
	zyId int,--major
	num int,--Total enrollment
	username varchar(100)--Account number
);

The teacher table creation statement is as follows:

--Teacher's Notes
create table t_teacher(
	id int identity(1,1) primary key not null,--Primary key
	password varchar(100),--Password
	vaName varchar(100),--Name of Administrator
	sex varchar(100),--Gender
	phone varchar(100),--Telephone
	address varchar(100)--address
);

Work experience table creation statement is as follows:

--Notes to the Work Experience Sheet
create table t_gzjy(
	id int identity(1,1) primary key not null,--Primary key
	username varchar(100)--Account number
);

My message table creation statement is as follows:

--My Message Table Comments
create table t_wdxx(
	id int identity(1,1) primary key not null,--Primary key
	password varchar(100),--Password
	name varchar(100),--Full name
	gh varchar(100),--Job number
	mobile varchar(100),--Mobile phone
	username varchar(100),--Account number
	password varchar(100),--Password
	teacherName varchar(100),--Full name
	phone varchar(100),--Telephone
	age varchar(100),--Age
	v1 varchar(100)--Hands-on background
);

The collection table creation statement is as follows:

--Notes to Collection Table
create table t_sc(
	id int identity(1,1) primary key not null,--Primary key
	customerId int,--user
	productId int,--product
	insertDate datetime--date
);

Posted by nightkarnation on Sat, 10 Aug 2019 05:13:49 -0700