79698138

Date: 2025-07-11 09:56:32
Score: 0.5
Natty:
Report link

Use CONCAT_WS.

WHERE CONCAT_WS(' ', firstName, lastName) LIKE CONCAT('%', 'alex', '%')

It concatenates all NOT NULL arguments from the 2nd to the end, with the first one as separator, and returns NULL only if all of them are NULL.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: GingkoFr