Hayden Eubanks

Computer Science: Cybersecurity

SQL Queries | Hayden Eubanks Portfolio
See Database Tables

SQL Queries Overview

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 FirstThreeCharacters

Database Tables

Select a table below to view its contents

Employees Countries Departments Job History Jobs Locations Regions

Query to return each table

SELECT * FROM departments

DEPARTMENT_IDDEPARTMENT_NAMEMANAGER_IDLOCATION_ID
10Administration2001700
20Marketing2011800
30Purchasing1141700
40Human Resources2032400
50Shipping1211500
60IT1031400
70Public Relations2042700
80Sales1452500
90Executive1001700
100Finance1081700
110Accounting2051700
120Treasury01700
130Corporate Tax01700
140Control And Credit01700
150Shareholder Services01700
160Benefits01700
170Manufacturing01700
180Construction01700
190Contracting01700
200Operations01700
210IT Support01700
220NOC01700
230IT Helpdesk01700
240Government Sales01700
250Retail Sales01700
260Recruiting01700
270Payroll01700
Close Query