public.vwuserskillmappings

public.vwuserskillmappings

Description

View combining user-skill mappings with detailed user information (including manager, division, and division name) and corresponding skill details

Table Definition

CREATE VIEW vwuserskillmappings AS (
 SELECT usm.keyid,
    usm.userid,
    ud.name AS username,
    ud.managerid,
    ud.managername,
    ud.divisionid,
    ud.divisionname,
    usm.skillid,
    sd.name AS skillname,
    usm.proficiency,
    usm.state AS mappingstate,
    usm.updated AS mappingupdated,
    sd.state AS skillstate,
    sd.updated AS skillupdated
   FROM ((userskillmappings usm
     LEFT JOIN skilldetails sd ON (((usm.skillid)::text = (sd.id)::text)))
     LEFT JOIN vwuserdetail ud ON (((usm.userid)::text = (ud.id)::text)))
)

Columns

Name Type Default Nullable Children Parents Comment
keyid varchar(100) true Unique key identifier for the user-skill mapping
userid varchar(50) true Identifier for the user
username varchar(200) true Name of the user (from vwuserdetail)
managerid varchar(50) true Identifier for the user’s manager (from vwuserdetail)
managername varchar(200) true Name of the user’s manager (from vwuserdetail)
divisionid varchar(50) true Division identifier for the user (from vwuserdetail)
divisionname varchar(50) true Name of the division (from vwuserdetail)
skillid varchar(50) true Identifier for the skill
skillname varchar(50) true Name of the skill (from skilldetails)
proficiency numeric(20,2) true Proficiency level of the user for the skill
mappingstate varchar(50) true State of the mapping
mappingupdated timestamp without time zone true Timestamp when the mapping was last updated
skillstate varchar(50) true State of the skill (from skilldetails)
skillupdated timestamp without time zone true Timestamp when the skill record was last updated

Referenced Tables

Name Columns Comment Type
public.userskillmappings 6 BASE TABLE
public.skilldetails 4 BASE TABLE
public.vwuserdetail 17 See UserDetail: User Description in detail VIEW

    • Related Articles

    • public.participantattributesdynamic

      Description Columns Name Type Default Nullable Children Parents Comment keyid varchar(50) false conversationid varchar(50) false conversationstartdate timestamp without time zone false conversationstartdateltc timestamp without time zone true ...
    • public.evalquestiondata

      Description Columns Name Type Default Nullable Children Parents Comment keyid varchar(50) false evaluationid varchar(50) false evaluationformid varchar(50) false questiongroupid varchar(50) true questionid varchar(50) true answerid varchar(50) true ...
    • public.userpresencedetaileddata

      Description User Presence Detailed Data Columns Name Type Default Nullable Children Parents Comment keyid varchar(255) false Primary Key userid varchar(50) true Agent GUID starttime timestamp without time zone false Start Time (UTC) starttimeltc ...
    • public.userinteractionpresencedetaileddata

      Description Columns Name Type Default Nullable Children Parents Comment keyid varchar(255) false userid varchar(50) true starttime timestamp without time zone false starttimeltc timestamp without time zone true endtime timestamp without time zone ...
    • public.userpresencedata

      Description Columns Name Type Default Nullable Children Parents Comment keyid varchar(255) false id varchar(50) true userid varchar(50) true startdate timestamp without time zone false startdateltc timestamp without time zone true timetype ...