DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SQL
mysql select if empty result
SELECT IFNULL( (SELECT field1 FROM table WHERE id = 123 LIMIT 1) ,'not found');
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#mysql
#select
#empty
#result
ADD COMMENT
Topic
COMMENT
Name
1+5 =
Submit