Introduction to SQL
Gain a solid working knowledge of the most powerful and widely used database programming language. This course will provide you the skills to write SQL queries to create tables, retrieve data from single or multiple tables, manipulate data in a database, and gather statistics from data stored in a database.
Learn the key concepts of SQL (Structured Query Language) the powerful and standard database management query language for relational databases.
SQL (Structured Query Language) is one of the best programming languages for beginning web developers to learn. This course will teach you the basics of designing and writing SQL queries to execute on a practice database. Using a SQL Server Express, you'll learn several real-world applications for SQL so you can put this valuable skill set on your resume.
What you will learn
- Use SQL to develop a relational database
- Design table and row structures that fulfill your requirements
- Write efficient SQL queries to find and organize data
- Write SQL queries to retrieve data from multiple tables
- Create updates for a secure, high-performance database
How you will benefit
- Gain confidence in your SQL ability, the standard database query language
- Open the door to opportunities as you list basic SQL programming as a skill on your resume
- Develop a new skill and learn whether or not you would like a career in IT
Introduction to Database Design and SQL
In this introductory lesson, you will examine database terms and concepts. Understanding the purpose of a database is foundational to writing efficient SQL queries that retrieve the right data.
In this lesson, you will install SQL Server Express and the SQL Server Management Studio to use throughout the course in your learn-by-doing practices. You will use SQL code to create one of the tables for the practice database in SQL Server.
Retrieving Data Result-Sets
SQL queries are the statements used to retrieve data from the database. Queries are written in a specific, logical order. In this lesson, you will explore various ways to write SQL queries to retrieve data that meet defined criteria.
SQL queries are defined and written to retrieve data in a certain order. Queries are also written to limit columns and to filter data rows. In this lesson, you will practice writing queries that meet defined criteria and retrieve the expected result-sets.
Designing SQL Data Tables
This lesson is about designing SQL data tables for a database. You will explore the relationship concept and how it is used in an RDBMS. You will define tables that are structured according to RDBMS standards. You will also create the tables to add to your practice database.
Designing Data Rows
In this lesson, you will add data to your newly defined tables. You will explore several methods of adding data to a table and practice writing and executing these query statements. After adding several individual rows to the tables, you will use a SQL query to populate your tables with enough data rows to use in the learn-by-doing practices in this course.
Getting Data From Two Tables
SQL JOIN statements are used to retrieve data from more than one table. In this lesson, you will practice writing JOIN statements that retrieve data from tables that have a relationship between their PKs and FKs.
Retrieving Data From Multiple Tables
In this lesson, you will continue writing JOIN statements that retrieve data result-sets from more than one table. You will also examine how and when to use SQL subquery statements to retrieve data from multiple tables. You will practice defining and writing JOIN and subquery queries.
Keeping the Database Up to Date
The quality of the data in the database depends on its integrity, including the concepts of data accuracy and consistency. In this lesson, you will explore writing queries to maintain the database so that it is up to date with data that is accurate, consistent, and has integrity.
In this lesson, you will examine the concept of aggregate functions and how they are used in query statements to examine multiple rows. Aggregate functions are a method of retrieving summarized data that is useful for analysis.
SQL views are an important concept in database design and in using databases. In this lesson, you will explore designing and writing queries to create views. You will also explore the reason they are valuable for database security and database access.
Maximize Database Integrity and Performance
Constraints are one way to maximize the integrity of the database and minimize the opportunity for user error. Indexes are used for increasing the performance of a data query. In this lesson, you will explore both these concepts.
There are no prerequisites to take this course.