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