Can anyone explain me what is the difference between SQL and MYSQL with some examples. I am new to databases. I was wondering to know
CodePudding user response:
SQL is a language for querying databases and MySQL is an open source database product.
SQL is used for accessing, updating and maintaining data in a database and MySQL is an RDBMS that allows users to keep the data that exists in a database organized.
SQL does not change (much), as it is a language. MySQL updates frequently as it is a piece of software.
Simple Example for SQL : SELECT * FROM Customers;
Simple example for MYSQL : Start the command-line tool mysql and select a database:
$> mysql your-database-name