+ All Categories
Home > Documents > POPULATION SELECTION CONCEPT People in Database Selection Rules or Criteria Selected Population of...

POPULATION SELECTION CONCEPT People in Database Selection Rules or Criteria Selected Population of...

Date post: 20-Jan-2016
Category:
Upload: nigel-oliver
View: 214 times
Download: 0 times
Share this document with a friend
24
POPULATION SELECTION CONCEPT People in Database Selection Rules or Criteria Selected Population of Individuals who Satisfy Rules
Transcript
Page 1: POPULATION SELECTION CONCEPT People in Database Selection Rules or Criteria Selected Population of Individuals who Satisfy Rules.

POPULATION SELECTIONCONCEPT

People in Database

Selection Rulesor Criteria

Selected Population ofIndividuals who

Satisfy Rules

Page 2: POPULATION SELECTION CONCEPT People in Database Selection Rules or Criteria Selected Population of Individuals who Satisfy Rules.

THE SELECTED POPULATION

• May be used in letter generation.

• May be used in some Banner reports.– Example: Student schedules

• Is required in some Banner reports.

• May be used for “simple” reports.

Page 3: POPULATION SELECTION CONCEPT People in Database Selection Rules or Criteria Selected Population of Individuals who Satisfy Rules.

Examples

• General Person– Find the number of (or get a list of) person

records with missing birth dates.

• Recruiting– Find the number of (or get a list of) recruits

from a particular high school.

Page 4: POPULATION SELECTION CONCEPT People in Database Selection Rules or Criteria Selected Population of Individuals who Satisfy Rules.

More Examples

• Admissions– Find the number of applicants of a particular

gender or ethnicity.

• Location Management– Find the number of students requesting housing

in a particular dormitory.

Page 5: POPULATION SELECTION CONCEPT People in Database Selection Rules or Criteria Selected Population of Individuals who Satisfy Rules.

More Examples

• General Student– Find the number of students in a particular

major.

• Accounts Receivable– Find the number of students who have been

charged a parking fine.

Page 6: POPULATION SELECTION CONCEPT People in Database Selection Rules or Criteria Selected Population of Individuals who Satisfy Rules.

And More Examples

• Faculty Load– Find the number of faculty members who are

teaching more than 15 credits.

• Academic History– Find the number of students graduating with

honors.

Page 7: POPULATION SELECTION CONCEPT People in Database Selection Rules or Criteria Selected Population of Individuals who Satisfy Rules.

Know Your Data

• Where are the data entered on Banner forms?

• How do the Banner forms correspond to the Oracle tables in the database?

• What are the relationships between data in different tables?

Page 8: POPULATION SELECTION CONCEPT People in Database Selection Rules or Criteria Selected Population of Individuals who Satisfy Rules.

For Example

• If you want to find the number of female applicants, you need to know– How is an applicant entered in Banner?– How is a person’s gender entered in Banner?

• It takes time and experience to gain knowledge of the system.

Page 9: POPULATION SELECTION CONCEPT People in Database Selection Rules or Criteria Selected Population of Individuals who Satisfy Rules.

Know the Tables

• Normally, a table corresponds to a block of a Banner form.

• The naming convention for tables is similar to that for forms.– Seven characters

Page 10: POPULATION SELECTION CONCEPT People in Database Selection Rules or Criteria Selected Population of Individuals who Satisfy Rules.

Table Names

• 1st character - System

• 2nd character - Module

• 3rd character - Type of table– Base, Repeating, and Virtual (or View)

• 4th - 7th characters -

Abbreviation of table purpose

Page 11: POPULATION SELECTION CONCEPT People in Database Selection Rules or Criteria Selected Population of Individuals who Satisfy Rules.

Examples

• SPBPERS is the base table corresponding to the General Person Form–SPAPERS.

• SPRIDEN is the repeating table corresponding to the identification information block of the Identification Form–SPAIDEN.

Page 12: POPULATION SELECTION CONCEPT People in Database Selection Rules or Criteria Selected Population of Individuals who Satisfy Rules.

Examples (continued)

• SPRADDR is the repeating table corresponding to the address information block of SPAIDEN.

• SPVADDS is a virtual table (or view) created to give current name and address information.

Page 13: POPULATION SELECTION CONCEPT People in Database Selection Rules or Criteria Selected Population of Individuals who Satisfy Rules.

Finding Table Names

• Use Dynamic Help from the Banner form.

• Consult the Banner Student Technical Reference Manual.

• Print the Data Element Dictionary from GURPDED.

Page 14: POPULATION SELECTION CONCEPT People in Database Selection Rules or Criteria Selected Population of Individuals who Satisfy Rules.

Visualizing a Table

• Think of a table as a grid having rows and columns–similar to a spreadsheet.

• Each row of the grid corresponds to a record.

• Each column of the grid corresponds to a field in the record.

Page 15: POPULATION SELECTION CONCEPT People in Database Selection Rules or Criteria Selected Population of Individuals who Satisfy Rules.

A Simplified View of SPBPERS

PIDM GEN- CONFI- BIRTH ETHNIC CITIZEN- MARITALDER DENTIALITY DATE CODE SHIP STATUS

12345 F 04-Jul-81 1 Y S12346 F Y 06-Nov-75 2 Y S12347 M 03-Dec-72 1 Y M12348 F Y 15-Mar-68 2 N D12349 M Y

Page 16: POPULATION SELECTION CONCEPT People in Database Selection Rules or Criteria Selected Population of Individuals who Satisfy Rules.

SQL Basics

• Standard Query Language

• Population Selection uses the SQL select statement.

Page 17: POPULATION SELECTION CONCEPT People in Database Selection Rules or Criteria Selected Population of Individuals who Satisfy Rules.

SQL Select Statement

• Select __________ PIDM

• From__________ table name(s)

• Where __________ criteria

Page 18: POPULATION SELECTION CONCEPT People in Database Selection Rules or Criteria Selected Population of Individuals who Satisfy Rules.

Select

• In a population selection you can select only PIDMs. (A Personal IDentification Master is an internal identification number that is created when person and non-person records are entered on SPAIDEN.)

Page 19: POPULATION SELECTION CONCEPT People in Database Selection Rules or Criteria Selected Population of Individuals who Satisfy Rules.

From

• The From clause indicates which table in the database contains the information being used in the selection.– The From clause must include the table used in

the Select clause.– The From clause also must include any other

table(s) involved in the Where clause.

Page 20: POPULATION SELECTION CONCEPT People in Database Selection Rules or Criteria Selected Population of Individuals who Satisfy Rules.

Example–SQL Select

• Select SPRIDEN_PIDM

• From SPRIDEN

• Where SPRIDEN_LAST_NAME = ‘Smith’

Page 21: POPULATION SELECTION CONCEPT People in Database Selection Rules or Criteria Selected Population of Individuals who Satisfy Rules.

Another Example

• Select SPRIDEN_PIDM

• From SPRIDEN, SPBPERS

• Where SPRIDEN_LAST_NAME = ‘Smith’

• and SPBPERS_SEX = ‘F’

Page 22: POPULATION SELECTION CONCEPT People in Database Selection Rules or Criteria Selected Population of Individuals who Satisfy Rules.

HIERARCHY OF TERMS

USED IN

POPULATION SELECTION

AND LETTER GENERATION

Page 23: POPULATION SELECTION CONCEPT People in Database Selection Rules or Criteria Selected Population of Individuals who Satisfy Rules.

APPLICATION

SELECTIONIDENTIFIER VARIABLE

OBJECT

Creator ID Creator ID

Population SelectionLetter

Generation

(optional)

Page 24: POPULATION SELECTION CONCEPT People in Database Selection Rules or Criteria Selected Population of Individuals who Satisfy Rules.

FORMS USED IN POPULATION SELECTION

• GLRAPPL--Define application and enter global rules (if any)

• GLRSLCT--Establish selection identifier and enter selection rules

• GLBDATA--Apply the selection rules to selection a population

• GLAEXTR or GLIEXTR--View the population


Recommended