drop database if exists jt_db;
create database jt_db charset utf8;
use jt_db;
create table account(
id int primary key auto_increment,
name varchar(50),
money double
);
insert into account values(null,'tony',1000);
insert into account values(null,'tom',1000);
insert into account values(null,'andy',1000);
create table user(
id int primary key auto_increment,
username varchar(50),
password varchar(50)
);
insert into user values(null, '张飞', '123');
insert into user values(null, '刘备', '123');
create database if not exists jt_db charset utf8;
use jt_db;
drop table if exists stu;
create table stu(
stuid varchar(50),
name varchar(50),
gender char(2),
addr varchar(50),
score double
);
insert into stu values('1001','张三','男', '北京', 86);
create database if not exists jt_db charset utf8;
use jt_db;
create table acc(
id int primary key auto_increment,
name varchar(50),
money double
);
insert into acc values(null,'A',1000);
insert into acc values(null,'B',1000);