---
title: "How to filter 1000 of student name in PHP in ascending order."  
description: "How to filter 1000 of student name in PHP in ascending order."  
author: "Erick Wilsom"  
published: 2022-10-27  
updated: 2022-10-27  
canonical: https://www.mindstick.com/forum/157178/how-to-filter-1000-of-student-name-in-php-in-ascending-order  
category: "php"  
tags: ["php"]  
reading_time: 1 minute  

---

# How to filter 1000 of student name in PHP in ascending order.

How to [filter](https://www.mindstick.com/forum/1176/filter-in-a-xml-file-in-c-sharp) 1000 of [student](https://www.mindstick.com/articles/157138/student-loan-default-wage-garnishment-and-student-loan) [name](https://yourviews.mindstick.com/view/87450/how-to-generate-a-brand-name-using-linkedin-comprehensive-guide) in [PHP](https://www.mindstick.com/articles/12149/php-constant-and-php-variables) in ascending order.

## Replies

### Reply by Siddhi Malviya

SELECT *FROM student ORDER BY student_name ASC LIMIT 1000;

In order by clause sorts ascending order by default or we can use ASC for ascending order and DESC for descending order..


---

Original Source: https://www.mindstick.com/forum/157178/how-to-filter-1000-of-student-name-in-php-in-ascending-order

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
