SELECT name, path, size, m_date, c_date, crypt.id, compress_mode, sha1sum
FROM files
INNER JOIN crypt ON files.crypt_id = crypt.id