accessæ°æ®åºå é¤åéæ°èªå¨ç¼å·çæ¹å¼å¦ä¸ï¼
1ãå建ç«ä¸ä¸ªä¸é¨ç¨æ¥åæ¾è®°å½å·çå段ï¼æ¯å¦ RecordNoï¼ æ·»å è®°å½æ¶å¯ä»¥ç¨ MAX(recordNO)+1 çæ¹æ³ãå½è¦å é¤ææ¡è®°å½æ¶ï¼æ¯å¦è¿æ¡è®°å½çrecordNo=6ï¼æ们ç¨
delete from table where recordNo=62ãå¨è¡¨ä¸ä¸åæ¾è®°å½å·çæ°æ®ï¼ç¨sqlæ¥è¯¢èªå¨çæ
select [id],a,b,c,(select count(*) from table table2 where table2.[id]<=table1.[id]) as recordno from table table1 order by [id]å ¶ä¸ [id] å段为èªå¨ç¼å·å段