Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VAOVB-0006rQ-7A for pgsql-general@arkaria.postgresql.org; Fri, 16 Aug 2013 18:11:57 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VAOVA-0001Kt-Kb for pgsql-general@arkaria.postgresql.org; Fri, 16 Aug 2013 18:11:56 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VAOV9-0001KT-2m for pgsql-general@postgresql.org; Fri, 16 Aug 2013 18:11:55 +0000 Received: from hogranch.com ([75.101.82.47]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VAOV6-0002kp-Be for pgsql-general@postgresql.org; Fri, 16 Aug 2013 18:11:54 +0000 Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id r7GIBil03493 for ; Fri, 16 Aug 2013 11:11:44 -0700 Message-ID: <520E6B6B.9060600@hogranch.com> Date: Fri, 16 Aug 2013 11:11:55 -0700 From: John R Pierce User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: pgsql-general@postgresql.org Subject: Re: need help References: <1376058047506-5766954.post@n5.nabble.com> <1376660155863-5767611.post@n5.nabble.com> In-Reply-To: <1376660155863-5767611.post@n5.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org On 8/16/2013 6:35 AM, Basavaraj wrote: > finally the result shoule be > > name| address|email|mobileNo|firstname|lastName| > -------------------------------------------------- > abc some1 mail1 1234564 def xyz > > 5 records | 10 records > > | First, a table is an unordered SET of tuples(rows). it only has an order when one is applied to it. so which rows of table 1 would go with what rows of table 2? Second, if that 2nd table has 10 records and the first table only has 5, what would those other 5 look like in your example? no answer I can think of makes sense. all rows of a recordset have to have the same fields. If this data is unrelated, then it does not belong together in a relation. -- john r pierce 37N 122W somewhere on the middle of the left coast -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general