Computer scienceFundamentalsSQL and DatabasesBasics SQLFunctions and operations

Conditional functions

True is False

Report a typo

Write the following query with the CASE operator:

  • if TRUE return 'False'
  • if FALSE return 'True'

Use boolean TRUE and FALSE as conditions and skip the ELSE part.

Write an SQL statement





___

Create a free account to access the full topic