Advertisement
dhniceday

Untitled

Nov 21st, 2022
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 0.44 KB | Software | 0 0
  1. ``` dataview
  2. TABLE
  3.     cardtitle, definition, link(file.name)
  4. FROM ""
  5. WHERE
  6.     definition and cardtitle
  7. FLATTEN
  8.     date(now) as Now
  9. FLATTEN
  10.     (file.mtime.year + file.mtime.hour + file.mtime.day + file.mtime.hour + file.mtime.minute + file.mtime.second + file.size + Now.hour + Now.minute + Now.second) * 15485863 as Hash
  11. FLATTEN
  12.     ((Hash * Hash * Hash) % 2038074743) / 2038074743 as Rand
  13. WHERE
  14.     max(Rand)
  15. SORT
  16.     Rand
  17. LIMIT
  18.     3
  19. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement