Bagi pengguna database atau programmer, kadang kita di pusingkan data2 yang double di database kita,
Kalau datanya cuman 10 record sih tidak masalah, bagaimana kalau data anda mencapai ribuan, ratusan ribu? Atau bahkan jutaan.
Tentu akan sangat merepotkan bukan?
Ok, kira2 syntax sqlnya akan seperti ini:
Select kolom1,kolom2,count(*)
From table1 group by kolom1,kolom2
Having count(*) >1
SQL: mencari record yang double di database
You May Also Like
Father Paolo Benanti: Finding the heart and soul of AI
October 5, 2024
Satya Nadella: Earning the skeptics’ trust
October 5, 2024
More From Author
Apple’s Next New iPhone to Debut in the Spring: What to Expect
October 2, 2024
iPhone 16: Edit Spatial Audio in Videos With Audio Mix
October 2, 2024
AirPods Pro 3: Everything We Know So Far
October 2, 2024
+ There are no comments
Add yours