ERROR: column "gid" specified more than once

Поиск
Список
Период
Сортировка
От BahramPSQL
Тема ERROR: column "gid" specified more than once
Дата
Msg-id 1431419471426-5848845.post@n5.nabble.com
обсуждение исходный текст
Ответы Re: ERROR: column "gid" specified more than once  ("David G. Johnston" <david.g.johnston@gmail.com>)
Re: ERROR: column "gid" specified more than once  (Jason Aleski <jason.aleski@gmail.com>)
Список pgsql-sql
I want to run a spatial query from two table!

CREATE TABLE "BorujerdDistCent" as
SELECT  *, st_distance(st_centroid("Lorestan".geometry),"Borujerd".geometry)/1000
as DistFromCntroid
FROM "Borujerd", "Lorestan"
Where "Lorestan"."Shahrestan" = 'بروجرد'
ORDER BY "Borujerd".abady_name ASC

But i will see this error!
ERROR:  column "gid" specified more than once
********** Error **********

ERROR: column "gid" specified more than once
SQL state: 42701



--
View this message in context: http://postgresql.nabble.com/ERROR-column-gid-specified-more-than-once-tp5848845.html
Sent from the PostgreSQL - sql mailing list archive at Nabble.com.



В списке pgsql-sql по дате отправления:

Предыдущее
От: Andreas Joseph Krogh
Дата:
Сообщение: Re: generating json without nulls
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: ERROR: column "gid" specified more than once