---

Learn How to Use Several Functions of MySQL and MariaDB – Part 2

In this article, we will explain how to limit the number of rows returned by a SELECT query, and how to order the result set based on a given condition. Additionally, we will learn how to group the records and perform basic mathematical manipulation on numeric fields.