SESSION NAME: Joins and Unions-2.
QUESTION NAME: Unions of two tables
TABLE DESCRIPTION:
Write a Query to Join the following tables
Table 1 = Difficulty
Table 2 = Departments
Hint: Use Union to add both the tables.
Table 1 = Difficulty
Table 2 = Departments
Hint: Use Union to add both the tables.
CODE:
select * from Difficulty Union select * from Departments;
1 Comments
Answer for
ReplyDeleteSESSION NAME:Joins and Unions -2 QUESTION NAME: Unions All of two tables
select * from Difficulty Union select * from hackers;