[GRASS-user] Re-ordering columns in an attribute table

Rich Shepard rshepard at appl-ecosys.com
Sat Apr 7 10:00:45 EDT 2012


On Sat, 7 Apr 2012, RichardC wrote:

> Is there a command in GRASS to enable re-ordering of columns in an attribute
> table.

Richard,

   In what format are your data? SQL does not care about column order (except
when inserting values in a table), nor does it care about row order. SQL is
a set-oriented language, not a procedural one. When you do a SELECT, for
example, the result is a table; if you want the rows in a certain sequence
then you need to use ORDER BY.

   Germane to your question, you should be able to select rows using column
names from two tables (even if the names are different) as long as the
values in those two columns are the same.

Rich



More information about the grass-user mailing list