WGU C170 DATABASE MANAGEMENT APPLICATIONS LABS
WGU C170 DATABASE MANAGEMENT APPLICATIONS LABS. LAB 3 - CREATE MYSQL CONNECTION You are required to take the following steps to accomplish the task: 1. On the MySQL Workbench Home window, click the [+] icon next to MySQL Connections. This opens the Setup New Connection wizard. 2. Define the Connection Name value as MyFirstConnection. 3. Ensure that Connection Method is set as Standard (TCP/IP). 4. Click the OK button to create the new MySQL connection. LAB 4 - CREATE DB ‘NAME’ You are required to take the following steps to accomplish the task: 1. Go to the Database menu. 2. Select Connect to Database. 3. Ensure that Stored Connection is set as Myconnection. 4. Ensure that Connection Method is set as Standard (TCP/IP). 5. Click the OK button. 6. Write the following query on the SQL Editor window: CREATE DATABASE PizzaOrderingDB; 7. Click the Execute button on the top of the SQL Editor window to execute the query. WGU C170 LAB 5 – CREATE A NEW MODEL (SCHEMA) Physical Schema rename to pizzaorderingdb WGU C170 CREATE TABLE Pizza ( PizzaID INT(11) NOT NULL AUTO_INCREMENT PRIMARY KEY, PizzaName VARCHAR(50) NOT NULL, You are required to take the following steps to accomplish the task: 1. Click File New Model. A model can contain multiple schemata. Note that when you create a new model, it contains the mydb schema by default. 2. On the Physical Schemas toolbar, click the Add button to add a new schema. 3. In the tabsheet, change the name of the schema to pizzaorderingdb. Ensure that this change is reflected on the Physical Schemata tab. LAB 6 – CREATE AN ER DIAGRAM You are required to take the following steps to accomplish the task: 1. Go to the File menu. 2. Select the Open Model option. 3. Choose model and click the Open button. 4. Go to the Model menu. 5. Select the Create Diagram from Catalog Objects option. 6. Select 1:n Non-Identifying relationship . 7. Select the PizzaOrder table and then select the Customer table to add a foreign key between them. 8. Select 1:n Non-Identifying relationship . 9. Select the PizzaOrder table and then select the Pizza table to add a foreign key between them. LAB 7 – CREATE TABLES IN MYSQL WORKBENCH ENVIRONMENT You are required to take the following steps to accomplish the task
Escuela, estudio y materia
Información del documento
- Subido en
- 18 de febrero de 2023
- Número de páginas
- 10
- Escrito en
- 2022/2023
- Tipo
- Examen
- Contiene
- Preguntas y respuestas
Documento también disponible en un lote