Welcome to the SQL section of my portfolio. Here, you can explore various SQL queries that interact with the underlying database for this site. Each query is designed to showcase different aspects of SQL, including data retrieval, updates, and analysis.
Select a query below to view the details and see how it functions:
Min & Max Salaries Number of Employees Marketing Employees Number of Jobs Department Name Unique First Names FirstThreeCharactersWrite a query to get the maximum and minimum salary from the employees
table (in that order).
SELECT CONCAT('$', format(MIN(SALARY), 'C2')) AS 'Minimum Salary', CONCAT('$', format(MAX(SALARY), 'C2')) AS 'Maximum Salary' FROM employees;
| Minimum Salary | Maximum Salary |
|---|---|
| $2,100 | $24,000 |