update second_transaction set status='deleted' where ticket = 'T26-4 ' and status='' and financialyear='2025-2026'SELECT id FROM second_transaction WHERE einvoice_generated = 0 and financialyear='2025-2026' and status='' ORDER BY id ASC