Updated on 2022-09-21 GMT+08:00

Using the Query Tool to Run SQL Statements

Scenarios

This topic describes how to use Query Tool to run SQL commands.

Prerequisites

An RDS for PostgreSQL DB instance has been connected.

Inserting Data

  1. On the top menu bar, choose Tools > Query Tool. The SQL CLI is displayed.

  2. On the SQL CLI, enter an INSERT command and click Execute to insert data into the corresponding table.

Querying Data

  1. On the top menu bar, choose Tools > Query Tool. The SQL CLI is displayed.
  2. On the SQL CLI, enter an SELECT command and click Execute to query data in the corresponding table.