Customer experience and feedback loops × Databases
Business lens: Customer experience and feedback loops · Technology lens: Databases
Reading scope: Original synthetic teaching. Sources support background, not invented figures or tested outcomes.
Choose the unit before counting feedback
A customer team invites fifty people to comment on a service. The database stores messages, but management wants to know how many customers responded. A customer and a comment are different units. One person may supply several observations, while another supplies none. Counting message rows answers a useful workload question, but it does not directly answer participation. Begin with the invitation population, the relevant period and a suitable customer identifier. Establish what constitutes a response and whether the system can distinguish repeated comments without exposing unnecessary identity. The business decision is how to improve the service using a defensible account of participation and feedback, rather than making a larger table look like wider consultation.
A small relational design
Separate the invitation record, customer identifier and comment record. A comment references an invitation or another authorised identity relationship; its own identifier distinguishes separate contributions. The relationship allows several comments per respondent. Preserve the invitation denominator independently of the comment table so a join does not silently remove people who did not respond. Record the purpose and timing of the invitation and any exclusion rule. PostgreSQL background explains relational operations and transactions, but reading those pages does not validate a deployed schema. Use invented identifiers and messages for this exercise. A useful design sketch includes keys, permitted corrections and the expected treatment of missing, duplicated or withdrawn records.
Reconstruct participation and workload
The synthetic fifty-person invitation produces thirty distinct respondents. Twenty respondents submit one comment each and ten submit two each, giving twenty plus twenty equals forty comments. Customer response is 30/50 = 60%. Dividing forty comments by fifty invitations gives 80%, but this is comments per invitation expressed as a percentage, not the proportion of customers responding. There are forty comments to inspect and thirty participating people. The remaining twenty invitees have no recorded response; their opinion is unknown. If a report joins invitations to comments and counts joined rows, it can exaggerate participation. Reconcile distinct eligible identifiers and message counts separately, retaining the original invitation list and its scope.
Departments own different corrections
Customer support explains which observation describes a service problem and which is simply a repeated submission. Data staff repair identity links only with an authorised basis, while the business owner decides the invitation and response definitions. Privacy or governance roles examine whether identifying respondents is necessary for the intended decision. A service complaint requiring follow-up should not be lost merely because an analyst groups comments for a dashboard. Conversely, a dashboard should not reveal personal case details to everyone viewing it. Ownership of a count, a customer conversation and a database correction may belong to different people. Document the handoff so a correction reaches the responsible process without silently rewriting the customer's account.
Failure, recovery and interpretation
A duplicated identity can split one person's comments across two apparent respondents. An inappropriate merge can combine different people and understate participation. Keep an auditable correction explanation and test the affected counts before publishing the changed report. A transaction can help make related database updates atomic, but cannot decide whether the proposed identity correction is justified. Nonresponse is also a substantive limit: sixty percent participation does not establish that sixty percent are satisfied. Compare feedback themes with their actual units and preserve uncertainty about those not heard. This case supplies a bounded relational and counting exercise, not a claim of privacy compliance, a tested customer platform or representative customer research.
Study levels and question-word enquiry
Who owns the invitation population? Whom should support contact about a service case? Whose comments are linked to each identifier? What does each row represent? Where is nonresponse preserved? When does the reporting window end? Why is eighty percent not customer participation? Which correction needs authorisation? How can the two counts be reproduced? Foundation work distinguishes people from messages. Undergraduate work sketches tables and calculates both counts. Postgraduate work critiques joining, identity repair and response bias. Research work proposes a suitable invitation and nonresponse study without treating missing opinion as observed satisfaction. The portfolio includes the schema sketch, a reconciled report and a correction case that another learner can inspect.
Study questions and answers
How many comments are present?
20 × 1 + 10 × 2 = 40 comments from thirty distinct respondents.
Marking guide: Credit 20×1 + 10×2 = 40 comments from thirty respondents. Distinguish comment rows from people.
What is the customer response rate?
30/50 = 60%. Forty comments divided by fifty invitations is not the proportion of people responding.
Marking guide: Credit 30/50 = 60% customer response. Reject 40/50 as a proportion of respondents.
Does participation establish satisfaction?
No. Respondent opinions need separate interpretation, and the twenty nonrespondents have unknown opinions.
Marking guide: Credit participation versus opinion and twenty unknown nonrespondent opinions. Reject satisfaction inferred from response alone.
Practice task
Sketch invitation and comment tables, reconcile forty comments to thirty respondents and document an authorised identity-correction example.
Sources and further reading
- PostgreSQL documentation — Constraints
Scope: Selected structural-constraint guidance checked. Structure does not prove real-world identity, use permission or factual correctness.
Access: Public selected reading available without an account in this check. Certificates, webinar playback, hosted execution and service entitlements were not checked. - PostgreSQL — Transactions tutorial
Scope: Selected database transaction background checked. No external database execution or cross-system recovery guarantee claimed.
Access: Public selected reading retrieved without an account. Free reading does not establish free services, certificates or hosted execution. - PostgreSQL — Joins Between Tables
Scope: Selected inner and outer join semantics; no real case/person identity validation.
Access: Public selected reading retrieved; no real system execution,certification or service entitlement checked.