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の専門家ではありません。MySqlにデータベースがあります。あるテーブルの行を削除するときに、別のテーブルの主キーで追加したい。削除クエリを実行する前に、その主キーをテーブルから取得し、アプリケーション レベルから別のテーブルに挿入することができます。しかし、私はデータベースレベルからそれをしたい. どうすればこれを達成できますか?