Re: Inserting data of two other tables [Now deleting ...]
От | Nabil Sayegh |
---|---|
Тема | Re: Inserting data of two other tables [Now deleting ...] |
Дата | |
Msg-id | 1054128328.1503.4.camel@billy обсуждение исходный текст |
Ответ на | Re: Inserting data of two other tables [Now deleting ...] (papapep <papapep@gmx.net>) |
Ответы |
Re: Inserting data of two other tables [Now deleting ...]
|
Список | pgsql-novice |
Am Mit, 2003-05-28 um 14.52 schrieb papapep: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I've made a try with this: > > SELECT count(journey) from DETALLTRAJECTES where EXISTS (SELECT NULL > from CAPTRAJECTE,DETALLTRAJECTES where pkey=journey and fecha=20030423); > > and it doesn't work properly (at least it doesn't do what I need...) > > In my last mail (this is for Nabil) I made a mistake in what I told you. > The date to filter the rows to remove is in CAPTRAJECTES, and the rows > to remove are in DETALLTRAJECTES. CAPTRAJECTES has a field called "pkey" > and DETALLTRAJECTES another called "journey" that are the join between > the two tables. please send us the output of all involved tables with \d e.g.: \d DETALLTRAJECTES bye -- e-Trolley Sayegh & John, Nabil Sayegh Tel.: 0700 etrolley /// 0700 38765539 Fax.: +49 69 8299381-8 PGP : http://www.e-trolley.de
В списке pgsql-novice по дате отправления: