If you just want to learn the SQL language and not administer the database, I would recommend working with SQLite . If you are on a Mac, it should already be installed. This is a much simpler system than most RDBMS; there is no server to configure, and the client to connect to the server. There are no directories in cryptographic files or anything like that. To get started, you can simply enter:
sqlite3 mydatabase.db
And start working with him. It is much easier and easier to configure and use than other database systems, which I consider to be a good choice for beginners.
SQLite is now a fairly small and light language. If you need to deal with any really complex queries and data mining, I would recommend PostgreSQL . It has a fairly advanced query optimizer and a fairly long list of SQL functions.
And if you want to study the database as something that needs to be used for internal storage for web programming or something like that, MySQL is what I would choose. This is ubiquitous, supported by almost any web host, and is pretty fast for very simple requests and updates, which is usually necessary for a web system. It has some real errors that should be avoided when setting up; you need to choose between several different storage systems, and this can take a lot of work to convince it to actually work with Unicode data. But it’s good to learn mainly from your ubiquity.
source share