removed db name from query