In the previous article, I gave an introduction to SQL using MySQL database management system. The article laid a…