Advertisement
Fhernd

Receta_TSQL-2.4.sql

Jul 3rd, 2015
807
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
T-SQL 0.33 KB | None | 0 0
  1. SELECT DepartmentID AS IDDepartamento, Name AS Nombre, GroupName AS NombreGrupo,
  2.     CASE GroupName
  3.         WHEN 'Research and Development' THEN 'Módulo A'
  4.         WHEN 'Sales and Marketing' THEN 'Módulo B'
  5.         WHEN 'Manufacturing' THEN 'Módulo C'
  6.     ELSE 'Módulo D'
  7.     END AS Modulo
  8. FROM HumanResources.Department;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement