Get bind values of a sql_id - oracle database script

Get bind values of a sql_id - Oracle Database Script.

SELECT sql_id,
       b. LAST_CAPTURED,
       t.sql_text sql_text,
       b.HASH_VALUE,
       b.name bind_name,
       b.value_string bind_value
FROM gv$sql t
JOIN gv$sql_bind_capture b USING (sql_id)
WHERE b.value_string IS NOT NULL
  AND sql_id='&sqlid' /