Introduction
In this project, you will learn how to access a MySQL database, import data, and perform various SQL queries to retrieve information from the emp
table in the personnel
database.
👀 Preview
![Unfinished](https://file.labex.io/namespace/718bace8-27a3-4200-a588-dde4041ceeb9/mysql/project-comprehensive-challenge-of-this-section/lab-comprehensive-lab-of-this-section/assets/img_1.png)
🎯 Tasks
In this project, you will learn:
- How to start the MySQL service and access the MySQL client using the
sudo
command - How to import data from a SQL script into the MySQL database
- How to write SQL queries to retrieve job information, employee names and doubled salaries, and employee numbers, names, and department numbers from the
emp
table
🏆 Achievements
After completing this project, you will be able to:
- Understand the basic operations of starting and accessing a MySQL database
- Import data from a SQL script into a MySQL database
- Write SQL queries to retrieve specific information from a database table
- Apply SQL concepts such as column selection, aliasing, and data manipulation