TSV file export queries