Create tables and insert the data from the file called OrderOL TPSchema.txt file. I suggest you...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Create tables and insert the data from the file called OrderOL TPSchema.txt file. I suggest you create one table at a time to endure each table is created and inserted correctly. Copy (CTRL C) the commands of the text file and paste them (CTRL V or Right Click) into Oracle and execute them. To run the file, press (CTRL + Enter) to run the commands. This will execute the command you just pasted. The ERD of the Order Schema is shown below: Employee Employee_id First name Middle_initial (0) Last name sex manager_id hire_date salary commision (O) job_code dob Price_hist Product_id (FK) list_price min_price (0) start_date end_date Customer Customer_id Name Address City 04 state zip_code area_code (0) Phone number (O) salesperson_id (O) (FK) credit_limit (0) comments (0) #H Product Product_id Description Product code H- Sales_order Order_id Customer_id (FK) Shipdate (0) Order_date Total line_item Order_id (FK) Item seq Product_id (FK) Actual_price Quantity SubTotal (a) To the original EMP table, insert your own data as an employee as follows. For foame, Iname, sex, and dob with your own first name, last name, sex, and dob. For Emploxee.id, use the last 4 digits of your own Drexel student ID (e. if 2 your Drexel student ID ends with 1234, then your Emploxeeid will be "1234"). Make all attributes NULL or arbitrary. Insert the above data (5). (b) Display all the Emploxes id, first name, last name, sex and dob. (5) (c) Display the contents of all 6 tables using SELECT * command. Make sure each line is displayed in one line. (5) For example, Create tables and insert the data from the file called OrderOL TPSchema.txt file. I suggest you create one table at a time to endure each table is created and inserted correctly. Copy (CTRL C) the commands of the text file and paste them (CTRL V or Right Click) into Oracle and execute them. To run the file, press (CTRL + Enter) to run the commands. This will execute the command you just pasted. The ERD of the Order Schema is shown below: Employee Employee_id First name Middle_initial (0) Last name sex manager_id hire_date salary commision (O) job_code dob Price_hist Product_id (FK) list_price min_price (0) start_date end_date Customer Customer_id Name Address City 04 state zip_code area_code (0) Phone number (O) salesperson_id (O) (FK) credit_limit (0) comments (0) #H Product Product_id Description Product code H- Sales_order Order_id Customer_id (FK) Shipdate (0) Order_date Total line_item Order_id (FK) Item seq Product_id (FK) Actual_price Quantity SubTotal (a) To the original EMP table, insert your own data as an employee as follows. For foame, Iname, sex, and dob with your own first name, last name, sex, and dob. For Emploxee.id, use the last 4 digits of your own Drexel student ID (e. if 2 your Drexel student ID ends with 1234, then your Emploxeeid will be "1234"). Make all attributes NULL or arbitrary. Insert the above data (5). (b) Display all the Emploxes id, first name, last name, sex and dob. (5) (c) Display the contents of all 6 tables using SELECT * command. Make sure each line is displayed in one line. (5) For example,
Expert Answer:
Related Book For
Modern Systems Analysis And Design
ISBN: 9780134204925
8th Edition
Authors: Joseph Valacich, Joey George
Posted Date:
Students also viewed these databases questions
-
Currently Digby is paying a dividend of $13.44 (per share). If this dividend were raised by $3.64, given its current stock price what would be the Dividend Yield?
-
You have been employed to create program to assist the manager of a coffee shop. You decide to make a prototype application in Java to show what you can do, and to be able to ask the manager what...
-
Estimate zero-wind lift-off (ground) distance for the Citation corporate jet at the maximum takeoff weight (MTOW) of 20,000 lbs at elevation of 4,000 feet in ISA conditions. Wing surface area is 320...
-
Consider the case of the Cisco Fatty. Who was wrong? Advise how a firm might best handle this kind of online commentary.
-
Suppose that a lender gives you a choice between the following two 25-year mortgages of $200,000: Mortgage A: 6.5% interest compounded monthly, two points, monthly payment of $1350.41 Mortgage B: 7%...
-
The figure shows a rectangular member OB, made from ¼ -in-thick aluminum plate, pinned to the ground at one end, and supported by a ½ -in-diameter round steel rod that is formed into an...
-
Identify five activities are central to financial planning and budgeting.
-
Fagan Co. had these transactions during the current period. June 12 Issued 80,000 shares of $1 par value common stock for cash of $300,000. July 11 Issued 3,000 shares of $100 par value preferred...
-
Describe the factors a manager should consider when dealing with ethical issues or behaviors in a workplace? Explain the strategies a manager should use to resolve your selected issue or behavior....
-
The file P02_07.xlsx includes data on 204 employees at the (fictional) company Beta Technologies. For this problem, consider this data set as the population frame. a. Using the method in this section...
-
While management models such as the ISO 27000 series and NIST SP 800 series deal with methods to manage and operate systems, a maintenance model is designed to focus the organization's effort on...
-
Describe the three qualities of negotiable instruments that distinguish such instruments from ordinary assignments. How do these qualities make them commercially useful?
-
What are the limits of ratification by a principal?
-
Why might an inventor choose not to register a patent?
-
Are there any advantages to be gained in registering a trademark?
-
What is meant by an industrial design?
-
Use the thevenin's theorm to calculate the current in the resistor of 10 ohms. All allow the thevanised circuit. 523 20v 82 12V 4H 102
-
Draw and label the E and Z isomers for each of the following compounds: 1. CH3CH2CH==CHCH3 2. 3. 4. CH,CH2C CHCH2CH Cl CH3CH2CH2CH2 CH CH2CCCH2CI CHCH3 CH3 HOCH CH CCC CH O-CH C(CH
-
In this chapter, file servers were described as one way of providing information to users of a distributed information system. What file servers are available, and what are their relative strengths,...
-
List the ideal characteristics of an entity identifier attribute.
-
Working in a small group, pick a project (it could be anything, such as planning a party, writing a group term paper, developing a database application, etc.) and then write the various tasks that...
-
What critical elements are important to support the planning process?
-
What are impediments to planning, both at the beginning of a project and throughout the project?
-
Since the bar chart is ineffective as a planning and scheduling tool, why is it still widely used in the construction industry?
Study smarter with the SolutionInn App