SQL - Set Operations
Given two tables:
Write a SQL query to retrieve all distinct names from both tables who belong to the 'Marketing' department, sorted by name in descending order.
managers (id, name, department)consultants (id, name, department)Write a SQL query to retrieve all distinct names from both tables who belong to the 'Marketing' department, sorted by name in descending order.
