Oracle SQL WHEN condition in SELECT statement
I have the following select statement (example) which gives back a sum from a table. Select SUM(Salary) from Users d, MoreData m where d.Office = ‘A’ and m.Active = ‘Yes’ and d.id_user = m.id_of_user This works perfectly fine and adds up column salery for all users which are located in Office A abd are marked… Read More Oracle SQL WHEN condition in SELECT statement