[GRASSLIST:1568] Re: problems with using d.rast.pg

anlu999@yahoo.com said:

then i try to use:
  d.rast.pg -s sql=f input=rd_map output=new_map
with f:
  retrieve unique (color_map002.sect_id,
color_map003.sect_id) where color_map003.color="green"

getting the error info. : parse error at or near "retieve".

could anyone tell me how to fix it?

Try using 'select' instead of 'retrieve'.

Moritz