NULL
- To test for NULL, use the IS NULL and IS NOT NULL operators.
 
- The result of any arithmetic comparison with NULL is also NULL
 
- In MySQL, 0 or NULL means false and anything else means true. The default truth value from a boolean operation is 1.
 
- Two NULL values are regarded as equal in a GROUP BY.
 
- When doing an ORDER BY, NULL values are presented first if you do ORDER BY ... ASC and last if you do ORDER BY ... DESC.
 
- You can enter a zero or an empty string intto a col defined as NOT NULL
 
 
             
            posted @ 
2022-12-21 13:58 
5hithin 
阅读(
13) 
评论() 
 
收藏 
举报