Null simply means no value.
In SQL context null can have 3 meaning in a relation.
[1]Not applicable field
e.g. (ID,Name,Spouse Name,Address) ----> (0001,Rambo,null,New York City)
Rambo who is single has no spouse .
[2]Unavailable or Withheld
e.g. (ID,Name,Spouse Name,Address,Tel) ----> (0001,Rambo,null,New York City,Tel)
Rambo want his tel to be confidential hence do not provide it.
[3]Unknown - Don't Know!
e.g. (ID,Name,Spouse Name,Address,Tel, CountryOfBirth) ----> (0001,Rambo,null,New York City,Tel,null)
Rambo does not remember which country he is born from hence the field is left as null.
Thus when null is involve in comparison in SQL three-value logical expression is considered:
T-true,F-false,U-unknown
AND
==============
^|T | F | U
----------------
T|T | F | U
----------------
F| F | F | F
----------------
U|U | F | U
----------------
OR
==============
or|T | F | U
----------------
T|T | T | T
----------------
F| T | F | U
----------------
U|T | U | U
----------------
NOT
==============
! |T | F | U
----------------
= |F | T | U
----------------
what I need to do ...
- Continious learning -unlearn as necessary
- Reach out to family & loves ones
- Maintain fitness - strong core and clear IPPT
- Pick up parenting skills
- Save up and plan for renovation
- Build passive business & investment income
- Back up Data
- Manage $ Cash flow
- Learn sinan mori
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2007
(35)
-
▼
November
(20)
- Dream Builder Not Killer
- Overcoming ~Stress~ in your LIFE
- I wanna feel something ...
- Null in SQL
- Indian History
- SQL Puzzle (DB)
- Solving 'All' like problems in SQL (DB)
- Kunning (Mackerel)
- Labour Management Relation (HRM 12/12)
- Productivity and Quality Management (HRM 11/12)
- Group Behaviour (HRM 6/12)
- Process Organisation (HRM 5/12)
- Human Assets and Performance (HRM 4/12)
- Organization Culture (HRM 3/12)
- Manager means ... (HRM 2/12)
- Competitive Advantage (HRM 1/12)
- Conflict Management Styles (HRM 9/12)
- Change Management (HRM 10/12)
- Leadership IS (HRM 8/12)
- Cookie pageant
-
▼
November
(20)
Quotes
- You are your thoughts.The thoughts in your head are what institute the laws of attraction. You think therefore you are. - Joe Vitalli, The Laws of Attraction
- Don't react blatantly in Anger and become a Zero - Papati
- Don't miss out in the learning values of problems by over-looking the root causes but starting at the occurences - Raj
- You can do almost anything if you have a steady income. Little or much, what matters is that you can count it, month after month.Without the regular flow of funds, you will be constantly distracted from you goals - Norm & Bo
- Time is greater than money, you can never really buy time. Don't let time slip away. - Raj
- Ignore technology advancement and you will either be left behind or you have to fork out more - Raj
- Without passion nothing happens in life but without compassion the wrong things happen - Jan Eliasson
- The poorer you are the more you need to plan and act wisely. Any undesired outcome you have little resource to manoeuvre.
- “Life changes when you least expect it to. The future is uncertain. So, seize this day, seize this moment, and make the most of it.”
- To get to where you want to go in life you must start from where you are - Tan
- Maturity does not come with age,it comes with the acceptance of responsibilities - Tan
No comments:
Post a Comment