What is the result of the following NULL arithmetic: SELECT 5 + NULL * 2?

SQL Fundamentals Hard

SQL Fundamentals — Hard

What is the result of the following NULL arithmetic: SELECT 5 + NULL * 2?

Key points

  • NULL arithmetic in SQL always results in NULL
  • Multiplying NULL by any number equals NULL
  • Adding a number to NULL still results in NULL

Ready to go further?

Related questions