diff --git a/Practical/Practical Exam/SQL/S8 - SQL Queries.md b/Practical/Practical Exam/SQL/S8 - SQL Queries.md index 8ceb742..6d56849 100644 --- a/Practical/Practical Exam/SQL/S8 - SQL Queries.md +++ b/Practical/Practical Exam/SQL/S8 - SQL Queries.md @@ -90,7 +90,7 @@ SELECT name, cost, domain, quantity FROM Companies RIGHT JOIN Orders on Companie 4. Find names, costs, domains and quantities for companies using Union operator. ```sql -SELECT name, cost FROM Companies UNION SELECT domain, quantity FROM Orders; +SELECT name AS info, cost AS value FROM Companies UNION SELECT domain AS info, quantity AS value FROM Orders; ```