Computer Science  >  QUESTIONS & ANSWERS  >  Database managemnt applications. Graded A. 2022/2023 update. (All)

Database managemnt applications. Graded A. 2022/2023 update.

Document Content and Description Below

Normalizing a dataset  Creating an E-R Diagram  Writing CREATE TABLE statements - establishing primary and foreign keys  Establishing relationships between entities with the FOREIGN KEY RE ... FERENCE statement  INSERTING data into tables (including multi-row INSERT statements)  Using the CONCAT function  Using aliases for table names 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. LAB 5 – CREATE A NEW MODEL (SCHEMA) Physical Schema rename to pizzaorderingdb This study source was downloaded by 100000831988016 from CourseHero.com on 05-20-2022 04:22:35 GMT -05:00 https://www.coursehero.com/file/49630109/Database-Management-Applications-Labsdocx/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: 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 TABLE Pizza ( PizzaID INT(11) NOT NULL AUTO_INCREMENT PRIMARY KEY, PizzaName VARCHAR(50) NOT NULL, This study source was downloaded by 100000831988016 from CourseHero.com on 05-20-2022 04:22:35 GMT -05:00 https://www.coursehero.com/file/49630109/Database-Management-Applications-Labsdocx/PizzaDescription VARCHAR(250) NOT NULL, PizzaSize VARCHAR(10) NOT NULL, PizzaPrice DECIMAL(8,2) NOT NULL, PizzaPhotoID VARCHAR(200) NOT NULL ); 7. Click the Execute button on the top of the SQL Editor window to execute the query. LAB 8 – DISPLAY TABLE STRUCTURE IN MYSQL WORKBENCH ENVIRONMENT 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: Describe Customer; Describe Pizza; Describe CustomerPizzaOrder; 7. Click the Execute button on the top of the SQL Editor window to execute the query. Note: In this lab simulation, you need to execute all the queries simultaneously instead of executing them individually. LAB 9 – INSERT DATA INTO A TABLE IN MYSQL WORKBENCH ENVIRONMENT The following steps will allow you to connect to your database remotely to write and execute a query to accomplish the above mentioned 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: This study source was downloaded by 100000831988016 from CourseHero.com on 05-20-2022 04:22:35 GMT -05:00 https://www.coursehero.com/file/49630109/Database-Management-Applications-Labsdocx/INSERT INTO Customer (LastName, FirstName, Street, Apt, City, State, Zip, HomePhone, MobilePhone, OtherPhone) VALUES ('Pitt', 'Brad', '1 Paris Lane', NULL, 'Hollywood', 'CA', '11111', '111-111-1111', '111-111-1112', '111-111-1113'); INSERT INTO Pizza (PizzaName, PizzaDescription, PizzaSize, PizzaPrice, PizzaPhotoID) VALUES ('Meat Lovers','Pizza with three meats: pepperoni, sausage, and bacon.','Small',8.00,'www.pizzaphotos.com/pizza1S.jpg'); INSERT INTO CustomerPizzaOrder (CustomerI [Show More]

Last updated: 3 years ago

Preview 1 out of 8 pages

Buy Now

Instant download

We Accept:

Payment methods accepted on Scholarfriends (We Accept)
Preview image of Database managemnt applications. Graded A. 2022/2023 update. document

Buy this document to get the full access instantly

Instant Download Access after purchase

Buy Now

Instant download

We Accept:

Payment methods accepted on Scholarfriends (We Accept)

Also available in bundle (1)

Click Below to Access Bundle(s)

WGU C170 FULL SOLUTION PACK FLASHCARD(Over 12 different exams with complete solution)

WGU C170 FULL SOLUTION PACK FLASHCARD(Over 12 different exams with complete solution)

By bundleHub Solution guider 3 years ago

$30

12  

Reviews( 0 )

$8.00

Buy Now

We Accept:

Payment methods accepted on Scholarfriends (We Accept)

Instant download

Can't find what you want? Try our AI powered Search

203
0

Document information


Connected school, study & course


About the document


Uploaded On

Sep 14, 2022

Number of pages

8

Written in

All

Seller


Profile illustration for bundleHub Solution guider
bundleHub Solution guider

Member since 3 years

356 Documents Sold

Reviews Received
27
21
9
0
9
Additional information

This document has been written for:

Uploaded

Sep 14, 2022

Downloads

 0

Views

 203

Document Keyword Tags

More From bundleHub Solution guider

View all bundleHub Solution guider's documents »

$8.00
What is Scholarfriends

Scholarfriends.com Online Platform by Browsegrades Inc. 651N South Broad St, Middletown DE. United States.

We are here to help

We're available through e-mail, Twitter, Facebook, and live chat.
 FAQ
 Questions? Leave a message!

Follow us on
 Twitter

Copyright © Scholarfriends · High quality services·