Oracle SQL Developer - 如何使用颜色(而非数字)显示百分比

Cod*_*ice 3 oracle oracle11g oracle-sqldeveloper

在使用 Oracle SQL Developer 工作时,我遇到了一个直到今天才意识到的功能。功能是使用颜色显示百分比,这与水平条形图显示相同百分比的方式不同。我通过右键单击连接并选择“管理数据库”选项找到了它。

此功能是否可用于显示百分比的任何查询/报告?我在屏幕截图中所指的列是“Percent_Used”列。

在此处输入图片说明

tha*_*ith 5

这是代码:

SELECT
    'SQLDEV:GAUGE:0:20000:1000:5000:' || peeps.salary "WhatIsItYoudSayYouDoHere",
    peeps.salary,
    peeps.first_name
    || ' '
    || peeps.last_name,
    peeps.job_id
FROM
    hr.employees peeps;
Run Code Online (Sandbox Code Playgroud)

SQLDEV:GAUGE:0:200:50:150 等于 min:max:low threshold:upper threshold:value to graph

在此处输入图片说明