subject

Overview To complete this assignment, you will work in the Codio virtual lab environment to create tables similar to the ones that you saw in the previous activity.
Prompt
To begin, go to your Codio virtual lab environment and start a new terminal session. Once there, perform the steps below to complete this activity. The commands you see, or are asked to write, must all be entered manually. To validate that the commands you have written work, capture screenshots of the results and place them in a document for submission. Each screenshot should be around one quarter of a page.
Connect to the database you created and named in Module One (for example, Jetson). Type after the prompt mysql>
use (table you named);
Example: mysql> use Jetson;
Create the Employee table using the SQL statement shown here. Press Return after each line.
CREATE TABLE Employee (
Employee_ID SMALLINT,
First_Name VARCHAR(40),
Last_Name VARCHAR(60),
Department_ID SMALLINT,
Classification VARCHAR(10),
STATUS VARCHAR(10),
Salary DECIMAL(7,2));
Create the Branches table. Fill in the missing characters or punctuation in the incomplete statement shown below to complete this action.
CREATE Branches (
Department_ID SMALLINT,
Department_Name )
After creating the tables, use the correct commands to describe them. You will only be given commands to describe one of the tables and must complete the same action for the second one on your own. Validate your work with a screenshot.
describe Employee;
Write the correct command to describe the Branches table
Insert the following records into the Employee table. Each line going from left to right is a record. Each line going from top to bottom is a column. Validate your work with a screenshot.
INSERT INTO Employee VALUES (100, 'John', 'Smith', 1, 'Exempt', 'Full-Time', 90000), (101,'Mary','Jones',2,'Non-Exempt', 'Part-Time',35000), (102,'Mary','Williams',3,'Exempt',' Full-Time',80000);
Type the command select* from Employee; and take a screenshot of it to validate this step.
Insert the following records into the Employee table for Gwen Johnson and Michael Jones by writing the correct SQL commands on your own.
Gwen Johnson: Employee ID = 103, DEPARTMENT_ID = 4, Classification = NULL, Status = Full-Time, SALARY = 40000
Michael Jones: Employee ID = 104, DEPARTMENT_ID = 4, Classification = Non-Exempt, Status = Full-Time, SALARY = 90000
Insert your name into the table to verify and prove your work. (Your First and Last Name, or a nickname): Employee ID = 105, DEPARTMENT_ID = 1, Classification = Non-Exempt, Statues = Full-time, SALARY = (Choose a value between 50000 and 99000)
Type the command select* from Employee; and take a screenshot of it to validate this step.
Insert records for a musician, athlete, or other famous character of your choice. Make sure to enter information for all of the fields listed in this table. The Department_ID must be a number between one and four.
Write the correct command to prove that you’ve successfully completed this step, and validate it with a screenshot.
Select the fields of last name, first name, and department id from the table. Validate your work with a screenshot.
Select First_Name, Last_Name, Employee_ID, Department_ID from Employee;

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 03:50
You are working as a security analyst in a company xyz that owns the whole subnet range of 23.0.0.0/8 and 192.168.0.0/8. while monitoring the data, you find a high number of outbound connections. you see that ip's owned by xyz (internal) and private ip's are communicating to a single public ip. therefore, the internal ip's are sending data to the public ip. after further analysis, you find out that this public ip is a blacklisted ip, and the internal communicating devices are compromised. what kind of attack does the above scenario depict?
Answers: 3
question
Computers and Technology, 22.06.2019 15:10
Which activity should be part of a long-term plan to positively affect yourhealth? oa. wearing regular clothing when handling toxinsob. not worrying about secondhand smokeoc. avoiding excessive exposure to sunlightod. drinking only well water
Answers: 1
question
Computers and Technology, 23.06.2019 10:00
What is estimated time of arrival (eta)? a device that measures the acceleration (the rate of change of velocity) of an item and is used to track truck speeds or taxi cab speeds a gps technology adventure game that posts the longitude and latitude location for an item on the internet for users to find a north/south measurement of position the time of day of an expected arrival at a certain destination and is typically used for navigation applications
Answers: 3
question
Computers and Technology, 24.06.2019 17:40
Pseudocode pld #6, pg. 117 start// declarations// number numbertoguess// number myguess; numbertoguess = 92// while myguess ! = numbertoguess// output " guess an integer number between 1 and 100"// input myguess// if (myguess == numbertoguess)// output "you guessed the correct number"// else// output "the number you guessed was incorrect. try again! "// end if// end while// output " for playing the guessing game. have a great day! "// stop
Answers: 3
You know the right answer?
Overview To complete this assignment, you will work in the Codio virtual lab environment to create...
Questions
question
Mathematics, 01.03.2021 23:30
question
Mathematics, 01.03.2021 23:30
question
Biology, 01.03.2021 23:30
Questions on the website: 13722367