OMIS-452-SP16 - Week 4a - OMIS 452 Database Management for...

Info icon This preview shows pages 1–12. Sign up to view the full content.

View Full Document Right Arrow Icon
OMIS 452 Database Management for Business Northern Illinois University Brian Bender
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Agenda A Little Review Ch. 3 – The Relational Model & Normalization A Look Ahead OMIS-452 Week 4a 2
Image of page 2
A Little Review SQL Query (Basic) /* Comment Here */ Select Column(s) From Table(s) Where Condition(s); /* Comment Here */ Example Select LName, FName From Stu_Tbl Where Z-ID = “A1125355”; Meaning… Columns Returned Tables Containing Data Rows Returned Meaning… Return LName & FName From The Student Table ONLY For Z-ID A1125355 OMIS-452 Week 4a 3
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
A Little Review What Does This Symbol Do/Indicate In SQL? Where Is It Used? * (Asterisk) % (Percent) _ (Underscore) OMIS-452 Week 4a 4
Image of page 4
Normalization OMIS-452 Week 4a 5
Image of page 5

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Normalization What Is It? Why Do We Need To Do It? Why Is It So Important? What Might Make It Easier? What Do We Need To Know BEFORE We Do It? OMIS-452 Week 4a 6
Image of page 6
Ch. 3 – The Relational Model The Relational Model Tables Relate To Each Other Via Entities All Relations Are Tables But, Not All Tables Are Relations SQL Results Table May Contain Duplicate Records Table – Implicit Ordering Of Rows/Columns Relation – Explicit Ordering Of Rows/Columns OMIS-452 Week 4a 7
Image of page 7

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Ch. 3 – The Relational Model Eight (8) Characteristics Of Relations 1. Rows Contain Data About An Entity Record, Entity, Instance 2. Columns Contain Data About Attributes Of The Entity Field, Attribute, Characteristic 3. All Entries In A Column Are Of The Same Kind Z-ID Column contains ONLY Z-IDs Have A Specific Data Type 4. Each Column Has A Unique Name (No Spaces) Z-ID, LastName, FirstName OMIS-452 Week 4a 8
Image of page 8
Ch. 3 – The Relational Model Eight (8) Characteristics Of Relations 5. Cells Of The Table Hold A Single Value Row-a1125355 + Column-LastName = Bender 6. The Order Of The Columns Is Unimportant Data Stored In Tables Database App – Gets Data (SQL), Formats It For User 7. The Order Of The Rows Is Unimportant Database App – Gets Data (SQL), Formats It For User 8. No Two Rows May Be Identical What About Duplicates Returned From SQL Queries? Simply A Result Set, Not A Table OMIS-452 Week 4a 9
Image of page 9

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Ch. 3 – The Relational Model So, How Do We Make A Table? Make Sure To Follow These Characteristics: 1. Rows Contain Data About An Entity 2. Columns Contain Attributes Of The Entity 3. All Entries In A Column Are Of The Same Kind 4. Each Column Has A Unique Name 5. Cells Of The Table Hold A Single Value 6. The Order Of The Columns Is Unimportant 7. The Order Of The Rows Is Unimportant 8. No Two Rows May Be Identical OMIS-452 Week 4a 10
Image of page 10
Ch. 3 – Terminology
Image of page 11

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 12
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern