Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想根据另一列的条件删除一列的行。例如:
DELETE FROM table_name column_name WHERE another_column_name='some value';
如果您的意思是“删除列”,您可以将其设置为null:
null
UPDATE table_name SET column_name = null WHERE another_column_name = 'some value'