daily pastebin goal
54%
SHARE
TWEET

Untitled

a guest Mar 22nd, 2017 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $sql = "SELECT (posledni.rychlost - predposledni.rychlost) FROM (\n"
  2.     . " SELECT * FROM `data` ORDER BY `index` DESC LIMIT 1\n"
  3.     . " ) AS posledni\n"
  4.     . " JOIN (\n"
  5.     . " SELECT * FROM `data` ORDER BY `index` DESC LIMIT 1,1\n"
  6.     . " ) AS predposledni\n"
  7.     . " ";
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top