How can I know if a table is already arranged in ascending order in MySQL? -


example, have table , want know if pre-arranged alphabetically descending or ascending, there built-in function can this?

letters | numbers |

a    |  1     | b    |  2     | 

letters | numbers |

b   |   2     |   |   1     | 

thanks.

data in table not arranged in order.

you have explicitly specify order when selecting data. if not specify order when selecting data returned order neither predictable nor reliable.


Comments

Popular posts from this blog

mod rewrite - Using "?" when rewriting the URL -

.htaccess: Transfer name to index.php if not directory public -

Admob integration with pygame in android -