You can do a lot more than just performing simple queries on the SQL database. Let's follow these steps to learn how:
- We need to add a few tables to our database before we can dive into the programming part. Open your web browser and access phpMyAdmin. We need several tables for this example to work:
- I will show you the structure of each of the tables required for this project and the dummy data inserted into the tables for testing. The first table is called branch, which is used to store the IDs and names of different branches of the dummy company:
- Secondly, we have the department table, which stores the IDs and names ...