mysql>show databases;
mysql>use mysql;
mysql>show tables;
mysql> describe mysql.user;
mysql>select * from user;
mysql> explain select * from mysql.func\G
*************************** 1. row ***************************
id: 1
select_type: SIMPLE
table: func
type: system
possible_keys: NULL
key: NULL
key_len: NULL
ref: NULL
rows: 0
Extra: const row not found
*************************** 1. row ***************************
id: 1
select_type: SIMPLE
table: func
type: system
possible_keys: NULL
key: NULL
key_len: NULL
ref: NULL
rows: 0
Extra: const row not found
本文深入解析了使用MySQL数据库进行基本操作的方法,包括展示数据库、切换数据库、查看表、描述表结构及查询表数据等步骤。
3184

被折叠的 条评论
为什么被折叠?



