very simple: How can I multiply tables? - Mailing list pgsql-general

From Mikhail V. Majorov
Subject very simple: How can I multiply tables?
Date
Msg-id 3A8A9ADD.395CD83E@ttn.ru
Whole thread Raw
Responses Re: very simple: How can I multiply tables?
List pgsql-general
Hi, question

How can I multiply tables using SELECT?

Table 1

id     surname
--------------
1    AAA
2    BBB
3    CCC
4    DDD

Table 2

dt
---
12
35

RESULT

id    surname        dt
---------------------------
1    AAA        12
2    BBB        12
3    CCC        12
4    DDD        12
1    AAA        35
2    BBB        35
3    CCC        35
4    DDD        35

pgsql-general by date:

Previous
From: "Poul L. Christiansen"
Date:
Subject: Re: Crash-me of PostgreSQL
Next
From: "Riebs, Andy"
Date:
Subject: RE: Crash-me of PostgreSQL