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.
-
You are comparing two companies, BestRest Corporation and Relaxin, Inc. The exports of both companies stand to benefit substantially from the removal of import restrictions on their products in a...
-
Abita Quail Farm, Inc. produces a crop of heritage quail at a total cost of $66,000. The production generates 15,000 quail which can be sold for $4 each to restaurants or the quail can be processed...
-
According to Einstein's theory of relativity, light should bend when it passes through a gravitational field. This was first tested experimentally in 1919 when photographs were taken of stars near...
-
Use Worksheet 6.1. Rebecca Collins is evaluating her debt safety ratio. Her monthly take-home pay is $3,320. Each month, she pays $380 for an auto loan, $120 on a personal line of credit, $60 on a...
-
The total maintenance costs and the machine hours for the past ten accounting periods were as follows: Period Machine hours Maintenance cost 1 400 960 2 240 880 3 80 480 4 400 1200 5 320 800 6 240...
-
You are part of the engagement team for the audit of Suzuki Manufacturing for the year ended December 31, 2019, and are responsible for auditing the acquisition cycle. Download the Excel file for the...
-
The specific palindromic sequence which is recognized by EcoRI is : (1) 5' - GAATTC - 3' 3' - CTTAAG - 5' (2) 5' - GGAACC - 3' 3' - CCTTGG - 5' (3) 5' - CTTAAG - 3' 3' - GAATTC - 5' (4) 5' - GGATCC -...
-
Identify an emerging technology used in marketing (such as AI, NLP, Sensor Tech, Robotics, IoT, blockchain, Chat GPT) which interests you, and write a 500-word personal reflection on your chosen...
-
For a fixed income security that makes annual payments over four years, P(R, R2, R3, R) = K-R, Kre where R+ is short for the spot rate R(0, t), we can perform a Taylor expansion to arrive at an...
-
Consider a two machine job shop scheduling problem with 10 jobs to be processed on machines A and/or B. The routing information and processing times of these jobs are given in the table below. Find...
-
Determine h/(x) forh(x) Using the Math Editor, enter the correct answer below: (2x-2x) 4 = 7x+3 using logarithmic differentiation.
-
Anna's utility function is U= 11.4/20 where I is income. An investment opportunity where there is a 30% change of earnings $200, a 35% change of earnings $500 and a 35% chance of earning $2,000 has...
-
Attitudes, which predispose us to respond in a particular way to objects, people, and events, Select one: a. are often influenced by our beliefs. O b. are the roles we assume. c. result from...
-
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...
-
A thin stainless steel disk of thickness \(b\) and outer radius \(r_{o}\) has been heat treated to a high, uniform initial temperature of \(T_{i}\). The disk is then placed upon a small stand and...
-
A plane wall of a furnace is fabricated from plain carbon steel \(\left(k=60 \mathrm{~W} / \mathrm{m} \cdot \mathrm{K}, ho=7850 \mathrm{~kg} / \mathrm{m}^{3}, c=430 ight.\) \(\mathrm{J} / \mathrm{kg}...
-
A steel sphere (AISI 1010), \(100 \mathrm{~mm}\) in diameter, is coated with a dielectric material layer of thickness \(2 \mathrm{~mm}\) and thermal conductivity \(0.04 \mathrm{~W} / \mathrm{m} \cdot...
Study smarter with the SolutionInn App