Question: Create two tables, R1 and R2, that contain a name and a salary. In the first table, order the attributes as name, salary. In the

 Create two tables, R1 and R2, that contain a name and

Create two tables, R1 and R2, that contain a name and a salary. In the first table, order the attributes as name, salary. In the second table, order the attributes as salary, name. Use the same types for each (VARCHAR2 (20), NUMBER(2), for example). Load the tables with three tuples each. Can you UNION these two tables with SELECT*FROM R1 UNION SELECT* FROM R2? Why or why not? If not, can you force the union of the two tables? Illustrate how. Be sure to DROP the tables when you are finished 6-6

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!