数据库
首页 > 数据库> > 数据库

数据库

作者:互联网

 

 

 

 

 

 

 

 

 

 

 

create database jdbcStudy character set utf8 collate utf8_general_ci;

use jdbcStudy;

create table users(
id int primary key,
name varchar(40),
password varchar(40),
email varchar(60),
birthday date
);

insert into users(id,name,password,email,birthday) values
(1,'zhangsan','123456','zs@sina.com','1980-12-04'),
(2,'lisi','123456','ls@sina.com','1981-12-04'),
(3,'wangwu','123456','ww@sina.com','1979-12-04');

select * from users;

 

 

标签:12,varchar,users,04,数据库,123456,sina
来源: https://www.cnblogs.com/xlthwxf/p/15988365.html