简体   繁体   English

SQL和mysql有什么区别

[英]What is the difference between SQL and mysql

Can anyone explain me what is the difference between SQL and MYSQL with some examples.谁能通过一些示例向我解释 SQL 和 MYSQL 之间有什么区别。 I am new to databases.我是数据库新手。 I was wondering to know我想知道

SQL is a language for querying databases and MySQL is an open source database product. SQL是数据库查询语言,MySQL是开源数据库产品。

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 用于访问、更新和维护数据库中的数据,MySQL 是一个 RDBMS,它允许用户保持数据库中存在的数据有条理。

SQL does not change (much), as it is a language. SQL 没有变化(很多),因为它是一种语言。 MySQL updates frequently as it is a piece of software. MySQL 经常更新,因为它是一个软件。

Simple Example for SQL: SELECT * FROM Customers; SQL 的简单示例: SELECT * 来自客户;

Simple example for MYSQL: Start the command-line tool mysql and select a database: MYSQL 的简单示例:启动命令行工具 mysql 和 select 数据库:

$> mysql your-database-name $> mysql 你的数据库名称

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM