COURSE: DATABASES Prof.dr Leonid Stoimenov, mr Aleksandar Stanimirović, dipl.ing Miloš Bogdanović Project IB_JEP-41148-2006 (RS) University of Niš Faculty.

Slides:



Advertisements
Similar presentations
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall
Advertisements

Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 5 More SQL: Complex Queries, Triggers, Views, and Schema Modification.
The Relational Model and Relational Algebra Nothing is so practical as a good theory Kurt Lewin, 1945.
Basic SQL Introduction Presented by: Madhuri Bhogadi.
 2003 Prentice Hall, Inc. All rights reserved. Chapter 22 – Database: SQL, MySQL, DBI and ADO.NET Outline 22.1 Introduction 22.2 Relational Database Model.
FEN Welcome Presentation Seminar overview Seminar: Introduction to relational databases.
Introduction to Structured Query Language (SQL)
Introduction to Structured Query Language (SQL)
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 1-1 COS 346 Day 1.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 1-1 David M. Kroenke’s Chapter One: Introduction Part One Database Processing:
Getting Started (Excerpts) Chapter One DAVID M. KROENKE’S DATABASE CONCEPTS, 2 nd Edition.
ASP.NET Database Connectivity I. 2 © UW Business School, University of Washington 2004 Outline Database Concepts SQL ASP.NET Database Connectivity.
Structured Query Language Chapter Three (Excerpts) DAVID M. KROENKE’S DATABASE CONCEPTS, 2 nd Edition.
Introduction to Structured Query Language (SQL)
Structured Query Language Chapter Three DAVID M. KROENKE’S DATABASE CONCEPTS, 2 nd Edition.
Getting Started Chapter One DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 5 th Edition.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Getting Started Chapter One DATABASE CONCEPTS, 7th Edition
Chapter 12 Database Connectivity with ASP.NET JavaScript, Third Edition.
CSC 2720 Building Web Applications Database and SQL.
Why Databases.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Computer Science 101 Web Access to Databases SQL – Basic Queries.
1 IT420: Database Management and Organization SQL: Structured Query Language 25 January 2006 Adina Crăiniceanu
Getting Started Chapter One DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition.
Prof. dr Slobodanka Đorđević-Kajan Dr Dragan Stojanović
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 2-1 David M. Kroenke’s Chapter One: Why DB? Database Processing: Fundamentals,
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 7-1 David M. Kroenke’s Chapter Seven: SQL for Database Construction and.
CPS120: Introduction to Computer Science Information Systems: Database Management Nell Dale John Lewis.
ASP.NET Programming with C# and SQL Server First Edition
Working with Queries in Microsoft Access The Access Workbench: Section Three DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 3 rd Edition.
CHAPTER 7 Database: SQL, MySQL. Topics  Introduction  Relational Database Model  Relational Database Overview: Books.mdb Database  SQL (Structured.
AL-MAAREFA COLLEGE FOR SCIENCE AND TECHNOLOGY INFO 232: DATABASE SYSTEMS CHAPTER 7 INTRODUCTION TO STRUCTURED QUERY LANGUAGE (SQL) Instructor Ms. Arwa.
David M. Kroenke’s Chapter One: Introduction Part Two Database Processing: Fundamentals, Design, and Implementation.
Review of Activities of Working Group for Database Systems Prof. Dr Slobodanka Đorđević-Kajan.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 13-1 David M. Kroenke’s Chapter Thirteen: XML and ADO.NET Part Four Database.
FEN  Concepts and terminology  Operations (relational algebra)  Integrity constraints The relational model.
CPS120: Introduction to Computer Science Lecture 19 Introduction to SQL.
1 Databases November 15, 2005 Slides modified from Internet & World Wide Web: How to Program (3rd) edition. By Deitel, Deitel, and Goldberg. Published.
 2004 Prentice Hall, Inc. All rights reserved. 1 Segment – 6 Web Server & database.
Faculty of Electronic Engineering 1 Database Access API’s Aleksandar Stanimirović Leonid Stoimenov Aleksandar Milosavljević.
 2006 Pearson Education, Inc. All rights reserved Database, SQL and ADO.NET.
1 Copyright © 2004, Oracle. All rights reserved. Introduction.
7 1 Chapter 7 Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
MIS 327 Database Management system 1 MIS 327: DBMS Dr. Monther Tarawneh Dr. Monther Tarawneh Week 2: Basic Concepts.
Chapter 4 Database Processing Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-1.
Getting Started Chapter One DAVID M. KROENKE’S DATABASE CONCEPTS, 2 nd Edition.
6 1 Lecture 8: Introduction to Structured Query Language (SQL) J. S. Chou, P.E., Ph.D.
DATABASE SYSTEMS. DATABASE u A filing system for holding data u Contains a set of similar files –Each file contains similar records Each record contains.
IST 220 Introduction to Databases Course Wrap-up.
Database Systems Design, Implementation, and Management Coronel | Morris 11e ©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or.
Database Management COP4540, SCS, FIU Structured Query Language (Chapter 8)
DBSQL 5-1 Copyright © Genetic Computer School 2009 Chapter 5 Structured Query Language.
Getting Started Chapter One DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 4 th Edition.
AL-MAAREFA COLLEGE FOR SCIENCE AND TECHNOLOGY INFO 232: DATABASE SYSTEMS CHAPTER 7 (Part II) INTRODUCTION TO STRUCTURED QUERY LANGUAGE (SQL) Instructor.
Indexes and Views Unit 7.
Database Management Supplement 1. 2 I. The Hierarchy of Data Database File (Entity, Table) Record (info for a specific entity, Row) Field (Attribute,
Component 4: Introduction to Information and Computer Science Unit 6: Databases and SQL Lecture 6 This material was developed by Oregon Health & Science.
April 2002 Information Systems Design John Ogden & John Wordsworth 1 Database Design SQL (1) John Wordsworth Department of Computer Science The University.
Manipulating Data Lesson 3. Objectives Queries The SELECT query to retrieve or extract data from one table, how to retrieve or extract data by using.
7 1 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel 7.6 Advanced Select Queries SQL provides useful functions that.
LM 5 Introduction to SQL MISM 4135 Instructor: Dr. Lei Li.
Concepts of Database Management, Fifth Edition Chapter 3: The Relational Model 2: SQL.
Database Access with SQL
© 2016, Mike Murach & Associates, Inc.
Chapter 4 Relational Databases
CIS 336 Lessons in Excellence-- cis336.com. CIS 336 Final Exam (Feb 2016) For more course tutorials visit CIS 336 Final Exam Question 1.
Database Access from Client Applications
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall
Geo-Databases: lecture 2 The Relational Data Model
Presentation transcript:

COURSE: DATABASES Prof.dr Leonid Stoimenov, mr Aleksandar Stanimirović, dipl.ing Miloš Bogdanović Project IB_JEP (RS) University of Niš Faculty of Electronic Engineering Department of Computer Science

General information  Course: Databases  Lecturers and authors of materials  Prof. dr Leonid Stoimenov  Mr. Aleksandar Stanimirović  Dipl. ing. Miloš Bogdanović  Scheduled: June 19.,20.,  Lessons:  3 sections  8 lessons

Goals  Basics of relational databases  How to create relational database  How to query data  How to manipulate data  Database applications  MS Access  ADO.NET  Desktop and Web applications

Literature  D.Kroenke, D.Auer, Database Concepts, Third Edition, Pearson Prentice Hall,  S.Đor đ ević-Kajan, L.Stoimenov, Baze podataka, praktikum za vežbe na računaru, Elektronski fakultet u Nišu, Edicija pomoćni udžbenici,  R. Elmastri & S. Navathe, Fundamentals of Database Systems, Pearson International Education, Addison Wesley, 5th edition, 2007.

Lessons overview  Section I : Introduction:  Lesson 1: Databases and relational model  Section II : SQL  Lesson 2: Data definition (CREATE TABLE)  Lessons 3 and 4: Queries (SELECT)  Lesson 5: Data manipulation (INSERT, UPDATE, DELETE)  Section III: Application development  Lesson 6: MS Access – applications, forms, reports  Lesson 7: ADO.NET  Lesson 8: Desktop and Web database applications

COURSE: Databases Section I : Databases and relational model

Lesson 1: Databases and relational model  Introduction  Database  Database Management System (DBMS)  Data models  Categories of Data models  Relational data model  Characteristics of Relations  Examples  Key constraints  Referential integrity and foreign keys  Exercises

Lesson 1: Databases and relational model  Relational databases  What are relational databases?  Relations represented as two-dimensional tables  Table columns  Table rows  Constraints  Database Management System (DBMS)  What is Database Management System?  Basic components  Database applications  Exercises

Lesson 1: Databases and relational model  Personal DBMS

Lesson 1: Databases and relational model  Company DBMS

Lesson 1: Databases and Relational model  Example: Database PREDUZEĆE (COMPANY)

Lesson 1: Databases and Relational model  Exercises

COURSE: Databases Section II: SQL

Lesson 2: SQL and Data Definition  Introduction  Database PREDUZEĆE (COMPANY)  Tables (definitions and structure)  Test data  SQL and Data Definition (CREATE TABLE)  Data types  Column constraints  Table constraints  Exercises: MS Access

Lesson 2: SQL and Data Definition  Example: Database PREDUZEĆE (Company)

Lessons 3 i 4: Queries (SELECT)  SELECT keyword  SELECT and FROM clauses  WHERE clause  ORDER BY clause  Arithmetic and aggregate functions  Exercises: MS Access  GROUP BY and HAVING clauses  Table joins  Cartesian product (cross-join)  Different types of table joins  Combining results from multiple queries

Lessons 3 and 4: Queries (SELECT)

Lesson 5: Data manipulation  Adding new rows  Modifying existing rows  Deleting existing rows  Modifying relational database scheme  Deleting tables  Modifying tables

COURSE: Databases Section III: Application development

Lekcija 6: MS Access – applications, forms, reports  Introduction  Forms  Reports  Macros  Access application

Lesson 7: ADO.NET  ADO.NET basics  ADO.NET data providers  ADO.NET direct data access  Connection object  Command object  DataReader object  DataSet object and connectionless data access

Lekcija 8: Desktop and Web database applications  Introduction  Windows Forms controls data bindings  ASP.NET controls data bindings

COURSE: Databases Course implementation

 Lessons schedule  Databases and relational model – May 25  Data definition (CREATE TABLE) – May 29  Queries (SELECT) – June 2  Data manipulation (INSERT, UPDATE, DELETE) – June 5  MS Access – applications, forms, reports – June 9  ADO.NET – June 12  Desktop and Web database applications – June 15

Course implementation  Lessons were created using exeLearning

Course implementation  Moodle course with imported SCORM packages

Course implementation  Lesson 1 (SCORM package)

Course implementation  Moodle calendar

Course implementation  Moodle forum

Course implementation  Moodle assigment

Course implementation  Moodle quiz

DATABASES Contact info