| От | Chad Thompson |
|---|---|
| Тема | Re: A and C not B |
| Дата | |
| Msg-id | 012d01c259e6$61533b70$32021aac@chad обсуждение |
| Ответ на | A and C not B ("Chad Thompson" <chad@weblinkservices.com>) |
| Список | pgsql-novice |
----- Original Message -----From: Reshat SabiqTo: Chad ThompsonSent: Wednesday, September 11, 2002 4:45 PMSubject: Re: [NOVICE] A and C not Bselect * from x where y in('A', 'B');
Thats not quite what i want. Finding A and B are easy as they are in the table. Finding C is easy because it is not. But if i want one list of B and C, thats a little harder. Meaning B which is listed in the table as type B, and C which is not in the table at all.I believe I will need something likeselect * from lists l, tiers twhere l.number = t.numberand t.tier = Bor t.tier <> AThis example obviously doesnt work but maybe it gives a better explanation of what i am looking for.ThanksChad
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера