SELECT * FROM scans ORDER BY scan_id