Code&Data Insights
(Databases-MySQL) NULL Value 본문
< Null Value in MySQL >
What is a NULL Value?
: NULL value is a filed with no value. NULL is not value, it's just a place holder
** Therefore, we can't compare between NULL values!
Null is unknown, so they can't be same ! null != null
Can we test for NULL?
: Yes, it's possible to test for using IS NULL & IS NOT NULL
NULL Value with Groung and Aggregating
: Nulls are counted when grouping, but ignored when aggregating!
Reference :
https://www.tutorialspoint.com/sql/sql-null-values.html
https://www.w3schools.com/SQl/sql_null_values.asp
'Computer Science > Databases' 카테고리의 다른 글
[Databases] Schemas and Instances & Architecture of a DBMS (0) | 2023.02.25 |
---|---|
[Databases] Data Modeling and Database Design (0) | 2023.02.25 |
MySQL- Warm up Project Query (feb 17,2023) (0) | 2023.02.18 |
[MySQL] Inner Join | Left Join | Right Join | Self Join (0) | 2023.02.08 |
(Databases) Databases & DBMS & ER Model & Relational Databases (0) | 2023.02.03 |
Comments