public.vwsurveyquestiongroupscores
Description
Survey Question Group Scores View
Table Definition
CREATE VIEW vwsurveyquestiongroupscores AS (
SELECT surveyquestiongroupscores.surveyid,
surveyquestiongroupscores.conversationid,
surveyquestiongroupscores.surveyformid,
surveyquestiongroupscores.surveyname,
surveyquestiongroupscores.agentid,
agent.name AS agentname,
agent.department AS agentdepartment,
manager.name AS agentmanager,
surveyquestiongroupscores.agentteamid,
surveyquestiongroupscores.queueid,
queue.name AS queuename,
surveyquestiongroupscores.questiongroupid,
surveyquestiongroupscores.questiongroupname,
surveyquestiongroupscores.questiongrouptotalscore,
surveyquestiongroupscores.questiongroupmaxtotalscore,
surveyquestiongroupscores.questiongroupmarkedna,
surveyquestiongroupscores.updated
FROM (((surveyquestiongroupscores
LEFT JOIN userdetails agent ON (((agent.id)::text = (surveyquestiongroupscores.agentid)::text)))
LEFT JOIN userdetails manager ON (((manager.id)::text = (agent.manager)::text)))
LEFT JOIN queuedetails queue ON (((queue.id)::text = (surveyquestiongroupscores.queueid)::text)))
)
Columns
surveyid |
varchar(50) |
|
true |
|
|
Survey ID |
conversationid |
varchar(50) |
|
true |
|
|
Conversation ID |
surveyformid |
varchar(50) |
|
true |
|
|
Survey Form ID |
surveyname |
varchar(200) |
|
true |
|
|
Survey Name |
agentid |
varchar(50) |
|
true |
|
|
Agent ID |
agentname |
varchar(200) |
|
true |
|
|
Agent Name |
agentdepartment |
varchar(200) |
|
true |
|
|
Agent Department |
agentmanager |
varchar(200) |
|
true |
|
|
Agent Manager |
agentteamid |
varchar(50) |
|
true |
|
|
Agent Team ID |
queueid |
varchar(50) |
|
true |
|
|
Queue ID |
queuename |
varchar(255) |
|
true |
|
|
Queue Name |
questiongroupid |
varchar(50) |
|
true |
|
|
Question Group ID |
questiongroupname |
varchar(200) |
|
true |
|
|
Question Group Name |
questiongrouptotalscore |
numeric(20,2) |
|
true |
|
|
Question Group Total Score |
questiongroupmaxtotalscore |
numeric(20,2) |
|
true |
|
|
Question Group Max Total Score |
questiongroupmarkedna |
bit(1) |
|
true |
|
|
Question Group Marked as N/A |
updated |
timestamp without time zone |
|
true |
|
|
Last Updated |
Referenced Tables
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 ...