DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SQL
compare fields sql
SELECT field1, field2, IF(field1 = field2, 'Same', 'Different') AS Status FROM table
Source by sqlerrors.com #
PREVIOUS
NEXT
Tagged:
#compare
#fields
#sql
ADD COMMENT
Topic
COMMENT
Name
8+7 =
Submit