Search Postgresql Archives

need help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux