torturedmind
Programmer
Hello Sirs/Ma'ams,
If the 1st SQL statement is faster than the 2nd one, then why do people keep using the 1st?
Statement 1
Statement 2
kilroy
philippines
"Once a king, always a king. But being a knight is more than enough."
If the 1st SQL statement is faster than the 2nd one, then why do people keep using the 1st?
Statement 1
Code:
SELECT * FROM (SELECT * FROM anytable) datsub1 ORDER BY 1 DESC
Statement 2
Code:
SELECT * FROM anytable ORDER BY 1 DESC
kilroy
philippines
"Once a king, always a king. But being a knight is more than enough."