Re: NOT and AND problem
| От | Richard Jones |
|---|---|
| Тема | Re: NOT and AND problem |
| Дата | |
| Msg-id | 00db01c34c75$754a6400$5192d781@lib.ed.ac.uk обсуждение |
| Ответ на | Re: Is it possible to connect to another database (Adam Witney <awitney@sghms.ac.uk>) |
| Список | pgsql-sql |
Hello, Just to say thanks for such fast responses. The full working query is indeed as suggested (I cut the demo query down when I posted it, as it's got some awfully long names in it in real life): DELETE FROM eulepersongroup2workspaceitem WHERE NOT EXISTS (SELECT 1 FROM workspaceitem WHERE workspace_item_id = eulepersongroup2workspaceitem.workspace_item_id ) OR NOT EXISTS (SELECT 1 FROM epersongroup WHERE eperson_group_id = eulepersongroup2workspaceitem.eperson_group_id ); Thanks very much for your help. Regards Richard Richard Jones ----------------------- Systems Developer Theses Alive! - www.thesesalive.ac.uk Edinburgh University Library r.d.jones@ed.ac.uk 0131 651 1611
В списке pgsql-sql по дате отправления: