NULL value
In SQL, Null means nothing at all. This is not 0, it's NULL. When a field is 0, it is included in calculations, but when it's NULL, it's completely excluded from calculations. If you want to exclude Null in the result, you can use Where and is not null query. select a.order_id, a.customer_id, a.restaurant_name, a.price, b.name, b.age, b.genderfrom food_orders..
2024. 3. 22.