In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
I don't know if you have any knowledge about how to deal with similar MySQL datasheet field values of NULL. Today, I'm here to talk about it briefly. If you are interested, let's take a look at the body. I believe you will gain something after reading the MySQL datasheet field value of how NULL should be handled.
In the process of creating a data table, some data fields need to set data values, which can be default values or empty null. At that time, the query statement did not work on the fields, so what keywords does mysql use? IS NULL,IS NOT NULL, the following details its usage. 1. Create data table create table dc3688_test_tbl- > (- > dc3688_author varchar (40) NOT NULL,- > dc3688_count INT- >); 2, query does not work mysql > SELECT * FROM dc3688_test_tbl WHERE dc3688_count = NULL;Empty set (0.00 sec) mysql > SELECT * FROM dc3688_test_tbl WHERE dc3688_count! = NULL Empty set (0.01 sec) 3, use IS NULL,IS NOT NULL SELECT * FROM dc3688_test_tbl WHERE runoob_count IS NULL SELECT * from dc3688_test_tbl WHERE runoob_count IS NOT NULL 4 to deal with null using the keyword isset ($count)
What do you think of this article after reading the MySQL datasheet field value of NULL? If you want to know more about it, you can continue to follow our industry information section.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.