... 2. A record is all the fields about a single person, place, object, event, or idea collected in a row
in a table.
3. Tables in a relational database are related through common fields.
4. The primary key, whose values uniquely identify each record in a table, is called a foreign
key when it is placed ...
... No two tuples are the same
No two attributes are the same
The order of tuples are immaterial
The order of attributes are immaterial
There is an attribute or a collection of
attributes which identifies tuples
uniquely called Primary Key
Value of attribute must be atomic
... 1. Query-by-example (QBE) tool that helps users graphically design the answer to a question
against a database.
2. Structured query language (SQL) that asks users to write lines of code to answer questions
against a database.
... – Data independence (logical pointers).
• Logical and physical design separate.
• Add new fields - don’t need to reestablish pointers.
• Can change gracefully as organizations evolve. Rest
of design not changed when you change or delete 1
The value stored at the intersection of each row
and column must be a scalar value, and a table
must not contain any repeating columns.
Every non-key column must depend on the
entire primary key.
Every non-key column must depend only on the
... • Table, a set of columns that contain data. In the
old days, a table was called a file.
• Row, a set of columns from a table reflecting a
• Index, an object that allows for fast retrieval of
table rows. Every primary key and foreign key
should have an index for retrieval speed.
• Primary ke ...
... Member will have Ideas collection, Idea will get Members
collection and it is enough to add to one of these, the EF
maintains the other automatically. The EF context must know
both objects = they must be fetched from same context object
or the new created object must be attached
to the same EF data ...
... This course covers the fundamentals of SQL and relational databases, using MySQL as a
teaching tool. This course is designed for new or existing users of SQL who have little or
no previous experience with a relational database management system. Topics to be
Fundamentals of relatio ...
... • Tell you about things (entities)
• Entities have characteristics (attributes)
such as names, addresses, ages
• Attributes are represented by fields in the
• Fields have data type - e.g number, dates.
• Access 97 provides default types, sizes you can change them.
... Unit I
Introduction – purpose of database systems – Data Abstraction – Data models – Instances and
schemes – Data independence – DDL – DML – Database users – ER model – Entity sets –
Keys – ER diagram – relational model – Structure – Relations Algebra – Relational Calculus
SQL – QBE ...
... 3) Class Days and Time and Classroom: Thursday 18:00 – 21:00, BMB-4
4) Instructor: Prof. Dr. Adnan YAZICI
Phone: 210 5583
5) TA: will be announced later
6) Necessary Background:
Data management and File Structures
7) Text Book and Referans books:
Entity–attribute–value model (EAV) is a data model to describe entities where the number of attributes (properties, parameters) that can be used to describe them is potentially vast, but the number that will actually apply to a given entity is relatively modest. In mathematics, this model is known as a sparse matrix. EAV is also known as object–attribute–value model, vertical database model and open schema.