Du kan bruge koden HAVING
klausul, i stedet for at duplikere CONCAT()
funktion i din WHERE
klausul.
For eksempel:
SELECT CONCAT(`names`,' ',`office`) `bigDataField`
FROM `item_table`
HAVING `bigDataField` LIKE "%jessy%";
Du kan bruge koden HAVING
klausul, i stedet for at duplikere CONCAT()
funktion i din WHERE
klausul.
For eksempel:
SELECT CONCAT(`names`,' ',`office`) `bigDataField`
FROM `item_table`
HAVING `bigDataField` LIKE "%jessy%";