Global searching is not enabled.
Skip to main content

Topic outline

  • Week 1: Introduction to Database

  • Week 2: Database Architecture


  • Week 3: Relational Database Management System


  • Week 4: Relational Database Modeling

    About this chapter

    In this chapter, we will learn about data modeling. A data modeling is the first step of a database design. A good data modeling will help the database designer to create a proper database that matches to both the user's needs and the system's requirements.

    Entity Relational Diagram (ERD) will be used as a tool of database modeling. A well-designed ERD shows a complete users (entity) interaction with the database.

    Learning Objectives:

    • How to use Entity–Relationship (ER) modeling in database design.
    • Basic concepts associated with ER model.
    • Diagrammatic technique for displaying ER model using Unified Modeling Language (UML)
    • How to identify and resolve problems with ER models called connection traps.
    • How to build an ER model from a requirements specification.

    Learning Structure:
    This chapter consists of reading material, lecturer-presentation material, and some videos. You need to read and watch the materials prior to the class session. In the main activity (class session), we would like to invite you with the online collaboration for Entity Relationship Diagram practices. In the end of this chapter, there is an assignment that you need to accomplish. Here is the structure of learning activities:
    1. Reading text book: 1,5 hours
    2. Watching Videos: 15 minutes
    3. Online collaboration: 2 hours
    4. Individual Assignment: 1 individual project (duration: 1 week)
  • Week 5: Relational Database Modeling - Case Study

    About this chapter

    In this part you will create a database modeling based on the case given in this section.

    Learning Objectives:

    • How to use Entity–Relationship (ER) modeling in database design.
    Learning Structure:
    This chapter consists of reading material, lecturer-presentation material, and some videos. You need to read and watch the materials prior to the class session. In the main activity (class session), we would like to invite you with the online collaboration for Entity Relationship Diagram practices. In the end of this chapter, there is an assignment that you need to accomplish. Here is the structure of learning activities:
    1. Reading text book: 1 hours
    2. Watching Videos: 10 minutes
    3. Online collaboration: 2 hours
    4. Online workshop: 1,5 hours
    5. Group Assignment: case study presentation

  • Week 6: Database Normalization

  • Week 7: Database Normalization - Case Study

  • Week 8: Mid Exam


    • Instruction
      1. Read the following cases below.There are two cases. You are required to provide database design to support the business process given in the case.
      2. Student whose last digit of his/her ID is Odd (ganjil) work only Case 1. While student whose last digit of his/her ID is even (genap) or 0 will work on Case 2.
      3. Design a database to support all general business processes. A bonus business process is not a must, but it will give you extra score if you do it correctly.
      4. Use Entity Relationship Diagram (ERD) to create the database modeling.
      5. Use any tools to draw the ERD, and capture the diagram and copy it to Microsoft Excel.
      6. Convert the ERD into tables the represent the database. Create those tables in the same Microsoft Excel file.
      7. Insert or provide data, min 5 record per table.
      8. Test the tables. Make sure they are normal.
      9. Upload and submit the Microsoft Excel file in your course in eCampus. The file must consist of ERD and tables including the data sample.

      Case 1:
      A restaurant is developing a new information system. The system needs a database to support the business process in the restaurant.

      Below are the business processes:

      1. Customer must be registered as member of the restaurant.
      2. Customer choose menu via offline. The customer needs to go to the restaurant to choose the menu.
      3. There are two payment methods: Cash or Credit/Debit Card.
      4. There are several types of menu. For example: meal, drinks, snack, etc.
      5. Customer received bill that contains detail of item purchased (name, quantity), total payment, payment methods, customer name, and transaction date.

      Bonus:
      Some menu may have discount. The discount is based on menu package. For example, IF customer buy Package A (2 nasi goreng, 2 tea, 2 ice cream) THEN the total price will get 5% discount. The package is cheaper rather than they buy the menu not in a package.

      Case 2
      A motorcycle repair shop (bengkel motor) is developing a new information system. The system needs a database to support their business process.
      The business process are as followed:
      1. Customer must be registered as member of the motorcycle repair shop.
      2. Customer must book a schedule for motorcycle service. The book record: customer name, type of motorcycle, motorcycle number (nomor polisi), date, and note. Note can be filled with customer's complain about his/her motorcycle.
      3. After the service, the customer will receive the bill that contains of the book number (book ID), list of services (i.e clean the engine, check the engine, etc), list of product (lubricant, any sparparts, etc.), price of each services, price of each product, total payment, date.
      Bonus:
      There are 3 level of membership, Gold, Silver, and Bronze. Each level will give different discount. For example Gold member will have 20% discount of service, Silve will have 15% and Bronze will have 10%.


  • Week 9: Introduction to MS. SQL Server

    What is SQL Server? - Computer Business Review

    About this chapter

    In this chapter, we will learn about MS. SQL Server Express edition that can easily be downloaded from the vendor's website. After installation we will continue to see some features in MS. SQL Server.

    MS SQL Server is a relational database management system (RDBMS) developed by Microsoft. This product is built for the basic function of storing retrieving data as required by other applications. It can be run either on the same computer or on another across a network

    Learning Objectives:

    • How to install MS. SQL Server Express Edition .
    • Login and set permission.
    • Create database, tables
    • Define Primary Key, Foreign Key
    • Show relationship between table

    Learning Structure:
    This chapter consists of reading material, lecturer-presentation material, and some videos. You need to read and watch the materials prior to the class session. In the main activity (class session), we would like to invite you with the online class session and practices. In the end of this chapter, there is an assignment that you need to accomplish. Here is the structure of learning activities:
    1. Reading text book: 1,5 hours
    2. Watching Videos: 15 minutes
    3. Online collaboration: 2 hours
    4. Individual Assignment: 1 individual project (duration: 1 week)

    • Microsoft SQL Server is an application used to create computer databases for the Microsoft Windows family of server operating systems. Microsoft SQL Server provides an environment used to generate databases that can be accessed from workstations, the Internet, or other media


      Read the following lecturer presentation notes before we start with the class session. You may also need to watch the video about  introduction to Ms. SQL Server


    • In this main learning activities, we would like to invite you to install and walkthrough on MS. SQL Server.
      SQL Server Report: Headaches Include Cloud Migrations, Sunset of Support,  More
      During the online session, we expect you to engage with the learning activities especially on how install and use MS. SQL Server by following the step by step instruction from the lecturer.


    • After you have install and learned MS. SQL Server, as well as learn the step-by-step to install and use it, now you need to start creating your own business database.

      There is an individual assignment in this post learning section. Read the instruction about the assignment carefully. You are required to create a database for your own business

  • Week 10: Managing Tables

    Execute

    About this chapter

    In this chapter, we will learn about how to create database, tables and inputting data by using SQL syntax.

    Learning Objectives:

    • How to create database and tables by using query syntax .
    • How to create the relationship between tables

    Learning Structure:
    This chapter consists of reading material, lecturer-presentation material, and some videos. You need to read and watch the materials prior to the class session. In the main activity (class session), we would like to invite you with the online class session. In the end of this chapter, there is an assignment that you need to accomplish. Here is the structure of learning activities:
    1. Reading text book: 1,5 hours
    2. Watching Videos: 15 minutes
    3. Online collaboration: 2 hours
    4. Individual Assignment: 1 individual project (duration: 1 week)


    • A table is a collection of related data held in a table format within a database. It consists of columns and rows. In relational databases, and flat file databases, a table is a set of data elements (values) using a model of vertical columns (identifiable by name) and horizontal rows, the cell being the unit where a row and column intersect. A table has a specified number of columns, but can have any number of rows. Each row is identified by one or more values appearing in a particular column subset. A specific choice of columns which uniquely identify rows is called the primary key.

      er

      Student required to take and understand the post-activity of the previous Chapter and complete the reading required prior the Main class activity. Read the following lecturer presentation notes before we start with the class session. You may also need to watch the video about  managing tables in MS. SQL Server


    • In this main learning activities, we would like to invite you to practice about creating database, tables and relationship on MS. SQL Server.
      One-to-One, One-to-Many Table Relationships in SQL Server
      During the online session, we expect you to use laptop and follow step by step instruction from lecturer

    • After you have followed all the instruction during the class, your are asked to create your own database, tables and relationship between those tables.

      There is an individual assignment in this post learning section. Read the instruction about the assignment carefully. You are required to create a complete database (tables, relationship) for your own business

  • Week 11: Data Manipulation (INSERT, UPDATE, DELETE)


    About this chapter

    In this chapter, we will learn about how to do data manipulation language (DML) by using SQL syntax.

    Learning Objectives:

    • How to INSERT, UPDATE and DELETE by using query syntax .
    Learning Structure:
    This chapter consists of reading material, lecturer-presentation material, and some videos. You need to read and watch the materials prior to the class session. In the main activity (class session), we would like to invite you with the online class session. In the end of this chapter, there is an assignment that you need to accomplish. Here is the structure of learning activities:
    1. Reading text book: 1,5 hours
    2. Watching Videos: 15 minutes
    3. Online collaboration: 2 hours
    4. Individual Assignment: 1 individual project (duration: 1 week)


    • A data manipulation language (DML) is a computer programming language used for adding (inserting), deleting, and modifying (updating) data in a database. A DML is often a sublanguage of a broader database language such as SQL, with the DML comprising some of the operators in the language. Read-only selecting of data is sometimes distinguished as being part of a separate data query language (DQL), but it is closely related and sometimes also considered a component of a DML; some operators may perform both selecting (reading) and writing. A popular data manipulation language is that of Structured Query Language (SQL), which is used to retrieve and manipulate data in a relational database.

      dml

      Student required to take and understand the post-activity of the previous Chapter and complete the reading required prior the Main class activity. Read the following lecturer presentation notes before we start with the class session. You may also need to watch the video about  data manipulation in MS. SQL Server


    • In this main learning activities, we would like to invite you to practice about how to INSERT, UPDATE and DELETE tables on MS. SQL Server.
      SQL Server commands - DML, DDL, DCL, TCL - TechNet Articles - United States  (English) - TechNet Wiki
      During the online session, we expect you to use laptop and follow step by step instruction from lecturer

    • After you have followed all the instruction during the class, your are asked to manipulate some tables on your previous database. There is an individual assignment in this post learning section. Read the instruction about the assignment carefully. You are required to modified your previous database

  • Week 12: Data Manipulation (SELECT)


    About this chapter

    In this chapter, we will learn about retrieving data from tables by using SQL syntax. The SQL SELECT statement returns a result set of records, from one or more tables. A SELECT statement retrieves zero or more rows from one or more database tables or database views. In most applications, SELECT is the most commonly used data manipulation language (DML) command

    Learning Objectives:

    • Purpose and importance of SQL.
    • How to retrieve data from database using SELECT 
    • Use compound WHERE conditions.
    • Sort query results using ORDER BY.

    Learning Structure:
    This chapter consists of reading material, lecturer-presentation material, and some videos. You need to read and watch the materials prior to the class session. In the main activity (class session), we would like to invite you with the online class session and practices. In the end of this chapter, there is an assignment that you need to accomplish. Here is the structure of learning activities:
    1. Reading text book: 1,5 hours
    2. Watching Videos: 15 minutes
    3. Online collaboration: 2 hours
    4. Individual Assignment: 1 individual project (duration: 1 week)


    • DDL(Data Definition Language) : DDL or Data Definition Language actually consists of the SQL commands that can be used to define the database schema. It simply deals with descriptions of the database schema and is used to create and modify the structure of database objects in the database.

      Examples of DDL commands:

      • CREATE – is used to create the database or its objects (like table, index, function, views, store procedure and triggers).
      • DROP – is used to delete objects from the database.
      • ALTER-is used to alter the structure of the database.
      • TRUNCATE–is used to remove all records from a table, including all spaces allocated for the records are removed.
      • COMMENT –is used to add comments to the data dictionary.
      • RENAME –is used to rename an object existing in the database.

      Structured Query Language (SQL) – Theory - CSHARPDOCS.COM

      Student required to take and understand the post-activity of the previous Chapter and complete the reading required prior the Main class activity. Read the following lecturer presentation notes before we start with the class session. You may also need to watch the video about  data manipulation in MS. SQL Server


    • In this main learning activities, we would like to invite you to practice about how to retrieve data from database using SELECT on MS. SQL Server.
      How to use the SELECT statement in SQL
      During the online session, we expect you to use laptop and follow step by step instruction from lecturer

    • After you have followed all the instruction during the class, your are asked to retrieve some tables on your previous database. There is an individual assignment in this post learning section. Read the instruction about the assignment carefully. You are required to modified your previous database
  • Week 13: Data Manipulation (SELECT SUM, COUNT, MIN, etc)


    About this chapter

    In this chapter, we will learn about retrieving data from tables by using SQL syntax. The SQL SELECT statement returns a result set of records, from one or more tables. A SELECT statement retrieves zero or more rows from one or more database tables or database views. In most applications, SELECT is the most commonly used data manipulation language (DML) command

    Learning Objectives:

    • Use aggregate functions.
    • Group data using GROUP BY and HAVING.
    • Use subqueries.
    • Join tables together.
    • Perform set operations (UNION, INTERSECT, EXCEPT).

    Learning Structure:
    This chapter consists of reading material, lecturer-presentation material, and some videos. You need to read and watch the materials prior to the class session. In the main activity (class session), we would like to invite you with the online class session and practices. In the end of this chapter, there is an assignment that you need to accomplish. Here is the structure of learning activities:
    1. Reading text book: 1,5 hours
    2. Watching Videos: 15 minutes
    3. Online collaboration: 2 hours
    4. Individual Assignment: 1 individual project (duration: 1 week)


    • An aggregate function performs a calculation on a set of values, and returns a single value. Except for COUNT(*), aggregate functions ignore null values. Aggregate functions are often used with the GROUP BY clause of the SELECT statement. All aggregate functions are deterministic. In other words, aggregate functions return the same value each time that they are called, when called with a specific set of input values. See Deterministic and Nondeterministic Functions for more information about function determinism. The OVER clause may follow all aggregate functions, except the STRING_AGG, GROUPING or GROUPING_ID functions.

      Complete Guide Sql Server Aggregate Functions

      Student required to take and understand the post-activity of the previous Chapter and complete the reading required prior the Main class activity. Read the following lecturer presentation notes before we start with the class session. You may also need to watch the video about  data manipulation in MS. SQL Server


    • In this main learning activities, we would like to invite you to practice about how to retrieve data from database using SELECT on MS. SQL Server.

      Learn SQL: Aggregate Functions

      During the online session, we expect you to use laptop and follow step by step instruction from lecturer


  • Week 14: Data Manipulation (SELECT JOIN)


    About this chapter

    In this chapter, we will learn about combine rows from two or more tables, based on a related column between them by using SQL syntax. An SQL join clause – corresponding to a join operation in relational algebra – combines columns from one or more tables in a relational database. It creates a set that can be saved as a table or used as it is. A JOIN is a means for combining columns from one (self-join) or more tables by using values common to each.

    Learning Objectives:

    • Data types supported by SQL standard.
    • Purpose of integrity enhancement feature of SQL.
    • How to define integrity constraints using SQL.
    • How to use the integrity enhancement feature in the CREATE and ALTER TABLE statements.
    • Purpose of views.
    • How to create and delete views using SQL.
    • How the DBMS performs operations on views.
    • Under what conditions views are updatable.
    • Advantages and disadvantages of views.
    • How the ISO transaction model works.
    • How to use the GRANT and REVOKE statements as a level of security.

    Learning Structure:
    This chapter consists of reading material, lecturer-presentation material, and some videos. You need to read and watch the materials prior to the class session. In the main activity (class session), we would like to invite you with the online class session and practices. In the end of this chapter, there is an assignment that you need to accomplish. Here is the structure of learning activities:
    1. Reading text book: 1,5 hours
    2. Watching Videos: 15 minutes
    3. Online collaboration: 2 hours
    4. Individual Assignment: 1 individual project (duration: 1 week)


    • JOIN is a means for combining columns from one (self-join) or more tables by using values common to each. ANSI-standard SQL specifies five types of JOININNERLEFT OUTERRIGHT OUTERFULL OUTER and CROSS. As a special case, a table (base table,  view, or joined table) can JOIN to itself in a self-Join.

      A programmer declares a JOIN statement to identify rows for joining. If the evaluated predicate is true, the combined row is then produced in the expected format, a row set or a temporary table.

      SQL JOINS and ALIASES. Hello everyone, in this insight, I'll… | by João  Marçura | Medium

      Student required to take and understand the post-activity of the previous Chapter and complete the reading required prior the Main class activity. Read the following lecturer presentation notes before we start with the class session. You may also need to watch the video about  data manipulation in MS. SQL Server


    • In this main learning activities, we would like to invite you to practice about how to retrieve data from database using SELECT JOIN syntax on MS. SQL Server.
      SQL JOIN for Data Analysts (SQL tutorial for Beginners - ep5)

      Student required to take and understand the post-activity of the previous Chapter and complete the reading required prior the Main class activity. Read the following lecturer presentation notes before we start with the class session. You may also need to watch the video about  data manipulation in MS. SQL Server


  • Week 15: Advanced SQL (Subquery, Store procedure, Trigger)


    About this chapter

    In this chapter, we will learn about retrieving data from tables by using sub query syntax. After that, we will also learn about advance SQL, that is Store procedure and trigger

    Learning Objectives:

    • How to use the SQL programming language
    • How to use SQL cursors
    • How to create stored procedures
    • How to create triggers
    • How to use triggers to enforce integrity constraints
    • The advantages and disadvantages of triggers
    • How to use recursive queries

    Learning Structure:
    This chapter consists of reading material, lecturer-presentation material, and some videos. You need to read and watch the materials prior to the class session. In the main activity (class session), we would like to invite you with the online class session and practices. In the end of this chapter, there is an assignment that you need to accomplish. Here is the structure of learning activities:
    1. Reading text book: 1,5 hours
    2. Watching Videos: 15 minutes
    3. Online collaboration: 2 hours
    4. Individual Assignment: 1 individual project (duration: 1 week)


    • A subquery is also called an inner query or inner select, while the statement containing a subquery is also called an outer query or outer select. A subquery is a query that is nested inside a SELECTINSERTUPDATE, or DELETE statement, or inside another subquery.

      SQL Server stored procedure is a batch of statements grouped as a logical unit and stored in the database. The stored procedure accepts the parameters and executes the T-SQL statements in the procedure, returns the result set if any. A trigger is a special type of stored procedure that automatically runs when an event occurs in the database server. DML triggers run when a user tries to modify data through a data manipulation language (DML) event.

      Stored Procedure in SQL - Syntax and Example

      Student required to take and understand the post-activity of the previous Chapter and complete the reading required prior the Main class activity. Read the following lecturer presentation notes before we start with the class session. You may also need to watch the video about  data manipulation in MS. SQL Server


    • In this section, we would like to invite you to practice about how to retrieve data from database using Subquery, create Store procedure and Trigger on MS. SQL Server.
      Advanced SQL for information workers using SQL Server - Mark Robbins  Business Intelligence Services
      Student required to take and understand the post-activity of the previous Chapter and complete the reading required prior the Main class activity. Read the following lecturer presentation notes before we start with the class session. You may also need to watch the video about  Advanced SQL (how to create Store procedure and Trigger)

  • Week 16: Final Exam


    • This is an online (synchronous) exam. Join with the online session via link given  to you. You are required to present the database modeling and demo the queries on some relevant reports. The database must be designed based on the case given by the lecturer during the exam.

  • Feedback & Certificate