Home / CSE MCQs / MySQL Database MCQs :: Discussion

Discussion :: MySQL Database MCQs

  1. What will be the output of a query given below?

    SELECT person_id, Fname, lname
    FROM person;
  2. A.
    Show only columns (person_id, Fname, lname) and rows related to these columns
    B.
    Show only columns (person_id, Fname, lname)
    C.
    Show all rows
    D.
    Show all columns except (person_id, Fname, lname)

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    "SELECT clause is used to show all rows and columns that are mention with the query.


Be The First To Comment