Last active
June 23, 2020 20:52
-
-
Save Mistobaan/c32105f7eede50b9e7a710fc3bbe0f65 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DECLARE SAMPLE_SIZE INT64 DEFAULT 5; | |
SELECT * | |
FROM | |
BREATHE.ncbi_xml | |
WHERE | |
RAND() < SAMPLE_SIZE/(SELECT COUNT(*) FROM `BREATHE.ncbi_xml`) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment