use the given Diagram and the script which contains table (employees,table Job_History,Locations,Countries) to create 1.table jobs ,and table Regions. 3.answer the questions from 3 to 12. Diagram:


script with the created tables:
















3.answer the questions from 3 to 13:


use the given information to resolve all questions.
Answered first four queries
3. SSN and Date of birth columns are not available, add the columns and insert the data to them
ALTER TABLE Employees
ADD Column SSN NUMBER(9,0) NULL,
DOB DATE NULL
4. SELECT CONCAT(First_Name,' ',Last_Name), SSN, DOB, DEPARTMENT_ID FROM "EMPLOYEES"
5. SELECT
CONCAT(First_Name, ' ', Last_Name) AS EMPLOYEE_NAME,
SALARY AS Current_SALARY,
(SALARY + 0.03 * SALARY) AS New_Salary
FROM "EMPLOYEES"
6. ALTER TABLE "JOBS" ADD CONSTRAINT "JOB_ID_PK" PRIMARY KEY("JOB_ID") ENABLE;
use the given Diagram and the script which contains table (employees,table Job_History,Locations,Countries) to create 1.table jobs...
2. Write a script that implements the following design: In the Downloads table, the user_id and product_id columns are the foreign keys. Create these tables in the ex schema. Create the sequences for the user_id, download_id, and product_id columns. Include a PL/SQL script to drop the table or sequence if it already exists. Include any indexes that you think are necessary. 3. Write a script that adds rows to the database that you created in exercise 2. Add two rows...
Use the Hungarian Method to answer Question 1. Five employees are available to perform four jobs. The time it takes each person to perform each job is given in Table 50. Determine the assignment of employees to jobs that minimizes the total time required to perform the four jobs. TA B L E 50 Time (hours) Person Job 1 Job 2 Job 3 Job 4 1 22 18 30 18 2 18 — 27 22 3 26 20 28 28...
(In Linux) 1. Create a file to write to from your script and save it as “.txt”. 2. Write the following information to the file that you created in Step 1: Today's date Your full name Your student ID The name of your course What directory you are in File permissions of the file that you created that allow everyone to read, write, and execute The long list of files in your current directory, providing all items and their process...
The lab for this week addresses taking a logical database design (data model) and transforming it into a physical model (tables, constraints, and relationships). As part of the lab, you will need to download the zip file titled CIS336Lab3Files from Doc Sharing. This zip file contains the ERD, Data Dictionary, and test data for the tables you create as you complete this exercise. Your job will be to use the ERD Diagram found below as a guide to define the...
Create a python script in Pycharm: 1) For your script you will need to get input from a user, which will ask them to enter a password to be reviewed. This needs to be outside of your functions that you will create for your script. You will be passing the value of the user’s password entered as a parameter value to your functions. You will be creating four separate functions, you will have one function that verifies whether the user’s...
1. Run script to create a file named Ch7/hands-on7 2. Run the find command searching all directories beginning with root and search for a file named whereis. Send standard error to /dev/null and the standard output to Ch7/where. As soon as you submit the command, press Ctrl-z. 3. Note the number that appears on the screen [job id] that appears on the screen. 4. Type: jobs 5. Run the command: ls –lR / >system_list 2> /dev/null & 6. Type: jobs...
Use Excel and show
formulas used
From the given table of activities and associated times, create a PERT/CPM diagram and complete the forward and backward passes Immediate Predecessor ActivityDescription Critical Path = Prepare Blue Print Receive Permits Prepare Ground Create Press ReleaseB Cement Work Steel Work Cut Ribbon Ceremony E Total Project Time C,D Pessimistic PERT Time Most Probable 17 12 4 Activit Optimistic 26 13 16 12 12 13
1. Write a script that creates a user-defined database role named OrderEntry in the MyGuitarShop database. Give INSERT and UPDATE permission to the new role for the Orders and OrderItems table. Give SELECT permission for all user tables. 2. Write a script that (1) creates a login ID named “RobertHalliday” with the password “HelloBob”; (2) sets the default database for the login to the MyGuitarShop database; (3) creates a user named “RobertHalliday” for the login; and (4) assigns the user...
For this set of Review Questions, we will create and use a database for the Wedgewood Pacific Corporation (WPC) that is similar to the Microsoft Access database we created and used in Chapters 1 and 2. Founded in 1957 in Seattle, Washington, WPC has grown into an internationally recognized organization. The company is located in two buildings. One building houses the Administration, Accounting, Finance, and Human Resources departments, and the second houses the Production, Marketing, and Information Systems departments. The...
The database(or the tables) are follow: CREATE TABLE employees ( id SERIAL NOT NULL PRIMARY KEY, name TEXT NOT NULL, salary REAL NOT NULL DEFAULT 25000.0 ); CREATE TABLE employee_audit_log ( employee_id INTEGER NOT NULL, occurred_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ); INSERT INTO employees(name, salary) VALUES ('Arnold Schwarznegger', 35000), ('Yuri Gargarin', 27000), ('Anakin Skywalker', 450000), ('Said Faroghi', 15000), ('Zino Holwerda', 8500); 1. Create a trigger for the employees table so that a new row is inserted in employee audit_log...