DISCOVERY MACAddress ID1 IPAddress ID2 NetProtocolType DEVICE HostName DeviceType AmtOfCable ConnType VIRTUALIZATION ProfileID MONITORING DateTimeID RefreshRate.

Slides:



Advertisements
Similar presentations
Creating Databases and E/R Diagrams with SQL Server Management Studio Svetlin Nakov Telerik Corporation
Advertisements

Database Chapters.
1 I Esempio di constraints. 2 DROP TABLE regions; CREATE TABLE regions ( region_id NUMBER CONSTRAINT region_id_nn NOT NULL, region_name VARCHAR2(25) );
MySQL. To start go to Login details: login: labuser password:macimd15 – There.
1 Assignment 4 Map entities with relationships to relational schemas. Use DBDL to describe the table schemas.
SQL Lecture 10 Inst: Haya Sammaneh. Example Instance of Students Relation  Cardinality = 3, degree = 5, all rows distinct.
Basic SQL types String –Char(n): fixed length. Padded –Varchar(n): variable length Number –Integer: 32 bit –Decimal(5,2): –Real, Double: 32 bit,
1 Chapter 2: Creating and Modifying Database Tables.
Session – 19 INTEGRATY AND SECURITY INTEGRITY Matakuliah: M0184 / Pengolahan Data Distribusi Tahun: 2005 Versi:
Creating Database Tables © Abdou Illia MIS Spring /21/2015.
The Relational Model Codd (1970): based on set theory Relational model: represents the database as a collection of relations (a table of values --> file)
Kirkwood Center for Continuing Education Introduction to PHP and MySQL By Fred McClurg, Copyright © 2010 All Rights Reserved. 1.
Database Architecture The Relational Database Model.
Your Oracle Account UserName is the same as your UWP username Followed Not case sensitive Initial Password: UWPstudent Password is case sensitive.
1 CSE 480: Database Systems Lecture 9: SQL-DDL Reference: Read Chapter of the textbook.
Lecture 3 The Relational DB Model. Learning Objectives That the relational database model takes a logical view of data That the relational model’s basic.
Creating Databases with MySQL Workbench Build the Forums database in Ullman’s Chapter 6.
INTEGRITY. Integrity constraint Integrity constraints are specified on a database schema and are expected to hold on every valid database state of the.
Online Complaint Management Guided By: Mrs. Hiral.A.Patel Mrs. Hiral.A.Patel Prepared by: Mr.KeyurPatel Mr.Keyur Patel : Mr.NiravPatel
12/6/2012ISC329 Isabelle Bichindaritz1 The Dreamhome Online Real- estate Company Management System.
Data Definition Language Using sqldeveloper. To create connection Create new connection (any name) Username: sys Password: oracle11 Tick on Save password.
Kirkwood Center for Continuing Education Introduction to PHP and MySQL By Fred McClurg, Copyright © 2015, Fred McClurg, All Rights.
1 Creating and Modifying Database Objects. 2 An Oracle database consists of multiple user accounts Each user account owns database objects Tables Views.
JENNIFER DILLY FERRIS STATE UNIVERSITY SEPTEMBER 25, 2011 Database Design.
Intro to SQL| MIS 2502  Spacing not relevant › BUT… no spaces in an attribute name or table name  Oracle commands keywords, table names, and attribute.
Creating Tables and Inserting Records -- Not easy to edit! -- check constraints! Create table test1 ( C1 char(5) primary key, C2 Varchar2(15) not null.
The Relational Model J.G. Zheng Jan 2010 CIS 8040 Database Management Systems.
MySQL and JDBC Tutorial ECT 7130 Hong Cheng. Supplement on MySQL ement/Supplement4bMySQL.pdf.
DAT602 Database Application Development Lecture 2 Review of Relational Database.
What’s a database? Data stored in a structured format that lends itself to easy manipulation and recall.
CSCI321 : IT2/1A : Physical Network Aid Mr Ee Kiam Keong Lim Willie, Chua Shui Li Tan Yong Meng Shirley Chin Noraizah Naftalia.
CS 3630 Database Design and Implementation. Database Schema Branch (Bno…) Staff (Sno…Bno) Owner (Ono…) PropertyForRent (Pno…Ono) Renter (Rno…) Viewing.
Introduction to Databases Queries CS 146. Sample Database: CANDY_CUSTOMER CANDY_PURCHASE CANDY_CUST_TYPE CANDY_PRODUCT.
Online Parking System.
CpSc 462/662: Database Management Systems (DBMS) (TEXNH Approach) Relational Schema and SQL Queries James Wang.
 PASS simplifies access  Single username and password for all POST online services  Allows secure delivery of personalized information (POST Profiles,
1 Chapter 2: Creating and Modifying Database Objects.
DATABASE DEVELOPMENT WITH VSTS DATABASE EDITION By Chris Dahlberg ©2009 Aspect Software, Inc. All rights reserved. 1.
Step 1 Remove the wifi Network which is already connected.
SE305 Database System Technology 25/09/2014 Quiz-1.
Web Application Design. Data –What data is available? –How do we store it or how is it stored in the DB? Schema Data types Etc. –Where is the data?
Chapter 3: Relational Databases
Lecture 03 Constraints. Example Schema CONSTRAINTS.
Howard Paul. Sequential Access Index Files and Data File Random Access.
DATA MODELING AND DATABASE DESIGN DATA MODELING AND DATABASE DESIGN Part 2.
Working with MySQL A290/A590, Fall /07/2014.
Dorm Name PK Occupancy Dorm Name PK Occupancy HighResDorm StartDate HighResDorm StartDate LowResDorm StartDate WaterSensorID WaterOnLineDate ElecSensorID.
1 CSE 4904 Core Database Classes. 2 CSE 4904 The User Table CREATE TABLE `tmr`.`user` ( `USER_ID_PK` int(11) NOT NULL AUTO_INCREMENT, `UserName` varchar(25)
CS320 Web and Internet Programming SQL and MySQL Chengyu Sun California State University, Los Angeles.
Introduction to MySQL  Working with MySQL and MySQL Workbench.
Information System Design “Student Registration System Example”
Introduction to Databases Queries CS 146. Sample Database: CANDY_CUSTOMER CANDY_PURCHASE CANDY_CUST_TYPE CANDY_PRODUCT.
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.
MS SQL Create Table Cust USE jxc00 GO CREATE TABLE cust ( cust_id smallint IDENTITY(1,1) NOT NULL, cust_name char(10)
CS320 Web and Internet Programming SQL and MySQL
Operating & Configuring a Cisco IOS Device
MySQL Explain examples
Assignment 4 Map entities with relationships to relational schemas.
Windows 94
Introduction to Computer Science (CIS 101)
Chapter 3 The Relational Model.
בסיסי נתונים - מצגת ההרצאה - 1.
בסיסי נתונים ושפת SQL הרצאה #4
Create New User in Database. First Connect the System.
TCS VIRTUAL BOARD (TVB)
CS3220 Web and Internet Programming SQL and MySQL
Virtual Learning Environment
CS3220 Web and Internet Programming SQL and MySQL
Instructor: Samia arshad
Chapter 3 The Relational Model
Presentation transcript:

DISCOVERY MACAddress ID1 IPAddress ID2 NetProtocolType DEVICE HostName DeviceType AmtOfCable ConnType VIRTUALIZATION ProfileID MONITORING DateTimeID RefreshRate Status INFORMATION UpTime DownTime Service USER UsernameID Password Rights LOGIN LoginDateTime ID 1..** Login 1..* * Consists of 1..* * Consists of 0..1 *

Relational Schema USER (Username, Password, Rights) Primary key: Username LOGIN(LoginDateTime, Username, Profile) Primary key: (LoginDateTime, Username, Profile) Foreign key: Username references USER (Username) VIRTUALIZATION(Profile) Primary key: Profile DISCOVERY (MACAddress, IPAddress, NetProtocolType) Primary key: MACAddress Candidate key: IPAddress DEVICE(MACAddress, HostName, DeviceType, AmtOfCable, ConnType) Primary key: MACAddress Foreign key: (MACAddress) references DISCOVERY (MACAddress) MONITORING(MACAddress, IPAddress, DateTime, RefreshRate, Status) Primary key: (MACAddress, IPAddress, DateTime) Foreign key: (MACAddress, IPAddress) references DISCOVERY (MACAddress, IPAddress) INFORMATION(MACAddress, IPAddress, DateTime, UpTime, DownTime, Service) Primary key: (MACAddress, IPAddress, DateTime) Foreign key: (MACAddress, IPAddress) references DISCOVERY (MACAddress, IPAddress) Foreign key: (DateTime) references MONITORING(DateTime)

Username : VARCHAR(20) NOT NULL (PK) Password: VARCHAR(10) NOT NULL Rights : VARCHAR(10) NOT NULL USER LoginDateTime: TIMESTAMP NOT NULL (PK) Username: VARCHAR(20) NOT NULL (FK) Profile: VARCHAR(20) NOT NULL (FK) LOGIN Profile: VARCHAR(20) NOT NULL (PK) VIRTUALIZATION MACAddress: VARCHAR(17) NOT NULL (PK) IPAddress: VARCHAR(15) (FK) NetProtocolType: VARCHAR(20) NOT NULL DISCOVERT MACAddress: VARCHAR(17) NOT NULL (FK) HostName: VARCHAR(20) NOT NULL DeviceType : VARCHAR(20) NOT NULL AmtOfCable : INTEGER(3) NOT NULL ConnType: VARCHAR(20) NOT NULL DEVICE DateTime: TIMESTAMP NOT NULL (PK) MACAddress: VARCHAR(17) NOT NULL (FK) IPAddress: VARCHAR(15) (FK) RefreshRate: INTEGER(2) NOT NULL Status: VARCHAR(20) NOT NULL MONITORING DateTime: TIMESTAMP NOT NULL (FK) MACAddress: VARCHAR(17) NOT NULL (PK) IPAddress: VARCHAR(15) (FK) UpTime: TIMESTAMP NOT NULL DownTime: TIMESTAMP NOT NULL Service: VARCHAR(30) NOT NULL INFORMATION Data Dictionary