SQL 参考
Introduction

Introduction

This chapter provides an overview of how to use SQL to perform simple operations. This tutorial is only intended to give you an introduction and is in no way a complete tutorial on SQL. You should be aware that some ProtonBase language features are extensions to the standard.

In the examples that follow, we assume that you have created a database named mydb, as described in the previous chapter, and have been able to start psql.

To start the tutorial, do the following:

$ psql -s mydb
 
...
 
mydb=> \d

The \d command show a list of all tables, views, and sequences.