add usefull sql query