Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
整数フィールドを含む行を含む mysql テーブルがあり、PHP スクリプトから、フィールド値 (整数) が $minimum より小さいテーブル内の行を削除する必要があります- これを達成するにはどうすればよいですか?
使用するだけDELETEです:
DELETE
DELETE FROM my_table WHERE field < ?