Lecture9: Data Manipulation in SQL, Advanced SQL queries

Size: px
Start display at page:

Download "Lecture9: Data Manipulation in SQL, Advanced SQL queries"

Transcription

1 IS220 / IS422 : Database Fundamentals College of Computer and Information Sciences - Information Systems Dept. Lecture9: Data Manipulation in SQL, Advanced SQL queries Ref. Chapter5 Prepared by L. Nouf Almujally & Aisha AlArfaj 1

2 The Process of Database Design Real World Domain Conceptual model (ERD) Relational Data Model Create schema (DDL) Load Data (DML) 2Lecture9

3 Tables in the Examples Customer(custNo, custname, custst, custcity, age) Product(prodNo, prodname, proddes, price) Orders(ordNo, orddate, custno, prodno, quantity) Where custname, custst, custcity, prodname, proddes are strings orddate is date Others are numbers 3Lecture9

4 Sample Data in Customer Table custno custname custst custcity age 1 C1 Olaya St Jeddah 20 2 C2 Mains St Riyadh 30 3 C3 Mains Rd Riyadh 25 4 C4 Mains Rd Dammam 5 C5 Mains Rd Riyadh 4Lecture9

5 Sample Data in Product Table prodno prodname proddes price 100 P0 Food P1 healthy food P P3 self_raising flour,80%wheat P4 network 80x 300 5Lecture9

6 Sample Data in Orders Table ordno orddate custno prodno quantity 1 01-jan jan jan jan jan mar Lecture9

7 Aggregate Functions COUNT - returns the number of selected values SUM - returns the sum of selected (numeric) values AVG - returns the average of selected (numeric) values MIN - returns the minimum of selected values MAX - returns the maximum of selected values 7Lecture9

8 Use of COUNT(column_name) The COUNT(column_name) function returns the number of values (NULL values will not be counted) of the specified column Syntax SELECT COUNT(column_name) FROM table_name; 8Lecture9

9 Use of COUNT(column_name) prod No prodnam e proddes price 100 P0 Food P1 healthy food P P3 self_raising flour,80%wh eat P4 network 80x 300 Example 1: List the number of products in the product table SELECT count(prodno) FROM product; Example 2: List the number of product descriptions in the product table SELECT count(proddes) FROM product; COUNT(PRODNO) COUNT(PRODDES) Note: count(proddes) does not count rows that have NULL value for proddes. 9Lecture9

10 Use of COUNT(*) The COUNT(*) function returns the number of records in a table (NULL values will be counted) Syntax SELECT COUNT(*) FROM table_name; 10

11 Use of COUNT (*) prod No prodnam e proddes price 100 P0 Food P1 healthy food P P3 self_raising flour,80%wh eat P4 network 80x 300 Example 1: How many products are there in the product table? SELECT count(*) FROM product; COUNT(*) Example 2: How many products are priced at 300? SELECT count(*) FROM product WHERE price =300; COUNT(*) Note: count(*) also count rows that have NULL values 11

12 Use of COUNT(DISTINCT column_name) The COUNT(DISTINCT column_name) function returns the number of distinct values of the specified column: Syntax SELECT COUNT(DISTINCT column_name) FROM table_name; 12

13 Use of COUNT(DISTINCT column_name) Example1: How many cities are the customers located in? SELECT count(distinct custcity) from customer; COUNT(DISTINCT CUSTCITY) Example 2: How many customers ordered products since 01/01/2003? SELECT count(distinct custno) FROM orders WHERE orddate >= '01-jan-2003'; COUNT(DISTINCT CUSTNO) custno custnam e custst custcity age 1 C1 Olaya St Jeddah 20 ordno orddate cust prodno quantit 2 C2 Mains StNo Riyadh y C301-jan-2003 Mains Rd1 100 Riyadh jan C4 Mains Rd Dammam 3 01-jan C5 Mains Rd Riyadh 4 01-jan jan mar

14 Use of SUM The SUM() function returns the total sum of a numeric column. Syntax SELECT SUM(column_name) FROM table_name; 14

15 Use of SUM Example ordno orddate cust No prodno 1 01-jan jan jan quantit y 4 01-jan jan mar Example 1: How many products pieces were ordered by customer 1? SELECT SUM(quantity) FROM orders WHERE custno =1; SUM(QUANTITY) Example 2: How many orders were made by customer 1 and how many products pieces did he order? SELECT count(ordno), SUM(quantity) FROM orders WHERE custno =1; COUNT(ORDNO) SUM(QUANTITY)

16 Use of Avg The AVG() function returns the average value of a numeric column. Syntax SELECT AVG(column_name) FROM table_name; 16

17 Use of Min, Max The MIN() function returns the smallest value of the selected column. The MAX() function returns the largest value of the selected column. Syntax SELECT MIN(column_name), MAX (column_name) FROM table_name; 17

18 Example Use of AVG, MIN and MAX Example: list the minimum, maximum and average price of all products. prodno proddes prodnam e price SELECT MIN(price), MAX(price), AVG(price) FROM product; MIN(PRICE) MAX(PRICE) AVG(PRICE) P0 Food P1 healthy food P P3 self_raising flour,80%wh eat P4 network 80x 300 Note: if some product's price are NULLs, then SUM and AVG do not take those products into consideration. 18

19 19

20 Advanced queries (GROUP BY) General Syntax of SELECT command SELECT [DISTINCT] {* [columnexpression,. } FROM TableName [WHERE condition] [GROUP BY columnlist] [HAVING condition] [ORDER BY columnlist] Order of the clauses cannot be changed. Only SELECT and FROM are mandatory 20

21 The GROUP BY Statement The GROUP BY statement is used in conjunction with the aggregate functions to group the result-set by one or more columns. Syntax SELECT column_name, aggregate_function(column_name) FROM table_name WHERE condition GROUP BY column_name; 21

22 Use of GROUP BY Use GROUP BY clause to get sub-totals. SELECT and GROUP BY closely integrated: each item in SELECT list must be single-valued per group, and SELECT clause may only contain: Column names in the group by clause Aggregate functions Constants Expression involving combinations of the above If WHERE is used with GROUP BY, WHERE is applied first, then groups are formed from rows satisfying condition. 22

23 Example 1 ( use of group by ) O_Id OrderDate OrderPrice Customer Orders /11/ Nora /10/ Sara /09/ Nora /09/ Nora /08/ Yara /10/ Sara Nora Sara Yara find the total (total order) of each customer. use the GROUP BY statement to group the customers. SELECT Customer, SUM(OrderPrice) FROM Orders GROUP BY Customer; 23

24 Example 1 The result ( output ): Customer SUM(OrderPrice) Nora 2000 Sara 1700 Yara 2000 what happens if we omit the GROUP BY statement SELECT Customer,SUM(OrderPrice) FROM Orders; The result Customer SUM(OrderPrice) Nora 5700 Sara 5700 Nora 5700 Nora 5700 Yara 5700 Sara

25 Example 2 ordno orddate custno prodno quantity 1 01-jan jan jan jan jan mar List the quantity of each product ordered during Jan SELECT prodno, sum(quantity) FROM orders WHERE orddate>='01-jan-2003' AND orddate<'01-feb-2003' GROUP BY prodno; PRODNO SUM(QUANTITY)

26 Example 3 return the minimum and maximum salaries for each department in the employees table Employee No. First Name Last Name Dept Number Salary E1 Mandy Smith D E2 Daniel Hodges D E3 Shaskia Ramanthan D E4 Graham Burke D E5 Annie Nguyen D D2 D1 SELECT deptnumber, MIN(salary), MAX (salary) FROM employees GROUP BY deptnumber ORDER BY deptnumber; DEPTNUMBER MIN(SALARY) MAX(SALARY) D D

27 Example 4 Grouping Output from Queries Example 1 : no grouping SELECT count(*) FROM EMPLOYEE; Employee No. First Name Last Name Dept Number Salary E1 Mandy Smith D E2 Daniel Hodges D E3 Shaskia Ramanthan D E4 Graham Burke D E5 Annie Nguyen D COUNT(*) Without group by COUNT(*) returns the number of rows in the table 27

28 Grouping Output from Queries Example 2 : group by SELECT deptnumber, count(*) FROM EMPLOYEE GROUP BY deptnumber ORDER BY deptnumber; Employee No. First Name Last Name Dept Number Salary E1 Mandy Smith D E4 Graham Burke D E5 Annie Nguyen D E2 Daniel Hodges D E3 Shaskia Ramanthan D DEPTNUMBER COUNT(*) D1 3 D2 2 28

29 Use of HAVING HAVING clause is designed for use with GROUP BY to restrict groups that appear in final result table. Similar to WHERE, but WHERE filters individual rows whereas HAVING filters groups. Column names in HAVING clause must also appear in the GROUP BY list or be contained within an aggregate function. SYNTAX SELECT column_name, aggregate_function(column_name) FROM table_name WHERE column_name operator value GROUP BY column_name HAVING aggregate_function(column_name) operator value ; 29

30 EXAMPLE 1 O_Id OrderDate OrderPrice Customer /11/ Nora /10/ Sara /09/ Nora /09/ Nora /08/ Yara /10/ Sara find if any of the customers have a total order of less than 2000 SELECT Customer,SUM(OrderPrice) FROM Orders GROUP BY Customer HAVING SUM(OrderPrice)<2000; CUSTOMER SUM(ORDERPRICE) SARA Without Having CUSTOMER SUM(ORDERPRICE) NORA 2000 SARA 1700 YARA

31 Example 2 O_Id OrderDate OrderPrice Customer /11/ Nora /10/ Sara /09/ Nora /09/ Nora /08/ Yara /10/ Sara find if the customers Nora" or Yara" have a total order of more than 1500 SELECT Customer,SUM(OrderPrice) FROM Orders WHERE Customer= Nora' OR Customer= Yara' GROUP BY Customer HAVING SUM(OrderPrice)>1500 ; CUSTOMER SUM(ORDERPRICE) NORA 2000 YARA

32 Example = 1 ordno orddate custno prodno quantity 1 01-jan jan jan jan jan mar = 4 101=2 List the product number and the quantity ordered for each product which has a total quantity of more than 2 during Jan SELECT prodno, sum(quantity) FROM orders WHERE orddate>='01-jan-2003' AND orddate<'01-feb-2003' GROUP BY prodno HAVING sum(quantity)>2; PRODNO SUM(QUANTITY)

33 Example 4 List the department number and the total number of employee in that department for each department that has more than two employees Employee No. First Name Last Name Dept Number Salary E1 Mandy Smith D E4 Graham Burke D E5 Annie Nguyen D E2 Daniel Hodges D E3 Shaskia Ramanthan D SELECT deptnumber, count(*) FROM EMPLOYEE GROUP BY deptnumber HAVING count(*)>2 ORDER BY deptnumber; DEPTNUMBER COUNT(*) D1 3 DEPTNUMBER COUNT(*) D1 3 D2 2 33

34 34

35 Inserting Data Using Queries You can insert the result of a query into a table For example, if you have a table Product_Expensive which has the same structure as Product, then you can use SQL> insert into Product_Expensive select * from product where price>=200; 3 rows created. PRODNO PRODNAME PRODDES PRICE P P3 self_raising flour,80%wheat P4 network 80x

36 SQL data loader* For a table containing a large data set, INSERT command is not efficient to populate the table Oracle provides a data loader utility SQLLOADER which can be used to load data The data can be loaded from any text file and inserted into the database. table must be created first 36

37 SQL data loader* input Datafiles: Contains Data Records Control file : text file tells SQL*Loader where to insert the data. output Log file : records of successful SQL*Loader execution Discard file : contains records that were not inserted into any table in the database Bad file : contains records that were rejected because the input format is invalid. Database : where the data is loaded 37

38 38

39 39

40 References Database Systems: A Practical Approach to Design, Implementation and Management. Thomas Connolly, Carolyn Begg. 5 th Edition, Addison-Wesley,

LECTURE9-PART2: DATA MANIPULATION IN SQL, ADVANCED SQL QUERIES AND VIEW

LECTURE9-PART2: DATA MANIPULATION IN SQL, ADVANCED SQL QUERIES AND VIEW College of Computer and Information Sciences - Information Systems Dept. LECTURE9-PART2: DATA MANIPULATION IN SQL, ADVANCED SQL QUERIES AND VIEW Ref. Chapter5 and 6 from Database Systems: A Practical Approach

More information

CH-15 SIMPLE QUERY AND GROUPING

CH-15 SIMPLE QUERY AND GROUPING SQL SELECT STATEMENT. ASHOK GARG CH-15 SIMPLE QUERY AND GROUPING The SELECT statement is used to retrieve information from a table. Syntax: SELECT FROM [WHERE ] [GROUP

More information

SQL Programming 1 SQL1 1

SQL Programming 1 SQL1 1 SQL Programming 1 The SELECT-FROM-WHERE Structure Single Relation Queries ORDER BY LIKE IS (NOT) NULL DISTINCT Aggregation Queries Grouping Having Oracle SQL*Plus Readings: Section 6.1 and 6.4 of Textbook.

More information

Database Systems CSE 414

Database Systems CSE 414 Database Systems CSE 414 Lectures 5: Grouping & Aggregation 1 Announcements HW1 is due next Monday, 11pm 2 Outline Last time: outer joins how to aggregate over all rows Grouping & aggregations (6.4.3 6.4.6)

More information

Introduction to Relational Databases Part 2: How?

Introduction to Relational Databases Part 2: How? Introduction to Relational Databases Part 2: How? Claude Rubinson University of Houston Downtown rubinsonc@uhd.edu cjr@grundrisse.org September 28, 2011 Normalized Database People PersonUID Person Age

More information

RDBMS Using Oracle. Lecture week 5. Lecture Overview

RDBMS Using Oracle. Lecture week 5. Lecture Overview RDBMS Using Oracle Lecture week 5 CASE Expression Group Functions Lecture Overview AVG MAX MIN SUM COUNT Etc Working with Date Decode Function INSERT, UPDATE and DELETE commands Commit and Rollback, Alter

More information

Introduction to Database Systems CSE 444

Introduction to Database Systems CSE 444 Introduction to Database Systems CSE 444 Lecture 3: SQL (part 2) h"p://www.cs.washington.edu/educa3on/courses/cse444/11wi/ Outline Aggrega3ons (6.4.3 6.4.6) Examples, examples, examples Nulls (6.1.6-6.1.7)

More information

Practice and Applications of Data Management CMPSCI 345. Lecture 05: Advanced Joins and Aggregates

Practice and Applications of Data Management CMPSCI 345. Lecture 05: Advanced Joins and Aggregates Practice and Applications of Data Management CMPSCI 345 Lecture 05: Advanced Joins and Aggregates Today: } Con$nue on joins } Self- join } Outer- join } Aggregates 2 To-dos } Gradiance quizzes: } Lab Quiz

More information

Define Metrics in Reports

Define Metrics in Reports in Reports Metrics are used to build reports. They are the numerical values displayed in reports. They represent aggregations of facts and attributes. A metric is a simple or complex calculation applied

More information

CSE 344 APRIL 2 ND GROUPING/AGGREGATION

CSE 344 APRIL 2 ND GROUPING/AGGREGATION CSE 344 APRIL 2 ND GROUPING/AGGREGATION ADMINISTRIVIA HW1 Due Wednesday (11:30) Don t forget to git add and tag your assignment Check on gitlab after submitting OQ1 Due Friday (11:00) A few of you still

More information

Subqueries. Lecture 9. Robb T. Koether. Hampden-Sydney College. Fri, Feb 2, 2018

Subqueries. Lecture 9. Robb T. Koether. Hampden-Sydney College. Fri, Feb 2, 2018 Subqueries Lecture 9 Robb T. Koether Hampden-Sydney College Fri, Feb 2, 2018 Robb T. Koether (Hampden-Sydney College) Subqueries Fri, Feb 2, 2018 1 / 17 1 Subqueries 2 The IN Operator 3 Using IN and NOT

More information

UMBC CMSC 461 Database Management Systems. Course Project

UMBC CMSC 461 Database Management Systems. Course Project UMBC CMSC 461 Spring 2018 Database Management Systems Purpose Course Project To analyze the requirements, design, implement, document and test a database application for Book Fetch, Inc. The User Requirements

More information

(b.) Assuming addition, subtraction, and shifting take O(n) work and O(log n) depth

(b.) Assuming addition, subtraction, and shifting take O(n) work and O(log n) depth CME 323: Distributed Algorithms and Optimization Instructor: Reza Zadeh (rezab@stanford.edu) HW#1 Due at the beginning of class Thursday April 19 1. A computation takes 250 seconds to run on a single core,

More information

Oracle BI 12c: Create Analyses and Dashboards Ed 1

Oracle BI 12c: Create Analyses and Dashboards Ed 1 Oracle BI 12c: Create Analyses and Dashboards Ed 1 Duration: 5 Days What you will learn This Oracle BI 12c: Create Analyses and Dashboards course for Release 12.2.1 provides step-by-step instructions for

More information

Anthony Carrick INFS7903 Assignment

Anthony Carrick INFS7903 Assignment INFS7903 Assignment Contents Task 1: Constraints... 2 1a - SQL to show all constraints:... 2 1b Implement the missing constraints... 2 Result (of rerunning the sql in 1a):... 3 Task 2: Triggers... 4 2a

More information

Masters by Project (BUS4580 and BUS4590)

Masters by Project (BUS4580 and BUS4590) M O N A S H U N I V E R S I T Y A U S T R A L I A School of Business Systems PARALLEL EXECUTION IN ORACLE - Report - PETER XU ID: 12288624 EMAIL: pxu1@student.monash.edu.au PHONE: 0412310003 Semester 1,

More information

Adaptive Cursor Sharing Short answer to sharing cursors and optimizing SQL

Adaptive Cursor Sharing Short answer to sharing cursors and optimizing SQL Adaptive Cursor Sharing Short answer to sharing cursors and optimizing SQL Mohamed Houri www.hourim.wordpress.com 1 Agenda Set the scene Expose the performance problem caused by sharing cursors Literal,

More information

Oracle BI 12c: Create Analyses and Dashboards Ed 1

Oracle BI 12c: Create Analyses and Dashboards Ed 1 Oracle University Contact Us: Local: 1800 103 4775 Intl: +91 80 67863102 Oracle BI 12c: Create Analyses and Dashboards Ed 1 Duration: 5 Days What you will learn This Oracle BI 12c: Create Analyses and

More information

CSE 344 JANUARY 17 TH SUBQUERIES

CSE 344 JANUARY 17 TH SUBQUERIES CSE 344 JANUARY 17 TH SUBQUERIES GROUPING AND AGGREGATION Purchase(product, price, quantity) Find total quantities for all sales over $1, by product. SELECT product, Sum(quantity) AS TotalSales FROM Purchase

More information

18 Ranking Data within Reports

18 Ranking Data within Reports 18 Ranking Data within Reports This session describes ranking data in a Web Intelligence report. Ranking allows you to isolate the top and bottom records in a data set based on a variety of criteria. For

More information

COURSE LISTING. Courses Listed. with Business Intelligence (BI) Crystal Reports. 26 December 2017 (18:02 GMT)

COURSE LISTING. Courses Listed. with Business Intelligence (BI) Crystal Reports. 26 December 2017 (18:02 GMT) with Business Intelligence (BI) Crystal Reports Courses Listed BOC345 - SAP Crystal Reports 2011: Optimizing Report Data Processing BOC320 - SAP Crystal Reports: - BOCE10 - SAP Crystal Reports for Enterprise:

More information

CUPA Procedures. Date September 29, Theresa Porter, Information Technology Consultant, BOR. Doug Corwin, Information Technology Consultant, BOR

CUPA Procedures. Date September 29, Theresa Porter, Information Technology Consultant, BOR. Doug Corwin, Information Technology Consultant, BOR Title CUPA Procedures Version 1.0 Date September 29, 2010 Created by Theresa Porter, Information Technology Consultant, BOR Edited by Doug Corwin, Information Technology Consultant, BOR Copyright South

More information

Lanteria HR Report Center

Lanteria HR Report Center User Guide for version 4.2.0 Copyright 2015 Lanteria Table of Contents 1 Introduction... 3 1.1 Report Center Overview... 3 1.2 Terminology List... 3 2 General Reports... 4 2.1 Run General Reports... 4

More information

Column Functions and Grouping

Column Functions and Grouping Column Functions and Grouping Course materials may not be reproduced in whole or in part without the prior written permission of IBM. 4.0.3 3.3.1 Unit Objectives After completing this unit, you should

More information

Analytic functions allow the rows in a result set to 'peek' at each other, avoiding the need for joining duplicated data sources.

Analytic functions allow the rows in a result set to 'peek' at each other, avoiding the need for joining duplicated data sources. Standard SQL functionality focuses on rows. When you want to explore the relationship between rows, those rows would have to come from different sources, even if it was the same table with a different

More information

COURSE SYLLABUS COURSE TITLE: 55108BC Discovering the Power of Excel PowerPivot Data Analytic Expressions (DAX)

COURSE SYLLABUS COURSE TITLE: 55108BC Discovering the Power of Excel PowerPivot Data Analytic Expressions (DAX) 1 COURSE SYLLABUS COURSE TITLE: 55108BC Discovering the Power of Excel 2010-2013 PowerPivot Data Analytic Expressions (DAX) FORMAT: CERTIFICATION EXAMS: Instructor-Led None This course syllabus should

More information

Morningstar Direct SM Scorecard

Morningstar Direct SM Scorecard Within the Performance Reporting functionality, use the Scorecard to assign weighting schemes to data points and create custom criteria based on those quantitative and qualitative factors to calculate

More information

Advanced Scheduling Introduction

Advanced Scheduling Introduction Introduction The Advanced Scheduling program is an optional standalone program that works as a web site and can reside on the same server as TimeForce. This is used for the purpose of creating schedules

More information

Analytic Functions 101

Analytic Functions 101 Analytic Functions 101 Kim Berg Hansen KiBeHa Middelfart, Denmark Keywords: SQL, analytics Introduction The company I have worked at since 2000 as developer/architect is a major Danish retail company called

More information

Class 5. Professional Programs: Data Administration and Management Data Analysis DATA MINING USING SQL (PREDICTIVE DATA ANALYSIS, X470.

Class 5. Professional Programs: Data Administration and Management Data Analysis DATA MINING USING SQL (PREDICTIVE DATA ANALYSIS, X470. Technology & Information Management Instructor: Michael Kremer, Ph.D. Class 5 Professional Programs: Data Administration and Management Data Analysis DATA MINING USING SQL (PREDICTIVE DATA ANALYSIS, X470.1)

More information

Oracle BI 11g R1: Create Analyses and Dashboards

Oracle BI 11g R1: Create Analyses and Dashboards Oracle University Contact Us: + 38516306373 Oracle BI 11g R1: Create Analyses and Dashboards Duration: 5 Days What you will learn This Oracle BI 11g R1: Create Analyses and Dashboards course for Release

More information

B u s and Bus4590

B u s and Bus4590 S c hool of Business Systems B u s 4 580 and Bus4590 O R AC LE DBA 1 & 2 Y u Ting Hu (Iv y ) ( 1 2 2 3 7 0 4 3 ) M a s t e r of Business System S e m e s t e r 1, 2002 S u pervisor: Dr. David Taniar Acknowledgement

More information

Announcements. Loading Data into SQLite. Joins in SQL. Joins in SQL. Joins in SQL. Introduction to Database Systems CSE 414. Homework 2 out now

Announcements. Loading Data into SQLite. Joins in SQL. Joins in SQL. Joins in SQL. Introduction to Database Systems CSE 414. Homework 2 out now Introduction to Database Sstems CSE 414 Lecture 4: SQL Joins and Aggregates Announcements Homework 2 out now git pull upstream master to get the starter code Due Tuesda Oct. 9 at mnight Web qui 1 due Fra

More information

What is Business Intelligence (BI)? Why BI? What is Cognos? And why Cognos? Cognos BI Architecture Cognos 10.2 New Features & Advantages

What is Business Intelligence (BI)? Why BI? What is Cognos? And why Cognos? Cognos BI Architecture Cognos 10.2 New Features & Advantages Chapter 1 : Introduction & Overview of Cognos BI Basics of Data warehouse Demo/Day 1 Methods Difference betweeen OLAP & OLTP ETL, Reporting, Analatics etc Differenc between Facts, dimensions, type of schema,

More information

Info 605 Project Table of Contents

Info 605 Project Table of Contents Betty Nguyen Stephen Grant 6/7/2013 Info 605 Project Table of Contents Section One: Requirements Section Section Two: ER Model Section Three: Mapped Relational Schema Section Four: Data Dictionary Section

More information

APS Basic Set Up. Learn how to set up a basic APS scenario in beas Manufacturing

APS Basic Set Up. Learn how to set up a basic APS scenario in beas Manufacturing APS Basic Set Up Learn how to set up a basic APS scenario in beas Manufacturing Boyum Solutions IT A/S Beas tutorials TABLE OF CONTENTS 1. INTRODUCTION... 3 2. PROCESS... 3 2.1. Master Data Tab... 5 2.2.

More information

Discovering Computers Your Interactive Guide to the Digital World

Discovering Computers Your Interactive Guide to the Digital World Discovering Computers 2012 Your Interactive Guide to the Digital World Objectives Overview Identify the four categories of application software Differentiate among the seven forms through which software

More information

Spool Generated For Class of Oracle By Satish K Yellanki

Spool Generated For Class of Oracle By Satish K Yellanki SQL> CREATE VIEW Employees 3 SELECT 4 Empno "ID Number", 5 Ename Name, 6 Sal "Basic Salary", 7 Job Designation 8 FROM Emp; SQL> SELECT 2 Empno "ID Number", 3 Ename Name, 4 Sal "Basic Salary", 5 Job Designation

More information

Oracle. Sales Cloud Using Incentive Compensation. Release 13 (update 18B)

Oracle. Sales Cloud Using Incentive Compensation. Release 13 (update 18B) Oracle Sales Cloud Release 13 (update 18B) Release 13 (update 18B) Part Number E94453-03 Copyright 2011-2018, Oracle and/or its affiliates. All rights reserved. Authors: Judy Wood, Lynn Raiser, Ganesh

More information

University Finance IBM Cognos 10 Planning Financial Performance Management Solution

University Finance IBM Cognos 10 Planning Financial Performance Management Solution University Finance IBM Cognos 10 Planning Financial Performance Management Solution User Guide CONTENTS 1 Introduction... 3 What is Cognos?... 3 Why Cognos?... 3 Benefits of Cognos... 3 2 Logging into

More information

SQL and PL/SQL. Connor McDonald 7/17/2018. The meanest, fastest thing out there. Connor McDonald

SQL and PL/SQL. Connor McDonald 7/17/2018. The meanest, fastest thing out there. Connor McDonald SQL and PL/SQL The meanest, fastest thing out there Connor McDonald 1 Copyright 2017, Oracle and/or its affiliates. All rights reserved. Connor McDonald 1 3 4 2 Typical speaker ego slide blog connor-mcdonald.com

More information

The Genetic Algorithm CSC 301, Analysis of Algorithms Department of Computer Science Grinnell College December 5, 2016

The Genetic Algorithm CSC 301, Analysis of Algorithms Department of Computer Science Grinnell College December 5, 2016 The Genetic Algorithm CSC 301, Analysis of Algorithms Department of Computer Science Grinnell College December 5, 2016 The Method When no efficient algorithm for solving an optimization problem is available,

More information

Relational Database design. Slides By: Shree Jaswal

Relational Database design. Slides By: Shree Jaswal Relational Database design Slides By: Shree Jaswal Topics: Design guidelines for relational schema, Functional Dependencies, Definition of Normal Forms- 1NF, 2NF, 3NF, BCNF, Converting Relational Schema

More information

Oracle Sales and Operations Planning (S&OP) Cloud - Revenue and Cost Calculations

Oracle Sales and Operations Planning (S&OP) Cloud - Revenue and Cost Calculations Oracle Sales and Operations Planning (S&OP) Cloud - Revenue and Cost Calculations This document provides some details on how the aggregate planning engine in S&OP Cloud calculates data for revenue and

More information

Lecture 26: Domain-Driven Design (Part 4)

Lecture 26: Domain-Driven Design (Part 4) 1 Lecture 26: Domain-Driven Design (Part 4) Kenneth M. Anderson Object-Oriented Analysis and Design CSCI 4448/6448 - Spring Semester, 2005 2 Goals for this lecture Review the extended example presented

More information

Design of Information structure for competitive productivity benchmarking for a large scale manufacturers in India

Design of Information structure for competitive productivity benchmarking for a large scale manufacturers in India Design of Information structure for competitive productivity benchmarking for a large scale manufacturers in India Abstract Dr. B. Ravishankar * (ravi36@gmail.com) Associate Dean Placements Professor -

More information

INFS 214: Introduction to Computing

INFS 214: Introduction to Computing INFS 214: Introduction to Computing Session 8 Application Software Lecturer: Dr. Ebenezer Ankrah, Dept. of Information Studies Contact Information: eankrah@ug.edu.gh College of Education School of Continuing

More information

Subqueries. Lecture 11 Subsections Robb T. Koether. Hampden-Sydney College. Fri, Feb 8, 2013

Subqueries. Lecture 11 Subsections Robb T. Koether. Hampden-Sydney College. Fri, Feb 8, 2013 Subqueries Lecture 11 Subsections 5.1.1-5.1.5 Robb T. Koether Hampden-Sydney College Fri, Feb 8, 2013 Robb T. Koether (Hampden-Sydney College) Subqueries Fri, Feb 8, 2013 1 / 20 1 Subqueries 2 The IN Operator

More information

Antti Salonen KPP227 KPP227 1

Antti Salonen KPP227 KPP227 1 KPP227 KPP227 1 What is Aggregate Planning? Aggregate (or intermediate-term) planning is the process of determining a company s aggregate plan = production plan. The aggregate plan specifies how the company

More information

How to Import Timesheet Data into Payroll Mate Using T-Sheets

How to Import Timesheet Data into Payroll Mate Using T-Sheets How to Import Timesheet Data into Payroll Mate Using T-Sheets Note: In order to use this feature you must purchase and enable Payroll Mate Option #3 (Additional Companies & Employees + Timesheet Import)

More information

INTRO TO WORK PLANNING IN MIRADI 4.4

INTRO TO WORK PLANNING IN MIRADI 4.4 INTRO TO WORK PLANNING IN MIRADI 4.4 Overview of Work Plan High Level Work Planning Adding Financial Information Analyzing & Using Work Plan Data Key Work Plan Controls Detailed Work Planning Work Planning

More information

Tips and Techniques for Statistics Gathering. Arup Nanda Longtime Oracle DBA

Tips and Techniques for Statistics Gathering. Arup Nanda Longtime Oracle DBA Tips and Techniques for Statistics Gathering Arup Nanda Longtime Oracle DBA Agenda High Level Pending stats Correlated Stats Sampling 2 Reporting New reporting function for auto stats collection Returns

More information

Sunrise Wallboard for ITSM Guide

Sunrise Wallboard for ITSM Guide Sunrise Wallboard for ITSM Guide Date: July 2014 Page 1 of 22 All rights reserved. No part of this document may be reproduced or transmitted in any form or by any means, or stored in any retrieval system

More information

The Human Resources Information System DATA WAREHOUSE

The Human Resources Information System DATA WAREHOUSE The Human Resources Information System DATA WAREHOUSE September 2010 First Edition: 1999 Second Edition: October, 2004 Third Edition: March 2007 Current Edition: September, 2010 Oregon State University,

More information

Reading Plans in the cloud or not Revised November 2017

Reading Plans in the cloud or not Revised November 2017 Reading Plans in the cloud or not Revised November 2017 This free training webinar is a lesson from the Hotsos Optimizing Oracle SQL, Intensive (OPINT) course. Please visit our website for more information.

More information

Training Guide: Manage Costing for a Person

Training Guide: Manage Costing for a Person Contents Section I: Understanding the Payroll Costing Process... 2 Introduction... 2 Application of Costing during Payroll Runs... 2 Important Guidelines for the Costing Process... 3 Section II: Accessing

More information

2/5/2019. Connor McDonald. Copyright 2018, Oracle and/or its affiliates. All rights reserved.

2/5/2019. Connor McDonald. Copyright 2018, Oracle and/or its affiliates. All rights reserved. Connor McDonald Copyright 2018, Oracle and/or its affiliates. All rights reserved. 1 2 2 1 3 3 mi dispiace non parlo italiano :-( Copyright 2018, Oracle and/or its affiliates. All rights reserved. 4 2

More information

May 21, 2014 Walter E. Washington Convention Center Washington, DC USA. Copyright 2014, Oracle and/or its affiliates. All rights reserved.

May 21, 2014 Walter E. Washington Convention Center Washington, DC USA. Copyright 2014, Oracle and/or its affiliates. All rights reserved. May 21, 2014 Walter E. Washington Convention Center Washington, DC USA 1 Using Location Analysis in Large Scale Operational Systems Siva Ravada Senior Director of Development Spatial and Graph & MapViewer

More information

LEARNING ABOUT MDX HANDOUT 1

LEARNING ABOUT MDX HANDOUT 1 Learning about MDX Pako Chan, CPA, CA, CITP Manager, Business Solutions Group Introduction Pako Chan Manager, Business Solutions Group CPA-CA, CITP Auditor Deloitte 5 years Architect Prophix 6 years Agenda

More information

Workflow Approval Maintenance (WAM) Form. Documentation

Workflow Approval Maintenance (WAM) Form. Documentation Workflow is the routing of electronic documents within the HR and Finance Administrative (FN) Systems. Some workflow routing is programmatically controlled, such as self-service banking changes, effort

More information

BOCE10 SAP Crystal Reports for Enterprise: Fundamentals of Report Design

BOCE10 SAP Crystal Reports for Enterprise: Fundamentals of Report Design SAP Crystal Reports for Enterprise: Fundamentals of Report Design SAP BusinessObjects - Business Intelligence Course Version: 96 Revision A Course Duration: 2 Day(s) Publication Date: 14-01-2013 Publication

More information

Validation rules were updated Minor changed were made related to editing 2015 CSDR/EVM Co-Plans

Validation rules were updated Minor changed were made related to editing 2015 CSDR/EVM Co-Plans What s New Updates for Version 2.6.1, Feb 27, 2017 Validation rules were updated Minor changed were made related to editing 2015 CSDR/EVM Co-Plans Updates for Version 2.6, Feb 1, 2016 Added support for

More information

Pentaho Analyzer Cookbook

Pentaho Analyzer Cookbook Pentaho Analyzer Cookbook This page intentionally left blank. Contents Overview... 1 Core Recipes... 2 Learning MDX... 2 Getting Started with Designing Calculated Measures... 5 Getting All SQL Statements

More information

mbusa Instagram account report Jan 01, May 28, 2016

mbusa Instagram account report Jan 01, May 28, 2016 mbusa Instagram account report Jan 01, 2016 - May 28, 2016 mbusa / Audience Total Followers Count 1,116,679 25.37% Followers Change +245,517 Max. Followers Change 19,132 Jan 04 Avg. Followers Change +11,691.29

More information

Estimating With Objects - Part III

Estimating With Objects - Part III Estimating With Objects - Part III Contents The size estimating problem The comparison problem Estimating part size Selecting a proxy Relationship to development effort The proxy parts in a product can

More information

Incrementally Loading Exalytics using Notepad

Incrementally Loading Exalytics using Notepad Oracle Business Intelligence 11g Antony Heljula April 2013 Peak Indicators Limited 2 Why Notepad? The current method of reloading Exalytics: Peak Indicators Limited 3 #1 Did you know? Using the NQCMD command-line

More information

Pentaho Analyzer Cookbook: Calculations and Multidimensional Expressions (MDX)

Pentaho Analyzer Cookbook: Calculations and Multidimensional Expressions (MDX) Pentaho Analyzer Cookbook: Calculations and Multidimensional Expressions (MDX) Change log (if you want to use it): Date Version Author Changes Contents Overview... 1 Core Recipes... 2 Learning MDX... 2

More information

Intermediate Google AdWords Instructors: Alice Kassinger

Intermediate Google AdWords Instructors: Alice Kassinger Intermediate Google AdWords Instructors: Alice Kassinger Class Objectives: Understand how Ads show on the results page Analyze the progress and success of your Ads Learn how to improve your Ad Rank with

More information

ODP Validation Checks for Year 2 Cost Report

ODP Validation Checks for Year 2 Cost Report ODP Validation s for Year 2 Cost Report The process for collecting Year 2 Cost Report data has been further automated from Year 1. The goal of this automation is to facilitate the submission and collection

More information

Oracle Cloud E

Oracle Cloud E Oracle Cloud Oracle Sales Cloud Reporting and Analytics for Business Users Release 11.1.8 E41685-03 December 2013 Explains how to use Oracle Sales Cloud reports and dashboards to answer common business

More information

Oracle MOOC: SQL Fundamentals

Oracle MOOC: SQL Fundamentals Week 2 Homework for Lesson 2 Homework is your chance to put what you've learned in this lesson into practice. This homework is not "graded" and you are encouraged to write additional code beyond what is

More information

ENTERPRISE SCALED AGILE REPORTING GUIDELINES

ENTERPRISE SCALED AGILE REPORTING GUIDELINES ENTERPRISE SCALED AGILE REPORTING GUIDELINES Abstract This document describes the set of reports available for your scaled agile tooling environment, how to import them into your environment, and the best

More information

ABSTRACT INTRODUCTION IMPORTANT CONCEPTS. John Jay King, King Training Resources

ABSTRACT INTRODUCTION IMPORTANT CONCEPTS. John Jay King, King Training Resources ANALYZE THIS! USING ORACLE8I ANALYTIC FUNCTIONS John Jay King, King Training Resources ABSTRACT Oracle 8.1.6 introduced new Analytic functions allowing complex statistical calculations to be accomplished

More information

Requirements Analysis

Requirements Analysis Requirements Analysis Analysis and Design? Analysis emphasizes an investigation of the problem and requirements, rather than a solution. Analysis = requirements analysis + object analysis. Requirement

More information

Report Studio Fundamentals for eschoolplus Custom Training Guide

Report Studio Fundamentals for eschoolplus Custom Training Guide Report Studio Fundamentals for eschoolplus Custom Training Guide Capitalize Analytics 320 Decker Drive, Suite 100 Irving, TX 75062 214.531.3904 info@capitalizeconsulting.com 1 Table of Contents Course

More information

So You Think You Can Combine Data Sets? Christopher Bost

So You Think You Can Combine Data Sets? Christopher Bost So You Think You Can Combine Data Sets? Christopher Bost What s in it for you? The syntax to combine data sets is simple The actual combination is more complex Learn ways to check data sets before combining

More information

Sorting. Bubble Sort. Chapter 9 (Fall 2016, CSUS) Chapter 9.1

Sorting. Bubble Sort. Chapter 9 (Fall 2016, CSUS) Chapter 9.1 Sorting Chapter 9 (Fall 6, CSUS) Bubble Sort Chapter 9. Sorting Often, computers needs to sort a list to put it in specific order Examples: sorting scores by highest to lowest sorting filenames in alphabetical

More information

Oracle Public Sector Revenue Management Analytics

Oracle Public Sector Revenue Management Analytics Oracle Public Sector Revenue Management Analytics Implementation Guide Release 2.1.0.0 E55545-01 September 2014 Oracle Public Sector Revenue Management Analytics Implementation Guide Release 2.1.0.0 E55545-01

More information

4. Requesting Position Changes for Tenure/Tenure Track Positions

4. Requesting Position Changes for Tenure/Tenure Track Positions Last Updated: 2/26/2007 11:40:00 AM 4. Requesting Position Changes for Tenure/Tenure Track Positions This chapter contains the following sections: 4.1. What is E-TRAC Vacant Position Change Request...4-1

More information

2) Create an account if she wants to order from us: 1

2) Create an account if she wants to order from us: 1 Homework 2 Solutions 1.264 Fall 2013 This is a sample solution; yours will vary based on your understanding of the business. The key point is that this is a narrative or discussion, so everyone gets a

More information

Risk Management User Guide

Risk Management User Guide Risk Management User Guide Version 17 December 2017 Contents About This Guide... 5 Risk Overview... 5 Creating Projects for Risk Management... 5 Project Templates Overview... 5 Add a Project Template...

More information

Migrating BITeamwork Comments Between Oracle BI Environments

Migrating BITeamwork Comments Between Oracle BI Environments Migrating BITeamwork Comments Between Oracle BI Environments April 28, 2017 BITeamwork Development Team BITeamwork Version This document assists with the support of BITeamwork versions: 3.7+ Problem /

More information

Fairsail Kon-Tiki Release Notes

Fairsail Kon-Tiki Release Notes Fairsail Kon-Tiki Release Notes Pre-release Draft FS-KTK-XXX-RN-201702-C-DKTK.01 Fairsail 2017. All rights reserved. This document contains information proprietary to Fairsail and may not be reproduced,

More information

INSTITUTIONAL DATA USERS GROUP

INSTITUTIONAL DATA USERS GROUP INSTITUTIONAL DATA USERS GROUP August12th 2015 August Meeting IDUG Agenda MapWorks Ben Walizer Assistant Director, Retention & Early Intervention, General University College MAUI Snapshots New Approaches

More information

ODP Validation Checks for Year 3 Cost Report

ODP Validation Checks for Year 3 Cost Report ODP Validation s for Year 3 Cost Report The process for collecting Year 3 Cost Report data is automated to facilitate the submission and collection of high quality experience data for use in the rate development

More information

Fairsail Kon-Tiki Release Notes

Fairsail Kon-Tiki Release Notes Fairsail Kon-Tiki Release Notes FS-KTK-XXX-RN-201703--RKTK.00 Fairsail 2017. All rights reserved. This document contains information proprietary to Fairsail and may not be reproduced, disclosed, or used

More information

SUPPLEMENT 2 TO CHAPTER 3

SUPPLEMENT 2 TO CHAPTER 3 SUPPLEMENT 2 TO CHAPTER 3 More about LINGO Supplement 1 to Chapter 3 describes and illustrates how LINGO can be used to formulate and solve relatively small models. We now will show how LINGO can formulate

More information

Oracle Talent Management Cloud. What s New in Release 9

Oracle Talent Management Cloud. What s New in Release 9 Oracle Talent Management Cloud What s New in Release 9 30 April 2015 TABLE OF CONTENTS REVISION HISTORY... 4 OVERVIEW... 5 Give Us Feedback... 5 RELEASE FEATURE SUMMARY... 6 HCM COMMON FEATURES... 8 HCM

More information

Employee Model User s Guide. Distributed Employee Model Basics Version 1.8

Employee Model User s Guide. Distributed Employee Model Basics Version 1.8 Employee Model User s Guide Distributed Employee Model Basics Version 1.8 October 06, 2017 Contents Introduction to the Employee Model Project... 3 The Reports... 4 Where are the Reports?... 4 What Reports

More information

Introduction. Overview. Purpose of Document. Applicability. Exclusions and Exceptions. Assumptions

Introduction. Overview. Purpose of Document. Applicability. Exclusions and Exceptions. Assumptions Introduction Purpose of Document This document is meant as a quick start guide to setting up and using the IBM CDM Document Optimization Tool for documents managed by the IBM Cognos Disclosure Management

More information

Archive Log Mining. Supplemental logging must be enabled on the source database before generating redo log files that will be analyzed by LogMiner.

Archive Log Mining. Supplemental logging must be enabled on the source database before generating redo log files that will be analyzed by LogMiner. Archive Log Mining In Oracle8i, LogMiner was introduced as a tool capable of reading redo records found in the redo log files using a relational interface. To find out what Oracle is writing to the redo

More information

Access to the system is browser-based. CCCWorks supports the Microsoft Internet Explorer, Mozilla Firefox, and Apple Safari web browsers.

Access to the system is browser-based. CCCWorks supports the Microsoft Internet Explorer, Mozilla Firefox, and Apple Safari web browsers. Introduction Welcome to the CCCWorks Time and Attendance Manager Reference Guide CCCWorks Time and Attendance application delivers the functionality and flexibility to enforce HR, payroll, and union policies

More information

Upgrade Guide IBM Maximo Products V7.5 to V7.6.1 IBM

Upgrade Guide IBM Maximo Products V7.5 to V7.6.1 IBM Upgrade Guide IBM Maximo Products V7.5 to V7.6.1 IBM ii Upgrade Guide IBM Maximo Products V7.5 to V7.6.1 Contents Chapter 1. Upgrade overview..... 1 Upgrade resources............ 1 What the upgrade process

More information

5 Day Premium Financial Modelling Masterclass with VBA

5 Day Premium Financial Modelling Masterclass with VBA Overview This comprehensive financial modelling course is designed to cover all elements of the modelling process, and is divided into 3 modules. Module 1 is an extensive appreciation of Excel s data management,

More information

Program Consultant/Statistician

Program Consultant/Statistician 1 of 7 8/11/17, 11:21 AM JOB CLASS TITLE: Social Services Program Consultant II POSITION NUMBER: 60042134 DEPARTMENT: Dept of Health and Human Services STATE OF NORTH CAROLINA invites applications for

More information

IBM Solutions ecapital University 2017 Training Course Catalog

IBM Solutions ecapital University 2017 Training Course Catalog IBM Solutions ecapital University 2017 Training Course Catalog 1/23/2017 2017 ecapital Advisors, LLC. Training with ecapital ecapital s Training Philosophy Effective training is a critical part of any

More information

Sage ERP MAS 90 and Intelligence Release Notes

Sage ERP MAS 90 and Intelligence Release Notes Sage ERP MAS 90 and 200 4.50 Intelligence Release Notes Table of Contents 1 New Reporting Trees... 2 1.1 Reporting Tree Example... 2 1.2 Reporting Trees... 2 1.3 Linking Reporting Tree Units to Distribution

More information

PUBLIC What's New Guide

PUBLIC What's New Guide SAP BusinessObjects Analysis, edition for Microsoft Office Document Version: 2.4 SP1 2017-01-31 PUBLIC Content 1 About this guide....3 2 About the documentation set....4 3 Administration.... 6 3.1 New

More information

Performance tuning using SQL new features. By Riyaj Shamsudeen

Performance tuning using SQL new features. By Riyaj Shamsudeen Performance tuning using SQL new features By Riyaj Shamsudeen Who am I? 15 years using Oracle products Over 14 years as Oracle DBA Certified DBA versions 7.0,7.3,8,8i &9i Specializes in performance tuning,

More information

Manager Approval for Staff Merit Recommendations

Manager Approval for Staff Merit Recommendations A merit approver needs to review and approve the staff merit increases that a recommending manager submits during the review process. An approver also has the ability to make updates to entries that have

More information