7.
  • References/Database/PostgreSQL/Tutorial/The SQL Language

Like most other relational database products, PostgreSQL supports aggregate functions. An aggregate function computes

2025-01-10 15:47:30
6.
  • References/Database/PostgreSQL/Tutorial/The SQL Language

Thus far, our queries have only accessed one table at a time. Queries can access multiple tables at once, or access the same table in such a way that multiple rows of the table

2025-01-10 15:47:30
4.
  • References/Database/PostgreSQL/Tutorial/The SQL Language

The INSERT statement is used to populate a table with rows:

2025-01-10 15:47:30
3.
  • References/Database/PostgreSQL/Tutorial/Getting Started

The first test to see whether you can access the database server is to try to create a database. A running PostgreSQL server can manage many

2025-01-10 15:47:30
4.
  • References/Database/PostgreSQL/Tutorial/Advanced Features

Transactions are a fundamental concept of all database systems. The essential point of a transaction is that it bundles multiple steps into a single

2025-01-10 15:47:30
3.
  • References/Database/PostgreSQL/Tutorial/The SQL Language

You can create a new table by specifying the table name, along with all column names and their types:

2025-01-10 15:47:30
2.
  • References/Database/PostgreSQL/Tutorial/The SQL Language

PostgreSQL is a relational database management system (RDBMS). That means it is

2025-01-10 15:47:30
3.
  • References/Database/PostgreSQL/Tutorial/Advanced Features

Recall the weather and cities tables from Chapter 2. Consider the following problem: You want to make sure that

2025-01-10 15:47:30
1.
  • References/Database/PostgreSQL/Tutorial/Getting Started

Before you can use PostgreSQL you need to install it, of course. It is possible that PostgreSQL is already

2025-01-10 15:47:30
2.
  • References/Database/PostgreSQL/Tutorial/Advanced Features

Refer back to the queries in Section 2.6. Suppose the combined listing

2025-01-10 15:47:30