7. Use the substitution & method of INSERT command to populate EMP_PROJ table. INSERT INTO EMP_PROJ...

70.2K

Verified Solution

Question

Programming

7. Use the substitution & method of INSERT command topopulate EMP_PROJ table. INSERT INTO EMP_PROJ VALUES (‘&empNo’,‘&projNo’, &hoursWorked); NOTE: enclose &empNo in ‘ ‘if the datatype is a string – VARCHAR2 or CHAR If empNo is NUMBERdatatype then do not enclose &empNo in ‘ ‘!

empNo

projNo

hoursWorked

1000

30

32.5

1000

50

7.5

2002

10

40.0

1444

20

20.0

1760

10

5.0

1760

20

10.0

1740

50

15.0

2060

40

12.0

Answer & Explanation Solved by verified expert
4.2 Ratings (814 Votes)
I have created an empty table of empproj assuming that theempNo is number10projNo is number and hoursWorked numberFor creating a table I have used the below commandcreate table EMPPROJ empNo number10    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students