Download SIS Repository Data View Query Samples

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Entity–attribute–value model wikipedia , lookup

Database wikipedia , lookup

Microsoft Jet Database Engine wikipedia , lookup

Extensible Storage Engine wikipedia , lookup

Relational model wikipedia , lookup

Clusterpoint wikipedia , lookup

Database model wikipedia , lookup

Transcript
SIS Repository Data View Query Samples
PowerSchool Premier 5.1
Student Information System
SIS Repository Data View Query Samples
Document Properties
Copyright
Copyright © 2007 Pearson Education, Inc. or its affiliates. All rights
reserved. This document is the property of Pearson Education, Inc. and is
for reference only. It is not to be reproduced or distributed in any way
without the express written consent of Pearson Education, Inc. All
trademarks are either owned or licensed by Pearson Education, Inc. or its
affiliates. Other brands and names are the property of their respective
owners.
Crystal Reports is a registered trademark of the Business Objects
Corporation.
Microsoft®, Microsoft Excel®, and Microsoft Windows® are registered
trademarks of the Microsoft Corporation.
Owner
Technical Communication and Documentation
Last Updated
3/21/2007
Document Version
PowerSchool Premier 5.1
Please send comments, suggestions, or requests for this user guide to [email protected]. Your feedback
is appreciated.
Introduction
Copyright © 2007 Pearson Education, Inc or its affiliates.
All rights reserved.
2
SIS Repository Data View Query Samples
Contents
Introduction...............................................................................................................................4
SIS Repository Overview ......................................................................................................4
Data View Sample Queries .......................................................................................................6
Test Scores by Attendance........................................................................................6
Standards-Based Reporting at the School Level .......................................................6
Special Program Enrollments by Program .................................................................7
Address Labels..........................................................................................................7
Bus List with Future Attendance ................................................................................7
Discipline Report per Log Type..................................................................................8
Introduction
Copyright © 2007 Pearson Education, Inc or its affiliates.
All rights reserved.
3
SIS Repository Data View Query Samples
Introduction
PowerSchool Premier 5.1 now provides educators easier access to the data they need to make
informed decisions. The SIS Repository data access views provide instant access to key
metrics not just raw data. These pre-defined SQL quires, known as data views, can extract key
data such as a student’s average daily attendance (ADA), course schedules, student
assessment data, demographic profiles, and discipline information. The views can be joined
together and filtered to provide customized results. The data can then be quickly analyzed in
Microsoft® Excel® or other third-party reporting tools such as Crystal Reports giving you the
power to use your information more effectively.
Structured Query Language (SQL) is the common language used by both the application and
the database. It allows users to specify what data to retrieve and where the information resides
in the database. Complex business logic and calculations are designed into the data views so
querying the data to generate reports is simple. With data views, the quality of the information is
assured, removing any doubt that results may be incorrect.
This guide provides examples of data view queries to help you get started developing your own
queries.
SIS Repository Overview
The SIS Repository simplifies data retrieval by providing an easy way to develop database
queries to return meaningful reporting data from PowerSchool’s database. Since it’s the views
that query database tables, users don’t have to understand the data model. This reduces the
complexity of data gathering while protecting the database from potential user errors when
PowerSchool upgrades the table layouts. PowerSchool ensures that the data views remain
backward compatible even as new features and enhancements may change the data model.
Figure 1 shows how the SIS Repository data views tool provides a layer between an application
and the database.
Figure 1. SIS Repository Data Views
Each of the views in the SIS Repository access predefined tables in the SQL database. Some of
the view’s fields overlap with other views. For example you’ll see that Student number is found
in most views. You can however, filter out common fields so that duplicate data isn’t returned.
Introduction
Copyright © 2007 Pearson Education, Inc or its affiliates.
All rights reserved.
4
SIS Repository Data View Query Samples
Note: It is important to note that Sybase has a limitation concerning the number of tables that
may be used in a query. Joining multiple views may reach this limit and evoke an error
message. The sample tutorials provided in this guide concerning the use of third party tools to
query the database are for instructional purposes only. They are not intended as a
recommendation nor are they or the queries themselves supported by PowerSchool
Introduction
Copyright © 2007 Pearson Education, Inc or its affiliates.
All rights reserved.
5
SIS Repository Data View Query Samples
Data View Sample Queries
Test Scores by Attendance
Shows test scores and meeting attendance for students in a particular school for a particular
date range. Replace the information after each equal (=) sign in the query with information from
your data set.
View(s) or Query
Columns
Notes
select
ada
sum(att.attendancevalue)/count(*) as ada,
avg_percentscore
Parameters:
Start Date
End Date
(select sum(tst.percent_score)/count(*)
from pssis_student_test_scores as tst
where tst.student_number =
att.student_number
and tst.test_date >= '9/1/04'
and tst.test_date <= '9/30/04'
and tst.percent_score is not null) as
avg_percent_score
from
pssis_adaadm_meeting_ptod as att
where
att.schoolid = 2101055
and att.calendardate >= '9/1/04'
and att.calendardate <= '9/30/04'
group by att.student_number
Standards-Based Reporting at the School Level
Shows stored standard information for students based on their currently enrolled courses. This
report provides a foundation for creating standards-based report cards.
View(s) or Query
Columns
Notes
PSSIS_Student_Schedule_by_
Class_Term
Section_Number
Parameter:
School Abbreviation
PSSIS_Student_Addresses
Street
Course_Name
Join views by
Student_Number
City
Data View Sample Queries
Copyright © 2007 Pearson Education, Inc or its affiliates.
All rights reserved.
6
SIS Repository Data View Query Samples
View(s) or Query
Columns
Notes
Zip
PSSIS_Student_Stored_Standa
rds
Standard_Name
High_Score,
Average_Score
Translated_Average_Sc
ore
Name
Special Program Enrollments by Program
Shows which students are enrolled in each special program. You can also create parameters to
query student special program enrollments by school or grade level.
View(s) or Query
Columns
PSSIS_Special_Pgm_Enrollme
nts
Program_Name
Notes
Name
Address Labels
Like all the views, you can use student information such as demographics, attendance, or
grades as data sources for Mailing Labels or Form Letters in a word processor application such
as MS Word. The following query shows the students’ names and mailing addresses. When
using the results of this query as a data source in an application such as MS Word for the
purpose of producing mailing labels, preface the student name field with “To the
Parents/Guardians of.”
View(s) or Query
Columns
Notes
PSSIS_Student_Addresses
Name
Grouping:/Sorting
Zip
Street
City
State
Filter/Criteria:
Address_Type is equal to
Mailing
Zip
Bus List with Future Attendance
Shows all students for each bus route and whether the student is absent or present. Share this
report with bus drivers so they know to not expect a student on the bus if they are already
marked as absent. You can also use the Meeting Attendance view to run this report by meeting
attendance instead of daily attendance.
Data View Sample Queries
Copyright © 2007 Pearson Education, Inc or its affiliates.
All rights reserved.
7
SIS Repository Data View Query Samples
View(s) or Query
Columns
Notes
PSSIS_Student_Transportation
Route Number
Join views by Student Number
Name
PSSIS_Attendance_Daily
Presence_Status_CD
Join views by Student Number
Discipline Report per Log Type
For each discipline log type, shows students with log entries for that type that occurred within a
specified date range. Also shows the students’ gender, grade level, and ethnicity.
View(s) or Query
Columns
Notes
PSSIS_Student_Discip_Summ
ary
Name
Parameters:
Start Date
End Date
Student Number
Log_Type
Incident_Date
PSSIS_Student_Demographics
Gender
Grade Level
Join views using the Student
Number field
Ethnicity
Data View Sample Queries
Copyright © 2007 Pearson Education, Inc or its affiliates.
All rights reserved.
8