当前位置:网站首页>How to query all tables in MySQL
How to query all tables in MySQL
2022-06-21 20:07:00 【Yisu cloud】
How to query mysql All the tables in
This article mainly introduces “ How to query mysql All the tables in ” Knowledge about , Xiaobian shows you the operation process through practical cases , The operation method is simple and fast , Practical , Hope this article “ How to query mysql All the tables in ” The article can help you solve problems .
Inquire about mysql Methods for all tables in the database :1、 perform “mysql -u root -p” Command and enter the password to log in mysql database The server ;2、 perform “USE Database name ;” Command to switch to the specified database ;3、 perform “show tables;” or “SHOW FULL TABLES;” command , Will be listed in tabular form mysql All the tables in the database .

The operating environment of this tutorial :windows7 System 、mysql8 edition 、Dell G3 The computer .
stay mysql in , You can use SHOW TABLES Statement to query all tables in the database ; The statement is in the MySQL List all tables in the database .
Query steps :
1、 Execute the following command to log in mysql database server
mysql -u root -p

2、 Switch to the specified database (mydb):
USE mydb;

3、 List mydb All the tables in the database :
show tables;

You can see ,mydb It's in the database 4 Tables :contacts、mip_demo、tb_dept、users
SHOW TABLES The command shows whether the table is a base table or a view . To include table types in results , Please use SHOW FULL TABLES sentence , As shown below -

About “ How to query mysql All the tables in ” That's all for , Thanks for reading . If you want to know more about the industry , You can pay attention to the Yisu cloud industry information channel , Xiaobian will update different knowledge points for you every day .
边栏推荐
- Introduction to setting program icon in QT
- Whether Gorm database needs to set foreign keys
- [force deduction 10 days SQL introduction] Day1
- 508. Most Frequent Subtree Sum
- 研报精选 | 麦肯锡《中国数字创新未来》趋势解读
- 2022-06-20
- 机器学习之神经网络与支持向量机
- Sword finger offer II 029 Sorted circular linked list
- [high frequency interview questions] linked list interview questions with 1/5 difficulty and lower difficulty
- Patch package cannot be used to patch pnpm
猜你喜欢

【时序预测完整教程】以气温预测为例说明论文组成及PyTorch代码管道构建

ENVI-Classic-Annotation-object添加的元素图例比例尺如何撤回修改删除

How to temporarily modify samesite=none and secure in Chrome browser

播放量高达4000w+,情侣如何靠撒狗粮出圈?

MySQL-CentOS安装MySQL8

Assembly language greedy snake and Tetris dual task design implementation details (III) -- Tetris detailed design

mysql如何查询最大id值

mysql增加的语句是什么

LeetCode个人题解(剑指offer 21-25)21. 调整数组顺序使奇数位于偶数前面,22. 链表中倒数第k个节点,24. 反转链表,25. 合并两个排序的链表

NetCore3.1 ping网络是否畅通及获取服务器Cpu、内存使用率
随机推荐
Model evaluation and selection of machine learning
HMS Core机器学习服务身份证识别功能,实现信息高效录入
inno setup 窗口拖动学习
MFC interface library bcgcontrolbar v33.0 - Desktop alert window, grid control upgrade
机器学习之线性模型与决策树
HMS core machine learning service ID card identification function to achieve efficient information entry
[cvpr2022] CMU tutorial on multimodal machine learning, 200+ pages to explain the knowledge of multimodal learning system with six challenges of representation, alignment, reasoning, migration, genera
MySQL必知必会-第九章-用正则表达式进行搜索
RecycleView懒加载失效问题
Kubernetes 跨 StorageClass 迁移 Persistent Volumes 完全指南
API de table & SQL et module d'échantillon pour le système Flink
医疗费用清单秒速录入,OCR识别助力效率倍增
[dry goods knowledge] redis: from the application to the bottom, one article will help you
1156 Sexy Primes
自定义代码模板
Cloudcompare & PCL point cloud AABB bounding box
剑指 Offer II 029. 排序的循环链表
MySQL-CentOS安装MySQL8
Kubernetes migration of persistent volumes across storageclasses Complete Guide
Medical expense list can be entered at a second speed, and OCR recognition can help double the efficiency