life saving SQL queries

life saving SQL queries