自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(3)
  • 收藏
  • 关注

原创 2020-12-25

数据库mysql笔记 31.指定字段的插入语句:往表的某个字段插入数据时insert into 表名(字段名1,字段名2)values(值1,值2)–给stu表的stuno(char),stuname,插入001,张三insert into stu(stuno,stuname)values(‘001’,‘张三’)class:classno,classnameinsert into classvalues(‘001’,‘java一班’)2.不指定字段的插入语句:往表的所有字段插入数据时

2020-12-25 19:41:41 257

原创 2020-12-25

数据库mysql笔记 21.创建表create table 表名( 字段名 数据类型,字段名 数据类型,字段名 数据类型)–创建表student,该表有stuno(学号),stuname(学生姓名),age(年龄)create table student(stuno char(13),stuname varchar(50),age tinyint(3));create table 表名(字段名1 数据类型 primary key auto_increment not null,字

2020-12-25 19:38:41 504

原创 2020-12-25

数据库mysql笔记 11.创建数据库创建:create数据库:databasecreate database 数据库名–创建数据库,名字叫stu2.查看数据库查看:showshow databases3.选择数据库使用、选择:useuse 数据库名4.删除数据库删除:dropdrop database 数据库名1.整型有符号和无符号:unsignedtinyint:微整型smallint:小整型mediumint:中整型int:整型bigint:大整型age

2020-12-25 19:35:39 109

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除