Misalkan saya punya table : - test1 - test2 - test3 - tabkosong Tabel test1, test2, dan test3 mempunya kolom sbb: USER_ID USERNAME DEFAULT_TABLESPACE
Tabel tabkosong mempunyai kolom sbb: RESUME_USERNAME RESUME_DEFAULT_TABLESPACE Contoh sql untuk insert ke tabkosong: insert into tabkosong (RESUME_USERNAME,RESUME_DEFAULT_TABLESPACE) select a.USERNAME, b.DEFAULT_TABLESPACE from test1 a, test2 b, test3 c where a.USER_ID=b.USER_ID and b.USER_ID=c.USER_ID; Salam, Rohmad http://rohmad.net --- In indo-oracle@yahoogroups.com, david wahyudi <[EMAIL PROTECTED]> wrote: > > ada yang pernah insert table kosong dgn hasil perintah join dari 3 tabel gak? > jadi gini aku buat tabel kosong dan mau kumasukkin data. > nah...datanya itu sama dengan hasil dari query join dari 3 tabel... > > ada yg tau sintaks sql-nya? > > > > > > ____________________________________________________________________________________ > Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > > [Non-text portions of this message have been removed] >