0
如果有SELECT
聲明旨在利用現有列,並把它分成兩個新:複製選擇數據到列同表
SELECT IIf(InStr(1,[First Name]," ")>0,Left([First Name],InStr(1,[First Name]," ")),[First Name]) AS Fname,
IIf(InStr(1,[First Name]," ")>0,Mid([First Name],InStr(1,[First Name]," ")+1),NULL) AS Mname
FROM Pupils;
我已經添加了列FNAME和Mname到桌上。如何將從SELECT
返回的數據複製到同一張表的新列中?