MulaiMulai sekarang secara gratis

Identifying transitive dependencies

Imagine that a nation-wide database of schools exists. Someone who is unfamiliar with database normalization proposes the following structure for the school table:

CREATE TABLE school (
    id serial PRIMARY KEY,
    name VARCHAR(100) NOT NULL,
    street_address VARCHAR(100) NOT NULL,
    city VARCHAR(50) NOT NULL,
    state VARCHAR(50) NOT NULL,
    zip_code INTEGER NOT NULL
)

Identify the transitive dependency introduced by this table definition.

Latihan ini adalah bagian dari kursus

Creating PostgreSQL Databases

Lihat Kursus

Latihan interaktif praktis

Ubah teori menjadi tindakan dengan salah satu latihan interaktif kami.

Mulai berolahraga