DP 900T00A ENU PowerPoint - 02
DP 900T00A ENU PowerPoint - 02
fundamentals of
relational data in Azure
2 Define normalization.
Order LineItem
OrderNo OrderDate Customer OrderNo ItemNo ProductID Quantity
1000 1 123 1
1000 1/1/2022 1
1000 2 201 2
1001 1/1/2022 2 1001 1 123 2
CREATE TABLE Product GRANT SELECT, INSERT, UPDATE SELECT Name, Price
( ON Product FROM Product
ProductID INT PRIMARY KEY, TO user1; WHERE Price > 2.50
Name VARCHAR(20) NOT NULL, ORDER BY Price;
Price DECIMAL NULL
);
Product
ID Name Price Name Price
Product
123 Hammer 2.99 Hammer 2.99
ID Name Price
162 Screwdriver 3.49 Screwdriver 3.49
201 Wrench 4.25 Wrench 4.25
3 What is an index?
⃣A structure that enables queries to locate rows in a table quickly
⃣A virtual table based on the results of a query
⃣A pre-defined SQL statement that modifies data
3 What is an index?
⃣A structure that enables queries to locate rows in a table quickly
⃣A virtual table based on the results of a query
⃣A pre-defined SQL statement that modifies data
• Guaranteed compatibility to SQL • Near 100% compatibility with SQL • Core database functionality
Server on premises Server on-premises compatibility with SQL Server
• Customer manages everything – • Automatic backups, software • Automatic backups, software
OS upgrades, software upgrades, patching, database monitoring, patching, database monitoring,
backups, replication and other maintenance tasks and other maintenance tasks
• Pay for the server VM running • Use a single instance with • Single database or elastic pool to
costs and software licensing, not multiple databases, or multiple dynamically share resources
per database instances in a pool with shared across multiple databases
• Great for hybrid cloud or resources • Great for new, cloud-based
migrating complex on-premises • Great for migrating most on- applications
database configurations premises databases to the cloud
IaaS PaaS
© Copyright Microsoft Corporation. All rights reserved.
Azure Database services for open-source
Azure managed solutions for common open-source RDBMSs
PaaS
3 Which database service is the simplest option for migrating a LAMP application to Azure?
⃣Azure SQL Managed Instance
⃣Azure Database for MySQL
⃣Azure Database for PostgreSQL
3 Which database service is the simplest option for migrating a LAMP application to Azure?
⃣Azure SQL Managed Instance
⃣Azure Database for MySQL
⃣Azure Database for PostgreSQL