Created
June 3, 2018 23:31
-
-
Save arkadiusjonczek/2dcbbafdcdca46202e578a3fd878b0ae to your computer and use it in GitHub Desktop.
Select IDs from Tabel and create comma separated list as CSV #tags: MySQL
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
SELECT DISTINCT uid | |
FROM tt_news | |
ORDER BY uid | |
INTO OUTFILE '/tmp/uids.csv' | |
LINES TERMINATED BY ','; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment