review queries syntax