X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id C5AC1D1B515 for ; Wed, 15 Oct 2003 00:51:49 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 27708-07 for ; Tue, 14 Oct 2003 21:51:22 -0300 (ADT) Received: from smtp-1.indo.net.id (smtp-1.indo.net.id [202.159.32.91]) by svr1.postgresql.org (Postfix) with SMTP id 539E9D1B4FC for ; Tue, 14 Oct 2003 21:51:15 -0300 (ADT) Received: (qmail 11010 invoked from network); 15 Oct 2003 07:51:00 +0700 Received: from smtp.indo.net.id (202.159.32.81) by smtp-1.indo.net.id with SMTP; 15 Oct 2003 07:51:00 +0700 Received: (qmail 3918 invoked from network); 15 Oct 2003 00:48:36 -0000 Received: from unknown (HELO pop.makassar.indo.net.id) (202.159.23.19) by smtp.indo.net.id with SMTP; 15 Oct 2003 00:48:36 -0000 Received: FROM middinkcomp BY pop.makassar.indo.net.id ; Wed Oct 15 08:59:53 2003 +0700 Message-ID: <009401c392b7$e5fefe30$1f00a8c0@middinkcomp> From: "Muhyiddin A.M Hayat" To: Subject: Create View Date: Wed, 15 Oct 2003 09:01:42 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0091_01C392FA.F39344A0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.1 tagged_above=0.0 required=5.0 tests=HTML_60_70 X-Spam-Level: X-Archive-Number: 200310/166 X-Sequence-Number: 15566 This is a multi-part message in MIME format. ------=_NextPart_000_0091_01C392FA.F39344A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Dear all, I Have This table Table Billing: id trx_date trx_time depart payment_method = billing_amount amount_paid balance creator 1 10/09/2003 21:55:02 Resto Visa = 13.800,00 10.000,00 3.800,00 middink Table Payment id r trx_date trx_time descriptions payment_metho= d amount creator 1 10/08/2003 18:17:40 Payment Cash = 2.000,00 middink I would like to create "View " from above table with result look like: trx_date trx_time descriptions = payment_method debet cre= dit balance creator 10/09/2003 21:55:02 Resto Billing 13.800,00 Paid: 10.000,00 = Visa 3.800,00 = 3.800,00 middink 10/08/2003 18:17:40 Payment = Cash = 2.000,00 1.800,00 middink How can I create View like above? ------=_NextPart_000_0091_01C392FA.F39344A0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Dear all,
 
I Have This table
 
 
Table Billing:
 
       = =20 id      =20 trx_date       trx_time   = ;  depart       payment_method=    =20 billing_amount    amount_paid    =20 balance       creator
  &nb= sp;     =20 1      10/09/2003 =20 21:55:02   Resto       = =20 Visa            = ;            &n= bsp;  13.800,00        &n= bsp;       =20 10.000,00      =20 3.800,00       middink
Table Payment
 
       = id=20 r   trx_date       =20 trx_time        descriptions &= nbsp;=20 payment_method   amount     =20 creator
        =20 1     10/08/2003  18:17:40  &n= bsp;   Payment       &nbs= p;  Cash         &nb= sp;            =    2.000,00     middink
 
 
I would like to create "View " from above = table=20 with result look like:
 
 
       =  =20 trx_date       trx_time   = ;  descriptions=20             &nb= sp;            =  =20             &nb= sp;            =        =20 payment_method   debet      &n= bsp;        credit   = ;          balance &= nbsp;       creator
        =20 10/09/2003 =20 21:55:02   Resto  Billing  13.800,00 Pai= d:=20 10.000,00         Visa &n= bsp;            = ;            3.= 800,00           &nb= sp;            =        3.800,00    &= nbsp;    middink
        =20 10/08/2003  18:17:40    Payment  &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;=20 Cash            = ;            &n= bsp;  =20                = =20    =20 2.000,00       1.800,00   = ;      =20 middink
 
 
How can I create View like above?
------=_NextPart_000_0091_01C392FA.F39344A0--