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.mvwconvvoiceoverviewdata

      Description Columns Name Type Default Nullable Children Parents Comment conversationid varchar(50) false sentimentscore numeric(20,2) true sentimenttrend numeric(20,2) true agentdurationpercentage numeric(20,2) true customerdurationpercentage ...
    • public.mvwconvvoicesentimentdetaildata

      Description Columns Name Type Default Nullable Children Parents Comment keyid varchar(100) false conversationid varchar(50) true starttime timestamp without time zone true starttimeltc timestamp without time zone true duration numeric(20,2) true ...
    • public.vwteammemberdata

      Description Team Member Data View Table Definition CREATE VIEW vwteammemberdata AS ( SELECT tm.userid, ud.name AS "Agent Name", td.name AS "Team Name" FROM ((teammemberdata tm LEFT JOIN vwuserdetail ud ON (((tm.userid)::text = (ud.id)::text))) LEFT ...
    • public.jobminimumdefinition

      Description Columns Name Type Default Nullable Children Parents Comment jobid integer nextval(‘jobminimumdefinition_jobid_seq’::regclass) false jobname varchar(255) true maxsyncspan varchar(50) true lookbackspan varchar(50) true Constraints Name Type ...
    • 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 ...