This part describes the use of the <acronym>SQL</acronym> language in <productname>PostgreSQL</productname>. We start with describing the general syntax of <acronym>SQL</acronym>, then how to create tables, how to populate the database, and how to query it. The middle part lists the available data types and functions for use in <acronym>SQL</acronym> commands. Lastly, we address several aspects of importance for tuning a database. ここでは、PostgreSQLでのSQL言語を使用する方法を説明します。 まず最初にSQLの一般的な構文について述べ、テーブルの作成方法、データベースに登録する方法、そして、データベースの問い合わせを行う方法について説明していきます。 本パートの中盤では、SQLコマンドで使用できるデータ型と関数について説明します。 最後に、データベースをチューニングする際に重要となるいくつかの点について説明します。
The information is arranged so that a novice user can follow it from start to end and gain a full understanding of the topics without having to refer forward too many times. The chapters are intended to be self-contained, so that advanced users can read the chapters individually as they choose. The information is presented in narrative form with topical units. Readers looking for a complete description of a particular command are encouraged to review the <xref linkend="reference"/>. ここでの内容は、初心者のユーザでも先のページを何度も参照することなく、最初から最後まで全てのトピックを理解できるような構成になっています。 これらの章は自己完結型であることを意図しており、上級ユーザは必要に応じて個別に章を読むことができます。 ここでの情報はトピック単位で記述されています。 特定のコマンドの完全な説明を探している読者は、パート VIを確認することをお勧めします。
Readers should know how to connect to a <productname>PostgreSQL</productname> database and issue <acronym>SQL</acronym> commands. Readers that are unfamiliar with these issues are encouraged to read <xref linkend="tutorial"/> first. <acronym>SQL</acronym> commands are typically entered using the <productname>PostgreSQL</productname> interactive terminal <application>psql</application>, but other programs that have similar functionality can be used as well. 読者はPostgreSQLデータベースへの接続およびSQLコマンド発行の方法を知っている必要があります。 まだこれらについて慣れていない方は、先にパート Iを読むことをお勧めします。 SQLコマンドは通常、PostgreSQLの対話型端末psqlを使用して入力しますが、同様の機能を備えた他のプログラムも使用することができます。
目次