PSU SQL: Introduction. SQL: Introduction. Relational Databases. Activity 1 Examining Tables and Diagrams

Size: px
Start display at page:

Download "PSU 2012. SQL: Introduction. SQL: Introduction. Relational Databases. Activity 1 Examining Tables and Diagrams"

Transcription

1 PSU 2012 SQL: Introduction SQL: Introduction The PowerSchool database contains data that you access through a web page interface. The interface is easy to use, but sometimes you need more flexibility. As your database grows, you may want to search in a more detailed manner, or access data from across schools, and the interface is not the easiest way to do that. With SQL (Structured Query Language), you can make detailed queries across the whole database. By the end of this session, you will be able to: Describe the basic database structure of PowerSchool Use SQL to write basic queries with filters and simple joins of two tables Use SQL with PowerViews Relational Databases Spreadsheets are used to collect and organize data. Columns contain fields, and rows contain instances of the fields. Schools could use spreadsheet programs like Excel to store and organize student data, but the spreadsheets would be too large to work with. Relational databases work much like a set of interlinked spreadsheets. They are sets of tables that can be connected by data shared across the tables. For example, in PowerSchool, the Students table connects to the StoredGrades table using a student ID that they have in common. The tables have different names for the data (ID in the Student table and StudentID in the Stored Grades table), but the data is the same. In these tables, the columns represent fields, and the rows are filled with instances. To read the tables, go down to the row you want, and then read across to find all the data for that instance. For example, in the Students table, read down until you find the correct last and first name, and then read across to find grade level, gender, and other information about the student. You can make database diagrams to show the relationships between tables. In these diagrams, tables are represented by boxes filled with their field names and connected by lines to show how they link. You can find information on PowerSchool s data structure of 300 tables in the Data Dictionary, available through PowerSource. Find some of the more common tables by going to Direct Database Export (DDE). Access DDE by clicking System > Direct Database Export (DDE). Activity 1 Examining Tables and Diagrams In this activity, practice one of the two ways of finding information about PowerSchool s data structure, and see how some tables are related. 1. Using the Database Dictionary or DDE (Direct Database Export), find the Students and CC tables. What fields link the two tables? 2. If you want to make a list of letter grades, student names, course names, gender, and grade levels from one school and one term, what fields should you use from the database? Answer: 3. Examine the database diagram in the slide shown. What is the relationship between the tables as pictured in the diagram? Answer:

2 Why Use SQL? SQL is a powerful tool, but sometimes a power saw is too much, and a paring knife will work. So how do you decide which tool to use Quick Export, DDE, or SQL? It depends on the details of the job. If you want just a few fields from the Students table, then it makes sense to use Quick Export or DDE. You can join two tables in Quick Export and DDE, but joining tables in SQL is easier. The Basics of SQL SQL is the language of databases. Your PowerSchool license allows you to construct SQL statements called queries to pull data directly from the database. This course covers the basics of how to write these queries. SQL queries have three main components the SELECT clause (get what data?), the FROM clause (from what tables?), and the final clause, which holds special instructions (like filter or order the data). To get data from more than one table, add a JOIN statement and specify where to match the rows in the different tables (ON). For each table you add to the query, an additional JOIN is required. In a query of two tables, use one JOIN; in a query drawing from three tables, use two JOINs; and so on. You can also sort data and filter data using the SQL commands ORDER BY and WHERE. Other SQL calculations and formatting changes are covered in the Advanced SQL class. When typing SQL queries, the convention is to type SQL commands in all caps. The database doesn t require capitalized commands, but using all caps makes reading the queries or checking them for errors easier. When joining tables, indicate the tables from which the fields in your SELECT clause are coming. In the SELECT clause, type each field name preceded by the appropriate table name, separated by a period. This syntax tells the query which tables to scan that contain the field names and information you want. Activity 2 Writing SQL Queries You ll build several SQL queries, working sequentially and adding complexity. Open SQL Developer, connect to your assigned server, and open the query pane if it does not open automatically. For this activity, analyze the distribution of letter grades in your student population. 1. To start, type this basic query: SELECT lastfirst WHERE schoolid=100 Click Execute Statement using the green right-facing arrow above Enter SQL Statement. What did the query return? 2. Add gender and grade level to the query by putting their field names in the SELECT clause: SELECT lastfirst, gender, grade_level WHERE schoolid=100 Click Execute Statement. What did the query return? 3. Join the StoredGrades table to the query by adding a JOIN statement and an ON statement: Copyright 2012 Pearson Page 2

3 SELECT students.lastfirst, students.gender, students.grade_level JOIN storedgrades ON students.id=storedgrades.studentid WHERE students.schoolid=100 The table name goes after the JOIN, and the fields to use for the join go after the ON. Specify which tables each field comes from when making a join. 4. Add the course_name, grade, and termid fields from the StoredGrades table to the SELECT statement. Also, add termid to the WHERE filter, and use the ORDER BY command to sort by last name: SELECT students.lastfirst, students.gender, students.grade_level, storedgrades.course_name, storedgrades.grade, storedgrades.termid JOIN storedgrades ON students.id=storedgrades.studentid WHERE students.schoolid=100 AND storedgrades.termid>=2200 ORDER BY students.lastfirst Typing every field name preceded by its table name can be tedious, especially when the query is long and complex. To shorten your query, use an alias. To make an alias, type the letter or letters you want to use for the table name after the official name of the table in the FROM statement. For example, if you want the letter "s" to stand for the Students table, define "s" as the alias in the FROM statement like this: s. You can also create an alias for a field to rename columns in the output data. 5. To make the above statement and its output easier to read, make aliases for the tables and rename the grade field from the StoredGrades table as "Letter Grade." SELECT s.lastfirst, s.gender, s.grade_level, sg.course_name, sg.grade "Letter Grade", sg.termid s JOIN storedgrades sg ON s.id=sg.studentid WHERE s.schoolid=100 AND sg.termid>=2200 ORDER BY s.lastfirst 6. To save this query, use the File menu and choose Save. Give the query a logical name. To begin a new query, clear the command window, or choose File > New, and select SQL file. When working on a grant proposal, generate teacher demographic data by school. 7. Start with a query of the Teachers table; use aliases for the table names. SELECT t.lastfirst, t.ethnicity FROM teachers t 8. Join the Schools table to your query, matching schoolid from the Teachers table to school_number from the Schools table, and add s.name to your select statement. SELECT t.lastfirst, t.ethnicity, s.name FROM teachers t JOIN schools s ON t.schoolid=s.school_number Save this query and open another. Copyright 2012 Pearson Page 3

4 Now you need a count of students by school and enrollment status. 9. Start by leaving the SELECT clause vague, and joining together the tables you need. SELECT s.lastfirst FROM schools sc JOIN students s ON s.schoolid=sc.school_number The GROUP BY clause is used in collaboration with the SELECT statement to arrange identical data into groups. It is also used in conjunction with aggregate functions such as AVG, MAX, MIN, SUM, and COUNT. The GROUP BY clause follows the WHERE clause in a SELECT statement and precedes the ORDER BY clause, if used. GROUP BY differs from ORDER BY, which places the SELECT results in the proper sort order. 10. Since you want a count by two grouping factors, add in a GROUP BY clause. This will return results grouping each school by name and the number of active students enrolled. SELECT COUNT(s.id) FROM schools sc JOIN students s ON s.schoolid=sc.school_number GROUP BY sc.name, s.enroll_status 11. Specify the data to display. Add a count and include the fields in the GROUP BY clause. Add an ORDER BY clause to sort by enroll_status values. SELECT COUNT(s.id), sc.name, s.enroll_status FROM schools sc JOIN students s ON s.schoolid=sc.school_number GROUP BY sc.name, s.enroll_status ORDER BY s.enroll_status What does the resulting data look like? How does it change if you reverse the order of the fields in the GROUP BY? 12. Save the results data output to your desktop. Name the file Student Count. Locate the file and change the file extension to.txt. Open the file with your spreadsheet program to work with it further. PowerViews PowerViews are what PowerSchool calls views. Views are not actual tables but rather the result of complex SQL queries designed by developers to make querying and reporting easier. Views are based on pre-built SQL queries that are run automatically by the database engine. They are dynamic and change as the tables they are built from change. PowerViews combine the most requested data elements into a single table view. This pre-queried data gives you easy access to information without having to create complex SQL queries. You can query PowerViews as you would a table, but their names are long and unusual. You can find information on the different PowerViews and what data they contain in the PowerViews Data Dictionary. You can write queries of PowerViews as though they were regular tables, except that you must insert ps. in front of the name. Some data is more accessible in PowerViews than in the regular tables. This is particularly true of data in the Gen table or custom field data. Using PowerViews to get data from custom fields is covered in the Advanced SQL class. Copyright 2012 Pearson Page 4

5 Activity 3 Using PowerViews in SQL Queries Enhance some of your previous queries with data from PowerViews. These activities are only a sample of what you can do with PowerViews. 1. With PowerViews, you can add ethnicity data to an analysis of grades more easily. Add in a JOIN to Student Demographics, and then add the ethnicity name to the SELECT clause. SELECT s.lastfirst, s.gender, s.grade_level, d.ethnicity_name, sg.course_name, sg.grade "Letter Grade", sg.termid s JOIN storedgrades sg ON s.id=sg.studentid JOIN ps.pssis_student_demographics d ON d.student_number=s.student_number WHERE s.schoolid=100 AND sg.termid>=2200 ORDER BY s.lastfirst You can also add Special Programs enrollments using the correct PowerView. But because not every student has a record in that PowerView, you must use a special type of JOIN. There are two types of SQL JOINs INNER JOINs and OUTER JOINs. An INNER JOIN is the most common join and represents the default join type. If you don't put INNER or OUTER in front of the SQL JOIN keyword, then INNER JOIN is used. The LEFT OUTER JOIN selects all the valid rows from the first table listed after the FROM clause, and any valid rows that have matches in the second table. So in this case, use a LEFT OUTER JOIN to get all student records and any matching Special Programs enrollment records. LEFT and RIGHT JOINs are explained in greater detail in the Advanced SQL course. 2. Add a LEFT OUTER JOIN to the Special Programs Enrollment PowerView. SELECT s.lastfirst, s.gender, s.grade_level, d.ethnicity_name, sp.program_name, sg.course_name, sg.grade "Letter Grade", sg.termid s JOIN storedgrades sg ON s.id=sg.studentid JOIN ps.pssis_student_demographics d ON d.student_number=s.student_number LEFT OUTER JOIN ps.pssis_special_pgm_enrollments sp ON sp.student_number=s.student_number WHERE s.schoolid=100 AND sg.termid>=2200 ORDER BY s.lastfirst How would the results differ if you used an INNER JOIN? Copyright 2012 Pearson Page 5

6 Key Points Primary Keys and Foreign Keys Define table relationships Quick Export, DDE, or SQL Use the right tool Basic SQL SELECT [somestuff] FROM [sometable] WHERE Filters search results JOIN Combines multiple tables together with ON statements PowerViews Saves time by connecting frequently used data into one virtual table Copyright 2012 Pearson Page 6

Database Extensions, Page Fragments and Plugins

Database Extensions, Page Fragments and Plugins PSUG SoCal January 17, 2014 Database Extensions, Page Fragments and Plugins Released in PowerSchool 7.9 Key Documents on PowerSource: Database Extensions Visual Walkthrough ID: 70768 https://powersource.pearsonschoolsystems.com/article/70768

More information

Relational Database: Additional Operations on Relations; SQL

Relational Database: Additional Operations on Relations; SQL Relational Database: Additional Operations on Relations; SQL Greg Plaxton Theory in Programming Practice, Fall 2005 Department of Computer Science University of Texas at Austin Overview The course packet

More information

Creating QBE Queries in Microsoft SQL Server

Creating QBE Queries in Microsoft SQL Server Creating QBE Queries in Microsoft SQL Server When you ask SQL Server or any other DBMS (including Access) a question about the data in a database, the question is called a query. A query is simply a question

More information

Chapter 5 More SQL: Complex Queries, Triggers, Views, and Schema Modification

Chapter 5 More SQL: Complex Queries, Triggers, Views, and Schema Modification Chapter 5 More SQL: Complex Queries, Triggers, Views, and Schema Modification Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 5 Outline More Complex SQL Retrieval Queries

More information

Oracle Database: SQL and PL/SQL Fundamentals NEW

Oracle Database: SQL and PL/SQL Fundamentals NEW Oracle University Contact Us: + 38516306373 Oracle Database: SQL and PL/SQL Fundamentals NEW Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals training delivers the

More information

Using SQL Queries in Crystal Reports

Using SQL Queries in Crystal Reports PPENDIX Using SQL Queries in Crystal Reports In this appendix Review of SQL Commands PDF 924 n Introduction to SQL PDF 924 PDF 924 ppendix Using SQL Queries in Crystal Reports The SQL Commands feature

More information

Access Queries (Office 2003)

Access Queries (Office 2003) Access Queries (Office 2003) Technical Support Services Office of Information Technology, West Virginia University OIT Help Desk 293-4444 x 1 oit.wvu.edu/support/training/classmat/db/ Instructor: Kathy

More information

SQL Server 2008 Core Skills. Gary Young 2011

SQL Server 2008 Core Skills. Gary Young 2011 SQL Server 2008 Core Skills Gary Young 2011 Confucius I hear and I forget I see and I remember I do and I understand Core Skills Syllabus Theory of relational databases SQL Server tools Getting help Data

More information

Advanced Query for Query Developers

Advanced Query for Query Developers for Developers This is a training guide to step you through the advanced functions of in NUFinancials. is an ad-hoc reporting tool that allows you to retrieve data that is stored in the NUFinancials application.

More information

The software shall provide the necessary tools to allow a user to create a Dashboard based on the queries created.

The software shall provide the necessary tools to allow a user to create a Dashboard based on the queries created. IWS BI Dashboard Template User Guide Introduction This document describes the features of the Dashboard Template application, and contains a manual the user can follow to use the application, connecting

More information

Welcome to the topic on queries in SAP Business One.

Welcome to the topic on queries in SAP Business One. Welcome to the topic on queries in SAP Business One. 1 In this topic, you will learn to create SQL queries using the SAP Business One query tools Query Wizard and Query Generator. You will also see how

More information

Oracle SQL. Course Summary. Duration. Objectives

Oracle SQL. Course Summary. Duration. Objectives Oracle SQL Course Summary Identify the major structural components of the Oracle Database 11g Create reports of aggregated data Write SELECT statements that include queries Retrieve row and column data

More information

Oracle Database: SQL and PL/SQL Fundamentals

Oracle Database: SQL and PL/SQL Fundamentals Oracle University Contact Us: 1.800.529.0165 Oracle Database: SQL and PL/SQL Fundamentals Duration: 5 Days What you will learn This course is designed to deliver the fundamentals of SQL and PL/SQL along

More information

Lab # 5. Retreiving Data from Multiple Tables. Eng. Alaa O Shama

Lab # 5. Retreiving Data from Multiple Tables. Eng. Alaa O Shama The Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM 4113: Database Lab Lab # 5 Retreiving Data from Multiple Tables Eng. Alaa O Shama November, 2015 Objectives:

More information

Oracle Database 10g: Introduction to SQL

Oracle Database 10g: Introduction to SQL Oracle University Contact Us: 1.800.529.0165 Oracle Database 10g: Introduction to SQL Duration: 5 Days What you will learn This course offers students an introduction to Oracle Database 10g database technology.

More information

Advanced SQL Queries for the EMF

Advanced SQL Queries for the EMF Advanced SQL Queries for the EMF Susan McCusker, MARAMA Online EMF Resources: SQL EMF User s Guide https://www.cmascenter.org/emf/internal/guide.html EMF SQL Reference Guide https://www.cmascenter.org/emf/internal/sql_basics.

More information

Oracle Database: SQL and PL/SQL Fundamentals

Oracle Database: SQL and PL/SQL Fundamentals Oracle University Contact Us: +966 12 739 894 Oracle Database: SQL and PL/SQL Fundamentals Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals training is designed to

More information

Creating Bulk Rosters from PowerSchool to Allow Staff Access to MEA/SBAC Score Results in the Online Reporting System (ORS)

Creating Bulk Rosters from PowerSchool to Allow Staff Access to MEA/SBAC Score Results in the Online Reporting System (ORS) Creating Bulk Rosters from PowerSchool to Allow Staff Access to MEA/SBAC Score Results in the Online Reporting System (ORS) 1 Purpose of this Quick Start Guide: In order for teachers or other staff to

More information

Import and Export User Guide. PowerSchool 7.x Student Information System

Import and Export User Guide. PowerSchool 7.x Student Information System PowerSchool 7.x Student Information System Released June 2012 Document Owner: Documentation Services This edition applies to Release 7.2.1 of the PowerSchool software and to all subsequent releases and

More information

SQL SELECT Query: Intermediate

SQL SELECT Query: Intermediate SQL SELECT Query: Intermediate IT 4153 Advanced Database J.G. Zheng Spring 2012 Overview SQL Select Expression Alias revisit Aggregate functions - complete Table join - complete Sub-query in where Limiting

More information

Beginning C# 5.0. Databases. Vidya Vrat Agarwal. Second Edition

Beginning C# 5.0. Databases. Vidya Vrat Agarwal. Second Edition Beginning C# 5.0 Databases Second Edition Vidya Vrat Agarwal Contents J About the Author About the Technical Reviewer Acknowledgments Introduction xviii xix xx xxi Part I: Understanding Tools and Fundamentals

More information

Module 9 Ad Hoc Queries

Module 9 Ad Hoc Queries Module 9 Ad Hoc Queries Objectives Familiarize the User with basic steps necessary to create ad hoc queries using the Data Browser. Topics Ad Hoc Queries Create a Data Browser query Filter data Save a

More information

Access Database Design

Access Database Design Access Database Design Technical Support Services Office of Information Technology, West Virginia University OIT Help Desk -- 293-4444 x 1 http://oit.wvu.edu/support/training/classmat/db/ Instructors:

More information

School & District Data: Analysis Spreadsheets

School & District Data: Analysis Spreadsheets School & District Data: School & District Data: Hello, Idaho! I m Beth Klineman from Pearson Education. Welcome to Schoolnet s, accessed through the ISEE Portal. School & District Data reports come in

More information

Inquiry Formulas. student guide

Inquiry Formulas. student guide Inquiry Formulas student guide NOTICE This documentation and the Axium software programs may only be used in accordance with the accompanying Ajera License Agreement. You may not use, copy, modify, or

More information

2874CD1EssentialSQL.qxd 6/25/01 3:06 PM Page 1 Essential SQL Copyright 2001 SYBEX, Inc., Alameda, CA www.sybex.com

2874CD1EssentialSQL.qxd 6/25/01 3:06 PM Page 1 Essential SQL Copyright 2001 SYBEX, Inc., Alameda, CA www.sybex.com Essential SQL 2 Essential SQL This bonus chapter is provided with Mastering Delphi 6. It is a basic introduction to SQL to accompany Chapter 14, Client/Server Programming. RDBMS packages are generally

More information

Chapter 9 Joining Data from Multiple Tables. Oracle 10g: SQL

Chapter 9 Joining Data from Multiple Tables. Oracle 10g: SQL Chapter 9 Joining Data from Multiple Tables Oracle 10g: SQL Objectives Identify a Cartesian join Create an equality join using the WHERE clause Create an equality join using the JOIN keyword Create a non-equality

More information

SES Project v 9.0 SES/CAESAR QUERY TOOL. Running and Editing Queries. PS Query

SES Project v 9.0 SES/CAESAR QUERY TOOL. Running and Editing Queries. PS Query SES Project v 9.0 SES/CAESAR QUERY TOOL Running and Editing Queries PS Query Table Of Contents I - Introduction to Query:... 3 PeopleSoft Query Overview:... 3 Query Terminology:... 3 Navigation to Query

More information

1 Structured Query Language: Again. 2 Joining Tables

1 Structured Query Language: Again. 2 Joining Tables 1 Structured Query Language: Again So far we ve only seen the basic features of SQL. More often than not, you can get away with just using the basic SELECT, INSERT, UPDATE, or DELETE statements. Sometimes

More information

Toad for Data Analysts, Tips n Tricks

Toad for Data Analysts, Tips n Tricks Toad for Data Analysts, Tips n Tricks or Things Everyone Should Know about TDA Just what is Toad for Data Analysts? Toad is a brand at Quest. We have several tools that have been built explicitly for developers

More information

Lecture 25: Database Notes

Lecture 25: Database Notes Lecture 25: Database Notes 36-350, Fall 2014 12 November 2014 The examples here use http://www.stat.cmu.edu/~cshalizi/statcomp/ 14/lectures/23/baseball.db, which is derived from Lahman s baseball database

More information

Query 4. Lesson Objectives 4. Review 5. Smart Query 5. Create a Smart Query 6. Create a Smart Query Definition from an Ad-hoc Query 9

Query 4. Lesson Objectives 4. Review 5. Smart Query 5. Create a Smart Query 6. Create a Smart Query Definition from an Ad-hoc Query 9 TABLE OF CONTENTS Query 4 Lesson Objectives 4 Review 5 Smart Query 5 Create a Smart Query 6 Create a Smart Query Definition from an Ad-hoc Query 9 Query Functions and Features 13 Summarize Output Fields

More information

Ad Hoc Advanced Table of Contents

Ad Hoc Advanced Table of Contents Ad Hoc Advanced Table of Contents Functions... 1 Adding a Function to the Adhoc Query:... 1 Constant... 2 Coalesce... 4 Concatenate... 6 Add/Subtract... 7 Logical Expressions... 8 Creating a Logical Expression:...

More information

Personal Geodatabase 101

Personal Geodatabase 101 Personal Geodatabase 101 There are a variety of file formats that can be used within the ArcGIS software. Two file formats, the shape file and the personal geodatabase were designed to hold geographic

More information

Health Functions in PowerSchool

Health Functions in PowerSchool Basic Searches to Identify students with emergency health and chronic conditions. A medical alert is entered from start page > Select a Student > Emergency/Medical If a student has a medical alert an icon

More information

Microsoft Access 2007

Microsoft Access 2007 How to Use: Microsoft Access 2007 Microsoft Office Access is a powerful tool used to create and format databases. Databases allow information to be organized in rows and tables, where queries can be formed

More information

Duration Vendor Audience 5 Days Oracle End Users, Developers, Technical Consultants and Support Staff

Duration Vendor Audience 5 Days Oracle End Users, Developers, Technical Consultants and Support Staff D80198GC10 Oracle Database 12c SQL and Fundamentals Summary Duration Vendor Audience 5 Days Oracle End Users, Developers, Technical Consultants and Support Staff Level Professional Delivery Method Instructor-led

More information

Microsoft Office Access 2007 which I refer to as Access throughout this book

Microsoft Office Access 2007 which I refer to as Access throughout this book Chapter 1 Getting Started with Access In This Chapter What is a database? Opening Access Checking out the Access interface Exploring Office Online Finding help on Access topics Microsoft Office Access

More information

Oracle Database 12c: Introduction to SQL Ed 1.1

Oracle Database 12c: Introduction to SQL Ed 1.1 Oracle University Contact Us: 1.800.529.0165 Oracle Database 12c: Introduction to SQL Ed 1.1 Duration: 5 Days What you will learn This Oracle Database: Introduction to SQL training helps you write subqueries,

More information

Instant SQL Programming

Instant SQL Programming Instant SQL Programming Joe Celko Wrox Press Ltd. INSTANT Table of Contents Introduction 1 What Can SQL Do for Me? 2 Who Should Use This Book? 2 How To Use This Book 3 What You Should Know 3 Conventions

More information

Excel: Analyze PowerSchool Data

Excel: Analyze PowerSchool Data Excel: Analyze PowerSchool Data Trainer Name Trainer/Consultant PowerSchool University 2012 Agenda Welcome & Introductions Organizing Data with PivotTables Displaying Data with Charts Creating Dashboards

More information

Monthly Payroll to Finance Reconciliation Report: Access and Instructions

Monthly Payroll to Finance Reconciliation Report: Access and Instructions Monthly Payroll to Finance Reconciliation Report: Access and Instructions VCU Reporting Center... 2 Log in... 2 Open Folder... 3 Other Useful Information: Copying Sheets... 5 Creating Subtotals... 5 Outlining

More information

Microsoft Access 3: Understanding and Creating Queries

Microsoft Access 3: Understanding and Creating Queries Microsoft Access 3: Understanding and Creating Queries In Access Level 2, we learned how to perform basic data retrievals by using Search & Replace functions and Sort & Filter functions. For more complex

More information

Schedule User Guide. PowerSchool 6.0 Student Information System

Schedule User Guide. PowerSchool 6.0 Student Information System PowerSchool 6.0 Student Information System Released June 2009 Document Owner: Document Services This edition applies to Release 6.0 of the PowerSchool Premier software and to all subsequent releases and

More information

Data Mining Commonly Used SQL Statements

Data Mining Commonly Used SQL Statements Description: Guide to some commonly used SQL OS Requirement: Win 2000 Pro/Server, XP Pro, Server 2003 General Requirement: You will need a Relational Database (SQL server, MSDE, Access, Oracle, etc), Installation

More information

Produced by Flinders University Centre for Educational ICT. PivotTables Excel 2010

Produced by Flinders University Centre for Educational ICT. PivotTables Excel 2010 Produced by Flinders University Centre for Educational ICT PivotTables Excel 2010 CONTENTS Layout... 1 The Ribbon Bar... 2 Minimising the Ribbon Bar... 2 The File Tab... 3 What the Commands and Buttons

More information

Choose the Reports Tab and then the Export/Ad hoc file button. Export Ad-hoc to Excel - 1

Choose the Reports Tab and then the Export/Ad hoc file button. Export Ad-hoc to Excel - 1 Export Ad-hoc to Excel Choose the Reports Tab and then the Export/Ad hoc file button Export Ad-hoc to Excel - 1 Choose the fields for your report 1) The demographic fields are always listed in the right

More information

The join operation allows you to combine related rows of data found in two tables into a single result set.

The join operation allows you to combine related rows of data found in two tables into a single result set. (Web) Application Development With Ian Week 3 SQL with Multiple Tables Join The join operation allows you to combine related rows of data found in two tables into a single result set. It works similarly

More information

COMP 5138 Relational Database Management Systems. Week 5 : Basic SQL. Today s Agenda. Overview. Basic SQL Queries. Joins Queries

COMP 5138 Relational Database Management Systems. Week 5 : Basic SQL. Today s Agenda. Overview. Basic SQL Queries. Joins Queries COMP 5138 Relational Database Management Systems Week 5 : Basic COMP5138 "Relational Database Managment Systems" J. Davis 2006 5-1 Today s Agenda Overview Basic Queries Joins Queries Aggregate Functions

More information

Microsoft' Excel & Access Integration

Microsoft' Excel & Access Integration Microsoft' Excel & Access Integration with Office 2007 Michael Alexander and Geoffrey Clark J1807 ; pwiueyb Wiley Publishing, Inc. Contents About the Authors Acknowledgments Introduction Part I: Basic

More information

LMS User Manual LMS Grade Book NUST LMS [email protected]

LMS User Manual LMS Grade Book NUST LMS lms.team@nust.edu.pk LMS User Manual LMS Grade Book NUST LMS [email protected] Setting up LMS Grade book Setting up LMS gradebook involves followings main steps: 1. Create gradebook categories 2. Add grade items in grade

More information

Business Objects 4.1 Quick User Guide

Business Objects 4.1 Quick User Guide Business Objects 4.1 Quick User Guide Log into SCEIS Business Objects (BOBJ) 1. https://sceisreporting.sc.gov 2. Choose Windows AD for Authentication. 3. Enter your SCEIS User Name and Password: Home Screen

More information

How To Create A Powerpoint Intelligence Report In A Pivot Table In A Powerpoints.Com

How To Create A Powerpoint Intelligence Report In A Pivot Table In A Powerpoints.Com Sage 500 ERP Intelligence Reporting Getting Started Guide 27.11.2012 Table of Contents 1.0 Getting started 3 2.0 Managing your reports 10 3.0 Defining report properties 18 4.0 Creating a simple PivotTable

More information

Database Administration with MySQL

Database Administration with MySQL Database Administration with MySQL Suitable For: Database administrators and system administrators who need to manage MySQL based services. Prerequisites: Practical knowledge of SQL Some knowledge of relational

More information

Automated Walk-In Scheduling. Prior to Using Automated Walk-In Scheduling. The Scheduling Engine

Automated Walk-In Scheduling. Prior to Using Automated Walk-In Scheduling. The Scheduling Engine This course will teach you how to complete the scheduling setup for automated walk-in scheduling, define course scheduling information (including course prerequisites and relationships), format schedule

More information

MySQL for Beginners Ed 3

MySQL for Beginners Ed 3 Oracle University Contact Us: 1.800.529.0165 MySQL for Beginners Ed 3 Duration: 4 Days What you will learn The MySQL for Beginners course helps you learn about the world's most popular open source database.

More information

Access Tutorial 3 Maintaining and Querying a Database. Microsoft Office 2013 Enhanced

Access Tutorial 3 Maintaining and Querying a Database. Microsoft Office 2013 Enhanced Access Tutorial 3 Maintaining and Querying a Database Microsoft Office 2013 Enhanced Objectives Session 3.1 Find, modify, and delete records in a table Hide and unhide fields in a datasheet Work in the

More information

Cal Answers Analysis Training Part I. Creating Analyses in OBIEE

Cal Answers Analysis Training Part I. Creating Analyses in OBIEE Cal Answers Analysis Training Part I Creating Analyses in OBIEE University of California, Berkeley March 2012 Table of Contents Table of Contents... 1 Overview... 2 Getting Around OBIEE... 2 Cal Answers

More information

Tutorial 3 Maintaining and Querying a Database

Tutorial 3 Maintaining and Querying a Database Tutorial 3 Maintaining and Querying a Database Microsoft Access 2013 Objectives Session 3.1 Find, modify, and delete records in a table Hide and unhide fields in a datasheet Work in the Query window in

More information

Check out our website!

Check out our website! Check out our website! www.nvcc.edu/woodbr idge/computer-lab Contact Us Location: Open Computer Lab Seefeldt Building #336 NOVA Woodbridge Campus Hussna Azamy (OCL Supervisor) Phone: 703-878-5714 E-mail:

More information

Introduction to Microsoft Jet SQL

Introduction to Microsoft Jet SQL Introduction to Microsoft Jet SQL Microsoft Jet SQL is a relational database language based on the SQL 1989 standard of the American Standards Institute (ANSI). Microsoft Jet SQL contains two kinds of

More information

Foundations & Fundamentals. A PROC SQL Primer. Matt Taylor, Carolina Analytical Consulting, LLC, Charlotte, NC

Foundations & Fundamentals. A PROC SQL Primer. Matt Taylor, Carolina Analytical Consulting, LLC, Charlotte, NC A PROC SQL Primer Matt Taylor, Carolina Analytical Consulting, LLC, Charlotte, NC ABSTRACT Most SAS programmers utilize the power of the DATA step to manipulate their datasets. However, unless they pull

More information

Creating and Using Databases with Microsoft Access

Creating and Using Databases with Microsoft Access CHAPTER A Creating and Using Databases with Microsoft Access In this chapter, you will Use Access to explore a simple database Design and create a new database Create and use forms Create and use queries

More information

Introduction to SQL for Data Scientists

Introduction to SQL for Data Scientists Introduction to SQL for Data Scientists Ben O. Smith College of Business Administration University of Nebraska at Omaha Learning Objectives By the end of this document you will learn: 1. How to perform

More information

A basic create statement for a simple student table would look like the following.

A basic create statement for a simple student table would look like the following. Creating Tables A basic create statement for a simple student table would look like the following. create table Student (SID varchar(10), FirstName varchar(30), LastName varchar(30), EmailAddress varchar(30));

More information

Access 2010: Creating Queries Table of Contents INTRODUCTION TO QUERIES... 2 QUERY JOINS... 2 INNER JOINS... 3 OUTER JOINS...

Access 2010: Creating Queries Table of Contents INTRODUCTION TO QUERIES... 2 QUERY JOINS... 2 INNER JOINS... 3 OUTER JOINS... Access 2010: Creating Queries Table of Contents INTRODUCTION TO QUERIES... 2 QUERY JOINS... 2 INNER JOINS... 3 OUTER JOINS... 3 CHANGE A JOIN PROPERTY... 4 REMOVING A JOIN... 4 CREATE QUERIES... 4 THE

More information

DBMS / Business Intelligence, SQL Server

DBMS / Business Intelligence, SQL Server DBMS / Business Intelligence, SQL Server Orsys, with 30 years of experience, is providing high quality, independant State of the Art seminars and hands-on courses corresponding to the needs of IT professionals.

More information

SQL - QUICK GUIDE. Allows users to access data in relational database management systems.

SQL - QUICK GUIDE. Allows users to access data in relational database management systems. http://www.tutorialspoint.com/sql/sql-quick-guide.htm SQL - QUICK GUIDE Copyright tutorialspoint.com What is SQL? SQL is Structured Query Language, which is a computer language for storing, manipulating

More information

Excel 2003: Ringtones Task

Excel 2003: Ringtones Task Excel 2003: Ringtones Task 1. Open up a blank spreadsheet 2. Save the spreadsheet to your area and call it Ringtones.xls 3. Add the data as shown here, making sure you keep to the cells as shown Make sure

More information

Intro to Mail Merge. Contents: David Diskin for the University of the Pacific Center for Professional and Continuing Education. Word Mail Merge Wizard

Intro to Mail Merge. Contents: David Diskin for the University of the Pacific Center for Professional and Continuing Education. Word Mail Merge Wizard Intro to Mail Merge David Diskin for the University of the Pacific Center for Professional and Continuing Education Contents: Word Mail Merge Wizard Mail Merge Possibilities Labels Form Letters Directory

More information

Query. Training and Participation Guide Financials 9.2

Query. Training and Participation Guide Financials 9.2 Query Training and Participation Guide Financials 9.2 Contents Overview... 4 Objectives... 5 Types of Queries... 6 Query Terminology... 6 Roles and Security... 7 Choosing a Reporting Tool... 8 Working

More information

Getting Started Guide

Getting Started Guide Getting Started Guide Introduction... 3 What is Pastel Partner (BIC)?... 3 System Requirements... 4 Getting Started Guide... 6 Standard Reports Available... 6 Accessing the Pastel Partner (BIC) Reports...

More information

Tips and Tricks SAGE ACCPAC INTELLIGENCE

Tips and Tricks SAGE ACCPAC INTELLIGENCE Tips and Tricks SAGE ACCPAC INTELLIGENCE 1 Table of Contents Auto e-mailing reports... 4 Automatically Running Macros... 7 Creating new Macros from Excel... 8 Compact Metadata Functionality... 9 Copying,

More information

Business Objects. Report Writing - CMS Net and CCS Claims

Business Objects. Report Writing - CMS Net and CCS Claims Business Objects Report Writing - CMS Net and CCS Claims Updated 11/28/2012 1 Introduction/Background... 4 Report Writing (Ad-Hoc)... 4 Requesting Report Writing Access... 4 Java Version... 4 Create A

More information

When a variable is assigned as a Process Initialization variable its value is provided at the beginning of the process.

When a variable is assigned as a Process Initialization variable its value is provided at the beginning of the process. In this lab you will learn how to create and use variables. Variables are containers for data. Data can be passed into a job when it is first created (Initialization data), retrieved from an external source

More information

Oracle Database: SQL and PL/SQL Fundamentals NEW

Oracle Database: SQL and PL/SQL Fundamentals NEW Oracle University Contact Us: 001-855-844-3881 & 001-800-514-06-97 Oracle Database: SQL and PL/SQL Fundamentals NEW Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals

More information

Programming with SQL

Programming with SQL Unit 43: Programming with SQL Learning Outcomes A candidate following a programme of learning leading to this unit will be able to: Create queries to retrieve information from relational databases using

More information

Information Systems SQL. Nikolaj Popov

Information Systems SQL. Nikolaj Popov Information Systems SQL Nikolaj Popov Research Institute for Symbolic Computation Johannes Kepler University of Linz, Austria [email protected] Outline SQL Table Creation Populating and Modifying

More information

MS Excel. Handout: Level 2. elearning Department. Copyright 2016 CMS e-learning Department. All Rights Reserved. Page 1 of 11

MS Excel. Handout: Level 2. elearning Department. Copyright 2016 CMS e-learning Department. All Rights Reserved. Page 1 of 11 MS Excel Handout: Level 2 elearning Department 2016 Page 1 of 11 Contents Excel Environment:... 3 To create a new blank workbook:...3 To insert text:...4 Cell addresses:...4 To save the workbook:... 5

More information

Kaseya 2. Quick Start Guide. for VSA 6.3

Kaseya 2. Quick Start Guide. for VSA 6.3 Kaseya 2 Custom Reports Quick Start Guide for VSA 6.3 December 9, 2013 Agreement The purchase and use of all Software and Services is subject to the Agreement as defined in Kaseya s Click-Accept EULA as

More information

HansaWorld SQL Training Material

HansaWorld SQL Training Material HansaWorld University HansaWorld SQL Training Material HansaWorld Ltd. January 2008 Version 5.4 TABLE OF CONTENTS: TABLE OF CONTENTS:...2 OBJECTIVES...4 INTRODUCTION...5 Relational Databases...5 Definition...5

More information

Tutorial 3. Maintaining and Querying a Database

Tutorial 3. Maintaining and Querying a Database Tutorial 3 Maintaining and Querying a Database Microsoft Access 2010 Objectives Find, modify, and delete records in a table Learn how to use the Query window in Design view Create, run, and save queries

More information

Microsoft Office 2010

Microsoft Office 2010 Access Tutorial 3 Maintaining and Querying a Database Microsoft Office 2010 Objectives Find, modify, and delete records in a table Learn how to use the Query window in Design view Create, run, and save

More information

SQL Server An Overview

SQL Server An Overview SQL Server An Overview SQL Server Microsoft SQL Server is designed to work effectively in a number of environments: As a two-tier or multi-tier client/server database system As a desktop database system

More information

Microsoft Access Basics

Microsoft Access Basics Microsoft Access Basics 2006 ipic Development Group, LLC Authored by James D Ballotti Microsoft, Access, Excel, Word, and Office are registered trademarks of the Microsoft Corporation Version 1 - Revision

More information

School account creation guide

School account creation guide School account creation guide Contents Your welcome email Page 2 The CSV file Page 3 Uploading the CSV and creating the accounts Page 5 Retrieving staff usernames and passwords Page 8 Retrieving student

More information

Getting Started with Access 2007

Getting Started with Access 2007 Getting Started with Access 2007 1 A database is an organized collection of information about a subject. Examples of databases include an address book, the telephone book, or a filing cabinet full of documents

More information

Oracle 10g PL/SQL Training

Oracle 10g PL/SQL Training Oracle 10g PL/SQL Training Course Number: ORCL PS01 Length: 3 Day(s) Certification Exam This course will help you prepare for the following exams: 1Z0 042 1Z0 043 Course Overview PL/SQL is Oracle's Procedural

More information

Using SQL Queries to Insert, Update, Delete, and View Data: Joining Multiple Tables. Lesson C Objectives. Joining Multiple Tables

Using SQL Queries to Insert, Update, Delete, and View Data: Joining Multiple Tables. Lesson C Objectives. Joining Multiple Tables Using SQL Queries to Insert, Update, Delete, and View Data: Joining Multiple Tables Wednesay 9/24/2014 Abdou Illia MIS 4200 - Fall 2014 Lesson C Objectives After completing this lesson, you should be able

More information

MICROSOFT ACCESS 2003 TUTORIAL

MICROSOFT ACCESS 2003 TUTORIAL MICROSOFT ACCESS 2003 TUTORIAL M I C R O S O F T A C C E S S 2 0 0 3 Microsoft Access is powerful software designed for PC. It allows you to create and manage databases. A database is an organized body

More information

What is a Mail Merge?

What is a Mail Merge? NDUS Training and Documentation What is a Mail Merge? A mail merge is generally used to personalize form letters, to produce mailing labels and for mass mailings. A mail merge can be very helpful if you

More information

Windows XP File Management

Windows XP File Management Windows XP File Management As you work with a computer creating more and more documents, you need to find a way to keep this information organized. Without a good organizational method, all your files

More information

Chapter 1 Overview of the SQL Procedure

Chapter 1 Overview of the SQL Procedure Chapter 1 Overview of the SQL Procedure 1.1 Features of PROC SQL...1-3 1.2 Selecting Columns and Rows...1-6 1.3 Presenting and Summarizing Data...1-17 1.4 Joining Tables...1-27 1-2 Chapter 1 Overview of

More information

Parent Single Sign-On Quick Reference Guide

Parent Single Sign-On Quick Reference Guide Parent Single Sign-On Quick Reference Guide Parent Single Sign-On, introduced in PowerSchool 6.2, offers a number of benefits, including access to multiple students with one sign in, a personalized account

More information

9.1 SAS. SQL Query Window. User s Guide

9.1 SAS. SQL Query Window. User s Guide SAS 9.1 SQL Query Window User s Guide The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2004. SAS 9.1 SQL Query Window User s Guide. Cary, NC: SAS Institute Inc. SAS

More information

PSU Winter Training Roadmap

PSU Winter Training Roadmap PSU Winter Training Roadmap Unsure about which PowerSchool University (PSU) courses to take? Overwhelmed with so many choices? Download the PSU roadmap for direction on which courses you should take based

More information

Cognos Event Studio. Deliver By : Amit Sharma Presented By : Amit Sharma

Cognos Event Studio. Deliver By : Amit Sharma Presented By : Amit Sharma Cognos Event Studio Deliver By : Amit Sharma Presented By : Amit Sharma An Introduction Cognos Event Studio to notify decision-makers of events as they happen, so that they can make timely and effective

More information

BID2WIN Workshop. Advanced Report Writing

BID2WIN Workshop. Advanced Report Writing BID2WIN Workshop Advanced Report Writing Please Note: Please feel free to take this workbook home with you! Electronic copies of all lab documentation are available for download at http://www.bid2win.com/userconf/2011/labs/

More information

Database Query 1: SQL Basics

Database Query 1: SQL Basics Database Query 1: SQL Basics CIS 3730 Designing and Managing Data J.G. Zheng Fall 2010 1 Overview Using Structured Query Language (SQL) to get the data you want from relational databases Learning basic

More information