1. Table structure 2. Table data 3. The query teacher_name field cannot be equal to empty and cannot be equal to the empty character SELECT * FROM sys_teacher WHERE teacher_name IS NOT NULL AND teacher_name <>'' Query results: 4. Query the teacher_name field to be equal to null or equal to an empty character SELECT * FROM sys_teacher WHERE teacher_name = '' OR teacher_name IS NULL Query results: This is the end of this article about how to write MySQL not equal to null and equal to null. For more relevant content about MySQL not equal to null and equal to null, please search for previous articles on 123WORDPRESS.COM or continue to browse the related articles below. I hope you will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: JavaScript to achieve stair rolling special effects (jQuery implementation)
>>: Detailed tutorial on deploying Hadoop cluster using Docker
Introduction MySQL should be a very common databa...
This article shares the installation and configur...
This article shares the specific code of using ca...
Recently, a service has an alarm, which has made ...
Table of contents Preface: 1. Default value relat...
Preface If our business is at a very early stage ...
This article introduces blue-green deployment and...
Table of contents Preface Quick Review: JavaScrip...
mysql5.5.28 installation tutorial for your refere...
This article mainly describes two kinds of underl...
Docker is an open source project that provides an...
This article analyzes the consistency processing ...
Table of contents 1. Application Lifecycle 2. Pag...
1. Flex layout .father { display: flex; justify-c...
In the process of web project development, we oft...