Students will learn advanced queries and how to add, update, and delete data, tables, views, and indexes.
SQL Fundamentals of Querying or equivalent knowledge.
Students will learn how to change, update and manipulate an SQL database.
Students should already understand the basics of querying a database with the SQL command language. They should be comfortable issuing SELECT queries against one or more tables and understand query concepts, such as joins.
Querying with unions and advanced joins
- Querying multiple tables with unions
- Advanced Joins
- Calculating with COMPUTE
Querying with subqueries
- Inserting data
- SELECT INTO
Updating and removing data
- Updating records
- Deleting records
- Deleting the contents of tables
Manipulating tables and views
- Creating tables
- Modifying tables
- Deleting tables
- Adding and removing views
- Adding and removing indexes
Ensuring data integrity with transactions
- Creating a database with SQL
- Deleting a database