当前位置:网站首页>偶然间用到的sql语句
偶然间用到的sql语句
2022-04-22 03:42:00 【Dreams_come_true_】
1.在mysql中如何查询某字段在哪个表中?
select table_schema,table_name from information_schema.columns where column_name = '字段名'
- table_schema 数据库名称
- table_name 表名
- column_name = '字段名'(要查询的列)
举个栗子,在mysql中查找查询PassWord字段在哪个表中:
select table_schema,table_name from information_schema.columns where column_name = 'PassWord'
结果如下 :

版权声明
本文为[Dreams_come_true_]所创,转载请带上原文链接,感谢
https://blog.csdn.net/m0_60199181/article/details/124274994
边栏推荐
- Database management tools
- Use of logical backup MySQL dump in MySQL
- Deep learning and image recognition: principle and practice notes day_ ten
- 【树莓派C语言开发】实验12:PCF8591模数转换器模块
- Use and principle of atomic class
- 机器学习理论之(6):由逻辑回归(对数几率)方法到 SVM;为什么 SVM 是最大间隔分类器
- mysql中逻辑备份mysqldump的使用
- SaaS version goes online, and the applet application ecology goes further
- The basic software products of xinghuan science and technology have been fully implemented and blossomed, bringing "Star" momentum to the digital transformation of enterprises
- "Select command denied to user 'nature' @ '192.168.1.49' for table 'user_variables_by_thread" is solved in MySQL‘“
猜你喜欢

Bubble ranking and running for president

Category 7 sorting summary insertion selection exchange quick sorting merge sorting quick rush
![[cloud computing] three virtual machines complete spark yard cluster deployment and write Scala applications to realize word count statistics](/img/97/3bd0c04dd00d56dc35a8742a7aa0ef.png)
[cloud computing] three virtual machines complete spark yard cluster deployment and write Scala applications to realize word count statistics

Installing MySQL on Linux

百度离线地图研发--laravel框架

The WiFi button of win11 is missing and cannot be connected to the Internet

Detailed explanation of double pointers of ring linked list 1 and 2

GPU深度学习环境配置

2022-04-21: given a blacklist containing non repeating integers in [0, n), write a function to return a random integer not in the blacklist from [0, n), and optimize it to minimize the number of calls

These good works of finclip hacker marathon competition, come and have a look
随机推荐
TP5 uses phpoffice / phpexcel package to operate excel (export)
記一次雲服務器配置mysql 遠程連接失敗的解决方案
解决Flutter中ThemeData.primaryColor在AppBar等组件中不生效
类unix系统中history命令不显示行号的5种方法
Full summary of 18 tax categories of tax law with memory tips
Some errors in TP5
Rasa dialogue robot serial 1 lesson 121: the whole process demonstration of e-commerce retail dialogue robot operation process debugging of Rasa dialogue robot debugging project - 1
Install node environment
php.ini配置
Analysis of JMeter pressure measurement mqtt results
Comparison based on numerical differentiation and error back propagation
[leetcode daily question] 824 Goat Latin
【树莓派C语言开发】实验12:PCF8591模数转换器模块
TP5使用phpoffice/phpexcel包操作excel(导出)
Oracle architecture
Deep learning and image recognition: principle and practice notes day_ ten
Redis persistence
7-Zip exposes zero day security vulnerabilities! Provide administrator privileges to attackers by "impersonating file extensions"
Security technical requirements of password module
Mysql8 hard disk version installation configuration