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

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

.htaccess - Matching full URL in RewriteCond -