sql - Delete one row from same rows -
I have a table t (first, second) column. I have two lines before = 1 and second = 2. I just want to delete one line, how do I do this?
; With CTE (remove your tablet from Top 1 * where first = 1 and second = 2) with CTE; Or if SQL Server 2000
Remove T (Select Top 1 * from your tablet where [first] = 1 and [seconds] = 2) ; Then add a primary key.
Comments
Post a Comment