SELECT name, path, size, m_date, c_date, crypt.id, compress_mode
FROM files
inner join CRYPT on files.crypt_id = crypt.id