输入banner图图片脚本导航/分类

常用的一些mysql语句

database table;

2、删除数据库

drop database table;

3、去重筛选,示例:查询记录(name值相同的只保留一条)

select * from table group by name;

4、求总条数

select count(*) as totalcount from table;

 5、登陆mysql

mysql -uroot -p

 

常用的一些mysql语句

标签:roo   group   nbsp   ase   pre   class   drop   创建   mysq