Query physical table data

Updated at:

You can use SQL to query and preview data resources. This feature provides developers and data application users with a clear view of the data. This topic describes how to query physical table data.

Prerequisites

A compute resource has been created. For more information, see Create a compute resource.

Procedure

  1. Log on to the Data Resource Platform console.

  2. In the upper-left corner of the page, click the 导航图标 icon and select Collaboration.

  3. In the top menu bar, click the p282243   xia icon, select the target workgroup, and click Asset Processing.

  4. In the navigation pane on the left, click the shujutancha icon. Under Data Resources List or Authorized Resources List, select a data table from a data source.

  5. On the Ad-hoc Query tab of the data table page, enter an SQL query and click the 运行 icon to query the physical table data.

    • In the log area, click the 清空日志 icon to clear the current logs.

    • In the query result area:

      • You can sort and filter the query results.

      • If the compute resource uses a spatial data type, turn on the Map Mode switch to view the spatial map and all point, line, and polygon graphics that correspond to the data on the current page.

      • Select a record and click the 查看选中数据 icon to view the selected data.

      • Click the 下载 icon to download the query results.