sql hard question - Mailing list pgsql-sql

From limorr@scepia.com (limlim)
Subject sql hard question
Date
Msg-id 875516e7.0105300341.1ae6545b@posting.google.com
Whole thread Raw
Responses Re: sql hard question
List pgsql-sql
i am trying to build a query in sql that compares between 2 tables one
hold to field and the other hold the 2 fields in one
example:
table1:EN,12
table2:EN.12
how can i compare between the tables throw that field
i try with this query but it doesnt work:

SELECT * FROM dbo.CNT_DOC_LANGS x INNER JOIN dbo.CNT_DOCS2QUEST y ON
(CAST(x.DOC_ID AS varchar) + '.' + RTRIM(x.LANG)) t = y.SRC_ID

please help


pgsql-sql by date:

Previous
From: Thomas Swan
Date:
Subject: Re: Upgd from 7.0 to 7.1
Next
From: Sharmad Naik
Date:
Subject: php-nuke