Data Bits Many to Many Subkeys JoinsQueries Attributes $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit.

Slides:



Advertisements
Similar presentations
$100 $400 $300$200$400 $200$100$100$400 $200$200$500 $500$300 $200$500 $100$300$100$300 $500$300$400$400$500.
Advertisements

$100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200.
Category 1 Category 2 Category 3 Category 4 Category.
Category Category Category Category Category.
$100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300.
Chapter 4 Joining Multiple Tables
Category Heading Category Heading Category Heading.
What is a Database By: Cristian Dubon.
Data Bits Models Classes & Schemes Rows & Tables Keys Associations $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit.
Team 4Team 5 Team 6 Team 1Team 2Team 3 Round 2 Final Jeopardy Round 1.
Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit.
Basic SQL Introduction Presented by: Madhuri Bhogadi.
Relational Algebra, Join and QBE Yong Choi School of Business CSUB, Bakersfield.
Concepts of Database Management Seventh Edition
The Relational Database Model
Relational Algebra 1 Chapter 5.1 V3.0 Napier University Dr Gordon Russell.
Midterm Review Lecture 14b. 14 Lectures So Far 1.Introduction 2.The Relational Model 3.Disks and Files 4.Relational Algebra 5.File Org, Indexes 6.Relational.
Introduction to Structured Query Language (SQL)
Introduction to Oracle9i: SQL1 Basic SQL SELECT Statements.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 8 Advanced SQL.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Chapter 4 Relational Databases and Enterprise Systems
Concepts of Database Management, Fifth Edition
Relational Model & Relational Algebra. 2 Relational Model u Terminology of relational model. u How tables are used to represent data. u Connection between.
Lecture 2 The Relational Model. Objectives Terminology of relational model. How tables are used to represent data. Connection between mathematical relations.
Chapter 4 The Relational Model Pearson Education © 2014.
Relational Model Session 6 Course Name: Database System Year : 2012.
Chapter 4 The Relational Model.
Introduction to Databases Chapter 7: Data Access and Manipulation.
Relational Query Languages. Languages of DBMS  Data Definition Language DDL  define the schema and storage stored in a Data Dictionary  Data Manipulation.
IFS180 Intro. to Data Management Chapter 9 – Outer Joins.
Learningcomputer.com SQL Server 2008 – Entity Relationships in a Database.
CS609 Introduction. Databases Current state? Future?
DBSQL 3-1 Copyright © Genetic Computer School 2009 Chapter 3 Relational Database Model.
Chapter 9 Joining Data from Multiple Tables
1 The Relational Database Model. 2 Learning Objectives Terminology of relational model. How tables are used to represent data. Connection between mathematical.
9/7/2012ISC329 Isabelle Bichindaritz1 The Relational Database Model.
1 Agenda – 10/24/2013 Answer questions from lab on 10/22. Present SQL View database object. Present SQL UNION statement.
Relational Database. Database Management System (DBMS)
Chapter 4Introduction to Oracle9i: SQL1 Chapter 4 Joining Multiple Tables.
Relational Algebra – Part 2
Relational Databases.  In week 1 we looked at the concept of a key, the primary key is a column/attribute that uniquely identifies the rest of the data.
Database Systems Design, Implementation, and Management Coronel | Morris 11e ©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or.
Database System Concepts, 6 th Ed. ©Silberschatz, Korth and Sudarshan See for conditions on re-usewww.db-book.com Chapter 2: Intro to Relational.
DBSQL 5-1 Copyright © Genetic Computer School 2009 Chapter 5 Structured Query Language.
Database Fundamental & Design by A.Surasit Samaisut Copyrights : All Rights Reserved.
SQL – Structured Query Language
Chapter 2 Introduction to Relational Model. Example of a Relation attributes (or columns) tuples (or rows) Introduction to Relational Model 2.
Relational Algebra MBAD 613 R. Nakatsu. Relational Data Manipulation Language Query-by-Example; Query-by-Form Transform-Oriented Languages Relational.
Chapter 2: Intro to Relational Model. 2.2 Example of a Relation attributes (or columns) tuples (or rows)
AL-MAAREFA COLLEGE FOR SCIENCE AND TECHNOLOGY INFO 232: DATABASE SYSTEMS CHAPTER 7 (Part II) INTRODUCTION TO STRUCTURED QUERY LANGUAGE (SQL) Instructor.
SqlExam1Review.ppt EXAM - 1. SQL stands for -- Structured Query Language Putting a manual database on a computer ensures? Data is more current Data is.
(SQL - Structured Query Language)
CHAPTER 2 : RELATIONAL DATA MODEL Prepared by : nbs.
Chapter 3 The Relational Model. Objectives u Terminology of relational model. u How tables are used to represent data. u Connection between mathematical.
7 1 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel 7.6 Advanced Select Queries SQL provides useful functions that.
Databases Introduction - concepts. Concepts of Relational Databases.
Week 2 Lecture The Relational Database Model Samuel ConnSamuel Conn, Faculty Suggestions for using the Lecture Slides.
MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Sravanthi Lakkimsety Mar 14,2016.
IT 5433 LM3 Relational Data Model. Learning Objectives: List the 5 properties of relations List the properties of a candidate key, primary key and foreign.
Ritu CHaturvedi Some figures are adapted from T. COnnolly
Relational Model By Dr.S.Sridhar, Ph.D.(JNUD), RACI(Paris, NICE), RMR(USA), RZFM(Germany)
Quiz Questions Q.1 An entity set that does not have sufficient attributes to form a primary key is a (A) strong entity set. (B) weak entity set. (C) simple.
Chapter 4 Relational Databases
Chapter 2: Intro to Relational Model
Chapter Name SQL: Data Manipulation
Relational Database Design
Chapter 8 Advanced SQL.
Unit Relational Algebra 1
Presentation transcript:

Data Bits Many to Many Subkeys JoinsQueries Attributes $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$100 Answer from Many-to- Many This represents a specific modeling situation that you might encounter frequently in database design..

$100 Question from Many-to- Many What is a design pattern?

$200 Answer from Many-to- Many This class contains attributes which are the properties of an association.

$200 Question from Many-to- Many What is an association class?

$300 Answer from Many-to- Many This association has a maximum multiplicity of "*" on both sides.

$300 Question from Many-to- Many What is a many-to-many association?

$400 Answer from Many-to- Many This attribute can be computed from data stored elsewhere in the database; it is shown in UML but not in the relation scheme.

$400 Question from Many-to- Many What is a derived attribute?

$500 Answer from Many-to- Many This table is created to hold the linking attributes (FKs) from both sides of a many-to-many association, whether or not there is an association class.

$500 Question from Many-to- Many What is a junction table?

$100 Answer from Subkeys This is the formal definition of the super key property; if I know the value of set "X" of attributes in a relation, I can uniquely determine the value of set "Y" (as well as X).

$100 Question from Subkeys What is a functional dependency?

$200 Answer from Subkeys This set of attributes is a super key for some, but not all, of the attributes in a relation.

$200 Question from Subkeys What is a subkey?

$300 Answer from Subkeys This decomposition of a relation scheme eliminates a subkey and lets us recreate the original scheme’s information with the join in a query.

$300 Question from Subkeys What is lossless join decomposition?

$400 Answer from Subkeys Following this set of rules insures that a database is well designed.

$400 Question from Subkeys What is normalization?

$500 Answer from Subkeys A database with no subkey in any relation (with rare exceptions) is said to be in this form.

$500 Question from Subkeys What is third normal form?

$100 Answer from Joins Join of two tables with the intersection of their schemes used as join attributes.

$100 Question from Joins What is a natural join?

$200 Answer from Joins Join of two tables with join attributes specified by the programmer.

$200 Question from Joins What is an inner join?

$300 Answer from Joins Join of two tables that retains unmatched join attributes from one or both sides.

$300 Question from Joins What is an outer join?

$400 Answer from Joins Paste of every pair of tuples from each relation, disregarding join attributes. Also know as a Cartesian product.

$400 Question from Joins What is a cross join?

$500 Answer from Joins An alternate, short name for a table in the FROM clause of a SELECT statement.

$500 Question from Joins What is an alias?

$100 Answer from Queries This language is used to build and manipulate relational databases. It is declarative, rather than procedural.

$100 Question from Queries What is the Structured Query Language (SQL)?

$200 Answer from Queries Statements to create and modify tables and other database objects.

$200 Question from Queries What is Data Definition Language (DDL)?

$300 Answer from Queries Statements to work with data in a table.

$300 Question from Queries What is Data Manipulation Language (DML)?

$400 Answer from Queries Clause used when you combine single columns with an aggregate function.

$400 Question from Queries What is a Group By Clause?

$500 Answer from Queries Function that operates on a group of rows, for example, SUM.

$500 Question from Queries What is an Aggregate Function?

$100 Answer from Attribute Attribute This is considered a class within a class.

$100 Question from Attribute Attribute What is a weak entity?

$200 Answer from Attribute Attribute There are many distinct values entered for this in the same column of the table.

$200 Question from Attribute Attribute What is a multi-valued attribute?

$300 Answer from Attribute Attribute This causes a large number of null values in a table row.

$300 Question from Attribute Attribute What is a repeated attribute?

$400 Answer from Attribute Attribute [0..*]

$400 Question from Attribute Attribute What is the UML notation to show a repeating or multi-valued attribute?

$500 Answer from Attribute Attribute You would only do this when the repeated attribute has several attributes of its own You would only do this when the repeated attribute has several attributes of its own.

$500 Question from Attribute Attribute What is show the repeating attribute in its own class?

Final DataBit Keys An outside agency such as a standards body or a government agency has developed this so that we can use it as if it were a descriptive attribute.

Final DataBit What is an external (surrogate) key?