Subdomain Posts
MySQL | 10 hours ago
Genero | 15 hours ago
MySQL | 3 days ago
MySQL | 3 days ago
MySQL | 3 days ago
MySQL | 3 days ago
MySQL | 3 days ago
MySQL | 3 days ago
MySQL | 5 days ago
MySQL | 5 days ago
Recent Posts
mIRC | 48 sec ago
None | 1 min ago
None | 1 min ago
VB.NET | 1 min ago
None | 2 min ago
None | 2 min ago
None | 2 min ago
PHP | 2 min ago
None | 3 min ago
None | 3 min ago
Sitereport
Find cool info about any domain on the internet?
visit sitereport
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
Learn a little bit about the new Pastebin.com on our help page. hide message
By rymo on the 2nd of Feb 2010 01:41:58 AM Download | Raw | Embed | Report
  1. SELECT MAX(`HourEnding`) FROM `lmp_hourly` WHERE `RTStatus` = 'final';
  2. #+---------------------+
  3. #| MAX(`HourEnding`)   |
  4. #+---------------------+
  5. #| 2010-01-28 22:59:59 |
  6. #+---------------------+
  7. #1 row in set (0.00 sec)
  8.  
  9. SELECT MAX(`HourEnding`) FROM `lmp_hourly` WHERE `RTStatus` = 'prelim';
  10. +---------------------+
  11. | MAX(`HourEnding`)   |
  12. +---------------------+
  13. | 2010-01-30 22:59:59 |
  14. +---------------------+
  15. 1 row in set (0.00 sec)
  16.  
  17. mysql> SELECT MAX(`he`) FROM ((SELECT MAX(`HourEnding`) `he` FROM `lmp_hourly` WHERE `RTStatus` = 'prelim') UNION (SELECT MAX(`HourEnding`) `he` FROM `lmp_hourly` WHERE `RTStatus` = 'final')) `t`;
  18. +---------------------+
  19. | MAX(`he`)           |
  20. +---------------------+
  21. | 2010-01-30 22:59:59 |
  22. +---------------------+
  23. 1 row in set (0.00 sec)
Submit a correction or amendment below. [ previous version ] | [ difference ] | Make A New Post
To highlight particular lines, prefix each line with @h@
Syntax highlighting:
Post expiration:
Post exposure:
Name / Title:
Email: