[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Pkg-grass-general] GRASS: how to learn the database language?



On Tue, Dec 07, 2004 at 02:46:37AM +0800, Dan Jacobson wrote:
> In GRASS I saw an example and was able to do it:
> $ echo "select * from largeB" | db.select
> What Debian package should I download to learn about this language?
> At this point all I can do is grope in the dark:
> $ echo "select 2 from largeB" | db.select #fails
> 

You need a SQL tutorial. Every DBMS has its own language reference
for that. So, postgresql-doc or pgdoc packages are a starting point.
BTW '2' has no sense, you should use a comma separated list of
column names.

-- 
Francesco P. Lovergine



Reply to: