Recommended Servers for MySQL
The world's most popular open source database
Contact a MySQL Representative
Login | Register
[+/-]
NULL
テーブルから情報を取得するには、SELECT ステートメントを使用します。このステートメントの一般的な形式を以下に示します。
SELECT
SELECT what_to_select FROM which_table WHERE conditions_to_satisfy;
what_to_select は、取得するカラムを示します。ここにはカラムのリストを指定します。* を指定した場合は ``すべてのカラム'' を表します。which_table は、データの取得元のテーブルを示します。WHERE 節は省略可能です。指定する場合は、取得対象となるレコードの満たすべき条件を conditions_to_satisfy に指定します。
what_to_select
*
which_table
WHERE
conditions_to_satisfy
This is a translation of the MySQL Reference Manual that can be found at dev.mysql.com. The original Reference Manual is in English, and this translation is not necessarily as up to date as the English version.