sql update many rows code example
Example 1: sql count duplicate rows
SELECT _column, COUNT(*)
FROM _table
GROUP BY _column
HAVING COUNT(*) > 1
Example 2: sql update record
SQL> UPDATE CUSTOMERS
SET ADDRESS = 'Pune'
WHERE ID = 6;
SELECT _column, COUNT(*)
FROM _table
GROUP BY _column
HAVING COUNT(*) > 1
SQL> UPDATE CUSTOMERS
SET ADDRESS = 'Pune'
WHERE ID = 6;