- 查看指定数据库 db_name 的字符集和排序规则
USE db_name;
SELECT @@character_set_database, @@collation_database;
- 显示索引信息:
SHOW INDEX FROM table_name\G
文章标签 数据库 排序规则 文章分类 JavaScript 前端开发
USE db_name;
SELECT @@character_set_database, @@collation_database;
SHOW INDEX FROM table_name\G
下一篇:面向对象一
MySQL优化查询的几种方式
数据库管理系统最重要的功能就是数据查询,数据查询不应只是简单的返回数据库中储存的数据,还应根据需要进行筛选,以及确定以什么样的格式显示。MySQL提供了强大的、灵活的查询语句来支持这些操作。
基本查询语句
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M