简体   繁体   English

SQL查询删除顶行和第一列

[英]SQL Query To Delete the Top Rows and 1st column

Need Help I am trying to write a query to delete the first top row and the whole first column, kindly note that my first row and first column is null and i am struggling to write a query to delete my first null row and first null column需要帮助我正在尝试编写一个查询来删除第一行和整个第一列,请注意我的第一行和第一列是空的,我正在努力编写一个查询来删除我的第一个空行和第一个空列

select * from MyTable
Delete 
From MyTable where F1 =1 and F1 =1

You can't delete a column with a DELETE command.您不能使用 DELETE 命令删除列。 You will need to ALTER the table to delete the column.您将需要更改表以删除列。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM