![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据库
文章平均质量分 84
69岁的老干部
这个作者很懒,什么都没留下…
展开
-
SQL——DQL
一、概念 DQL 英文全称是 Data Query Language(数据查询语言),用来查询数据库表中的记录。 DQL-语法框架: select 字段列表 from 表名列表 where 条件列表 group by 分组字段列表 having 分组后条件列表 order by 排序字段列表 l......原创 2022-08-14 16:40:25 · 291 阅读 · 0 评论 -
SQL——DDL
一、概述 DDL数据库操作: 查询 查询所有数据库 show databases; //SQL语句不区分大小写,以分号结尾。 查询当前数据库 select database(); 删除 drop database [if exists] 数据库名; 创建 create database [if not exists] 数据库名 [default charset 字符集] [collate 排序规则]; // []内的内容可以选择不写 使用 use 数据库名; ...原创 2022-04-22 18:39:21 · 2394 阅读 · 0 评论