Intro to SQL. Getting Your Data out of PowerSchool Lori Ivey-Dennings

Size: px
Start display at page:

Download "Intro to SQL. Getting Your Data out of PowerSchool Lori Ivey-Dennings"

Transcription

1

2 Intro to SQL Getting Your Data out of PowerSchool Lori Ivey-Dennings

3 ODBC ODBC Open Database Connectivity A standard interface for communications between a relational database and an application used to access that data You will need an Oracle PC Client dex.html Reference document Oracle ODBC Configuration and Client Installation Guide (Article # 63429) on PowerSource Link to request ODBC access on PowerSource Link for SSL VPN

4 Request ODBC Access from Pearson

5 Request ODBC Access from Pearson

6 ODBC Connection Navigate to Control Panel -> System and Security -> Administrative Tools -> Data Sources (ODBC) Click add either under the User DSN or System DSN tab User DSN is seen only by the user that creates the connection System DSN is seen by all users

7 ODBC

8 ODBC

9 ODBC

10 SQL Developer SQL Developer is a free tool offered by Oracle Link to download

11 SQL Developer

12 SQL Developer

13 What is SQL Structured Query Language Language used to Talk to the database It is an ANSI (American National Standards Institute) standard Allows you to retrieve data from the database

14 Relational Database Concepts A database server can contain many databases Databases are collections of tables Tables are two-dimensional with rows and columns Limited mathematical and summary operations

15 Common Variable Types Number() VARCHAR2() Date TIMESTAMP() Blob Clob

16 Parts of the SQL Statement Select (Required) What do you want from the table? Your shopping list From (Required) What table are you looking in The name of the grocery store Where (Optional) How do you want to subset or filter the data Do you want the name brand pasta or the store brand pasta Order by (Optional) How do you want the data sorted? Putting your shopping list in alphabetic order

17 Mathematical Functions + Addition Subtraction * Multiplication / Division % Modulo determines the integer remainder of the division Round(x) Round(x, d) Floor(x) Ceil(x) Returns the value of x rounded to the nearest whole integer Returns the value of x rounded to the number of decimal places specified by the value of d Returns the largest integer value that is less than or equal to x Returns the smallest integer value that is less than or equal to x

18 Relational and Logical Operators Relational = Equal <> Not Equal < Less Than > Greater Than <= Less Than or Equal To >= Greater Than or Equal To Logical And All conditions must be True Or Only one of the conditions must be True

19 Compound Conditions IN Between Not IN Not Between Condition must match at least one item in the list Condition must be Greater Than or Equal to the beginning number AND must be Less Than or Equal to the ending number Condition must NOT match any of the items in the list Condition must be Greater Than or Equal to the beginning number AND must be Less Than or Equal to the ending number

20 Aggregate Functions Min Max Sum Avg Count Count (*) Returns the smallest value in a given column Returns the largest value in a given column Returns the sum of the numeric values in a given column Returns the average value of a given column Returns the total number of values in a given column Returns the number of rows in a table

21 Simple Select Statement To see all of the data from a particular table use the asterisk Select * From Students; This will return all columns and all rows in the STUDENTS table

22 Simple Select Statement Select certain columns Select School_id, Last_Name, First_Name, Student_number From Students; This returns only the columns specified in the Select statement from the STUDENT table.

23 Simple Select Statement Select all columns but limit the number of rows Select * From Students Where Grade_Level = 12; This returns all the columns in the STUDENT table. However, it will only return students in grade 12

24 Simple Select Statement Select all columns but limit the number of rows Select * From Students Where Grade_Level = 12 AND gender = F ; This returns all the columns in the STUDENT table. However, it will only return female students in grade 12

25 Simple Select Statement Sorting the results Select * from Students Where Grade_Level = 12 Order By Last_Name;

26 Question Which statement will give me the Last and First name of the student along with their grade level for all students in school 999? A. Select * from students From Students Where school_id = 999; B. Select last_name, first_name, grade From Students Where school_id = 999; C. Select last_name, first_name, grade_level From Students Where school_id = 999;

27 Wildcards Wildcards can be used to substitute for any other character or characters in a string % _

28 Like The LIKE keyword can be used when you are not sure the exact value Select * from students Where last_name like Smith% ; Select * from students Where first_name like Pa% ; Select * from students Where first_name like %ual% ;

29 Like Select * from students Where last_name like _mith ; Select * from students Where last_name like _m_th ;

30 Question Which statement will return students with a last name of Smith? A. Select * from Students Where last_name like smith ; B. Select * from teachers Where last_name = Smith ; C. Select * from Students Where last_name like Sm% ;

31 Date and Mathematical Functions Select s.lastfirst, s.gender, s.grade_level, months_between(sysdate, dob) / 12 as age, round(months_between(sysdate, dob) / 12) as exact_age From students s;

32 Aggregate Functions To find the number of active students in your school Select count(*) from Students Where enroll_status = 0; To find the number of active male and female students in your school Select gender, count(*) from students Where enroll_status = 0 Group By gender;

33 Question Which statement would give me the number of students by their grade level? A. Select count(*) from students; B. Select grade_level, count(*) from students; C. Select school_id, grade_level, count(*) from students; D. Select grade_level, count(*) from students Group By grade_level;

34 Keys Primary Key a column or set of columns that uniquely identifies the data in a given row. For the Students, the Key(s) are DCID, ID, or the Student_number Foreign Key a column in a table that is the primary key in another table. Unique Key Unique columns like an ID or student_number fields that can be used to reference a row of data The purpose of these keys is so data can be related across tables, without having to repeat data in every table

35 Joins The tables must have a common key Students to Attendance Students to Incidents Attendance to Incidents

36 Joins Inner Join returns all rows when there is a match in BOTH tables Left Join returns all rows from the left table and the matched rows from the right table Right Join returns all rows from the right table and the matched rows from the left table Full Join returns all rows from both tables

37 Join Diagram

38 Joins Select s.lastfirst, s.gender, s.grade_level, sg.course_name, sg.grade, sg.termid From students s Inner Join storedgrades sg On s.id = sg.studentid;

39 More Joins Select t.lastfirst, t.ethnicity, sch.name From teachers t Inner Join schools sch On t.schoolid = sch.school_number ;

40 Joins Left Outer Select s.lastfirst, s.gender, s.grade_level, si.admission_status_code From students s Left Outer Join s_nc_studentinfo si On s.dcid = si.studentsdcid;

41 Joins Right Outer Select s.lastfirst, s.gender, s.grade_level, si.admission_status_code From s_nc_studentinfo si Right Outer Join students s On si.studentsdcid = s.dcid;

42 Joins Three Tables Select sch.name, sch.school_number, s.lastfirst, s.gender, s.grade_level, sg.course_name, sg.grade, sg.termid From students s Inner Join storedgrades sg On s.id = sg.studentid Inner Join Schools sch On s.school_id = sch.school_number;

43 Question Which of these would be helpful in joining two or more tables together? A. Primary Key B. Foreign Key C. Last_Name and First_Name fields D. Unique Identifier

44 Lab Exercise

45 Questions???

Intro To SQL ODBC 2/3/2016

Intro To SQL ODBC 2/3/2016 Into To SQL Lori Ivey-Dennings Intro To SQL Lori Ivey-Dennings ODBC ODBC Open Database Connectivity A standard interface for communications between a relational database and an application used to access

More information

PSUG National Information Exchange. Users helping users

PSUG National Information Exchange. Users helping users PSUG National Information Exchange Users helping users Basic SQL Dean Dahlvang Proctor Public Schools Proctor, MN About Dean Dean Dahlvang (ddahlvan@proctor.k12.mn.us) Director of Administrative Technology

More information

SQL: Advanced. Trainer Name Trainer/Consultant. PowerSchool University 2012

SQL: Advanced. Trainer Name Trainer/Consultant. PowerSchool University 2012 SQL: Advanced Trainer Name Trainer/Consultant PowerSchool University 2012 Objectives By the end of this session, you will be able to: Construct queries with multiple JOINs Use GROUP BY and analytical functions

More information

Concepts of Database Management Eighth Edition. Chapter 2 The Relational Model 1: Introduction, QBE, and Relational Algebra

Concepts of Database Management Eighth Edition. Chapter 2 The Relational Model 1: Introduction, QBE, and Relational Algebra Concepts of Database Management Eighth Edition Chapter 2 The Relational Model 1: Introduction, QBE, and Relational Algebra Relational Databases A relational database is a collection of tables Each entity

More information

Students User Guide. PowerSchool Student Information System

Students User Guide. PowerSchool Student Information System PowerSchool Student Information System Released July 2015 Document Owner: Documentation Services This edition applies to Release 9.0 of the PowerSchool software and to all subsequent releases and modifications

More information

Students User Guide. PowerSchool Student Information System

Students User Guide. PowerSchool Student Information System PowerSchool Student Information System Released September 2016 Document Owner: Documentation Services This edition applies to Release 10.0.3 of the PowerSchool software and to all subsequent releases and

More information

Principles of Data Management

Principles of Data Management Principles of Data Management Alvin Lin August 2018 - December 2018 Structured Query Language Structured Query Language (SQL) was created at IBM in the 80s: SQL-86 (first standard) SQL-89 SQL-92 (what

More information

PowerPoint Presentation to Accompany GO! All In One. Chapter 13

PowerPoint Presentation to Accompany GO! All In One. Chapter 13 PowerPoint Presentation to Accompany GO! Chapter 13 Create, Query, and Sort an Access Database; Create Forms and Reports 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 Objectives Identify Good

More information

Microsoft Access 2016

Microsoft Access 2016 Access 2016 Instructor s Manual Page 1 of 10 Microsoft Access 2016 Module Two: Querying a Database A Guide to this Instructor s Manual: We have designed this Instructor s Manual to supplement and enhance

More information

Using DDE Doris Kitts and Stephanie Lawrie. Session Room Session Time

Using DDE Doris Kitts and Stephanie Lawrie. Session Room Session Time Using DDE Doris Kitts and Stephanie Lawrie Session Room Session Time Using DDE Viewing and Exporting Data in related tables How PowerSchool Works PowerSchool is a relational database that uses Oracle and

More information

Microsoft Access 2016

Microsoft Access 2016 Access 2016 Instructor s Manual Page 1 of 10 Microsoft Access 2016 Module Two: Querying a Database A Guide to this Instructor s Manual: We have designed this Instructor s Manual to supplement and enhance

More information

II (The Sequel) We will use the following database as an example throughout this lab, found in students.db.

II (The Sequel) We will use the following database as an example throughout this lab, found in students.db. 2 SQL II (The Sequel) Lab Objective: Since SQL databases contain multiple tables, retrieving information about the data can be complicated. In this lab we discuss joins, grouping, and other advanced SQL

More information

Database Systems: Design, Implementation, and Management Tenth Edition. Chapter 7 Introduction to Structured Query Language (SQL)

Database Systems: Design, Implementation, and Management Tenth Edition. Chapter 7 Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management Tenth Edition Chapter 7 Introduction to Structured Query Language (SQL) Objectives In this chapter, students will learn: The basic commands and

More information

INDEX. 1 Basic SQL Statements. 2 Restricting and Sorting Data. 3 Single Row Functions. 4 Displaying data from multiple tables

INDEX. 1 Basic SQL Statements. 2 Restricting and Sorting Data. 3 Single Row Functions. 4 Displaying data from multiple tables INDEX Exercise No Title 1 Basic SQL Statements 2 Restricting and Sorting Data 3 Single Row Functions 4 Displaying data from multiple tables 5 Creating and Managing Tables 6 Including Constraints 7 Manipulating

More information

STIDistrict Query (Basic)

STIDistrict Query (Basic) STIDistrict Query (Basic) Creating a Basic Query To create a basic query in the Query Builder, open the STIDistrict workstation and click on Utilities Query Builder. When the program opens, database objects

More information

618 Index. BIT data type, 108, 109 BIT_LENGTH, 595f BIT VARYING data type, 108 BLOB data type, 108 Boolean data type, 109

618 Index. BIT data type, 108, 109 BIT_LENGTH, 595f BIT VARYING data type, 108 BLOB data type, 108 Boolean data type, 109 Index A abbreviations in field names, 22 in table names, 31 Access. See under Microsoft acronyms in field names, 22 in table names, 31 aggregate functions, 74, 375 377, 416 428. See also AVG; COUNT; COUNT(*);

More information

SAM Ad-Hoc. Gives direct, near unrestricted (view-only) access to your SAM database Ability to see raw data with queries created by you.

SAM Ad-Hoc. Gives direct, near unrestricted (view-only) access to your SAM database Ability to see raw data with queries created by you. SAM Ad-Hoc Gives direct, near unrestricted (view-only) access to your SAM database Ability to see raw data with queries created by you. Four Clauses of a Query SELECT Describes the columns that will be

More information

Full file at

Full file at David Kroenke's Database Processing: Fundamentals, Design and Implementation (10 th Edition) CHAPTER TWO INTRODUCTION TO STRUCTURED QUERY LANGUAGE (SQL) True-False Questions 1. SQL stands for Standard

More information

PowerSchool Tips and Tricks Mark Southard Cleveland County Schools Auditorium IV

PowerSchool Tips and Tricks Mark Southard Cleveland County Schools Auditorium IV PowerSchool Tips and Tricks Mark Southard Cleveland County Schools Auditorium IV Tips and Tricks Browser Tips The Personalize Page PowerSchool Search Tips Advanced Search Compound Searches View Field List

More information

Unit Assessment Guide

Unit Assessment Guide Unit Assessment Guide Unit Details Unit code Unit name Unit purpose/application ICTWEB425 Apply structured query language to extract and manipulate data This unit describes the skills and knowledge required

More information

Test Bank for Database Processing Fundamentals Design and Implementation 13th Edition by Kroenke

Test Bank for Database Processing Fundamentals Design and Implementation 13th Edition by Kroenke Test Bank for Database Processing Fundamentals Design and Implementation 13th Edition by Kroenke Link full download: https://testbankservice.com/download/test-bank-fordatabase-processing-fundamentals-design-and-implementation-13th-edition-bykroenke

More information

DATABASE MANAGEMENT SYSTEMS PREPARED BY: ENGR. MOBEEN NAZAR

DATABASE MANAGEMENT SYSTEMS PREPARED BY: ENGR. MOBEEN NAZAR DATABASE MANAGEMENT SYSTEMS PREPARED BY: ENGR. MOBEEN NAZAR SCHEME OF PRESENTATION LAB MARKS DISTRIBUTION LAB FILE DBMS PROJECT INSTALLATION STEPS FOR SQL SERVER 2008 SETTING UP SQL SERVER 2008 INTRODUCTION

More information

My Query Builder Function

My Query Builder Function My Query Builder Function The My Query Builder function is used to build custom SQL queries for reporting information out of the TEAMS system. Query results can be exported to a comma-separated value file,

More information

HKTA TANG HIN MEMORIAL SECONDARY SCHOOL SECONDARY 3 COMPUTER LITERACY. Name: ( ) Class: Date: Databases and Microsoft Access

HKTA TANG HIN MEMORIAL SECONDARY SCHOOL SECONDARY 3 COMPUTER LITERACY. Name: ( ) Class: Date: Databases and Microsoft Access Databases and Microsoft Access Introduction to Databases A well-designed database enables huge data storage and efficient data retrieval. Term Database Table Record Field Primary key Index Meaning A organized

More information

The Structured Query Language Get Started

The Structured Query Language Get Started The Structured Query Language Get Started Himadri Barman 0. Prerequisites: A database is an organized collection of related data that can easily be retrieved and used. By data, we mean known facts that

More information

Instructor: Craig Duckett. Lecture 03: Tuesday, April 3, 2018 SQL Sorting, Aggregates and Joining Tables

Instructor: Craig Duckett. Lecture 03: Tuesday, April 3, 2018 SQL Sorting, Aggregates and Joining Tables Instructor: Craig Duckett Lecture 03: Tuesday, April 3, 2018 SQL Sorting, Aggregates and Joining Tables 1 Assignment 1 is due LECTURE 5, Tuesday, April 10 th, 2018 in StudentTracker by MIDNIGHT MID-TERM

More information

Meal Magic & PowerSchool

Meal Magic & PowerSchool Meal Magic & PowerSchool Most districts have setup a Template to export data from PowerSchool. Full Pay (P) Reduced (R) Free (F) Nothing reported (2) Reduced (1) Free Lunch status (no status) blank Some

More information

CGS 3066: Spring 2017 SQL Reference

CGS 3066: Spring 2017 SQL Reference CGS 3066: Spring 2017 SQL Reference Can also be used as a study guide. Only covers topics discussed in class. This is by no means a complete guide to SQL. Database accounts are being set up for all students

More information

SQL 2 (The SQL Sequel)

SQL 2 (The SQL Sequel) Lab 5 SQL 2 (The SQL Sequel) Lab Objective: Learn more of the advanced and specialized features of SQL. Database Normalization Normalizing a database is the process of organizing tables and columns to

More information

PowerSchool 7.6 Release Notes PowerSchool Student Information System

PowerSchool 7.6 Release Notes PowerSchool Student Information System PowerSchool Student Information System Released December 2012 Document Owner: Documentation Services This edition applies to Release 7.6 of the PowerSchool software, and to all subsequent releases and

More information

Using SQL with SQL Developer Part I

Using SQL with SQL Developer Part I One Introduction to SQL 2 Definition 3 Usage of SQL 4 What is SQL used for? 5 Who uses SQL? 6 Definition of a Database 7 What is SQL Developer? 8 Two The SQL Developer Interface 9 Introduction 10 Connections

More information

Ten Great Reasons to Learn SAS Software's SQL Procedure

Ten Great Reasons to Learn SAS Software's SQL Procedure Ten Great Reasons to Learn SAS Software's SQL Procedure Kirk Paul Lafler, Software Intelligence Corporation ABSTRACT The SQL Procedure has so many great features for both end-users and programmers. It's

More information

PowerSchool Release Notes PowerSchool Student Information System

PowerSchool Release Notes PowerSchool Student Information System PowerSchool Student Information System Released November 2014 Document Owner: Documentation Services This edition applies to Release 8.1.1 of the PowerSchool software, and to all subsequent releases and

More information

Using SQL with SQL Developer 18.2 Part I

Using SQL with SQL Developer 18.2 Part I One Introduction to SQL 2 - Definition 3 - Usage of SQL 4 - What is SQL used for? 5 - Who uses SQL? 6 - Definition of a Database 7 - What is SQL Developer? 8 Two The SQL Developer Interface 9 - Introduction

More information

WHAT IS SQL. Database query language, which can also: Define structure of data Modify data Specify security constraints

WHAT IS SQL. Database query language, which can also: Define structure of data Modify data Specify security constraints SQL KEREM GURBEY WHAT IS SQL Database query language, which can also: Define structure of data Modify data Specify security constraints DATA DEFINITION Data-definition language (DDL) provides commands

More information

2) SQL includes a data definition language, a data manipulation language, and SQL/Persistent stored modules. Answer: TRUE Diff: 2 Page Ref: 36

2) SQL includes a data definition language, a data manipulation language, and SQL/Persistent stored modules. Answer: TRUE Diff: 2 Page Ref: 36 Database Processing, 12e (Kroenke/Auer) Chapter 2: Introduction to Structured Query Language (SQL) 1) SQL stands for Standard Query Language. Diff: 1 Page Ref: 32 2) SQL includes a data definition language,

More information

SHARING HISTORICAL GRADES EDUCATION TECHNOLOGY SERVICES. Sharing Historical Grades

SHARING HISTORICAL GRADES EDUCATION TECHNOLOGY SERVICES. Sharing Historical Grades EDUCATION TECHNOLOGY SERVICES Sharing Historical Grades Table of Contents SHARING HISTORICAL GRADES...3 Export the Grades...3 IMPORTING HISTORICAL GRADES FROM ANOTHER SCHOOL...7 Modifying the Data...7

More information

Students User Guide. PowerSchool 7.x Student Information System

Students User Guide. PowerSchool 7.x Student Information System PowerSchool 7.x Student Information System Released February 2013 Document Owner: Documentation Services This edition applies to Release 7.6.2 of the PowerSchool software and to all subsequent releases

More information

Querying Data with Transact SQL

Querying Data with Transact SQL Course 20761A: Querying Data with Transact SQL Course details Course Outline Module 1: Introduction to Microsoft SQL Server 2016 This module introduces SQL Server, the versions of SQL Server, including

More information

This course is aimed at those who need to extract information from a relational database system.

This course is aimed at those who need to extract information from a relational database system. (SQL) SQL Server Database Querying Course Description: This course is aimed at those who need to extract information from a relational database system. Although it provides an overview of relational database

More information

T-SQL Training: T-SQL for SQL Server for Developers

T-SQL Training: T-SQL for SQL Server for Developers Duration: 3 days T-SQL Training Overview T-SQL for SQL Server for Developers training teaches developers all the Transact-SQL skills they need to develop queries and views, and manipulate data in a SQL

More information

Students User Guide. PowerSchool 7.x Student Information System

Students User Guide. PowerSchool 7.x Student Information System PowerSchool 7.x Student Information System Released June 2011 Document Owner: Documentation Services This edition applies to Release 7.0 of the PowerSchool software and to all subsequent releases and modifications

More information

Practical 8. SHANKER SINH VAGHELA BAPU INSTITUTE OF TECHNOLGY Subject: - DBMS Branch: - IT/CE Semester: - 3rd. 1. What does SQL stand for?

Practical 8. SHANKER SINH VAGHELA BAPU INSTITUTE OF TECHNOLGY Subject: - DBMS Branch: - IT/CE Semester: - 3rd. 1. What does SQL stand for? Practical 8 1. What does SQL stand for? Structured Query Language Strong Question Language Structured Question Language 2. Which SQL statement is used to extract data from a database? OPEN SELECT GET EXTRACT

More information

Chapter 3: Introduction to SQL

Chapter 3: Introduction to SQL Chapter 3: Introduction to SQL Database System Concepts, 6 th Ed. See www.db-book.com for conditions on re-use Chapter 3: Introduction to SQL Overview of the SQL Query Language Data Definition Basic Query

More information

CSC Web Programming. Introduction to SQL

CSC Web Programming. Introduction to SQL CSC 242 - Web Programming Introduction to SQL SQL Statements Data Definition Language CREATE ALTER DROP Data Manipulation Language INSERT UPDATE DELETE Data Query Language SELECT SQL statements end with

More information

Chapter 7. Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel

Chapter 7. Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel Chapter 7 Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel 1 In this chapter, you will learn: The basic commands

More information

INTRODUCTION TO MYSQL MySQL : It is an Open Source RDBMS Software that uses Structured Query Language. It is available free of cost. Key Features of MySQL : MySQL Data Types: 1. High Speed. 2. Ease of

More information

Learning Unit 2 SQL Revision

Learning Unit 2 SQL Revision 2.1 Introduction exploring IT: Java Programming Grade 12 The Learning Unit revises SQL concepts from Grade 11 by studying SQL statements that can be performed on a single table. We will progress by first

More information

1) Introduction to SQL

1) Introduction to SQL 1) Introduction to SQL a) Database language enables users to: i) Create the database and relation structure; ii) Perform insertion, modification and deletion of data from the relationship; and iii) Perform

More information

SQL functions fit into two broad categories: Data definition language Data manipulation language

SQL functions fit into two broad categories: Data definition language Data manipulation language Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition Chapter 7 Beginning Structured Query Language (SQL) MDM NUR RAZIA BINTI MOHD SURADI 019-3932846 razia@unisel.edu.my

More information

1Z Oracle Database 11g - SQL Fundamentals I Exam Summary Syllabus Questions

1Z Oracle Database 11g - SQL Fundamentals I Exam Summary Syllabus Questions 1Z0-051 Oracle Database 11g - SQL Fundamentals I Exam Summary Syllabus Questions Table of Contents Introduction to 1Z0-051 Exam on Oracle Database 11g - SQL Fundamentals I 2 Oracle 1Z0-051 Certification

More information

Chapter 3: Introduction to SQL. Chapter 3: Introduction to SQL

Chapter 3: Introduction to SQL. Chapter 3: Introduction to SQL Chapter 3: Introduction to SQL Database System Concepts, 6 th Ed. See www.db-book.com for conditions on re-use Chapter 3: Introduction to SQL Overview of The SQL Query Language Data Definition Basic Query

More information

Exam code: Exam name: Database Fundamentals. Version 16.0

Exam code: Exam name: Database Fundamentals. Version 16.0 98-364 Number: 98-364 Passing Score: 800 Time Limit: 120 min File Version: 16.0 Exam code: 98-364 Exam name: Database Fundamentals Version 16.0 98-364 QUESTION 1 You have a table that contains the following

More information

LC10 Mission:DDE. Activity Sheet

LC10 Mission:DDE. Activity Sheet LC10 Mission:DDE Activity Sheet Activity #1: Create an Excel Spreadsheet listing all students receiving Honor Roll for second quarter; Make those students your selection *This only works if you have run

More information

Mobile Web Pages User Guide. PowerSchool 7.x Student Information System

Mobile Web Pages User Guide. PowerSchool 7.x Student Information System PowerSchool 7.x Student Information System Released December 2011 Document Owner: Documentation Services This edition applies to Release 7.1 of the PowerSchool software and to all subsequent releases and

More information

Scheduling in PowerSchool - TroubleShooting Doris Kitts. Session Room Session Time

Scheduling in PowerSchool - TroubleShooting Doris Kitts. Session Room Session Time Scheduling in PowerSchool - TroubleShooting Doris Kitts Session Room Session Time Today. 1) Known problems that occur in PowerScheduler 2) Tips for mass updates 3) Got a question? We have answers Errors

More information

Introduction to Computer Science and Business

Introduction to Computer Science and Business Introduction to Computer Science and Business This is the second portion of the Database Design and Programming with SQL course. In this portion, students implement their database design by creating a

More information

LECTURE 1-2. Introduction and Number Systems

LECTURE 1-2. Introduction and Number Systems LECTURE 1-2 Introduction and Number Systems 1 BASIC INFORMATION Course Code: CSE 115 Course Title: Computing Concepts Course Teacher: Dr. Muhammad Asif H. Khan (Mfs), Associate Professor, Dept. of Computer

More information

Course Outline and Objectives: Database Programming with SQL

Course Outline and Objectives: Database Programming with SQL Introduction to Computer Science and Business Course Outline and Objectives: Database Programming with SQL This is the second portion of the Database Design and Programming with SQL course. In this portion,

More information

Database Lab Lab 6 DML part 3

Database Lab Lab 6 DML part 3 Islamic University of Gaza Faculty of Engineering Department of Computer Engineering Fall 2011 ECOM 4113: Database System Lab Eng. Ahmed Abumarasa Database Lab Lab 6 DML part 3 Data Manipulation Language:

More information

QQ Group

QQ Group QQ Group: 617230453 1 Extended Relational-Algebra-Operations Generalized Projection Aggregate Functions Outer Join 2 Generalized Projection Extends the projection operation by allowing arithmetic functions

More information

Data Structure in PowerSchool. Derrick Smith Mark Hausner

Data Structure in PowerSchool. Derrick Smith Mark Hausner Data Structure in PowerSchool Derrick Smith Mark Hausner Data Structure in PowerSchool This lab introduces the most commonly used data structures in the PowerSchool database, an Oracle relational database.

More information

NCSS: Databases and SQL

NCSS: Databases and SQL NCSS: Databases and SQL Tim Dawborn Lecture 1, January, 2016 Motivation SQLite SELECT WHERE JOIN Tips 2 Outline 1 Motivation 2 SQLite 3 Searching for Data 4 Filtering Results 5 Joining multiple tables

More information

Oracle Login Max Length Table Name 11g Column Varchar2

Oracle Login Max Length Table Name 11g Column Varchar2 Oracle Login Max Length Table Name 11g Column Varchar2 Get max(length(column)) for all columns in an Oracle table tables you are looking at BEGIN -- loop through column names in all_tab_columns for a given

More information

UFCEKG 20 2 : Data, Schemas and Applications

UFCEKG 20 2 : Data, Schemas and Applications Lecture 11 UFCEKG 20 2 : Data, Schemas and Applications Lecture 11 Database Theory & Practice (5) : Introduction to the Structured Query Language (SQL) Origins & history Early 1970 s IBM develops Sequel

More information

Exact Numeric Data Types

Exact Numeric Data Types SQL Server Notes for FYP SQL data type is an attribute that specifies type of data of any object. Each column, variable and expression has related data type in SQL. You would use these data types while

More information

XQ: An XML Query Language Language Reference Manual

XQ: An XML Query Language Language Reference Manual XQ: An XML Query Language Language Reference Manual Kin Ng kn2006@columbia.edu 1. Introduction XQ is a query language for XML documents. This language enables programmers to express queries in a few simple

More information

Process Document Defining Expressions. Defining Expressions. Concept

Process Document Defining Expressions. Defining Expressions. Concept Concept Expressions are calculations that PeopleSoft Query performs as part of a query. Use them when you must calculate a value that PeopleSoft Query does not provide by default (for example, to add the

More information

1. SQL definition SQL is a declarative query language 2. Components DRL: Data Retrieval Language DML: Data Manipulation Language DDL: Data Definition

1. SQL definition SQL is a declarative query language 2. Components DRL: Data Retrieval Language DML: Data Manipulation Language DDL: Data Definition SQL Summary Definitions iti 1. SQL definition SQL is a declarative query language 2. Components DRL: Data Retrieval Language DML: Data Manipulation Language g DDL: Data Definition Language DCL: Data Control

More information

Using DDA. Trainer Name Trainer/Consultant. PowerSchool University 2012

Using DDA. Trainer Name Trainer/Consultant. PowerSchool University 2012 Using DDA Trainer Name Trainer/Consultant PowerSchool University 2012 Agenda Welcome and Introductions Getting Started Understanding the PowerSchool Database Structure Searching for Data Modifying Records

More information

Jarek Szlichta

Jarek Szlichta Jarek Szlichta http://data.science.uoit.ca/ SQL is a standard language for accessing and manipulating databases What is SQL? SQL stands for Structured Query Language SQL lets you gain access and control

More information

DDA/DDE. Database. Direct Database Export (DDE) 7/30/10

DDA/DDE. Database. Direct Database Export (DDE) 7/30/10 DDA/DDE PowerSchool Database PowerSchool data is stored in a relational database of tables. Each table contains an unlimited number of fields. When you use DDA or DDE, you directly access a table in the

More information

Index. Bitmap Heap Scan, 156 Bitmap Index Scan, 156. Rahul Batra 2018 R. Batra, SQL Primer,

Index. Bitmap Heap Scan, 156 Bitmap Index Scan, 156. Rahul Batra 2018 R. Batra, SQL Primer, A Access control, 165 granting privileges to users general syntax, GRANT, 170 multiple privileges, 171 PostgreSQL, 166 169 relational databases, 165 REVOKE command, 172 173 SQLite, 166 Aggregate functions

More information

COMP 244 DATABASE CONCEPTS & APPLICATIONS

COMP 244 DATABASE CONCEPTS & APPLICATIONS COMP 244 DATABASE CONCEPTS & APPLICATIONS Querying Relational Data 1 Querying Relational Data A query is a question about the data and the answer is a new relation containing the result. SQL is the most

More information

PowerSchool Release Notes PowerSchool Student Information System

PowerSchool Release Notes PowerSchool Student Information System PowerSchool Student Information System Released April 2014 Document Owner: Documentation Services This edition applies to Release 7.11.1 of the PowerSchool software, and to all subsequent releases and

More information

Access 2013: Intermediate to advanced queries

Access 2013: Intermediate to advanced queries Access 2013: Intermediate to advanced queries Practical workbook Aims and Learning Objectives This document shows you how to do things with queries that take you slightly beyond the norm. It is not supposed

More information

SSID User Guide and Policy

SSID User Guide and Policy OSPI SSID User Guide and Policy Using the Comprehensive Education Data and Research System to obtain State Student Identifiers Customer Support September 2017 Table of Contents Introduction... 3 Using

More information

Oracle Database 11g: SQL and PL/SQL Fundamentals

Oracle Database 11g: SQL and PL/SQL Fundamentals Oracle University Contact Us: +33 (0) 1 57 60 20 81 Oracle Database 11g: SQL and PL/SQL Fundamentals Duration: 5 Days What you will learn In this course, students learn the fundamentals of SQL and PL/SQL

More information

Database Management Systems,

Database Management Systems, Database Management Systems SQL Query Language (1) 1 Topics Introduction SQL History Domain Definition Elementary Domains User-defined Domains Creating Tables Constraint Definition INSERT Query SELECT

More information

Report Card. Management Technology Helpdesk

Report Card. Management Technology Helpdesk Management Technology Helpdesk May 2015 Contents Report Card...3 Log In... 3 Select a School... 3 Students... 4 Settings... 4 Format... 5 Sort/Select... 5 Content... 6 GPA... 6 Legend... 6 Marks.7 PowerSchool

More information

Name: Class: Date: Access Module 2

Name: Class: Date: Access Module 2 1. To create a new query in Design view, click CREATE on the ribbon to display the CREATE tab and then click the button to create a new query. a. Query b. Design View c. Query Design d. Select Query ANSWER:

More information

CS 327E Class 3. February 11, 2019

CS 327E Class 3. February 11, 2019 CS 327E Class 3 February 11, 2019 1) A join is used to concatenate rows from two tables that are related via referential integrity. For example, joining T and U on T.b and U.b produces V when projecting

More information

COMP 430 Intro. to Database Systems

COMP 430 Intro. to Database Systems COMP 430 Intro. to Database Systems Multi-table SQL Get clickers today! Slides use ideas from Chris Ré and Chris Jermaine. The need for multiple tables Using a single table leads to repeating data Provides

More information

Computing for Medicine (C4M) Seminar 3: Databases. Michelle Craig Associate Professor, Teaching Stream

Computing for Medicine (C4M) Seminar 3: Databases. Michelle Craig Associate Professor, Teaching Stream Computing for Medicine (C4M) Seminar 3: Databases Michelle Craig Associate Professor, Teaching Stream mcraig@cs.toronto.edu Relational Model The relational model is based on the concept of a relation or

More information

You can write a command to retrieve specified columns and all rows from a table, as illustrated

You can write a command to retrieve specified columns and all rows from a table, as illustrated CHAPTER 4 S I N G L E - TA BL E QUERIES LEARNING OBJECTIVES Objectives Retrieve data from a database using SQL commands Use simple and compound conditions in queries Use the BETWEEN, LIKE, and IN operators

More information

Microsoft Access Illustrated. Unit B: Building and Using Queries

Microsoft Access Illustrated. Unit B: Building and Using Queries Microsoft Access 2010- Illustrated Unit B: Building and Using Queries Objectives Use the Query Wizard Work with data in a query Use Query Design View Sort and find data (continued) Microsoft Office 2010-Illustrated

More information

Microsoft Access XP Queries. Student Manual

Microsoft Access XP Queries. Student Manual Microsoft Access XP Queries Student Manual Duplication is prohibited without the written consent of The Abreon Group. Foster Plaza 10 680 Andersen Drive Suite 500 Pittsburgh, PA 15220 412.539.1800 800.338.5185

More information

Databases (MariaDB/MySQL) CS401, Fall 2015

Databases (MariaDB/MySQL) CS401, Fall 2015 Databases (MariaDB/MySQL) CS401, Fall 2015 Database Basics Relational Database Method of structuring data as tables associated to each other by shared attributes. Tables (kind of like a Java class) have

More information

Microsoft Office Illustrated Introductory, Building and Using Queries

Microsoft Office Illustrated Introductory, Building and Using Queries Microsoft Office 2007- Illustrated Introductory, Building and Using Queries Creating a Query A query allows you to ask for only the information you want vs. navigating through all the fields and records

More information

COGS 121 HCI Programming Studio. Week 03 - Tech Lecture

COGS 121 HCI Programming Studio. Week 03 - Tech Lecture COGS 121 HCI Programming Studio Week 03 - Tech Lecture Housekeeping Assignment #1 extended to Monday night 11:59pm Assignment #2 to be released on Tuesday during lecture Database Management Systems and

More information

Applied Databases. Sebastian Maneth. Lecture 7 Simple SQL Queries. University of Edinburgh - February 1 st, 2016

Applied Databases. Sebastian Maneth. Lecture 7 Simple SQL Queries. University of Edinburgh - February 1 st, 2016 Applied Databases Lecture 7 Simple SQL Queries Sebastian Maneth University of Edinburgh - February 1 st, 2016 Outline 2 1. Structured Querying Language (SQL) 2. Creating Tables 3. Simple SQL queries SQL

More information

Unit 27 Web Server Scripting Extended Diploma in ICT

Unit 27 Web Server Scripting Extended Diploma in ICT Unit 27 Web Server Scripting Extended Diploma in ICT Dynamic Web pages Having created a few web pages with dynamic content (Browser information) we now need to create dynamic pages with information from

More information

INTERMEDIATE SQL GOING BEYOND THE SELECT. Created by Brian Duffey

INTERMEDIATE SQL GOING BEYOND THE SELECT. Created by Brian Duffey INTERMEDIATE SQL GOING BEYOND THE SELECT Created by Brian Duffey WHO I AM Brian Duffey 3 years consultant at michaels, ross, and cole 9+ years SQL user What have I used SQL for? ROADMAP Introduction 1.

More information

STOP DROWNING IN DATA. START MAKING SENSE! An Introduction To SQLite Databases. (Data for this tutorial at

STOP DROWNING IN DATA. START MAKING SENSE! An Introduction To SQLite Databases. (Data for this tutorial at STOP DROWNING IN DATA. START MAKING SENSE! Or An Introduction To SQLite Databases (Data for this tutorial at www.peteraldhous.com/data) You may have previously used spreadsheets to organize and analyze

More information

Data Manipulation Language (DML)

Data Manipulation Language (DML) In the name of Allah Islamic University of Gaza Faculty of Engineering Computer Engineering Department ECOM 4113 DataBase Lab Lab # 3 Data Manipulation Language (DML) El-masry 2013 Objective To be familiar

More information

Prior to finalizing grades at the end of each term, schools can turn off Parent Access to student Grades

Prior to finalizing grades at the end of each term, schools can turn off Parent Access to student Grades POWERSCHOOL TIP TURNING PARENT ACCESS OFF/ON 2013-2014 SY TURNING PARENT ACCESS OFF/ON Prior to finalizing grades at the end of each term, schools can turn off Parent Access to student Grades There are

More information

Database Foundations. 6-1 Introduction to Oracle Application Express. Copyright 2015, Oracle and/or its affiliates. All rights reserved.

Database Foundations. 6-1 Introduction to Oracle Application Express. Copyright 2015, Oracle and/or its affiliates. All rights reserved. Database Foundations 6-1 Introduction to Oracle Application Express Roadmap Introduction to Oracle Application Express You are here Structured Query Language (SQL) Data Definition Language (DDL) Data Manipulation

More information

Relational Algebra for sets Introduction to relational algebra for bags

Relational Algebra for sets Introduction to relational algebra for bags Relational Algebra for sets Introduction to relational algebra for bags Thursday, September 27, 2012 1 1 Terminology for Relational Databases Slide repeated from Lecture 1... Account Number Owner Balance

More information

3/3/2008. Announcements. A Table with a View (continued) Fields (Attributes) and Primary Keys. Video. Keys Primary & Foreign Primary/Foreign Key

3/3/2008. Announcements. A Table with a View (continued) Fields (Attributes) and Primary Keys. Video. Keys Primary & Foreign Primary/Foreign Key Announcements Quiz will cover chapter 16 in Fluency Nothing in QuickStart Read Chapter 17 for Wednesday Project 3 3A due Friday before 11pm 3B due Monday, March 17 before 11pm A Table with a View (continued)

More information

Applied Databases. Sebastian Maneth. Lecture 7 Simple SQL Queries. University of Edinburgh - February 6 st, 2017

Applied Databases. Sebastian Maneth. Lecture 7 Simple SQL Queries. University of Edinburgh - February 6 st, 2017 Applied Databases Lecture 7 Simple SQL Queries Sebastian Maneth University of Edinburgh - February 6 st, 2017 Outline 2 1. Structured Querying Language (SQL) 2. Creating Tables 3. Simple SQL queries SQL

More information