public.mvwevaluationquestiondata
Description
Materialized view for evaluation question data
Table Definition
CREATE MATERIALIZED VIEW mvwevaluationquestiondata AS (
SELECT DISTINCT eq.keyid,
eq.evaluationid,
eq.questionid,
eq.answerid,
eq.score,
ed.questionanswervalue,
eq.markedna,
eq.failedkillquestions,
eq.comments,
ed.evaluationformid,
ed.evaluationname,
ed.questiongroupid,
ed.questiongroupname,
ed.questiontext,
ed.questionhelptext,
ed.quesiontype,
ed.questionanwserid,
ed.questionanswertext,
cd.divisionid
FROM (((evalquestiondata eq
LEFT JOIN evaldetails ed ON ((((ed.evaluationformid)::text = (eq.evaluationformid)::text) AND ((ed.questiongroupid)::text = (eq.questiongroupid)::text) AND ((ed.questionid)::text = (eq.questionid)::text) AND ((ed.questionanwserid)::text = (eq.answerid)::text))))
LEFT JOIN evaldata eda ON (((eda.evaluationid)::text = (eq.evaluationid)::text)))
LEFT JOIN convsummarydata cd ON (((cd.conversationid)::text = (eda.conversationid)::text)))
)
Columns
keyid |
varchar(50) |
|
true |
|
|
Primary Key |
evaluationid |
varchar(50) |
|
true |
|
|
Evaluation GUID |
questionid |
varchar(50) |
|
true |
|
|
Question GUID |
answerid |
varchar(50) |
|
true |
|
|
Answer GUID |
score |
numeric(20,2) |
|
true |
|
|
Score |
questionanswervalue |
numeric(20,2) |
|
true |
|
|
Question answer value |
markedna |
bit(1) |
|
true |
|
|
Marked as NA |
failedkillquestions |
bit(1) |
|
true |
|
|
Failed kill questions |
comments |
text |
|
true |
|
|
Comments |
evaluationformid |
varchar(50) |
|
true |
|
|
Evaluation form GUID |
evaluationname |
varchar(200) |
|
true |
|
|
Evaluation name |
questiongroupid |
varchar(50) |
|
true |
|
|
Question group GUID |
questiongroupname |
varchar(200) |
|
true |
|
|
Question group name |
questiontext |
varchar(400) |
|
true |
|
|
Question text |
questionhelptext |
text |
|
true |
|
|
Question help text |
quesiontype |
varchar(50) |
|
true |
|
|
Question type |
questionanwserid |
varchar(50) |
|
true |
|
|
Question answer GUID |
questionanswertext |
varchar(200) |
|
true |
|
|
Question answer text |
divisionid |
varchar(50) |
|
true |
|
|
Division GUID |
Referenced Tables
Indexes
mvevalquestiondatakeyid |
CREATE UNIQUE INDEX mvevalquestiondatakeyid ON public.mvwevaluationquestiondata USING btree (keyid) |
mvwevalquestiondataevaluationid |
CREATE INDEX mvwevalquestiondataevaluationid ON public.mvwevaluationquestiondata USING btree (evaluationid) |
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 ...