tbl_p为一个Maxcompute的分区表,包含一个p1=’1’的分区,现在想把该分区上的数据删除,达到使用select*fromtblwherepi=’1’查询时,返回结果为空的目的。以下()SQL可以实现该功能。

A.truncatetabletbl B.altertabletbldroppartition(p1=’1’) C.insertintotabletblselect*frontblwhere1=2 D.deletefromtabletbl

时间:2024-05-06 17:52:47

相似题目