misal tabel nya: TABLE_T, nama kolom yang mau di cari duplikasi nya KOLOM_K, query ini jalan di MS SQL Server 2000, mungkin di access jalan juga (tapi mungkin di oracle tidak, SQL itu kan standard yang tidak terlalu standard :-)
SELECT KOLOM_K, COUNT(KOLOM_K) as JUMLAH_DUPLIKASI FROM TABLE_T GROUP BY KOLOM_K HAVING (KOLOM_K) > 1 keyword nya ada di having. kalau query non agregat memakai WHERE, query dengan fungsi agregate mesti memakai having salam tri --- In ITCENTER@yahoogroups.com, "Pieter" <[EMAIL PROTECTED]> wrote: > Dear IT'ers semua, > > Maaf kalo sudah pernah ditanyakan sebelumnya. > Mungkin rekan2 ada yg tau bagaimana caranya mencari data yg duplicate > didalam satu field? > Kalo mo nyari satu persatu kayanya kebanyakan recordnya > 30000. > Mungkin dengan query?? [maklum gak terlalu ngerti masalah database] > Program pake Access 2000. > TIA > > Regards, > Pieter -- www.itcenter.or.id - Komunitas Teknologi Informasi Indonesia Info, Gabung, Keluar, Mode Kirim : [EMAIL PROTECTED] ::: Hapus bagian yang tidak perlu (footer, dst) saat reply! ::: ## Jobs: itcenter.or.id/jobs ## Bursa: itcenter.or.id/bursa ## $$ Iklan/promosi : www.itcenter.or.id/sponsorship $$ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/ITCENTER/ <*> 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/