- Forums
- MySQL
- Mysql Query To Sort By Two Fields ORDER By 2
this is a mysql query you can use to sort your results by order of two. this is a short tutorial that will help beginers try to use php code to query a mysql database [896], Last Updated: Sat May 18, 2024
wallpaperama
Mon Apr 28, 2008
2 Comments
2896 Visits
today i wanted to learn how i can order a query in a mysql database by two fields
this is how i did this
$sql = SELECT this FROM thistable ORDER BY this, andthis