Re: Help for construct Query

Поиск
Список
Период
Сортировка
От Chris Boget
Тема Re: Help for construct Query
Дата
Msg-id 014e01c3b044$63fd1160$8c01a8c0@ENTROPY
обсуждение исходный текст
Ответ на Help for construct Query  ("Viaris hotmail" <viaris@hotmail.com>)
Список pgsql-novice
> I have the following two tables, the table correo have the messages send
> using the mail, the other table web have the message send using web.
[snip]
> But I need have only one query for both tables, I was trying but I can't,
> how can I do it?

Have you looked into UNION?

Also, are the tables indentical in all but name?  If so, perhaps consolidating
the two tables and add a field to be used to distinguish between the two types
of messages?

Chris


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

Предыдущее
От: "Viaris hotmail"
Дата:
Сообщение: Help for construct Query
Следующее
От: "Viaris hotmail"
Дата:
Сообщение: Re: Help for construct Query