Sunday, 4 May 2025

02 SQL alias based Query. SQL MCQ

SELECT * FROM Employee;








What will be output of below SQL Query  ?

SELECT (FirstName +' ' + LastName) as FullName
FROM Employee 
        WHERE EmployeeID = 1;


Answer : Error

Reason of error:
  • When using aliase, it must be a single world.
  • Alliase will not accept space

Friday, 2 May 2025

01 SQL like operator based Question.