MySQL and SQL - What is the difference?
Structured Query Language or SQL is the language used when we talk to databases. Queries are the commands that interact with the database.
MySQL vs SQL
MySQL is a database management system, unlike SQL which is a language. There are different database management systems like MySQL, PostgreSQL, Oracle, SQLite etc. These DBMS use SQL to interact with the data present inside the database. There are slight differences in the syntax used by various DBMS systems.
What makes DBMS unique are the features they offer, not the language they use.
MySQL | SQL |
MySQL is a relational database management system | Structured Query Language is a standard language used to communicate with databases |
MySQL is open-source and free to use | SQL is not open-source |
MySQL is available to use only in the English language | SQL supports different languages |
MySQL doesn’t support user-defined functions and XML | SQL supports user-defined functions and XML. |
MySQL supports basic programming languages like C, C++, Python etc. | SQL is in itself a query language |