You can't do a for loop in an SQL editor without a stored procedure. I use MySQL Workbench to make this. A quick stored procedure should do the job:
確定! 回上一頁