adplus-dvertising
frame-decoration

Question

What will be the output of of the following SQL statement?
SELECT person_id, Fname, lname
FROM person;

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)

Posted under MySQL Database

Answer: (a).Show only columns (person_id, Fname, lname) and rows related to these columns

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What will be the output of of the following SQL statement?

Similar Questions

Discover Related MCQs

Q. Can “SELECT” clause be used without the clause “FROM”?

Q. Which clause is mandatory with clause “SELECT” in Mysql?

Q. Which among the following can also be included with “SELECT” clause while writing query in Mysql?

Q. What is the need of “column Aliases” in “SELECT” clause?

Q. Which Keyword is used to remove duplicate rows in the result set?

Q. Which among the following is an optional Keyword?

Q. How can we define the clause “FROM” in Mysql?

Q. Which of the following table exist in Mysql?

Q. “CREATE TABLE …” command is used to create which type of table in Mysql?

Q. “CREATE VIEW …” command is used to create which type of table in Mysql?

Q. What is the meaning of “Temporary Tables” in Mysql?

Q. “SELECT” clause cannot be used without which clause in Mysql?

Q. Which of the following statements is/are correct with respect to “VIEW”?

Q. Which command is used to create “Temporary tables” in MySQL?

Q. What is the use of “VIEW” in Mysql?

Q. What will be the output of the following MySQL statement?

“true AND Null”

Q. What will be the output of the following MySQL statement ?

“false AND Null”?

Q. What will be the output of the following MySQL statement?

“Null AND Null”?

Q. What will be the output of the following MySQL statement?

“true OR Null”

Q. What will be the output of the following MySQL statement?

“false OR Null”