-1
我有表的列表:獲取SQL最大插入日期使用連接
select tableList
from information_schema.tables
每個表都有一個插入日期。我想每個表中的最大值(insertdate),並把插入日期就在旁邊,如:
Column1 Column2
table1 MaxInsertDateTable1
table2 MaxInsertDateTable2
table3 MaxInsertDateTable3
table4 MaxInsertDateTable4
有沒有辦法做到這一點?我使用的是MPP數據庫: