What is the cleanest way to sort "describe table" query results ?
Posted
by Youssef AZARI
on Stack Overflow
See other posts from Stack Overflow
or by Youssef AZARI
Published on 2010-06-11T12:40:37Z
Indexed on
2010/06/11
12:42 UTC
Read the original article
Hit count: 261
Hello everyone,
I'm working on "describe table" output to show a list of fields and their types, i want my primary keys to be at top of the list.. I think there's no way to sort describe's results using SQL (something like 'order by') rather than sorting it in PHP.
what do you think guys ? thanks
© Stack Overflow or respective owner