final sql deleted