WITH cte AS
(
SELECT ROW_NUMBER() OVER(PARTITION by ID ORDER BY name) AS Row
FROM test
)
DELETE FROM cte
WHERE Row > 1
WITH cte AS
(
SELECT ROW_NUMBER() OVER(PARTITION by ID ORDER BY name) AS Row
FROM test
)
DELETE FROM cte
WHERE Row > 1
Gunakan Excel 2010 untuk membaca/menulis ke database SQL Server 2008 menggunakan prosedur tersimpan
Jenis variabel tak terduga yang dikembalikan oleh Receive-Job
Kesalahan SQL 2008 VS 2012:Sintaks salah di dekat kata kunci 'COMPUTE'
Dapatkan skema kolom tabel SQL dengan Tipe Data dan Panjang Maks dalam nilai angka
Sql Suka ke RegEx