View difference between Paste ID: XA1DV2vv and iSRetJL8
SHOW: | | - or go back to the newest paste.
1
select 
2-
    message_id
2+
    *
3
from
4-
    s_relations into outfile '/tmp/messages_ids.csv' FIELDS TERMINATED BY ',';
4+
    messages into outfile '/tmp/messages.csv' FIELDS TERMINATED BY ',';