In this lab, I practiced writing basic SQL queries to retrieve data from a database.
I used the SELECT
and FROM
keywords to pull specific information,
and applied the ORDER BY
clause to sort results by a given column.
These skills are crucial for identifying important data as a security analyst, such as spotting unusual login activity or verifying which machines require updates.
I worked with the organization
database in the MariaDB shell. My tasks included:
machines
table to identify devices that needed updates.login_attempts
table to examine recent login activity.ORDER BY
to sort the output by specific columns for better readability.SELECT
query to extract information from a SQL database.SELECT *
.ORDER BY
clause.This lab helped me build a foundation in querying databases—an essential skill for data analysis and security monitoring.