GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   php quik question (https://gfy.com/showthread.php?t=249596)

alex79 03-09-2004 02:26 AM

php quik question
 
what is the SELECT sintax when i want order the results after 2 columns?
first i want order the results in DESC order after the column1 and the results that have same value of column1 i want to be ordered DESC after the values of column2

woj 03-09-2004 02:30 AM

SELECT *
FROM table1
WHERE xxxx
ORDER BY column1 ASC, column2 ASC


All times are GMT -7. The time now is 09:22 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123