$query = ' SELECT span, MAX(ts) AS ts FROM my_table GROUP BY span';
Takes like 15 seconds to type that, and it's far more intuitive.
In reply to Re: MySQL undef
by TJPride
in thread MySQL undef
by akagrawal3
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |