select
filename,
part_nr,
- TIMESTAMP 'epoch' + a.date * INTERVAL '1 second' as date,
+ TIMESTAMP 'epoch' + date * INTERVAL '1 second' as date,
size
- from archive_backup_parts a
- join archive on archive_id = archive.id
+ from archive_backup_parts
where dvd_nr = ?
+ order by backup_part_id
});
$sth->execute( $dvd_nr );
$cont .= '<table border=1>';