Quick Search:
 
 mySQL: Replace a NULL with a given value. Jump to:  
Category: >> mySQL >> Replace a NULL with a given value.  

<< lastnext >>

Snippet Name: Replace a NULL with a given value.

Description: Replace a NULL with a given value.

Comment: (none)

Language: MYSQL
Highlight Mode: MYSQL
Last Modified: March 01st, 2009

SELECT age, name, COALESCE(city, 'No City Listed') 
FROM users


 
   Home |    Search |    Code Library |    Sponsors |    Privacy |    Terms of Use |    Contact Us © 2003 - 2024 psoug.org