postgresql https://www.postgresql.org/docs/
For practice https://www.hackerrank.com/domains/sql
SQL Tutorial