added other useful sql queries