if else query help

Поиск
Список
Период
Сортировка
От Brian C. Doyle
Тема if else query help
Дата
Msg-id 5.0.0.25.2.20001012094914.081abeb0@pop.mindspring.com
обсуждение исходный текст
Ответы Re: if else query help  (Jean-Christophe Boggio <cat@thefreecat.org>)
Список pgsql-sql
Hello all,

I need to write a query that will pull information from table2 if 
information in table1 is older then xdate.

My laymen example:

SELECT table2.date, count(table2.name) as count
WHERE table1.startdate > 2 weeks
AND table2.submitdate > 2 weeks
;

So i Guess my real questions is how do I determine the age of an entry to 
another table?





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

Предыдущее
От:
Дата:
Сообщение: set digest
Следующее
От: Mark Volpe
Дата:
Сообщение: Re: dynamic object creation