Selecting from two unrelated tables

Поиск
Список
Период
Сортировка
От CSN
Тема Selecting from two unrelated tables
Дата
Msg-id 20060920194900.54683.qmail@web52904.mail.yahoo.com
обсуждение исходный текст
Ответы Re: Selecting from two unrelated tables  (Bricklen Anderson <banderson@presinet.com>)
Re: Selecting from two unrelated tables  (John Sidney-Woollett <johnsw@wardbrook.com>)
Список pgsql-general
I have two tables:

items: id, title, added, ...
news: id, headline, datetime, ...

I'd like to select the latest 25 combined records from both tables. Is there a way to do this
using just select?

Thanks,
csn

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Problems converting between C string and Datum
Следующее
От: Bricklen Anderson
Дата:
Сообщение: Re: Selecting from two unrelated tables