Welcome to Divex Consult!
Introduction to SQL
Creating Records
SQL Syntax
Aggregation and Grouping Functions in SQL
Types of Keys and Joins in SQL
SQL Practices and Concepts
Mentorship with Elizabeth
SQL 3 – Assignment
PRACTICE QUESTIONS FOR SUB-MODULE 3
Instructions for Practice Questions
To effectively practice SQL joins, use the provided dataset, which includes the following tables:
- Customers (customer details)
- Orders (order transactions)
- Products (electronic product details)
Your Task:
- Use SQL queries to answer each practice question.
- Write and execute your SQL code using Microsoft SQL Server or any preferred SQL environment.
- Ensure your queries retrieve the correct data based on the given scenarios.
- If needed, modify or expand your queries to explore additional insights.
Reminder: Always reference the dataset structure to correctly use column names in your queries.
Happy Querying!
QUESTIONS
These questions use the dataset to help learners apply what they’ve learned.
- Retrieve the first name, last name, and city of all customers who live in Los Angeles.
- Find all products that cost between $300 and $1000.
- Retrieve all customers whose email contains “yahoo” anywhere in the address.
EXTRACT THE SCRIPT OF YOUR QUERY AND UPLOAD.