我有一個表被劃分的基於時間戳(如partition1
將有9個月大的數據,partition2
有6個月的數據,partition3
有3個月的數據等)我們可以從<tab>分區<part.>有刪除where子句嗎?
我需要根據刪除數據條件在特定分區上。
delete from table1 partition partition3
where group id in (select * from table1 where group_code='pilot');
此操作只會從partiton3
刪除嗎?