数据库三层结构


SQL 语句分类

创建数据库

#使用指令创建数据库 CREATE DATABASE quange; #删除数据库指令 DROP DATABASE quange; #创建一个使用 utf8 字符集的 quange 数据库 CREATE DATABASE quange CHARACTER SET utf8; #创建一个使用 utf8 字符集,并带校对规则的 quange 数据库 CREATE DATABASE quange CHARACTER SET; #校对规则 utf8_bin 区分大小 默认 utf8_general_ci 不区分大小 #下面是一条查询的 sql , select 查询 *表示所有字段 FROM 从哪个表 WHERE 从哪个字段 NAME = 'tom' 查询名字是 tom SELECT * FROM t1 WHERE NAME = 'tom';
查看、删除数据库




备份恢复数据库



备份恢复数据库的表

创建表

Mysql 常用数据类型(列类型)

修改表

数据库 C[create]R[read]U[update]D[delete]语句

- THE END -
最后修改:2022年5月8日
版权声明:
一、本站致力于为软件爱好者提供国内外软件开发技术和软件共享,着力为用户提供优资资源。
二、本站提供的所有下载文件均为网络共享资源,请于下载后的24小时内删除。如需体验更多乐趣,还请支持正版。
三、我站提供用户下载的所有内容均转自互联网。如有内容侵犯您的版权或其他利益的,请编辑邮件并加以说明发送到站长邮箱。站长会进行审查之后,情况属实的会在三个工作日内为您删除。
如若转载,请注明出处:https://www.quange.cc/note/java/learn-java/1416.html
共有 0 条评论