_ GET http://127.0.0.1:9200/_cat/health?v 健康状况 GET http://127.0.0.1:9200/_cat/indices?v 查看索引 PUT http://127.0.0.1:9200/test_index 创建test_index索引 DELETE http://127.0.0.1:9200/test_index 删除索引 PUT http://127.0.0.…
查询所有表以及记录数: select a.name as 表名,max(b.rows) as 记录条数 from sysobjects a ,sysindexes b where a.id=b.id and a.xtype='u' group by a.name order by max(b.rows) desc 1.查询数据库中的所有数据库名: SELECT Name FROM Master..SysDatabases ORDER BY Name 2.查询某个数据库中所有的表名: SELECT…
160905 常用表操作 1. mysql -u root -p 回车 输入密码 2. 显示数据库列表 show databases 3. 进入某数据库 use database database160904;是错的 use database160904;才是正确的 4. 显示有哪些表 show tables; 5.创建表 create table student3(id int auto_increment primary key, user varchar(30) not…