POPULATION SELECTION CONCEPT People in Database Selection Rules or Criteria Selected Population of...
-
Upload
nigel-oliver -
Category
Documents
-
view
216 -
download
0
Transcript of POPULATION SELECTION CONCEPT People in Database Selection Rules or Criteria Selected Population of...
![Page 1: POPULATION SELECTION CONCEPT People in Database Selection Rules or Criteria Selected Population of Individuals who Satisfy Rules.](https://reader034.fdocuments.net/reader034/viewer/2022051622/5697bfaa1a28abf838c9a73b/html5/thumbnails/1.jpg)
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.](https://reader034.fdocuments.net/reader034/viewer/2022051622/5697bfaa1a28abf838c9a73b/html5/thumbnails/2.jpg)
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.](https://reader034.fdocuments.net/reader034/viewer/2022051622/5697bfaa1a28abf838c9a73b/html5/thumbnails/3.jpg)
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.](https://reader034.fdocuments.net/reader034/viewer/2022051622/5697bfaa1a28abf838c9a73b/html5/thumbnails/4.jpg)
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.](https://reader034.fdocuments.net/reader034/viewer/2022051622/5697bfaa1a28abf838c9a73b/html5/thumbnails/5.jpg)
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.](https://reader034.fdocuments.net/reader034/viewer/2022051622/5697bfaa1a28abf838c9a73b/html5/thumbnails/6.jpg)
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.](https://reader034.fdocuments.net/reader034/viewer/2022051622/5697bfaa1a28abf838c9a73b/html5/thumbnails/7.jpg)
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.](https://reader034.fdocuments.net/reader034/viewer/2022051622/5697bfaa1a28abf838c9a73b/html5/thumbnails/8.jpg)
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.](https://reader034.fdocuments.net/reader034/viewer/2022051622/5697bfaa1a28abf838c9a73b/html5/thumbnails/9.jpg)
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.](https://reader034.fdocuments.net/reader034/viewer/2022051622/5697bfaa1a28abf838c9a73b/html5/thumbnails/10.jpg)
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.](https://reader034.fdocuments.net/reader034/viewer/2022051622/5697bfaa1a28abf838c9a73b/html5/thumbnails/11.jpg)
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.](https://reader034.fdocuments.net/reader034/viewer/2022051622/5697bfaa1a28abf838c9a73b/html5/thumbnails/12.jpg)
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.](https://reader034.fdocuments.net/reader034/viewer/2022051622/5697bfaa1a28abf838c9a73b/html5/thumbnails/13.jpg)
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.](https://reader034.fdocuments.net/reader034/viewer/2022051622/5697bfaa1a28abf838c9a73b/html5/thumbnails/14.jpg)
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.](https://reader034.fdocuments.net/reader034/viewer/2022051622/5697bfaa1a28abf838c9a73b/html5/thumbnails/15.jpg)
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.](https://reader034.fdocuments.net/reader034/viewer/2022051622/5697bfaa1a28abf838c9a73b/html5/thumbnails/16.jpg)
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.](https://reader034.fdocuments.net/reader034/viewer/2022051622/5697bfaa1a28abf838c9a73b/html5/thumbnails/17.jpg)
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.](https://reader034.fdocuments.net/reader034/viewer/2022051622/5697bfaa1a28abf838c9a73b/html5/thumbnails/18.jpg)
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.](https://reader034.fdocuments.net/reader034/viewer/2022051622/5697bfaa1a28abf838c9a73b/html5/thumbnails/19.jpg)
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.](https://reader034.fdocuments.net/reader034/viewer/2022051622/5697bfaa1a28abf838c9a73b/html5/thumbnails/20.jpg)
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.](https://reader034.fdocuments.net/reader034/viewer/2022051622/5697bfaa1a28abf838c9a73b/html5/thumbnails/21.jpg)
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.](https://reader034.fdocuments.net/reader034/viewer/2022051622/5697bfaa1a28abf838c9a73b/html5/thumbnails/22.jpg)
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.](https://reader034.fdocuments.net/reader034/viewer/2022051622/5697bfaa1a28abf838c9a73b/html5/thumbnails/23.jpg)
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.](https://reader034.fdocuments.net/reader034/viewer/2022051622/5697bfaa1a28abf838c9a73b/html5/thumbnails/24.jpg)
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