Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

Combine two columns in SQL for WHERE clause

WHERE CONCAT(customers.first_name, ' ', customers.last_name) LIKE '%John Smith%'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Combine #columns #SQL #WHERE #clause
ADD COMMENT
Topic
Name
7+2 =