Delete specific values from column with where condition?

前端 未结 5 974
予麋鹿
予麋鹿 2021-02-05 02:37

I want to delete specific values/data from one column with the WHERE condition. Putting in another way, I don\'t want to delete the complete row. Is it possible?

5条回答
  •  一生所求
    2021-02-05 02:48

    You don't want to delete if you're wanting to leave the row itself intact. You want to update the row, and change the column value.

    The general form for this would be an UPDATE statement:

    UPDATE 
    SET
        ColumnA = 
    WHERE
        ColumnA =  /* or any other search conditions */
    
        

    提交回复
    热议问题