coba

SELECT A.NAMA 
FROM PEGAWAI A LEFT JOIN ACCOUNT B 
AND B.PGW_ID IS NULL;



----- Original Message ----- 
From: "Kris Lie" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, September 23, 2005 2:35 AM
Subject: [indo-oracle] Query 2 tabel


> hi,
> g lg binggung.
> g puya 2 tabel
> PEGAWAI =>PGW_ID,NAMA,ALAMAT
> ACCOUNT =>ID,PASS,PGW_ID,STATUS;
> 
> kedua tabel dihubungkan oleh field PGW_ID.
> trus g ingin menampilkan  di pop list, nama pegawai yang belum 
> memiliki account. kira2 query nya gimana yah?
> 
> g coba dengan query :
> SELECT A.NAMA FROM PEGAWAI A,ACCOUNT B WHERE NOT (A.PGW_ID = B.PGW_ID);
> tapi hasilnya ngaco. pake cara non equijoin(<>) juga gagal.
> 
> please
> 
> 
> 
> 
> 
> 
> 
> --
> -----------I.N.D.O - O.R.A.C.L.E---------------
> Keluar: [EMAIL PROTECTED]
> Website: http://indo-oracle.lizt.org (NEW)
> -----------------------------------------------
> 
> Bergabung dengan Indonesia Thin Client User Groups, 
> Terminal Server, Citrix, New Moon Caneveral, di:
> http://indo-thin.vze.com 
> Yahoo! Groups Links
> 
> 
> 
>  
>



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/PhFolB/TM
--------------------------------------------------------------------~-> 

--
-----------I.N.D.O - O.R.A.C.L.E---------------
Keluar: [EMAIL PROTECTED]
Website: http://indo-oracle.lizt.org (NEW)
-----------------------------------------------

Bergabung dengan Indonesia Thin Client User Groups, 
Terminal Server, Citrix, New Moon Caneveral, di:
http://indo-thin.vze.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/indo-oracle/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Kirim email ke