반응형
$a1 = "DELETE FROM mix2 WHERE idx in (
SELECT * FROM (
SELECT idx FROM mix2 order by idx desc limit 6,100000
) as P
)";
// 6행 이상 쌓이면 데이터 삭제
반응형
$a1 = "DELETE FROM mix2 WHERE idx in (
SELECT * FROM (
SELECT idx FROM mix2 order by idx desc limit 6,100000
) as P
)";
// 6행 이상 쌓이면 데이터 삭제