subject

1. Connect to the database you created and named in Module One (for example, Jetson). Type after the prompt mysql> a. use (table you named);
i. Example: mysql> use Jetson;
2. 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));
3. Create the Branches table. Fill in the missing characters or punctuation in the incomplete statement shown below to complete this action.
A. CREATE Branches
Department_ID SMALLINT,
Department_Name )
4. 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.
A. describe Employee;
B. Write the correct command to describe the Branches table 5.
5. 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.
A. 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,'ExemptFull-Time80000);
B. Type the command select from Employee; and take a screenshot of it to validate this step.
6. Insert the following records into the Employee table for Gwen Johnson and Michael Jones by writing the correct SQL commands on your own.
A. Gwen Johnson: Employee ID = 103, DEPARTMENT_ID = 4, Classification = NULL, Status = Full-Time, SALARY = 40000.
B. Michael Jones: Employee ID = 104, DEPARTMENT_ID = 4, Classification = Non-Exempt, Status = Full-Time, SALARY = 90000.
C. 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).
D. Type the command select from Employee; and take a screenshot of it to validate this step.
E. 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. F. Write the correct command to prove that you've successfully completed this step, and validate it with a screenshot.
7. Select the fields of last name, first name, and department id from the table. Validate your work with a screenshot.
A. Select First_Name, Last_Name, Employee_ID, Department_ID from Employee;

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 19:00
Jill wants to become a network professional. which certification would be useful for her? a. mcse b. pmp c. comptia a+ d. ccie
Answers: 2
question
Computers and Technology, 21.06.2019 22:40
Write an assembly program with the following specifications.a). in the main block, you should have two registers r4 and r5. they should be checked in an infinite loop. if r4 is greater than r5, then the greater subroutine will be called. if r4 is less than r5, then the less subroutine will be called. if r4 equals r5, then no operations will be done
Answers: 1
question
Computers and Technology, 22.06.2019 23:30
Define a function printfeetinchshort, with int parameters numfeet and numinches, that prints using ' and " shorthand. ex: printfeetinchshort(5, 8) prints: 5' 8"
Answers: 1
question
Computers and Technology, 23.06.2019 11:30
Auser is given read permission to a file stored on an ntfs-formatted volume. the file is then copied to a folder on the same ntfs-formatted volume where the user has been given full control permission for that folder. when the user logs on to the computer holding the file and accesses its new location via a drive letter, what is the user's effective permission to the file? a. read b. full control c. no access d. modify e. none of the above
Answers: 1
You know the right answer?
1. Connect to the database you created and named in Module One (for example, Jetson). Type after the...
Questions
question
Mathematics, 30.08.2019 20:30
Questions on the website: 13722362