Case Expression in teradata?...

Select Movie_Name,

Case Movie_No 

when 1 then 'Comedy Movie'

when 2 then 'Action Movie'

Else 'Science Fiction Movie'

End as Movie_Type

From Movie_List;


Comments

Popular posts from this blog

General information about Netezza : Default Error details

Minus in Teradata?...