Hive SQL is almost, but not exactly, unlike SQL.
The Hive documentation is the ultimate reference and you should add it to your Favourites if you are going to be working with Hive.
Hive will, of course, change over time. New releases come along very fast and you do really need to keep up to date. I retested all the examples below over several releases of the Hortonworks Sandbox (up to 2.5), and then stopped because I saw no progress and because I have more useful things to do. Other distributions should be similar, but don't trust me or anyone else without testing it yourself.
Here are some things that may catch you out:
My conclusions about Hive are subject to a Protest Warning.