adplus-dvertising
frame-decoration

Question

If attribute “fruit” stores data as “apple, mango, banana” in table person then what will be the output of the following SQL command?
    SELECT fruit FROM person
    WHERE person_id=1
    ORDER BY fruit;

a.

apple, mango, banana

b.

apple, banana, mango

c.

mango, apple, banana

d.

none of the mentioned

Posted under MySQL Database

Answer: (a).apple, mango, banana

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. If attribute “fruit” stores data as “apple, mango, banana” in table person then what will be the output of the following SQL command?

Similar Questions

Discover Related MCQs

Q. Which among the following is the correct syntax for showing all tables in the database?

Q. Which command is used to show all tables that are stored in a database?

Q. Which Clause is used to select a particular table in Mysql?

Q. Which Clause is used to sort the stored data in alphabetical order?

Q. Which Clause is used to select a particular row from the set of row in an existing table?

Q. Which statement is used to select columns and rows from the table?

Q. What is the default value of column?

Q. Which among the following is the correct syntax for modifying the definition of an existing table?

Q. Which feature is used for the automatic increment of the column?

Q. Which statement can be used for modifying the definition for an existing table?

Q. Is it necessary to insert the value in each column of the table?

Q. Which Statement is used to insert the values in the table?

Q. What default value gets stored in columns of the table?

Q. What is the meaning of “REFERENCES” in table definition?

Q. Which among the following are the correct definitions for “NULL” in Mysql?

Q. Which among the following is the correct syntax for defining “ENUM” in Mysql?

Q. Which data type character merges the “Check Constraint” into a data type definition?

Q. Which among the following is the correct syntax for defining “Constraint Check” in Mysql?

Q. Which command is used for the table definition in Mysql?

Q. What is the role of “CONSTRAINS” in defining a table in Mysql?