插入行号:
select (@rowid:=@rowid+1) as rowNo,table.* from table,(select (@rowid:=0)) as b
删除表数据:
delete from 表名;
truncate table 表名;