Week001-Module (1) Merged
Week001-Module (1) Merged
1
Data Mining
Course Module
Knowledge Discovery Process Models
Sequential Structure of Knowledge Discovery of Databases
S
h
o
u
l
d
Figure 1 Sequential structure of knowledge discovery of databases
1. Input Data
These are sets of data or attributes that need to be analyzed
2. Step/Procedures
There are series of steps in treating the data. It includes data
preparation, cleaning, transformation and data mining
algorithms.
3. Knowledge
it refers to the generated models extracted by specified machine
learning algorithms.
Figure 2 Cross industry standard process for data mining (Chapman et al., 2000)
The CRISP-DM KDP model (see Figure 2) consists of six steps, which are
summarized below:
1. Business understanding. This step focuses on the understanding of
objectives and requirements from a business perspective. It also
Advanced Database Management System
3
Data Mining
2. Data understanding. This step starts with initial data collection and
familiarization with the data. Specific aims include identification of
data quality problems, initial insights into the data, and detection of
interesting data subsets.
3. Data preparation. This step covers all activities needed to construct
the final dataset, which constitutes the data that will be fed into DM
tool(s) in the next step. It includes Table, record, and attribute
selection; data cleaning; construction of new attributes; and
transformation of data.
4. Modeling. At this point, various modeling techniques are selected and
applied. Modeling usually involves the use of several methods for the
same DM problem type and the calibration of their parameters to
optimal values.
5. Evaluation. After one or more models have been built that have high
quality from a data analysis perspective, the model is evaluated from a
business objective perspective. A review of the steps executed to
construct the model is also performed. A key objective is to determine
whether any important business issues have not been sufficiently
considered. At the end of this phase, a decision about the use of the
DM results should be reached.
6. Deployment. Now the discovered knowledge must be organized and
presented in a way that the customer can use. Depending on the
requirements, this step can be as simple as generating a report or as
complex as implementing a repeatable KDP.
Supervised Learning
The goal of supervised learning technique is to develop a model that predicts
a value for a continuous outcome or classifies a categorical outcome.
Supervised learning is the machine learning task of inferring a function
from labeled training data (Mohri et al 2012). The training data consist of a
set of training examples. In supervised learning, each example is
a pair consisting of an input object and target variable.
The figure below indicates how a supervised learning is being processed.
Classification Algorithms
One form of machine learning algorithms that can be used for extracting
models describing important classes or to predict future data trends is
classification. Classification models predict categorical class labels; and
prediction models predict continuous valued functions
Classification Trees
Partition a data set of observations into increasingly smaller and more
homogeneous subsets.
At each iteration, a subset of observations is split into two new
subsets based on the values of a single variable.
Series of questions that successively narrow down observations into
smaller and smaller groups of decreasing impurity.
Advanced Database Management System
5
Data Mining
Clustering Algorithms
The goal of the clustering algorithms is to segment observations into similar
groups based on the observed variables.
K- Means Algorithm
Course Module
Clustering analysis has been widely used in many fields, for example, for
microarray gene expression data (Thalamuthu et al., 2006), mainly for
exploratory data analysis or class novelty discovery.
In the absence of a class label, clustering analysis is also called unsupervised
learning, as opposed to supervised learning that includes classification and
regression.
Classification Accuracy
By counting the classification errors on a sufficiently large validation set
and/or test set that is representative of the population, we will generate an
accurate measure of the model’s classification performance.
Classification confusion matrix: Displays a model’s correct and incorrect
classifications.
Table 1 Classification table
The true positives (TP) and true negatives (TN) are correct classifications. A
false positive (FP) occurs when the outcome is incorrectly predicted as yes (or
positive) when it is actually no (negative). A false negative (FN) occurs when
the outcome is incorrectly predicted as negative when it is actually positive.
The true positive rate is TP divided by the total number of positives, which is
TP + FN; the false positive rate is FP divided by the total number of negatives,
FP + TN. The overall success rate is the number of correct classifications
divided by the total number of classifications.
Introduction to Weka
Weka is a collection of machine learning algorithms for data mining tasks.
The algorithms can either be applied directly to a dataset or called from your
own Java code. Weka contains tools for data pre-processing, classification,
regression, clustering, association rules, and visualization. It is also well-
suited for developing new machine learning schemes.
Advanced Database Management System
7
Data Mining
Data Format - Can work with a wide variety of data files including its own
“.arff” and csv file extensions
Classifiers in WEKA are models for predicting nominal or numeric quantities
Weka Tutorial
Kindly refer to the link below for the tutorial of Weka:
https://weka.waikato.ac.nz/dataminingwithweka/preview
References
Chapman, P., et al. (2000). CRISP-DM 1.0 a step-by-Step data mining guide,
Germany: CRISP-DM Consortium.
Cios, K.J (2007). Data Mining A knowledge Discovery Approach
Course Module
Clifton, Christopher (2016). "Encyclopædia Britannica: Definition of Data
Mining". Retrieved 2016-12-09.
Mehryar Mohri, Afshin Rostamizadeh, Ameet Talwalkar (2012). Foundations
of Machine Learning, The MIT Press ISBN 9780262018258.
Thalamuthu, I. Mukhopadhyay, X. Zheng and G.C. Tseng (2006). Evaluation
and comparison of gene clustering methods in microarray analysis.
Bioinformatics: 22:2405-2412.
Shai Shalev-Shwartz and Shai Ben-David (2014). Understanding Machine
Learning: From Theory to Algorithms. Published 2014 by Cambridge
University Press.
https://weka.waikato.ac.nz/dataminingwithweka/preview
http://www.springer.com/978-0-387-33333-5
Course Code MIT412
In this laboratory exercise, Human Resource (HR) database is used for test database. Download and
unzip the sql.rar and you will see 4 sql scipts. Run first the hr_drop.sql to remove existing tables then run
hr_main.sql to create the 7 tables. The scripts utlxplan.sql and utlxpls.sql will be used later in this exercise.
In the human resource records, each employee has an identification number, email address, job
identification code, salary, and manager. Some employees earn a commission in addition to their salary.
The company also tracks information about jobs within the organization. Each job has an identification
code, job title, and a minimum and maximum salary range for the job. Some employees have been with the
company for a long time and have held different positions within the company. When an employee switches
jobs, the company records the start date and end date of the former job, the job identification number, and the
department.
The sample company is regionally diverse, so it tracks the locations of not only its warehouses but also
of its departments. Each company employee is assigned to a department. Each department is identified by a
unique department number and a short name. Each department is associated with one location. Each location
has a full address that includes the street address, postal code, city, state or province, and country code.
For each location where it has facilities, the company records the country name, currency symbol,
currency name, and the region where the county resides geographically.
Course Code MIT412
2. Analyze
c) Check Oracle Dictionary information to view the statistics used in query optimizer, i.e., USER_TABLES,
USER_INDEXES, USER_TAB_COLUMNS, USER_TAB_HISTOGRAMS.
**Note: For every statement that you execute starting from step C onwards, provide a screen shot of
the output.
Note: The table name must be capitalized since domain is case sensitive.
d) Delete and Compute the statistics of EMPLOYEE table, and check the statistics using user_tables.
i. Delete the statistics of EMPLOYEE using ANALYZE command, and then check the statistics from
user_tables.
ii. Create the statistics of EMPLOYEE using ANALYZE command, and then check created statistics
from user_tables.
3. DBMS_STATS
ii. Make NEW_EMPLOYEES table larger, and then check the statistics.
f) Using DBMS_STATS, update all statistics for your Oracle account. The created statistics should be saved
at STATS table.
g) Using DBMS_STATS, delete all statistics for your Oracle account. Then, recover it from STATS table.
Before you can use EXPLAIN PLAN you must have a suitable table in which the plan results are stored.
Oracle supplies a script to create this table called 'utlxplan.sql'. You can access this file in the SQL folder that you
have downloaded.
i) Change your session into Rule-Base Optimizer (RBO) using ALTER SESSION.
l) OR, you can see the explain plan using DBMS_XPLAN package
SQL> SELECT *
2 FROM table (DBMS_XPLAN.DISPLAY);
m) Truncate PLAN_TABLE (deleting rows), and change you session into Cost-based Optimizer using ALTER
SESSION. Then, Create Explain Plan for the same query
s) Discuss your observation when you execute the statements step by step in the Oracle Query Optimizer.
t) Try to execute two queries that generates the same results: one that uses JOIN operation and the other
that uses subquery. Write the queries together with the result. Compare them using the EXPLAIN PLAN
and AUTOTRACE then provide a screen shot of the comparison. Do they have the same result with the
plan and trace? Which query statement is better? Explain.
Learning Objectives
After studying this lesson, you should be able to:
Subprograms
Subprograms are named blocks which can be compiled and stored in
the database. It promotes modularized program that are extensible,
reusable and maintainable. These subprograms can either be
procedures or functions.
Procedures
Syntax
2
MODULE OF INSTRUCTION
Example 1
Parameters are used to transfer data values to and from the calling
environment. They are treated the sme way like local variables. The
mode option defines whether IN (default), OUT, IN OUT parameters
are used.
Example 2
Example 3
4
MODULE OF INSTRUCTION
The value 100 of v_id is passed to p_id of the getsalary procedure. The
SELECT statement uses this value to retrieve the salary of the
employee, stores it to the out parameter p_sal and returns the value to
v_sal. The value of v_sal is then used to update the salary of the
employees.
Example 4
Example 5
Functions
Syntax
Do not include
size specificationn
in the RETURN
data type .
The RETURN data type must not include a size specification. There
must be at least one RETURN expression statement.
Example 6
6
MODULE OF INSTRUCTION
Each row of the salary column is passed to the function. If the salary is
higher than 20,000, then the function returns salary grade ‘A’. If the
the salary is lower than 20,001 but higher than 10,000, the function
returns ‘B’. Otherwise it returns salary grade ‘C’.
Result
Example 7
Triggers
Triggers are similar to stored procedures. However, they differ in the
way that they are invoked. A procedure is explicitly run by a user,
application, or a trigger. Whereas triggers are implicitly
(automatically) fired by the database when a triggering event occurs.
Syntax
• Security
• Auditing
• Data integrity
• Referential integrity
• Table replication
• Computing derived data automatically
• Event logging
8
MODULE OF INSTRUCTION
Example 8
Glossary
Function
- A type of subprogram that returns one value and has only input
parameters.
Procedure
Subprograms
Trigger
References
Hoffer, J., Ramesh, V., Topi, H. (2013). Modern Database
Management, 11th Ed. New Jersey: Pearson Education, Inc.
Price, J. (2008). Oracle Database 11g SQL: Master SQL and PL/QL in
the Oracle Database. New York: McGraw-Hill.
10
Advanced Database Systems
1
Object-Oriented and Object-Relational Databases
Main Features:
Powerful Type System
o Primitive types: integer, string, date, Boolean, float, etc.
o Structure type: attribute can be a record with a schema
o Collection type: attribute can be a Set, Bag, List, Array of other
types
o Reference type: attribute cane be a Pointer to another object
Classes
o A class is in replacement of relation
Object Identity
o OID is a unique identity of each object regardless of its content
o Easier for references
Inheritance
o A class can be defined in terms of another one.
Strengths
The advantages of the object database approach are that applications which
define a rich type system for their data structures can carry this over to the
database when these data structures are made persistent. The impedance
mismatch is eliminated as the database becomes a “persistence extension” to
the language rather than an external service that one has to talk to through a
narrow and limited interface.
Weaknesses
Object systems introduce pointers linking objects to each other. This in turn
promotes a procedural style of navigation among the data items that can be
seen as a step backwards from the higher-level declarative approach
introduced by relational systems.
Course Module
Figure 2 Example of UDT
Course Module
Support for OO Poor: programmers Limited mostly to Direct and extensive
programming spend 25% coding new data types
time mapping the
program object to
the database
References
References
Hoffer, J. A., Ramesh, V., Topi, H. (2013). Modern Database Management 11th
Ed., New Jersey: Prentice Hall.
Silberschatz, A., Korth, H. F., Sudarshan, S. (2011). Database System Concepts
th
6 Ed., New York: McGraw-Hill.
http://wps.prenhall.com/wps/media/objects/3310/3390076/hoffer_ch15.p
df
https://www.techopedia.com/definition/8639/object-oriented-database
https://www.techopedia.com/definition/8715/object-relational-database-
management-system-ordbms
Advanced Database Systems
9
Object-Oriented and Object-Relational Databases
http://web.cs.wpi.edu/~cs561/s12/Lectures/2-3/OO.pdf
http://argouml.tigris.org/
Course Module
MODULE OF INSTRUCTION
Query Optimization
The examples in this module uses the HR database schema which you
can download from this module. It consists of seven tables namely
COUNTRIES, DEPARTMENTS, EMPLOYEES, JOB_HISTORY,
JOBS, LOCATIONS, and REGIONS.
Learning Objectives
After studying this lesson, you should be able to:
Query Optimizer
The query optimizer (called simply the optimizer) is built-in
database software that determines the most efficient method for a SQL
statement to access requested data.
The optimizer attempts to generate the best execution plan for a SQL
statement. The best execution plan is defined as the plan with the
lowest cost among all considered candidate plans. The cost
computation accounts for factors of query execution such as I/O, CPU,
and communication.
Because the database has many internal statistics and tools at its
disposal, the optimizer is usually in a better position than the user to
determine the best method of statement execution. For this reason, all
SQL statements use the optimizer.
Consider a user who queries records for employees who are managers.
If the database statistics indicate that 80% of employees are managers,
then the optimizer may decide that a full table scan is most efficient.
However, if statistics indicate that few employees are managers, then
reading an index followed by a table access by rowid may be more
efficient than a full table scan.
Cost-Based Optimization
The cost is a number that represents the estimated resource usage for
an execution plan. The optimizer’s cost model accounts for the I/O,
CPU, and network resources that the database requires to execute the
query. The optimizer assigns a cost to each possible plan, and then
chooses the plan with the lowest cost. For this reason, the optimizer is
sometimes called the cost-based optimizer (CBO) to contrast it with
the legacy rule-based optimizer (RBO).
2
MODULE OF INSTRUCTION
Execution Plans
An execution plan displays the cost of the entire plan, indicated on line
0, and each separate operation. The cost is an internal unit that the
execution plan only displays to allow for plan comparisons. Thus, you
cannot tune or change the cost value.
In Figure 3-1, the optimizer generates two possible execution plans for
an input SQL statement, uses statistics to estimate their costs,
compares their costs, and then chooses the plan with the lowest cost.
Query Blocks
Query Subplans
For each query block, the optimizer generates a query subplan. The
database optimizes query blocks separately from the bottom up. Thus,
the database optimizes the innermost query block first and generates a
subplan for it, and then generates the outer query block representing
the entire query.
One analogy for the optimizer is an online trip advisor. A cyclist wants
to know the most efficient bicycle route from point A to point B. A
query is like the directive "I need the most efficient route from point A
to point B" or "I need the most efficient route from point A to point B
by way of point C." The trip advisor uses an internal algorithm, which
relies on factors such as speed and difficulty, to determine the most
efficient route. The cyclist can influence the trip advisor's decision by
using directives such as "I want to arrive as fast as possible" or "I want
the easiest ride possible."
4
MODULE OF INSTRUCTION
The advisor picks the most efficient (lowest cost) overall route based
on user-specified goals and the available statistics about roads and
traffic conditions. The more accurate the statistics, the better the
advice. For example, if the advisor is not frequently notified of traffic
jams, road closures, and poor road conditions, then the recommended
route may turn out to be inefficient (high cost).
Optimizer Components
The optimizer contains three components, which are as shown in
Figure 3-2.
1. Query transformer
2. Estimator
3. Plan Generator
Query Transformer
Fi gure 3-3 shows the query transformer rewriting an input query that
uses OR into an output query that uses UNIONALL.
6
MODULE OF INSTRUCTION
Estimator
Selectivity
The percentage of rows in the row set that the query selects,
with 0 meaning no rows and 1 meaning all rows. Selectivity is
tied to a query predicate, such as WHERE last_name LIKE
'A%', or a combination of predicates. A predicate becomes
more selective as the selectivity value approaches 0 and less
selective (or more unselective) as the value approaches 1.
Selectivity is an
internal calculation
that is not visible in Cardinality
the execution plans.
The cardinality is the number of rows returned by each
operation in an execution plan. This input, which is crucial to
obtaining an optimal plan, is common to all cost functions. The
Cost
For the query shown in Example 3-1, the estimator uses selectivity,
estimated cardinality (a total return of 10 rows), and cost measures to
produce its total cost estimate of 3:
8
MODULE OF INSTRUCTION
Selectivity
The selectivity represents a fraction of rows from a row set. The row
set can be a base table, a view, or the result of a join. The selectivity is
tied to a query predicate, such as last_name = 'Smith', or a combination
of predicates, such as last_name = 'Smith' AND job_id ='SH_CLERK'.
A predicate filters a specific number of rows from a row set. Thus, the
selectivity of a predicate indicates how many rows pass the predicate
test. Selectivity ranges from 0.0 to 1.0. A selectivity of 0.0 means that
no rows are selected from a row set, whereas a selectivity of 1.0 means
that all rows are selected. A predicate becomes more selective as the
value approaches 0.0 and less selective (or more unselective) as the
value approaches 1.0.
Statistics available
Cardinality
Example 3-2
The employees table contains 107 rows. The current database statistics
indicate that the number of distinct values in the salary column is 58.
Thus, the optimizer calculates the cardinality of the result set as 2,
using the formula 107/58=1.84.
10
MODULE OF INSTRUCTION
Cost
The optimizer cost model accounts for the I/O, CPU, and network
resources that a query is predicted to use. The cost is an internal
numeric measure that represents the estimated resource usage for a
plan. The lower the cost, the more efficient the plan.
The execution plan displays the cost of the entire plan, which is
indicated on line 0, and each individual operation.
Example 3-3
The cost is an internal unit that you can use for plan comparisons. You
cannot tune or change it.
The access path determines the number of units of work required to get
data from a base table. The access path can be a table scan, a fast full
index scan, or an index scan.
During a table scan or fast full index scan, the database reads
multiple blocks from disk in a single I/O. Therefore, the cost of
Index scan
The join cost represents the combination of the individual access costs
of the two row sets being joined, plus the cost of the join operation.
Plan Generator
The plan generator explores various plans for a query block by trying
out different access paths, join methods, and join orders. Many plans
are possible because of the various combinations that the database can
use to produce the same result. The optimizer picks the plan with the
lowest cost.
Figure 3-5 shows the optimizer testing different plans for an input
query.
12
MODULE OF INSTRUCTION
The trace file shows the optimizer first trying the departments table as
the outer table in the join. The optimizer calculates the cost for three
different join methods: nested loops join (NL), sort merge (SM), and
hash join (HA). The optimizer picks the hash join as the most efficient
method:
The optimizer then tries a different join order, using employees as the
outer table. This join order costs more than the previous join order, so
it is abandoned.
Glossary
Estimator
Execution Plan
Plan Generator
Query Optimization
Query Optimizer
Query Transformer
14
MODULE OF INSTRUCTION
References
Price, J. (2008). Oracle Database 11g SQL: Master SQL and PL/QL in
the Oracle Database. New York: McGraw-Hill.
https://docs.oracle.com/database/121/TGSQL/tgsql_optcncpt.htm#TG
SQL196
http://docs.oracle.com/cd/E25178_01/server.1111/e16638/optimops.ht
m
This module describes the key concepts and all of the components of a
client/server system, parallel databases and distributed databases. This
chapter emphasizes the impact of these database system architecutres
and how to best take advantage of the resources and choices available.
Learning Objectives
After studying this lesson, you should be able to:
Client/Server Architectures
Client/server systems operate in networked environments, splitting
the processing of an application between a front-end client and a back-
end processor. Generally, the client process requires some resource,
which the server provides to the client. Clients and servers can reside
in the same computer, or they can be on different computers that are
networked together. Both clients and servers are intelligent and
programmable, so the computing power of both can be used to devise
effective and efficient applications.
2
MODULE OF INSTRUCTION
4
MODULE OF INSTRUCTION
Figure 4-5 depicts the basic environment needed to set up both intranet
and Internet database-enabled connectivity. In the box on the right-
hand side of the diagram is a depiction of an intranet. The client/server
nature of the architecture is evident from the labeling. The network
that connects the client workstations, Web server, and database server
follows TCP/IP protocols. While multitier intranet structures are also
used, where a request from a client browser will be sent through the
network to the Web server, which stores pages scripted in HTML to be
returned and displayed throught the client browser. If the request
requires that data be obtained from the database, the Web server
constructs a query and sends it to the database server, which processes
the query and returns the results set when the query is run against the
database. Similarly, data entered at the client station can be passed
through and stored in the database by sending it to the Web server,
6
MODULE OF INSTRUCTION
Parallel Databases
Parallel database is a DBMS running across multiple processors and
disks designed to execute operations in parallel, whenever possible, to
improve performance. Parallel DBMSs link multiple, smaller
machines to achieve same throughput as single, larger machine, with
greater sclalbility and reliability.
1. Shared Memory
2. Shared Disk
3. Shared Nothing
8
MODULE OF INSTRUCTION
4. Hierarchical
Distributed Databases
A distributed database is a single logical database that is spread
physically across computers in multiple locations that are connected
by a data communications network. A distributed database is truly a
database, not a loose collection of files. The distributed database is still
centrally administered as a corporate resource while providing local
flexibility and customization. The network must allow the users to
share the data; thus a user (or program) at location A must be able to
access (and perhaps update) data at location B. The sites of a
distributed system may be spread over a large area (e.g., the United
States or the world) or over a small area (e.g., a building or campus).
The computers may range from PCs to large-scale servers or even
supercomputers.
1. Homogenous
• Data are distributed across all nodes
• The same DBMS is used at each location
• All data are managed by the distributed DBMS
• All users access the database through one global
schema or database definition
• The global schema is simply the union of all local
database schemas
• Goal: provide a view of a single database, hiding details
of distribution
2. Heterogenous
• Data are distributed across all nodes
• Different DBMSs may be used at each node
10
MODULE OF INSTRUCTION
Distributed DBMS
12
MODULE OF INSTRUCTION
Glossary
Application Partitioning
Client/Server System
Database Server
Distributed Database
Three-tier Architecture
References
Hoffer, J. A., Ramesh, V., Topi, H. (2013). Modern Database
Management 11th Ed., New Jersey: Prentice Hall.
14
Advanced Database Systems
1
Data Warehousing
Data Warehousing
Course Module
Data mining functions such as association, clustering, classification, and
prediction can be integrated with OLAP operations to enhance the interactive
mining of knowledge at multiple level of abstraction. That's why data
warehouse has now become an important platform for data analysis and
online analytical processing.
Course Module
Figure 2 Comparison Between OLAP and OLTP
There are decision support technologies that help utilize the data available in
a data warehouse. These technologies help executives to use the warehouse
quickly and effectively. They can gather data, analyze it, and take decisions
based on the information present in the warehouse. The information
gathered in a warehouse can be used in any of the following domains:
Tuning Production Strategies - The product strategies can be well
tuned by repositioning the products and managing the product
portfolios by comparing the sales quarterly or yearly.
Customer Analysis - Customer analysis is done by analyzing the
customer's buying preferences, buying time, budget cycles, etc.
Operations Analysis - Data warehousing also helps in customer
relationship management, and making environmental corrections.
The information also allows us to analyze business operations.
Metadata
Metadata is simply defined as data about data. The data that are used to
represent other data is known as metadata. For example, the index of a book
serves as a metadata for the contents in the book. In other words, we can say
that metadata is the summarized data that leads us to the detailed data.
In terms of data warehouse, we can define metadata as following:
Metadata is a road-map to data warehouse.
Metadata in data warehouse defines the warehouse objects.
Metadata acts as a directory. This directory helps the decision support
system to locate the contents of a data warehouse.
Data Cube
A data cube helps us represent data in multiple dimensions. It is defined by
dimensions and facts. The dimensions are the entities with respect to which
an enterprise preserves the records.
Data Mart
Data marts contain a subset of organization-wide data that is valuable to
specific groups of people in an organization. In other words, a data mart
contains only those data that is specific to a particular group. For example,
the marketing data mart may contain only data related to items, customers,
and sales. Data marts are confined to subjects.
Virtual Warehouse
The view over an operational data warehouse is known as virtual warehouse.
It is easy to build a virtual warehouse. Building a virtual warehouse requires
excess capacity on operational database servers.
Course Module
Figure 2 Process flow in data warehouse
References
Hoffer, J. A., Ramesh, V., Topi, H. (2013). Modern Database Management 11th
Ed., New Jersey: Prentice Hall.
Inmon, W. H. (2005). Building the Data Warehouse 4th Ed., Indianapolis:
Wiley Publishing Inc.
Kimball, R., Ross, M. (2002). The Data Warehouse Toolkit, 2nd Ed., A Complete
Guide to Relational Modeling, New York: John Wiley & Sons.
Silberschatz, A., Korth, H. F., Sudarshan, S. (2011). Database System Concepts
th
6 Ed., New York: McGraw-Hill.
https://www.tutorialspoint.com/dwh/index.htm
http://docs.oracle.com/cd/B10500_01/server.920/a96520/concept.htm
Chapter 1
I did not intend to inflict upon you Ben Franklin’s bromide about how
those who fail to plan, plan to fail, but I can’t avoid it.
So there.
Having dispensed with that obligation, let me stress that planning a pre-
sentation does not have to be an intricate or tedious process. Follow the
steps in this chapter, and you can draw up a plan in just a few minutes.
Your blueprint can incorporate strategies that have proven effective for
centuries—I mean that literally—and can save you stress, tedium, false
starts, and embarrassment.
Almost any plan is better than no plan. Plans don’t have to be complex.
Your plan can be as simple as “beginning, middle, and end.” That was
good enough for Aristotle, and he did okay in the presentation depart-
ment, I’ve been told. The most famous orator in history, Cicero, advo-
cated a grand total of six parts to a presentation: an introduction, a
summary statement of the case you are trying to make, major points in
2 Present Like a Pro
your case, refuting opposing points, crowing about how you have just
refuted those points, and a conclusion in which you show how you have
made your case.
There are many templates that have proven effective for master pre-
senters, and this chapter will show you how to pick one and adapt it to
your needs.
Some of the following ten steps involve structure, and others involve
planning for the physical presentation. Employ whichever tactics work
for you. Plan as far in advance as feasible, because having a general
idea of the structure and content puts your brain on autopilot during
the time leading up to the actual presentation. You’ll hear or read things
that will be perfect for your performance and robotically vacuum them
up; moments of inspiration will come to you while standing in line at the
bank or sitting in traffic.
Don’t get lost in the details, and don’t obsess about planning to the point
where you come down with a case of perfection paralysis. Just do it, and
start now.
This chapter will show you how planning your presentation around some proven
steps and strategies can help you re-create the success of others and give your pre-
sentation a compelling structure.
You now know the main point, the primary benefit I promise to impart
in this chapter. You know what’s coming, I know where I’m going, and we
are both presumably happy about it.
To continue my militaristic riff on the importance of planning, note that
when Dwight Eisenhower (who had once worked as a speechwriter himself
and was later schooled in the importance of clear and evocative communi-
cation as supreme Allied commander in the Mediterranean and European
theaters) assumed the presidency, he demanded that his speechwriters
shape his presentations around one bottom line—one message the listen-
ers would take home with them. According to James C. Humes, an Eisen-
hower scholar as well as a master presidential speechwriter, Eisenhower
Plan It Like You’re Patton 3
told writers that if they could not put the bottom-line message on the back
of a matchbook before they sat down, they were essentially wasting their
time.1
So save yourself false starts, and draft your takeaway before you begin
anything else. Then make sure your entire presentation somehow relates to
the takeaway and reinforces it.
Your takeaway can be about 20 words:
• This is a marvelous product, and we will not only make a big profit but also
change the industry.
• I am the best candidate for this office because I am beholden to no one and
have only your best interests at heart.
• We must fight as hard as we can, because the stakes are so high and the con-
sequences so dire.
• If we set aside our differences, everyone can move forward and accomplish
great things.
Every compelling story has movement within its structure. You probably
can recognize these common structures from films and mythology:
And every compelling presentation has a structure too. Here are a couple
of examples:
• Introduce your main argument, state your case, outline your main points,
prove your case, counter conflicting arguments, and conclude by showing
how you have made your case.
• Start with a story illustrating a problem, leave the audience in suspense as to
the resolution of the problem, describe possible solutions, refute objections,
funnel your audience toward agreeing with your proposed solution, and close
with the opening story—how the person you are using for illustration over-
came the problem.
points, etc.) was devised more than two thousand years ago by the Roman
orator Cicero and became the basis for Western classical rhetoric—the art
of verbal persuasion and motivation.
We’ll look at structures in detail later in this chapter and throughout
the book, but for now just keep in mind that everything has a structure:
pop music, TV sitcoms, symphonies, and speeches. You may not be able to
perceive the structure because it seems so natural, but that’s the nature of a
useful structure—it seems natural and doesn’t call attention to itself.
Your favorite song on the radio doesn’t sound to you like intro/first
verse/chorus/second verse/second chorus/eight bars of variation on the
melody/third chorus/closing chorus, does it? But that is a very common
underlying structure—so common that people in the music industry will
abbreviate it and say, “Here’s a song that’s a plain old ABABCBB.” (If you
don’t believe me, listen to a few songs on the car radio on the way home;
you’ll see how many songs fall into this pattern.)
Again, one presentation structure is not inherently better than another,
although it might be better suited to a particular application. The impor-
tant factor is to have some sort of structure designed to carry you through
from beginning to middle to end with some sort of perceptible motion and
closure.
Note that this advice applies to any sort of communication that you can
conceivably classify as a presentation: speech, training session, on-camera
response to a media inquiry, podcast, and so forth.
First figure out where to start in terms of the complexity of the information
you’ll present. You can’t start above the heads of your audience, but you cer-
tainly don’t want to tell them what they already know. To complicate matters,
audiences will often have mixed levels of expertise and experience, so you’ll
need to acknowledge that: “Some of you certainly know this already, but
some won’t, so let me briefly review.” It’s probably best to pitch the content a
little above the heads of some while giving occasional catch-up explanations.
Next, consider what the audience needs to get out of it, and gear your
approach accordingly. Do they need an understanding of a subject that will
allow them to pass a certification test? An understanding of how the test
works, so that they can apply existing knowledge and pass it? Or do they
need to be fired up? Or entertained? Or both?
How much does the audience care about your subject? If the answer is
“not a lot,” is it worth pursuing? If it’s worth it, how can you convince them
to care?
Plan It Like You’re Patton 5
Gathering this information isn’t that hard. Just talk with the organizers
or members of the group. Ask these questions:
• Why will the audience be here? Are they forced to come? Voluntarily coming
because they are interested?
• What do they need to know?
• Why do they need to know it? Curiosity? To make more money? Not to be at
a disadvantage when competing with others?
• How much do they know now?
• What’s the variation in the audience’s level of understanding? In other words,
will they all be novices? Experts? Half experts and half novices?
You can assess the needs of your audience by doing surveys or, using a low-
tech method that always appealed to me, just talking to people.
Advertising agencies typically convene focus groups to talk to people
and learn about the needs of their audience. Let me tell you one story that
perfectly illustrates what you’re trying to do in a needs assessment. Back in
the 1990s, something called the California Milk Processor Advisory Board
hired a veteran advertising executive to help stanch the loss of custom-
ers for milk. The problem was that choices of beverages were multiplying
exponentially with the introduction of new soda flavors and invented bev-
erages such as sports drinks. But there is not a lot you can do with milk.
You can flavor it with chocolate or strawberry, but beyond that, it would
just get weird. Nobody’s going to drink carbonated milk, for example. Milk
isn’t much of a sports drink, because it doesn’t keep forever; it is therefore
not really portable.
So, we know that most milk consumption takes place in the home—but
what spurs people to buy it? What are their needs? A San Francisco adver-
tising agency set up focus groups (supervised conversations with groups of
typical customers) to find out.
The groups didn’t produce much that was useful until something hap-
pened by accident: It was getting late, and one participant noted that if he
didn’t leave in time to make it to the store to buy milk, there would be hell
to pay the next morning.
And there you have one of the Eureka Moments of needs assessments.
What motivates many people to want to buy milk, the conveners of the
focus group learned, is the fear of what happens if they run out. (I don’t
know about you, but when my children were little and I didn’t have milk,
they appeared ready to call a social service agency and report me.)
You know the rest of the story, because you certainly remember the
“Got Milk” commercials: entertaining mini-dramas in which a man
can’t win a telephone quiz contest because when the phone rings, he
is chewing on a peanut butter sandwich and has run out of milk with
which to wash it down. Another commercial features a snarling busi-
ness executive who is run over by a bus and winds up in what appears
to be a big kitchen in the sky, fully stocked with milk cartons and giant
chocolate-chip cookies.
“Heaven,” he muses, stuffing himself. And then, naturally, he reaches for
the milk carton. But it’s empty. And so are all the rest.
The realization is horrifying. “Where am I?” he asks, as flames begin to
engulf the “Got Milk” logo.
And there you have the central lesson in needs assessment. Deduce what
scares people, what they feel deprived without.
Figure out what causes pain—and offer a solution.
Plan It Like You’re Patton 7
Maybe you’ll have to explain to your audience precisely why they should
feel deprived, or why they should worry, and that’s okay. But without that
hook, without that perceived need you are filling, the audience will have no
real interest in listening to you.
So, gauge as best you can what your audience needs. Talk with the event
organizer or with people who will be at the meeting. What bothers them?
What solution are they seeking, and what is the problem they want to solve?
Maybe it is something general and nonspecific: They are tense and upset,
and they need a laugh. Or it could be a precise fear: They are worried about
meeting sales quotas and need some advice on how to head off failure. Or
they are concerned about a new policy, and they need assurance that it will
be in their best interests. It could be the case that they are worried about
loss of productivity in their office, and they need the type of product you
just happen to sell. Or possibly they are concerned about giving a presenta-
tion, in which case you can advise them to buy this book.
Here are three immutable facts of life. Let’s call them Hausman’s laws:
Law 1: Everyone worries about having too little material for a presentation and
running short.
Law 2: Nobody ever has too little material and runs short.
But because people relentlessly continue to believe in Law 1, we inescap-
ably come to . . .
Law 3: A lot of people giving presentations therefore have way too much they
want to cover, they try to cram in and regurgitate too much information, and
thus they turn the occasion into a desultory data dump. And they talk too
quickly as a result of their panic to wedge everything in.
It’s reasonable that you will start with too much material to cram into a
presentation. In fact, that’s the way it should be. I won’t invent any more
laws, but if I did, the next one would be something like, “Whether in an
article, book, or presentation, you know the content is going to be good
when you have too much good information and it becomes difficult to pare
it down.” So feel free to collect a huge pile of facts and figures for your pre-
sentation, but chop down the pile relentlessly until every piece of material
sticks to the spine of your main takeaway, until they all fit into your orga-
nizational structure and are relevant to your audience’s knowledge level
and needs.
8 Present Like a Pro
This decision is based partly on the purpose and venue of your presen-
tation and partly on personal preference.
Some decisions regarding format are obvious. You can’t show up for a
TV interview reading from a script, for example. Some are trickier. If you
are giving a presentation about a controversial topic, you are well advised
to read from a prepared script so that you won’t accidentally say some-
thing provocative, and if you are misquoted, you can go back to the text to
prove what you said. This isn’t timidity—it’s good judgment, and you are in
good company. Edward R. Murrow followed this route when opening his
famous 1954 television takedown of Sen. Joseph McCarthy:
Good evening. Tonight See It Now devotes its entire half hour to a report on
Senator Joseph R. McCarthy told mainly in his own words and pictures . . .
Because a report on Senator McCarthy is by definition controversial, we
want to say exactly what we mean to say, and I request your permission to
read from the script whatever remarks Murrow and Friendly may make. If
the Senator feels that we have done violence to his words or pictures and so
desires to speak, to answer himself, an opportunity will be afforded him on
this program.3
The physical form of your notes or script must also be considered. You
have many options:
As with everything else in life, there are pluses and minuses to each
approach. The presenter view in slide software is convenient, in that it
comes packaged with the page you are displaying. However, this requires
you to be in a position to comfortably view a computer screen—and if
there is a problem with the slides, you have a problem with your notes, too.
The outline approach tethers you to several pieces of paper but does not do
all your thinking for you . . . you still have to ad-lib. Having said that, it does
provide you with a clear structure, making it easy to keep your place and
visualize what has been covered and what remains.
Numbers, Roman numerals, and letters can be used in an outline, as can
symbols and bullet points. I favor a very simple outlining process, with
plain text as the main thought, solid bullets for second-level thoughts, and
hollow bullets for third-level ones. This is the default modus operandi of
Microsoft Word, saving me the trouble of setting up any special formatting.
I recommend my outline method as a good general-purpose default. It
gives me clear prompts and is compact enough so that I can get a sense of
the organization of the presentation. For example, here is the opening of a
university lecture I give on freedom of the press:
• Establishment
• Practice
10 Present Like a Pro
• Speech
• Press
• Assembly
• Petition
However . . .
• Begins with tussle between freedom and oppression, and also technology and
oppression . . .
People not born with rights
Magna Carta 1215
Petition of Right, 1628, cited Magna Carta as precedent
Typing out the script and reading it provides the presenter with a crutch
but at a price: For most people, it is difficult to read a script smoothly and
naturally. Having said that, though, there are occasions when you will
want the wording to be exact, and printing out a copy in a large enough
font to comfortably read is simple. This is a major advantage of the com-
puter; when I first began inflicting myself on audiences, the only option
for a speaker who needed large type was a special “Orator” font on a ball
that fit into an IBM Selectric typewriter. It’s obvious to note that such is not
the case today, but less obvious is the fact that the myriad fonts available
on a word-processing program have widely varying levels of readability.
Experiment. Find the size and font that’s most effective for you, should
you go the route of reading off a script or from bullet points on a printed
page. Resist the temptation to use a huge font visible from an orbiting sat-
ellite, because you will have to flip pages too often, and you may lose the
sense of continuity provided by being able to scan many words on a page.
Personally, I like 18-point Times Roman. Times Roman is a serif font,
meaning that the letters have little feet. I find that this aids readability,
and as I have reasonably good distance vision, I don’t need the text to be
much bigger, and I like the idea that I can see a fairly large amount of text
and notes. Your mileage may vary, so do a lot of experimentation.
Slides and video are terrific. Sometimes. And sometimes they are just
awful—even laughable. Google comedian “Don McMillan” and “Death by
PowerPoint,” and you’ll see what I mean.
He cuts pretty close to reality in the opening of his routine when he
shows his first PowerPoint slide and reads it word for word. The slide looks
like this:
(1) People tend to put every word they are going to say on their PowerPoint
slides. Although this eliminates the need to memorize your talk, ultimately
this makes your slides crowded, wordy, and boring. You will lose your audi-
ence’s attention before you even reach the bottom of your . . .4
Don’t be that guy. Use media sparingly and only when it adds something
unique or serves some purpose better than simply talking. We’ll look at
presentation media in more detail in later chapters, but at this point, here
is what you need to know.
12 Present Like a Pro
Use slides . . .
• For titles
• For main points, especially definition of technical terms
• For highlighting a theme or a question that will recur throughout the
presentation
• For visuals, when those visuals convey the image better than you can by
words alone
• To read from
• As a crutch
• As incessant decoration
• As the primary conveyor of information (If it’s essential that people know
something that is presented in a written format, give them a handout or a
Web link.)
• To echo what you are saying
Use video . . .
• When you have video of something to which you are referring (For example,
in Technique #6 above, I referred to Edward R. Murrow. Had I been giving a
presentation, it certainly would have been a good spot to insert a video clip.)
• When video can provide a brief punctuation (Had I been giving a presenta-
tion on the misuse of PowerPoint, I could have effectively used a clip from
Don McMillan.)
Rehearsal helps—a lot, much more than you would expect. For one
thing, you don’t want to present a rough draft to an audience, and you don’t
want to have a lapse in concentration derail you during an ill-prepared
presentation.
Plan It Like You’re Patton 13
• Video yourself. In the era of the smartphone and the video camera on almost
every laptop sold, there is no reason not to take advantage of this option. Yes,
it can be painful to watch, but there is simply no better way to fix weak points.
From personal experience I can tell you that even the most masterful broad-
cast announcers weren’t born with their talent. Speaking and reading with
accuracy and eloquence is an acquired skill; you acquire that skill by practic-
ing, evaluating the results, and making changes and adjustments, just like hit-
ting balls at a driving range, seeing how far they go, and adjusting your stance.
• Get feedback. Continuing the golf analogy, anyone who has taken a golf les-
son knows the value of feedback. Sometimes you literally can’t tell if your own
arm is straight, or if you are rocking too much. You may have the same blind
spot for speaking too quickly or glossing over the main points. An informed
observer can help. If possible, get someone to watch your presentation and
provide feedback. (You have nothing to lose: If the person is a jerk, at least
you’ll have practice handling a heckler.)
• Rehearse in sections. In one of my many failed careers, I was an orchestral
musician. I attended a master class with a renowned clarinetist who would
listen to the student play and then offer advice and play the selection himself.
14 Present Like a Pro
Some of the music was very challenging, even beyond the capacity of a first-
chair musician to sight-read. So he learned it on the spot, in front of a large
group of students, and here’s how he did it: Instead of charging through the
passage, which was about a minute long, he slowly played the first phrase,
then speeded it up when he played it once more. He repeated the process
with the second phrase (maybe ten seconds of music), and so on. Then he
grafted the parts together, playing the first part and the second part, then
the first part and the second part and the third part, then the whole thing.
The point is that he polished the sections first, slowly and carefully. Then he
put them together, building up speed and expression. That’s what you want
to do when you rehearse a speech. Don’t try to run through the whole thing,
at least not at first. Do it slowly, at least at first, getting the details right so you
don’t practice your mistakes.
• Practice more than the words. Rehearse movements, pauses, inflections,
and integration of the technology.
9. WRITE YOUR DRAFT FOR THE EAR, NOT FOR THE EYE
• Keep sentences short. An occasional long sentence is all right (and in fact
tends to break up monotonous patterns), but err on the short side.
• Write in a conversational tone. Make sure that whatever you write sounds
like a normal speech pattern and not an academic journal or a newspaper
editorial. The easiest way to assess whether you pass this test is to read things
aloud as you write them. If a sentence sounds stilted, start over.
• Be clear. Don’t write, “As we can see from the latter example,” because the
listener has no way to replay what you have said to discern the former from
the latter.
• Watch pronouns. A listener can’t go back and figure out who the “he” refers
to if you have just mentioned several men. When in doubt, repeat a name
rather than use a pronoun.
• Use contractions. Forget the admonitions from your seventh-grade English
teacher. Contractions are natural in spoken communication. Having said
that, be careful of easily misheard words such as “can” and “can’t,” which
sound an awful lot alike when spoken. If it’s possible that a listener will be
confused, rephrase.
• Put attribution first. For example, “Our researchers say this will be the best
quarter in the past decade” is easier to say and listen to than “This will be the
best quarter in the past decade, our researchers say.”
Plan It Like You’re Patton 15
• Make very short sentences carry the weight. This is a potent technique and
is dirt simple: When you want to make an impact and get across a key point,
make it a very short sentence. Compare this uninspired wording . . .
I disagree with our critics who say we won’t be able to adapt to the changing
technologies because our business is rooted in face-to-face sales. In fact, I would
endeavor to say that we may surpass their expectations and turn in a perfor-
mance better than anything we have done before. By integrating the newest
database and contact management technology into our . . .
with this:
Some of our critics say we won’t be able to adapt to the changing technologies
because our business is rooted in face-to-face sales.
They are wrong.
We will succeed beyond anyone’s expectations except mine.
By integrating the newest database and contact management technology into
our . . .
• Write a reminder directly into your script or notes. A visual reminder pop-
ping up from time to time is helpful. Even the best of us need a cue; President
Eisenhower was notorious for rambling on, so his handlers had a special plate
attached to his lectern that would light up and demand, “GET OFF NOW.” In
comparison, writing “SLOW DOWN’ on page 3 of your script is not such an
imposition.
• Breathe more deeply and more often. Breath control is essential to magnify-
ing voice power (among the topics covered in Chapter 7), but taking regular,
deep breaths calms you and effortlessly slows your pace, because you can’t
talk and breathe at the same time.
• Insert pauses, as recommended in Chapter 2, Step 6. Pauses offer the dual
benefit of adding drama and slowing down speech.
• Time yourself reading from a script, and observe your words-per-minute
rate so you will have a consistent measure to shoot for. I like to keep my
rate for audiobooks, online narration, and most public speaking at about 150
words per minute. Your mileage may vary depending on the circumstances,
but 150 is a good starting point. Hitting it is easier than it sounds: When you
rehearse, simply set your smartphone timer for a minute, count 150 words
into your presentation, mark that spot, and read. If you finish before hitting
the marker, slow down. If you drag on much longer than the marker, chug a
couple cups of coffee and rev up the speed. Keep practicing to hit the target,
and after a few sessions, that rhythm will be imprinted in your neurons and
you will be able to summon it naturally.
You are probably familiar with the work of Amy Cuddy, who became
famous for her TED Talk on body language. If you haven’t seen it, just
google her name and the phrase “power poses.” It’s well worth the 20-minute
time investment.
Magnify Your Message with Credibility, Approachability, and Listenability 29
what the standard shots will be and adjust your movements accordingly. In
general, less—much less—is more when it comes to televised gestures.
• Be careful of mannerisms. I used to have a professor who would punctuate
each and every sentence with a palsied karate chop. We would imitate him in
class, in the hall, and at frat parties. Don’t be that guy. A distinctive gesture is
fine—in fact, you might want to develop one as a trademark—but when it is
overused, the gesture becomes distracting at best and fodder for ridicule at
worst.
• Along the same lines, make sure gestures have purposes. If you want to
stab a finger at the audience to make an appropriate point (“and you have
been cheated time and time again by this insane policy . . .”) that’s fine. But
if the gesture habitually persists through a joke or a tribute to a fallen friend,
you are sending mixed and confusing signals. This might actually be a bigger
problem than you suspect, because sometimes people subconsciously read
things into inappropriate gestures, and they may not even be aware of their
reaction; all they know is that something is wrong. I once knew someone
who kept his fists clenched during even the lightest parts of his presentations.
I don’t know if the mismatched gesture was symptomatic of anything, and it
took me a while to figure out what the dissonance in his appearance was, but
I believe his habit made people uneasy even if they could not put their fingers
on what was bothering them.
• Maintain an arsenal of functional and appropriate gestures. Two that work
well are (1) hands in front of body and spread, palms out, when address-
ing the audience and (2) palms turned in when talking about yourself. I
like listing points from time to time and using fingers to count them out.
(Just don’t use this technique for 11 or more points.) Some speaking coaches
advise against using clenched fists or pointed fingers, but if those gestures are
used with sincerity and not in a hostile way, they can be very effective. An
arm outreached to the audience in a gesture that looks like you are inviting
someone to dance is an excellent device to implore listeners to join you in a
belief or idea.
• Full-body gestures, when appropriate for the venue, work well. For exam-
ple, if you want to make a final appeal to the audience, get out from behind
the lectern, move to the edge of the stage, and use the come-and-dance ges-
ture with one arm while holding the microphone in the other hand. If you are
wearing a microphone and are not tethered to one location, moving around
the stage or platform is an excellent option, as long as you don’t pace mechan-
ically. If you are comfortable doing so, opt for a location that does not plant
you behind a lectern; it’s just one more barrier between you and the audi-
ence. If you have notes but no formal lectern, you can put them on a music
stand and refer to them occasionally. I believe that one of the most physically
inviting setups for a speaker is a simple stool, a music stand, and a handheld
mic. It communicates to the audience that you are not afraid of them and not
desirous of a barrier, and it allows you the freedom to sit and then stand when
you want to punctuate an idea.
Magnify Your Message with Credibility, Approachability, and Listenability 31
the subspecies of audience members who are attention junkies and want to
take over the presentation. (I’ll show you how to deal with them in Chapter
4, Step 6.)
Having served up that disclaimer, let me note that experience, research,
and common sense demonstrate that audiences retain more and pay atten-
tion when they are involved in some fashion.
The most basic tool for encouraging participation is simply asking
questions. There are several ways to ask a question, and all carry specific
benefits and risks.
You can ask a question of the entire group and hope someone responds.
The upside is that if you get an answer, it is likely to be responsive rather
than reflexive. The downside is that if no one responds, you look a little
silly, and if a boorish attention junkie responds (sometimes repeatedly),
you may have to deal with disruption. One way around this is to ask for a
show of hands (“How many think this approach might work? Please raise
your hand”) and then call on one of the hand-raisers who looks like he or
she might have a lively and intelligent addition to the conversation.
Alternately, you can single out an individual. This can backfire if the
target is unresponsive or takes the question as an affront. However, if you
are in a position of authority over the group—say, delivering a mandatory
training—this technique can be a powerful motivation for audience mem-
bers to pay attention, because they know they could be next on the hot seat.
I can’t prove this, but I feel that subconsciously, many people like being put
on the spot in a competitive environment and take some satisfaction in
being held to task. So if you want to channel your inner Professor Kings-
field from The Paper Chase, give it a try if you believe your personality and
the situation lend themselves to the approach.
My favored no-risk mechanism is to frame the inquiry as a rhetorical
question and then call on people who respond or look as though they are
going to respond. You can fake this if you want:
Me: “But the question is, how do we make this approach work?”
(Pause. If there’s no response, just leave it as a rhetorical question and continue
with your presentation: “One method that consistently . . .”)
Or try this approach:
Me: “But the question is, how do we make this approach work?”
(Scan the room for signs of people who look like they can be made to offer a
contribution.)
Me: “Wow, I see a lot of people who look like they have ideas to offer.”
(The technical name we use in the business for this technique is “a lie,” but remem-
ber that you can’t get caught, because most members of the audience, if they are
seated facing you, can’t see the other members.)
Magnify Your Message with Credibility, Approachability, and Listenability 33
Me: “And I think I saw Bob in the last row ready to contribute.”
(Pick the person you think looked as though he or she had something to add. This
technique allows you to read the room and move on if the audience is dead, or to
select a responder in a nonthreatening way.)
There is one situation where you don’t want to get people talking, at least
right away: when you are trying to persuade them and possibly change
their opinions. There is more on this in Step 9 below, but note here that
people become much more intransigent once they have publicly stated an
opinion. In other words, if you allow or force them to oppose you publicly
in the beginning, you will never be able to change their views by the end.
If you do want to gauge the attitude of an audience, I have one partici-
pation tactic that usually works very well: Conduct an anonymous poll at
the beginning of the presentation. Paper handouts with one or two ques-
tions work well; 3 × 5 index cards work better. If you have an audience of
50, it will only take a helper five minutes or so to tabulate the questions
and maybe another five minutes to write down some of the more provoc-
ative responses. That translates to 10 minutes of your presentation, during
which the audience is in some suspense waiting for the results while your
helper tallies the numbers.
If you don’t have a stake in the outcome of who favors what view, or
even if you do and feel confident you will change some hearts and minds,
conduct a poll of attitudes at the beginning and end of the presentation. You
now have two suspense points—and I guarantee that the audience will be
curious about whether attitudes changed during the presentation.
The typical peak time for audience involvement is the end of the presen-
tation, often reserved for question-and-answer. Presenters have differing
opinions on the best placement of questions; some like to have audience
members ask during the session, while others prefer to have all questions
posed at the end. In my experience, end-of-session questions work best
with very large audiences, while smaller groups lend themselves to more
interaction. The subject matter and your general level of comfort play into
the optimal arrangement as well. There’s no reason why you can’t do both:
“We’ll have questions and answers at the end, but if there’s something you
think is important to clarify during the presentation, please feel free to ask.”
But nothing short of being tarred and feathered is so demoralizing
as concluding with, “And now, I’ll take your questions” and not getting
any. I see nothing morally wrong with having a confederate armed with a
question and getting the Q and A rolling. I’ve actually approached a total
34 Present Like a Pro
stranger in the audience a few minutes before the beginning and asked if
they would help move the session along at the end by asking the first ques-
tion. I might even have proposed a question or two. This isn’t falsification;
you are, after all, planning a legitimate addendum to the talk, and if your
plant lets out the secret, so what? You plead guilty to the crime of careful
planning and move on.
Some presentations are delivered with strict time limits. The length of
others is governed only by common sense. Bearing in mind the maxim
“No one ever complained that a talk was too short,” keep within your limits.
Remember that if you don’t keep the components of your presentation
within a time frame with milestones along the way, ending on time will
be like pulling the plug on a TV show that is only two-thirds complete. If
you panic when you realize you have only five minutes left and try to cram
everything in, you will look exactly like someone who is panicking and is
trying to cram everything in.
So keep tabs on expended time by sections. If your presentation is
divided up into beginning, middle, and end, take note of when each seg-
ment should conclude and adjust accordingly. If it’s easier, pick three
or four event milestones—perhaps an anecdote, the demonstration of a
device, a particular slide projected on the screen, and the beginning of
question-and-answer.
Magnify Your Message with Credibility, Approachability, and Listenability 35
This can be difficult if there is no clock visible. It’s best not to look at your
watch while presenting (although there are worse things, from an audi-
ence’s standpoint, than a presenter concerned with time), so you might use
your phone or other device placed on the lectern. If you need only a couple
of time reminders, you can set your phone to vibrate and schedule two
alarms. With a little practice, you can simply reach in your pocket and end
the buzzing. If you have a cohort in the audience, he or she can give you a
planned, inconspicuous series of clues.
Remember, a speaker transparently cramming in material at the end
loses credibility. Virtually any technique you use to keep on time-track is
better than none at all. Even admitting you have a tendency to run long and
assigning a member of the audience to give you reminders (“Bill, would
you be sure to remind me to start questions at 10:30?”) is better than a
tailspin at the end.
We dealt with the concept of using stories instead of data dumps earlier
(Chapter 2, Step 2), but statistics need additional attention because of their
role in enhancing—or destroying—credibility. When we think the facts are
on our side, we have a tendency to believe that the numbers will some-
how make the truth self-evident. That’s not the case. In fact, bombarding
your listeners with data may have the opposite effect. In addition to being
boring and incomprehensible, you can appear downright deceptive. Most
audiences know full well that statistics can be tortured into saying whatever
the user wants, and when a speaker appears to abandon person-to-person
common sense in favor of a numerical fusillade, listeners become skeptical.
So when you use statistics, frame them and give them meaning. Here is
an example:
“About 45,000 people die in auto wrecks each year, and unfortunately that kind of
tragedy is so common that we tend to tune out. But think of it this way: That’s the
equivalent of a fully loaded passenger jet crashing, with no survivors, every day
for a year.”3
“A new freeway will be good for the economy of our town. I know a lot of people
here are worried about the impact of this proposed development, but let me tell
36 Present Like a Pro
you about my friends Bill and Ellie. They live in a town the same size as ours in
Monroe County, about 50 miles from here, and they opposed a similar highway
there. But after the highway was built, their property values went up 25 percent.”
The statistic may be true, but because one thing happened and then
something happened after does not mean that the first event caused the
second. Property values could have gone up for many reasons—in fact,
building the road may have been a reaction to population increases in the
town, and property values may have escalated simply because the locale
was becoming more popular.
Be careful with statistics. To help you sort out the fine points of using
stats, I have provided a 10-point guide in the Appendix.
Do you want their vote? Give them good reasons to vote for you, and
then ask them to do it. Do you want them to join you in supporting a cause?
Tell them why they should, and ask them to do it.
Do you want their help in achieving a goal? Professional speaker Brian
Tracy uses this example of a call to action at the end of a speech, and
explains how to introduce the call to action.
“We have great challenges and great opportunities, and with your help, we will
meet them and make this next year the best year in our history!”
Imagine an exclamation point at the end of your call to action, pick up your tempo
and energy as you approach it, and drive the final point home. “Regardless of
whether the audience participants agree with you or are willing to do what you
ask,” Tracy writes, “it should be perfectly clear to them what you are requesting.4
Chapter 5
Research shows that audiences make snap decisions about people and
tend to remember the opening of a presentation best. In other words, the
first impression is the most important element.
In addition to providing memorability, the opening sets the tone for the
whole opus, in much the same way that theme music sets the stage for
a newscast or an opening vignette gives you the flavor of the upcoming
situation comedy.
Research also indicates that statements featured near the end of a pre-
sentation are among the most memorable. The conclusion of the speech
is where you load your “takeaway”—the overall message and impression
you want to leave.
Academic types who have beards and stroke them regularly while dis-
cussing heady matters call this the “primacy/recency” effect.
Just remember that you need to have a strong start and a satisfying con-
clusion. It’s not that difficult. Here are 10 techniques:
of educating your audience about you, the topic, and its importance. Plus
your presence won’t be diminished if you’re not the one begging for quiet
or reciting housekeeping details (“and after this presentation, there will be
lunch in the . . .”).
But whatever you do, don’t let the person introducing you wing it. That is a
recipe for disaster—the introducer might make a hash of the intro or even
forget your name. Write out bullet points for the person introducing you.
It’s doubtful that anyone to whom you provide a prewritten introduction
will complain, and in all likelihood they will be happy to have some of their
burden lifted. Have the introduction illuminate the audience as to why the
topic is important and why you are qualified to discuss it. It also helps to
give some personal background so the audience can begin to relate to you.
But don’t overdo it; long, rambling, or fulsome (look it up—it doesn’t mean
what you think) introductions will send you into a ditch before you even
get out of the driveway.
Bolting out of the starting gate and babbling makes you appear nervous
and unsure of yourself, and because you don’t have the audience’s full atten-
tion during the opening few seconds, they may not get the first few words.
So take your time. Set yourself at the lectern or whatever position you
are speaking from, and take a few seconds to survey the audience. This is
a very powerful technique that shows you are in control, and it also builds
expectation and suspense.
Try not to thank people at the beginning, or at least don’t start giving
extended thanks. Doing so is trite and uncreative. If there are people you
must thank, do it a few minutes into the presentation. It’s actually more
appropriate to do so, and your gratitude will appear more sincere that way,
because you won’t give the impression that you are performing a rote task.
Or, if the occasion seems to merit opening with a thank-you, do it briefly,
get right to the lapel-grabber, and work in more elaborate thanks later.
Saying “hello” or “good morning” can also be an energy-sucker, because
typically you will receive a mumbled chorus of unsure and unenthusias-
tic replies. If saying hello is your style, go for it—but it’s best not to leave
a space during which people wonder if they are supposed to return the
greeting.
Perfect and Polish Powerful Opens and Closes 47
Avoid saying anything stilted and overly formal, such as, “It is my dis-
tinct pleasure to be here.” It’s awkward, nobody cares, and it sounds like a
ritualistic statement you feel compelled to recite. Instead, do this . . .
Sadly, in the next 18 minutes when I do our chat, four Americans that are alive
will be dead from the food that they eat.
In the last ten months, I’ve been called a lot of things. Nobody’s called me a
bishop yet. When I was about nine years old, my beloved and now deceased
grandmother, who was a very wise woman, looked at me and she said, “You
know, I believe you could be a preacher if you were just a little better boy.”
• Tease. Give the listener a foretaste of what’s coming, and make it intrigu-
ing. Steve Jobs opened his 2005 commencement address at Stanford with
a glancing reference to his honor at being selected and then invoked the
“what the . . . ?” principle with this puzzler:
I am honored to be with you today at your commencement from one of the fin-
est universities in the world. Truth be told, I never graduated from college, and
this is the closest I’ve ever gotten to a college graduation. Today, I want to tell
you three stories from my life. That’s it, no big deal—just three stories. The first
story is about connecting the dots. I dropped out of Reed College after the first
six months, but then stayed around as a drop-in for another eighteen months or
so before I really quit. So why’d I drop out? It started before I was born.2
“That’s all, folks” is not an ending, except in a cartoon. You want to con-
clude with something with a little impact, drama, wit, or motivation. While
this admonition appears obvious—at least, it should appear obvious—think
how many droning and indifferent presentations you’ve seen that end with
“Well, time’s up,” “Looks like we’re done,” or the infamous “I don’t have
anything more.”
If your presentation involves questions from the audience, try the tech-
nique explained in the next point.
this arrangement is that the event just sort of sputters out—it’s over after it
becomes obvious that nobody wants it to continue.
Try saying something to this effect: “Before I wrap up, let’s take some
questions for about 10 minutes.” This has the double benefit of letting lis-
teners know how much time is remaining and allowing you to end your
presentation with a nice, satisfying thump.
It’s frustrating for an audience to invest time listening to you and then be
left with the thought “So what’s next?” (See also the “ask for what you want”
advice in Chapter 3, Step 10.) If you are trying to sell a product or an idea,
ask for the sale. There’s always something you are trying to sell:
• If you are accepting a sports award, you might be selling the audience on the
benefit of teamwork.
• If you are conducting a training session on new software, you will be selling
the idea of being more productive.
• If you are giving a sales presentation, you are selling the benefits of the
product, not the product itself.
• If you are emceeing a retirement party, you are selling the audience on
what a great guy old Bill is and how we all hope he enjoys the next chapter of
life.
So don’t leave the listeners hanging. Let them know what they should do
to enhance the spirit of teamwork, to move forward in their jobs, to use a
new product to enhance the lives of others, or to congratulate Bill for his
four decades on the sales floor.
Maybe the thing you are selling is inspiration. If so, then you need to
make the next step clear in your call for action. What, specifically, can and
should your listeners do?
For some calls to action, it’s appropriate to have follow-up handouts
available, or even products for sale on the spot. (I’ve given talks that men-
tioned a particular book I’ve written and have seen a few people actually
disgruntled that I didn’t have copies for sale on the spot. Seriously. Now I
always keep a few copies for what we call “back-of-the-room sales” so that
my audiences can be fully and completely gruntled.)
In short, the specific invitation will be different depending on circum-
stance, but always ask the audience to do something with the information
they have just absorbed.
50 Present Like a Pro
You invariably will want to review the information you have presented
near the end, but try to avoid referring to it as a “review.” That sounds
too much like cramming for a history test. Instead, hit on the main points
you’ve made, and show how it all fits together, like pieces of a puzzle, and
how the audience can therefore discover a new viewpoint or understanding.
It’s easy. You can even say, “So, how does all this fit together?” Sum-
marize the main points you’ve touched and show how they add up to a
satisfying whole.
I’ve revived myself several times after cratering during some disastrously
disjointed talks and lectures by using the “how does this fit together” tech-
nique. After realizing I’d rambled semicoherently, I recalled the main points
and invented some reason why they all added up to something that justified
an hour of my listeners’ attention. You don’t want to make this a habit, but I
make this confession to illustrate what an effective technique it is.
In sum, people want to justify their investment of time spent listening to
you. Make it easy by doing the thinking for them.
• If you started with an anecdote, let the audience know how the story ended,
or provide some follow-up to the story.
• If you started with a quote, refer back to it or give another quote from the
same person.
• If nothing else, just say you are referring back to the beginning, with
something like, “I started off this discussion by promising that this new prod-
uct could improve productivity, so let me tell you about one company that
brought itself back from near-bankruptcy . . .”
Perfect and Polish Powerful Opens and Closes 51
You have to nail the last 15 to 30 seconds. Your situation is akin to that
of a gymnast doing a floor routine. If you don’t stick the ending, the entire
performance is tarnished.
Remember the Steve Jobs commencement address, the opening of which
was described earlier in the chapter? (And do you notice how I am refer-
ring to a the opening of the chapter in this concluding part of the chapter
so I can convince you that you are getting a well-thought-out, spherical
view of openings and closings?) He ended it with an emotional, provoca-
tive, and funny phrase:
The concluding lines essentially communicated the idea that you should
persevere even if people around you think that you are being unrealistic.
This echoed other parts of the speech and pointedly reviewed the main
points he’d made. How does this fit together with the rest of the advice in
this chapter? Remember the jigsaw puzzle technique introduced in Step 7?
Remember how I advised to make it clear how the pieces fit together, as I
am doing right now while wrapping up this chapter and being excruciat-
ingly clever?
Don’t leave any doubt as to when your presentation is concluded. Saying
“Thank you, and have a good evening” is clear but unimaginative. If you
want to thank the audience, you can put the thank-you right before the
closing thumper, like this:
Thank you very much for inviting me and for your kind attention, and let me
conclude with one more thought about our future. I’d urge us all to remember the
advice from former GE chairman Jack Welch, who advised, “Change.” [Pause.]
“Before you have to.”
The perfect conclusion will be the final thump line followed immediately
by spontaneous applause. If I were you, I’d opt for “planned spontaneity.” If
you have a friend in the audience, just let him or her know the last line and
tactfully ask for (literally) a helping hand.
Chapter 4
Audiences in general are not your enemy. Even under the most try-
ing of circumstances, not all members of an audience will be hostile,
inattentive, biased, or dismissively skeptical. But the neutral members
will look toward how you deal with the malcontents when framing
their own opinion of you, your presentation, and whether they want
to be persuaded to your point of view. If you handle the challenge
well, you can enhance your credibility, believability, likeability, and
persuasiveness.
Here are 10 techniques you can use when confronting difficult audience
members.
38 Present Like a Pro
Question from Audience: “If this restructuring goes through, a lot of us are going
to have to move! How am I supposed to tell my kids?”
Response: “I know how difficult that can be, and I’ve been there myself.” (Acknowl-
edge.) “And it’s not something we would want to impose on people if the situation
weren’t so difficult. You and I and everybody here are worried about keeping our
jobs, period.” (Common ground.) “No solution is going to be perfect, but if we
work together on this, we have a good chance of saving everybody’s job in the long
run, and that’s what I think we all want.” (Call for moving forward with a shared
agenda. And don’t be baited into debating what to tell the kids.)
Skeptical Question: Our numbers each quarter keep going down. Aren’t we
headed for disaster?
Answer: It’s true that sales are a challenge in this economy, but some departments
are holding their own or actually improving. Alyssa’s department had two good
Maintain an Arsenal of 10 Techniques to Deflect Skepticism, Hostility, and Inattention 39
years in a row, and she’s been active in training throughout the company. What do
you think, Alyssa? What are the options you can identify?
Be careful, because you don’t want to anger people by putting them on the
spot, and you don’t want to appear to be ducking questions. But executed cor-
rectly, this technique can appease the audience and sometimes the questioner.
You can ask an audience-wide ricochet question, too.
Before I answer that, does anybody in the audience have any [thoughts, direct
experience with the issue, etc.]?
I’m glad you asked, because I just recently came across a new study from the federal
government showing that this type of program has achieved remarkable success . . .
I call these nuggets “clinchers,” and if you don’t have occasion to use
them, you can always drop them in somehow, even if it’s at the end of the
question-and-answer session:
Oh, and that reminds me—before we wrap up, I should mention that on a related
topic, a new study from the federal government . . .
40 Present Like a Pro
(After listening to the rant) “So, the question, as I understand it, is: How do we
make sure this policy is applied fairly? As I mentioned in the opening, what we
consistently try to do is to . . .”
There are three tricks embedded in the technique above. First, you have
subtly characterized the question as a disorganized rant (“as I understand
it”) and shown that you are diligently trying to unpack it; second, you note
that you have already at least partially answered the question and therefore
reinforce your main themes; third, you reframe the issue so that you can
give the answer you want to give. Don’t go too far afield, or it will appear as
though you are being evasive, but you do have a right to break down what
you believe the relevant issues are.
If you think it worthwhile, break down a hostile rant into two or three
separate questions. This clarifies the issue and also puts the questioner and
the audience on notice that you have exhaustively attempted to cover the
specified ground, which gives you more justification for moving on.
Then, to move on with the presentation, say something like this:
Well, we have quite a few other people who have questions, and we’ve dealt with
three of yours, so it’s only fair we move on. I’ll be glad to talk with you after . . .
Then thank them for their input and move on; this will often end the con-
frontation. But because these types have a defective off-switch, some will
blindly go forth until they sense that everyone around them is becoming
really uncomfortable. That’s when you answer, but be sure to address every-
one, not just the malcontent. If you talk only to the malcontent, you will
encourage him or her to keep blathering.
Presentation expert Olivia Mitchell, who has an excellent video about
handling hecklers, recommends that as a last resort, if nothing stops the
malcontent, you ask the audience if they would rather listen to you than
the heckler. It is to be hoped that they choose you, in which case your mal-
content is facing disapproval—exactly the opposite of what most attention
junkies crave.1
Your posture and demeanor can go a long way toward defusing a trou-
blemaker or at least luring the audience to your side of the dispute. You
generally don’t want to get into a shouting match with a heckler, because
then you are stepping into their territory and doing battle on their terms. (I
say “generally” because you may have a successful tough-guy or tough-girl
style that serves you well when you give a heckler what-for. If you’re confi-
dent and experienced in that approach, it might win the audience over. But
it also carries the risk of making a bad situation worse.)
In most cases, then, when things get ugly, you can use one or more of
these techniques:
Eye-rollers, smirkers, and whisperers usually don’t have the nerve to dis-
rupt openly, so they act in a subterranean manner. Such passive-aggressive
42 Present Like a Pro
You have certainly been in positions where it was obvious that a person
asking you questions was fishing for something that could be used against
you. It might have been a journalist with a hostile agenda or a coworker
looking to torpedo you later. There is no way to keep someone who wants
to mischaracterize your communication from taking something out of
context, but you can make it more difficult for it to occur.
Use these approaches:
to recapture their attention and revitalize the presentation. Here are some
ways to recover when you are losing your audience:
Advanced SQL
In this module, you will learn how to retrieve data from multiple tables
using one SQL statement. You will see how tables can be joined
together and how similar results are obtained using different
approaches, including the joins and subqueries.
Learning Objectives
After studying this lesson, you should be able to:
Equi-join
Equi-join is a type of join that selects rows from the two tables
that have equal values in the common columns, which appear
redundantly in the result table.
2
MODULE OF INSTRUCTION
Query: What are the id numbers and last names of all students, along
with their course codes for all the courses they have enrolled?
Implicit:
Result:
Natural Join
Query: What are the id numbers and last names of all students, along
with their course codes for all the courses they have enrolled?
This join can only be used on all columns that have the same names
and data types in both tables. Otherwise, an error is returned.
Outer Join
Query: List all the student id, name and course code for all the
students listed in the Student table. Include also the student
who did no take any course.
Result:
Notice that the query retrieves all the rows in the Student table,
which is the left table, even if there is no match in the
Enrollment table. Consequently, a null value in the column of
the Enrollment table indicates that no match is achieved.
4
MODULE OF INSTRUCTION
Query: List all the student id and course code for all the courses listed
in the Course table (Table 1.3). Include the course code even if there is
no student enrolled in it.
Result:
The query retrieves all the rows in the Course table, which is the right
table, even if there is no match in the Enrollment table. Notice also
that the outer join indicates null as a value for the student id column
where no match is found.
Query: List the student id, name, course code and description for all
students and courses in the Student and Course Table. Include the rows
even if there is no data available.
Result:
Notice the null values on the columns with no match rows in the related
tables.
Self Join
6
MODULE OF INSTRUCTION
Query: Find the names of the employees, along with their managers in
the Employee table.
Use table aliases in It is necessary to use a table alias when joining a table to itself to avoid
performing a self ambinguity. Otherwise, an error is returned since you are using the
join. same table in the query.
Result:
Subqueries
The previous SQL examples illustrate one of the approaches for
processing multiple tables. SQL also provides a powerful technique to
obtain values based on unknown conditional value by using
subqueries. A subquery is a SELECT statement (inner query) that is
embedded in the WHERE or HAVING clause of another SELECT
statement (outer query). The inner query executes first and returns a
value that is used by the outer query.
Single-row Subquery
Use single-row
operators if the
result of the inner
query returns only
one row.
Table 1.6 Emp
Table 1.6 shows the records of the Emp table, which will be
used in the subsequent examples.
8
MODULE OF INSTRUCTION
Result:
Multiple-row Subquery
Use multiple-row
operators if the
result of the inner
query returns more
than row.
Query: Find the employees who earn the same salary as the total salary
of all employees in each job.
Result:
Result:
Result:
Correlated Subquery
10
MODULE OF INSTRUCTION
Query: Find the student id and name of the students who enrolled in
the course MIT101.
Result:
You can also process this multiple table query using the IN operator or
the join SQL statement. You will get the same results.
Activities/Exercises
Answer briefly the following questions:
Glossary
Correlated subquery
Equi-join
Join
Natural join
Outer join
Subquery
References
Hoffer, J., Ramesh, V., Topi, H. (2013). Modern Database
Management, 11th Ed. New Jersey: Pearson Education, Inc.
12