Hướng dẫn mysql manual
Including MySQL NDB Cluster 8.0Abstract This is the MySQL Reference Manual. It documents MySQL 8.0 through 8.0.32, as well as NDB Cluster releases based on version 8.0 of MySQL 8.0 features. This manual describes features that are not included in every edition of MySQL 8.0; such features may not be included in the edition of MySQL 8.0 licensed to you. If you have any questions about the features included in your edition of MySQL 8.0, refer to your MySQL 8.0 license agreement or contact your Oracle sales representative. For notes detailing the changes in each release, see the MySQL 8.0 Release Notes. For legal information, including licensing information, see the Preface and Legal Notices. For help with using MySQL, please visit the MySQL Forums, where you can discuss your issues with other MySQL users. Document generated on: 2022-09-07 (revision: 74088) Chapter 3 TutorialThis chapter provides a tutorial introduction to MySQL by showing how to use the mysql client program to create and use a simple database. mysql (sometimes referred to as the “terminal monitor” or just “monitor”) is an interactive program that enables you to connect to a MySQL server, run queries, and view the results. mysql may also be used in batch mode: you place your queries in a file beforehand, then tell mysql to execute the contents of the file. Both ways of using mysql are covered here. To see a list of options provided by mysql, invoke it with the
This chapter assumes that mysql is installed on your machine and that a MySQL server is available to which you can connect. If this is not true, contact your MySQL administrator. (If you are the administrator, you need to consult the relevant portions of this manual, such as Chapter 5, MySQL Server Administration.) This chapter describes the entire process of setting up and using a database. If you are interested only in accessing an existing database, you may want to skip the sections that describe how to create the database and the tables it contains. Because this chapter is tutorial in nature, many details are necessarily omitted. Consult the relevant sections of the manual for more information on the topics covered here. 13.2.10 SELECT Statement
The most commonly used clauses of
For example:
You are permitted to specify
In general, clauses used must be given in
exactly the order shown in the syntax description. For example, a The list of
The following list provides additional information about other
Following the
|