Which keyword is used for sorting the data in ascending order in Mysql?
A. DESC
B. ASC
C. ALTER
D. MODIFY
Answer: Option B
Solution (By Examveda Team)
This question is about how to arrange data in a table from smallest to largest in MySQL.Think of it like sorting your toys by size – you want the smallest ones first, then the bigger ones.
Here's how the options relate to the question:
Option A: DESC - This keyword is for *descending* order, meaning it sorts from largest to smallest.
Option B: ASC - This is the correct answer! It stands for *ascending*, which means sorting from smallest to largest.
Option C: ALTER - This is used to change the structure of a table, not for sorting data.
Option D: MODIFY - Similar to ALTER, this is used for modifying the table's structure, not sorting data.
So, if you want to see your data in order from smallest to largest, you'd use the ASC keyword.
Related Questions on MySQL Miscellaneous
How is communication established with MySQL?
A. SQL
B. Network calls
C. A programming language like C++
D. APIs
Which type of database management system is MySQL?
A. Object-oriented
B. Hierarchical
C. Relational
D. Network
Join The Discussion