Me recommendation would be to learn the concepts of ANSI/ISO SQL. The problem is that some systems have specifics that often don't make a lot of sense and once people try to apply those specifics to another DBMS, they fail and don't know why. So understanding the principles is a really good start. Everything else is just applying those principles in the specific environment.