need help - Mailing list pgsql-general

From Basavaraj
Subject need help
Date
Msg-id 1376660155863-5767611.post@n5.nabble.com
Whole thread Raw
In response to Here is my problem  (Basavaraj <basava247@gmail.com>)
Responses Re: need help  (John R Pierce <pierce@hogranch.com>)
List pgsql-general
i have two unrelated tables as their is no common column to apply joins or
anything, so i want to join those tables using simple query(only two tables
should be used and no common table) can you pls help me out how to do that.
I am new user to postgres

this is table format

table1                                                 table2

name| address|email|                     mobileNo|firstname|lastName|
----------------------                  ------------------------------
abc    some1   mail1                       1234564|def         |
:                                                 :
:                                                 :
                                                  :
:
:5 records                                  10 records


finally the result shoule be

name| address|email|mobileNo|firstname|lastName|
--------------------------------------------------
abc   some1    mail1   1234564 def          xyz

5 records               |   10 records

                           |

Very thankful for solution............





--
View this message in context: http://postgresql.1045698.n5.nabble.com/Here-is-my-problem-tp5766954p5767611.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


pgsql-general by date:

Previous
From: Guy Helmer
Date:
Subject: Re: SSL connection has been closed unexpectedly
Next
From: bricklen
Date:
Subject: Re: pg_get_triggerdef can't find the trigger using OID.