You can also pull all kinds of useful information from SERVERPROPERTY.
SELECT
SERVERPROPERTY('ProductVersion') AS ProductVersion,
SERVERPROPERTY('Edition') AS Edition
If you don't know the product name from the major builds versions you can always check them out here.