Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT DepartmentID AS IDDepartamento, Name AS Nombre, GroupName AS NombreGrupo,
- CASE GroupName
- WHEN 'Research and Development' THEN 'Módulo A'
- WHEN 'Sales and Marketing' THEN 'Módulo B'
- WHEN 'Manufacturing' THEN 'Módulo C'
- ELSE 'Módulo D'
- END AS Modulo
- FROM HumanResources.Department;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement