Definition
Information
Section titled “Information”The Episodemanagement Rttclock model holds RTT clock definitions and their descriptions. Each entry records a clock identifier, descriptive text and source organisation information.
Soft-Deleted Records
Section titled “Soft-Deleted Records”_deleted indicates whether the record has been deleted in the source system.
Examples
Section titled “Examples”Distinct values of organisation
Section titled “Distinct values of organisation”SELECT DISTINCT "organisation"FROM episodemanagement.rttclockORDER BY "organisation";Row count by clockid
Section titled “Row count by clockid”SELECT "clockid", COUNT(*) AS row_countFROM episodemanagement.rttclockGROUP BY "clockid"ORDER BY row_count DESC;