AAmit’s LibraryLEARN · PRACTISE · REFLECT

Business + Computing

Integrative reading: databases and information systems

Study map: Original comparative chapter based on the global curriculum atlas; not copied from any institution

A database organises records and relationships so that information can be retrieved and changed consistently. An information system includes that database together with people, procedures, interfaces and decisions. A technically valid table can still support confused work if departments disagree about what approved, delivered or paid means.

Foundation: a database connects records through meaning

A database organises records and relationships so that information can be retrieved and changed consistently. An information system includes that database together with people, procedures, interfaces and decisions. A technically valid table can still support confused work if departments disagree about what approved, delivered or paid means.

Distinguish an identifier from a description. An order reference should identify one order; a customer name may be shared by different people or change over time. Relationships require stable references and an explanation of their meaning. A database join combines records through a specified relationship, not because their display text happens to look similar.

Begin with a small business question, such as which orders have valid customers and which are missing that relationship. Define the records needed and expected exceptions. Computers can detect broken references; people must decide how corrections are authorised and how an unresolved case should be handled.

Undergraduate: enforce keys and query a report

Use an in-memory teaching database with two customers and three orders. Orders O1 and O2 belong to customer C1 and contain amounts one hundred and two hundred. Order O3 belongs to C2 with amount fifty. A grouped query produces C1 total three hundred and C2 total fifty. The total across orders is three hundred and fifty.

Declare customer and order identifiers as keys. Enable foreign-key enforcement in the SQLite fixture and define the customer reference. Attempt an order referencing an unknown customer and observe rejection. An exact query can still be based on wrong or incomplete source amounts, so distinguish structural integrity from evidence quality.

Inspect transaction boundaries. A multi-step business change should not be presented as completed if only one required record changed. The local fixture demonstrates key constraints and grouped reporting, not a full concurrent transaction or recovery system. Production databases require further study of isolation, logging, access and operational procedures.

Postgraduate: connect schema, reports and governance

Apply a question–schema–constraint–query–review framework. State the decision, model entities and relationships, enforce necessary structural rules, calculate a report and inspect its interpretation. A schema should make important distinctions visible rather than hide them in a free-text comment that every department interprets differently.

Consider report multiplication. Joining an order to several line items can repeat the order amount if aggregation uses the wrong level. Define the grain of each record and check totals against a known fixture. More rows after a join do not necessarily indicate more business activity. This is why a small worked example helps review a complex report.

Govern access and changes. Finance may need a reconciled total, operations a production state and support a customer history. Share necessary information through legitimate access rather than exposing every internal record. A technical permission does not establish business authority. Preserve definitions and versions so a later reviewer can understand how a reported value was produced.

Research: investigate dependable shared information

A study might ask whether explicit data dictionaries reduce disagreement between departments using the same report. Define disagreement through interpretations or correction cases. More identified inconsistencies may reflect improved detection rather than deterioration. Combine reproducible queries with interviews about how users understood the record states.

For technical evaluation, test query results and constraint failures using controlled fixtures. A passing in-memory database does not establish production performance, backup recoverability or concurrent correctness. State the engine, configuration and boundary. Preserve source data and the query so another learner can reproduce the calculation without guessing hidden cleaning steps.

Submit an entity model, key definitions, constraint test, grouped report and managerial interpretation. Who owns the schema, whom a broken reference affects, whose customer record applies, what each row represents, where authority resides, when changes are reviewed, why the query fits, which exceptions remain and how totals reconcile link databases with business administration. The selected external course material is further study; this original lesson does not claim complete database-system coverage or current degree equivalence.

Study questions and answers

Distinguish database and information system.

Database organises records; information system also includes people, procedures, interfaces and decisions. Structural validity differs from shared meaning. Indicative marking: Concept/result 3; reasoning 3; application 2; limitation 2.

Aggregate orders of 100 and 200 for C1 and 50 for C2.

C1 = 300, C2 = 50, total = 350. Define row grain and check that joins do not multiply order amounts. Indicative marking: Concept/result 3; reasoning 3; application 2; limitation 2.

What does a foreign-key test establish?

The enabled constraint rejects unknown references in the fixture; it does not establish source accuracy, production concurrency or recoverability. Indicative marking: Concept/result 3; reasoning 3; application 2; limitation 2.

Research data dictionary usefulness.

Compare interpretations and correction cases under defined reports; combine queries and interviews and distinguish better detection from worse quality. Indicative marking: Concept/result 3; reasoning 3; application 2; limitation 2.

Extended practice questions

Finance and support disagree about a customer total after joining orders and payments. What should be checked?

Inspect the grain of each table: one row per order differs from one row per payment event. An order with two payments can appear twice after a join, causing its order amount to be summed twice. Reconcile identifiers, row counts, amounts and missing matches before discussing which total is authoritative. Aggregate at the intended grain or use a query that preserves it, and define sales and receipts separately. Departmental interpretation remains necessary because a technically valid join can answer the wrong business question.

Marking guide: Table grain and multiplicity; reconciliation; sales/receipt distinction. Assess reasoning and justified alternatives; indicative rubric, not an official examination scheme.

Marks: 10

Compare an inner join and a left join for checking unmatched customer orders.

An inner join returns matching row pairs and may omit orders with no matching customer. A left join retains left-side orders, with missing right-side values for unmatched rows. That can help expose gaps, but multiple matches may still produce multiple rows. Choose the left-side boundary deliberately and inspect the join condition. Neither query proves that the customer information is correct or that the order was authorised. Record exceptions and reconcile totals rather than treating a nonempty result as confirmation of integrity.

Marking guide: Retention of unmatched rows; multiplicity; interpretation limits. Assess reasoning and justified alternatives; indicative rubric, not an official examination scheme.

Marks: 10

Order O1 has amount 100 and two payment rows, 40 and 60. What happens if its amount is summed after joining to payments?

The join produces two matching rows for O1. Summing the repeated order amount gives 200, while summing its payments gives 100. The original order amount is 100. The mismatch arises from different row grains, not necessarily an incorrect payment. Preserve the order-grain total or aggregate payment events by order before joining for the intended comparison. This single-order example does not handle refunds, other currencies or missing records. Those require additional contracts and reconciliation rules.

Marking guide: Two rows and inflated total; correct original/payment totals; grain-preserving remedy. Assess reasoning and justified alternatives; indicative rubric, not an official examination scheme.

Marks: 10

Design an exception report for an order-to-customer relationship.

List orders with missing or invalid customer references, unexpected repeated order IDs and fields required by the business contract. Include a stable order identifier, exception category, source and correction owner without unnecessary personal content. Distinguish a missing relationship from an unauthorised order; a reference check cannot establish permission. Reconcile report counts with the source and provide a correction trail. Decide who can amend each record and how unresolved exceptions affect downstream processing. The report supports stewardship, not automatic truth or approval.

Marking guide: Concrete exception categories; authority distinction; correction and reconciliation. Assess reasoning and justified alternatives; indicative rubric, not an official examination scheme.

Marks: 10

Distinguish database and information system.

Database organises records; information system also includes people, procedures, interfaces and decisions. Structural validity differs from shared meaning.

Marking guide: Concept/result 3; reasoning 3; application 2; limitation 2.

Marks: 10

Aggregate orders of 100 and 200 for C1 and 50 for C2.

C1 = 300, C2 = 50, total = 350. Define row grain and check that joins do not multiply order amounts.

Marking guide: Concept/result 3; reasoning 3; application 2; limitation 2.

Marks: 10

What does a foreign-key test establish?

The enabled constraint rejects unknown references in the fixture; it does not establish source accuracy, production concurrency or recoverability.

Marking guide: Concept/result 3; reasoning 3; application 2; limitation 2.

Marks: 10

Research data dictionary usefulness.

Compare interpretations and correction cases under defined reports; combine queries and interviews and distinguish better detection from worse quality.

Marking guide: Concept/result 3; reasoning 3; application 2; limitation 2.

Marks: 10

Revision cards

What is table grain and why does it matter?

Grain states what one row represents, such as an order or payment event. Joining different grains can repeat values and inflate a total if the intended aggregation boundary is lost.

Finance and support disagree about a customer total after joining orders and payments. What should be checked?

Inspect the grain of each table: one row per order differs from one row per payment event. An order with two payments can appear twice after a join, causing its order amount to be summed twice. Reconcile identifiers, row counts, amounts and missing matches before discussing which total is authoritative. Aggregate at the intended grain or use a query that preserves it, and define sales and receipts separately. Departmental interpretation remains necessary because a technically valid join can answer the wrong business question.

Compare an inner join and a left join for checking unmatched customer orders.

An inner join returns matching row pairs and may omit orders with no matching customer. A left join retains left-side orders, with missing right-side values for unmatched rows. That can help expose gaps, but multiple matches may still produce multiple rows. Choose the left-side boundary deliberately and inspect the join condition. Neither query proves that the customer information is correct or that the order was authorised. Record exceptions and reconcile totals rather than treating a nonempty result as confirmation of integrity.

Order O1 has amount 100 and two payment rows, 40 and 60. What happens if its amount is summed after joining to payments?

The join produces two matching rows for O1. Summing the repeated order amount gives 200, while summing its payments gives 100. The original order amount is 100. The mismatch arises from different row grains, not necessarily an incorrect payment. Preserve the order-grain total or aggregate payment events by order before joining for the intended comparison. This single-order example does not handle refunds, other currencies or missing records. Those require additional contracts and reconciliation rules.

Design an exception report for an order-to-customer relationship.

List orders with missing or invalid customer references, unexpected repeated order IDs and fields required by the business contract. Include a stable order identifier, exception category, source and correction owner without unnecessary personal content. Distinguish a missing relationship from an unauthorised order; a reference check cannot establish permission. Reconcile report counts with the source and provide a correction trail. Decide who can amend each record and how unresolved exceptions affect downstream processing. The report supports stewardship, not automatic truth or approval.

Why can the same customer appear in several business systems?

Systems may record different roles, identifiers or histories. Reconciliation needs a defined identity rule and appropriate evidence. Combining records solely by a similar name can merge distinct people or miss one person's related activity.

What distinguishes a record of an event from a current balance?

An event describes a change at a time; a balance summarises state under rules. They need a consistent relationship. Overwriting the balance without an event trail may obscure how the reported state was reached.

How should an information system handle disputed facts?

Preserve the relevant evidence, uncertainty and authorised correction process rather than silently choosing a convenient value. Restrict inappropriate reliance where necessary. A database field filled in is not proof that the disagreement has been resolved.

Why clarify data access when systems interoperate?

Integration can expose records to new roles or destinations. Define allowed purposes and permissions as well as formats. A working connection is not automatic authorisation to copy every field or retain it indefinitely.

Practice task

Complete integrative-systems-workshop.html, calculate the fixture and submit the subject portfolio.

Sources and further reading

  • Strategy and responsible systems workshop
    Type: Original local practice
    Use: Test bounded scenarios and explain exclusions.
  • CMU: database systems Fall 2025 schedule
    Type: Free primary further reading
    Use: Related conceptual material; not credit or complete syllabus coverage.
  • MongoDB: MongoDB learning and skill badges
    Type: Selected official learning resource
    Use: Model a synthetic customer/order document and identify integrity and query tradeoffs. Catalogue labels selected skills and badges free and instructor-led training paid. Atlas service usage has separate terms.
  • Snowflake: Free on-demand workshops
    Type: Selected official learning resource
    Use: Create a warehouse model with clearly defined sales measures and reconciliation checks. The catalogue has a Free OnDemand area and free badge workshops. Trial accounts, consumption and other offerings have separate terms.

Open interactive reading and progress tools