mysql数据库的基本操作
时间:2020-11-14 13:08:44
收藏:0
阅读:19
###mysql-5.5.6---Ubuntu14.04###
### 2020/11/14###
1.数据库的访问
mysql -u root -p;
2.数据库版本的查看
select version();
3.查看mysql中的具体数据库
show databases;
4.选中数据库‘test’
use test;
5.查看‘test’数据库中的tables
show tables;
6.查看表中的全部数据
select * from children;
7.查看列数据
select childno from children;
8.and or 运用
原文:https://www.cnblogs.com/codeprojects/p/13972503.html
评论(0)