P.S, I'm sorry if my English is bad. P.P.S, please mark if this question is duplicate.
I have a MySQL query here where I can use the AS
clause in order to find the specific name. Here's my code below:
SELECT CONCAT(students.FirstName, ' ', students.LastName) AS FullName
FROM `students` WHERE FullName LIKE '%john%'
Buy MySQL returned like this:
#1054 - Unknown column 'FullName' in 'where clause'
How can I achieve this one in order for FullName
to find what they want?