As a security analyst in training, I’ve learned how important it is to analyze data from a database to uncover specific, security-relevant details. Often, the information I need depends on more than one condition.
In this lab, I practiced using SQL filters to retrieve information that matched multiple conditions. I also learned how to filter out results that didn’t meet a particular condition.
Specifically, I used the AND
, OR
, and NOT
operators to construct complex SQL queries and fine-tune my search for data.
During this lab, I was tasked with retrieving detailed information about employees, their machines, and departmental affiliations from the organization’s database. This information was critical for identifying potential security issues and planning updates.
Here’s what I accomplished:
This lab gave me hands-on experience writing SQL queries that handle complex filtering conditions. Specifically, I learned how to:
AND
, OR
, and NOT
to build logic into my queries, andThese skills will be essential as I continue working with SQL to support cybersecurity investigations and reporting.