DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SQL
mysql select field if condition
select IF('fieldname with condition','if true value','if false value') from table_name where 1;
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#mysql
#select
#field
#condition
ADD COMMENT
Topic
COMMENT
Name
8+8 =
Submit