Database Model: KimTay The management of KimTay Pet Supplies (a supplier of pet supplies, food, and accessories located in Cody, Wyoming) has determined that the company’s recent growth no longer makes it feasible to maintain customer, invoice, and inventory data using its manual systems. In addition, KimTay Pet Supplies wants to build an Internet presence. With the data stored in a database, management will be able to ensure that the data is up-to-date and more accurate than in the current manual systems. In addition, managers will be able to obtain answers to their questions concerning the data in the database easily and quickly, with the option of producing a variety of useful reports. The CUSTOMER table maintains information about each customer, such as their ID, first and last name, address, balance, and credit limit. CUSTOMER table CUSTOMER table In the INVOICES table contains information about each invoice, such as the invoice number, date, and the customer being invoiced. INVOICES table INVOICES table The INVOICE_LINE table has the itemized information for each invoice. This includes the item ids, quantity, and price for each invoice. INVOICE_LINE table INVOICE_LINE table The ITEM table has a information pertaining to each item for sale by KimTay's Pet Supplies. This includes a description, the number in stock, location, and price. ITEM table ITEM table The SALES_REP table includes the information for each sales representative for KimTay's Pet Supplies. This includes first and last name, address, cell-phone, commission, and commission rate. SALES_REP table SALES_REP table Task 1 Create a table named REP. The table has the same structure as the SALES_REP table shown on page 1 of this lab, except the COMMISSION and RATE columns should use the NUMERIC data type. Execute the command to describe the layout and characteristics of the REP table. To see the structure of the SALES_REP table, use the DESCRIBE SALES_REP; command. Task Create the REP table. Task 2 Add the following row to the REP table: rep ID: 35 first name: Fred last name: Kiser address: 427 Billings Dr. city: Cody state: WY postal: 82414 cell phone: 307-555-6309 commission: 0.00 rate: 0.05 Display the contents of the REP table. Task Add the provided information to a new record in the REP table. 2/3 1 Run a SQL query to generate results KimTay CAN ANYONE HELP ME WITH THIS AS SHOWN IN THE PICTURE BELOW THANKS

A Guide to SQL
9th Edition
ISBN:9781111527273
Author:Philip J. Pratt
Publisher:Philip J. Pratt
Chapter6: Updating Data
Section: Chapter Questions
Problem 12CAT
icon
Related questions
Question
100%

Database Model: KimTay The management of KimTay Pet Supplies (a supplier of pet supplies, food, and accessories located in Cody, Wyoming) has determined that the company’s recent growth no longer makes it feasible to maintain customer, invoice, and inventory data using its manual systems. In addition, KimTay Pet Supplies wants to build an Internet presence. With the data stored in a database, management will be able to ensure that the data is up-to-date and more accurate than in the current manual systems. In addition, managers will be able to obtain answers to their questions concerning the data in the database easily and quickly, with the option of producing a variety of useful reports. The CUSTOMER table maintains information about each customer, such as their ID, first and last name, address, balance, and credit limit. CUSTOMER table CUSTOMER table In the INVOICES table contains information about each invoice, such as the invoice number, date, and the customer being invoiced. INVOICES table INVOICES table The INVOICE_LINE table has the itemized information for each invoice. This includes the item ids, quantity, and price for each invoice. INVOICE_LINE table INVOICE_LINE table The ITEM table has a information pertaining to each item for sale by KimTay's Pet Supplies. This includes a description, the number in stock, location, and price. ITEM table ITEM table The SALES_REP table includes the information for each sales representative for KimTay's Pet Supplies. This includes first and last name, address, cell-phone, commission, and commission rate. SALES_REP table SALES_REP table Task 1 Create a table named REP. The table has the same structure as the SALES_REP table shown on page 1 of this lab, except the COMMISSION and RATE columns should use the NUMERIC data type. Execute the command to describe the layout and characteristics of the REP table. To see the structure of the SALES_REP table, use the DESCRIBE SALES_REP; command. Task Create the REP table. Task 2 Add the following row to the REP table: rep ID: 35 first name: Fred last name: Kiser address: 427 Billings Dr. city: Cody state: WY postal: 82414 cell phone: 307-555-6309 commission: 0.00 rate: 0.05 Display the contents of the REP table. Task Add the provided information to a new record in the REP table. 2/3 1 Run a SQL query to generate results KimTay

CAN ANYONE HELP ME WITH THIS AS SHOWN IN THE PICTURE BELOW THANKS

Lab 3-1: Kim Tay Pet Supplies
Tasks
=
순
go
Create the REP table.
Add the provided information to
a new record in the REP table.
Drop the REP table.
Check that the KimTay
database only has five tables.
1
>
Submit 25%
1
1
query.sql
SQL Viewer
KimTay 9
X
X +
>_ Terminal
+
Run a SQL query to generate results
Transcribed Image Text:Lab 3-1: Kim Tay Pet Supplies Tasks = 순 go Create the REP table. Add the provided information to a new record in the REP table. Drop the REP table. Check that the KimTay database only has five tables. 1 > Submit 25% 1 1 query.sql SQL Viewer KimTay 9 X X + >_ Terminal + Run a SQL query to generate results
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Database Environment
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning