Home » MYSQL » Select Query » Question
  1. Is there any error in executing the following query?
    SELECT Student_id, ‘ACTIVE’,
    Student_id * 3.145,
    UPPER (LastName)
    FROM Student;
    1. NO
    2. Depends on condition
    3. Yes
    4. Undefined behaviour
    5. None of these
Correct Option: A

“SELECT clause” includes the following: Literals like ‘ACTIVE’, Expressions like Student_id*314, Built_in functions like UPPER ().



Your comments will be displayed only after manual approval.