Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

10 suppose table E aor employees) looks like this: E Eno, ame, salary, Medical,

ID: 3583402 • Letter: 1

Question

10 suppose table E aor employees) looks like this: E Eno, ame, salary, Medical, Address) Then suppose we want you to write a program to produce mailing labels Thus, you need name and address of each employee. We don't want you to see Salary and we don't want you to see "Medical To accomplish this I can do one of the following: a) Create a new table that just has the three columns of Eno, Name and Address and put all the rows from E into the new table b) create a VIEW that just has the three columns of Eno, Name and Address

Explanation / Answer

1 (a)

CREATE TABLE new_E AS (Select Eno,Name,Address from E);

(b)

CREATE VIEW V_E As Select Eno,Name,Address from E;

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at drjack9650@gmail.com
Chat Now And Get Quote