What is a Database?. “A persistent & organised store of data. ” Persistent:  Non-volatile  Using secondary storage Organised:  Data organised into.

Slides:



Advertisements
Similar presentations
Organisation Of Data (1) Database Theory
Advertisements

The Ribbon Standard to all Office 2007 applications Organized by feature and functionality Navigation Pane Access to all objects in the current database.
WHAT D IS RAW, UNPROCESSED FACTS AND FIGURES COLLECTED, STORED AND PROCESSED BY COMPUTERS.
Post Exam Study Database Design
MySQL. To start go to Login details: login: labuser password:macimd15 – There.
Database Theory Each Table in a Database needs a Primary Key Data TypesDescriptionExample TextCharacters (Letters, numbers and symbols) ABC 123 NumberNumerical.
Data Design The futureERD - CardinalityCODINGRelationshipsDefinition.
2010/11 : [1]Building Web Applications using MySQL and PHP (W1)MySQL Recap.
Day 3 - Basics of MySQL What is MySQL What is MySQL How to make basic tables How to make basic tables Simple MySQL commands. Simple MySQL commands.
MySQL-Database Teppo Räisänen Oulu University of Applied Sciences School of Business and Information Management.
Database A collection of related information stored on a computer and organized in a manner that allows access, retrieval, and use of that data.
1004INT Information Systems Week 10 Databases as Business Tools.
Databases and Database Management Systems
Information Storage and Retrieval CS French Chapter 3.
Relational Databases What is a relational database? What would we use one for? What do they look like? How can we describe them? How can you create one?
Phonegap Bridge – File System CIS 136 Building Mobile Apps 1.
Computer Science & Engineering 2111 Introduction to Database Management Systems Relationships and Database Creation 1 CSE 2111 Introduction to Database.
Databases. Objectives Define what a database is. Understand the difference between a flat and relational database Design and create a relational database.
DBMS 3. course. Reminder Data independence: logical and physical Concurrent processing – Transaction – Deadlock – Rollback – Logging ER Diagrams.
Review Session What is data, what is information, and give a real world example to differentiate these two concepts.
DATABASE MANAGEMENT SYSTEMS BASIC CONCEPTS 1. What is a database? A database is a collection of data which can be used: alone, or alone, or combined /
DATABASE MANAGEMENT SYSTEMS BASIC CONCEPTS 1. What is a database? A database is a collection of data which can be used: alone, or alone, or combined /
Introduction –All information systems create, read, update and delete data. This data is stored in files and databases. Files are collections of similar.
Irwin/McGraw-Hill Copyright © 2000 The McGraw-Hill Companies. All Rights reserved Whitten Bentley DittmanSYSTEMS ANALYSIS AND DESIGN METHODS5th Edition.
Driving School Database
Dbwebsites 2.1 Making Database backed Websites Session 2 The SQL… Where do we put the data?
Lesson 1 Introduction of Databases Using Microsoft Access.
Database Organization and Design
RELATIONSHIPS Generally there are two main database types: flat-file and relational.
Normalization A technique that organizes data attributes (or fields) such that they are grouped to form stable, flexible and adaptive entities.
PLUG IT IN 3 Fundamentals of Relational Database Operations.
Chapter 4 Introduction to MySQL. MySQL “the world’s most popular open-source database application” “commonly used with PHP”
Introduction to MySQL Lab no. 10 Advance Database Management System.
CSC 2720 Building Web Applications Database and SQL.
Databases The Kingsway School. Database Systems Databases are programs which store information in a logical way. Databases have a structure which helps.
SQL Data Definition Language (DDL) Using Microsoft SQL Server 1SDL Data Definition Language (DDL)
Information Systems & Databases 2.2) Organisation methods.
ATADESAB. BATLE CORDER DLEIF Lesson objectives In this lesson you will learn some basic database terms and learn how a database is created.
© Relational Databases. © Entities Data is stored in tables. Each table is concerned with one entity An entity is a.
What we’ve learnt Doc 5.69 Doc 5.70 Section 1-3. A simple database Related objects Tables hold the data Forms, reports, queries to access the data.
Version: 2.0. Forenam e of parent Surname of parent Address 1 Address 2 Name of child Age of child School database example. Try adding a few rows for.
Access Review. Access Access is a database application A database is a collection of records and files organized for a particular purpose Access supports.
MySQL More… 1. More on SQL In MySQL, the Information Schema is the “Catalog” in the SQL standard SQL has three components: Data definition Data manipulation.
Btec National - Advanced Databases 1 Advanced Databases Entity Relationship Diagrams.
Rebecca McCready Faculty of Medical Sciences Newcastle University Lecture 2 – Relationships and Lookup fields.
Advanced Web 2012 Lecture 3 Sean Costain What is a Database? Sean Costain 2012 A database is a structured way of dealing with structured information.
Relational Theory and Design
Quiz questions. 1 A data structure that is made up of fields and records? Table.
Intro to Access and Data Management. Announcements Chapter 5 – Thursday Entropy Registration Quiz Due Date Extended to Weds. Dreamspark Registration Questions?
Lesson 2: Designing a Database and Creating Tables.
Introduction to Access Chapter 13 pages 1-4. What is a database??? Related information is stored in databases  All SC student information is stored in.
DBMS 3. course. Reminder Data independence: logical and physical Concurrent processing – Transaction – Deadlock – Rollback – Logging ER Diagrams.
* Database is a group of related objects * Objects can be Tables, Forms, Queries or Reports * All data reside in Tables * A Row in a Table is a record.
Understand Relational Database Management Systems Software Development Fundamentals LESSON 6.1.
Btec National - IT SYSTEMS ANALYSIS AND DESIGN 1 IT Systems Analysis and Design Entity Relationship Diagrams.
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)
Hoi Le. Why database? Spreadsheet is not good to: Store very large information Efficiently update data Use in multi-user mode Hoi Le2.
Normalisation Unit 6: Databases. Just to recap  What is an Entity  What is an Attribute?
Year 12 > 13 Applied GCE ICT Unit 7 Using Database Software.
MySQL-Database Jouni Juntunen Oulu University of Applied Sciences
Lecture 6 Data Model Design (continued)
Lesson 7 Managing Data Creating a database with Web Matrix.
Database Concepts Relational Databases Start ….
5.02 Understand database queries, forms, and reports used in business.
Assignment 3 Presentation EXAMPLE
Chapter 4 Introduction to MySQL.
ICT Database Lesson 2 Designing a Database.
Databases This topic looks at the basic concept of a database, the key features and benefits of a Database Management System (DBMS) and the basic theory.
Record your QUESTIONS as your read.
Presentation transcript:

What is a Database?

“A persistent & organised store of data. ” Persistent:  Non-volatile  Using secondary storage Organised:  Data organised into tables, records & fields

Important Database Words Entity Table Record Field Relationship Primary Key Foreign Key Query

Tables, Records & Fields Movie TitleGenreYear Released Star Wars Sci Fi1977 Ice Age Animation2002 Wall E Animation2008 Avatar Nonsense2009 TABLERECORDFIELD

Database Examples  What databases do you know of?  What entities are involved in these example databases?

The Task DesignBuildingRelationshipsQueryingReports/Interface  Create a database that stores information about recent film releases.  The database will need to store information about the actors  You will be free to decide the type of information that needs to be stored about each film.  Film reviewers will also need to be able to submit reviews for each film

Step 1 - Design  Its important to design the database well.  To do this you use entity relationship diagrams (ERD’s)  Each table in the database is a separate entity Teachers name DoB address subject niNumber salary startedJob teacherNo Entity An entity is a real-world object, about which data is stored.

Data Types  Just like programming databases like to categorise the data  Some of the most used types are in the table  There can be a difference between different database systems Text Varchar() Text Number tinyInt() Int() bigInt() float Date dateTime() Timestamp() MySQL Data Types