Arena SQL: Query Attendance History Addendum
|
|
- Lynne Norris
- 6 years ago
- Views:
Transcription
1 Arena SQL: Query Attendance History Addendum (Course #A252) Presented by Tim Wilson Arena Software Developer 2017 Shelby Systems, Inc. Other brand and product names are trademarks or registered trademarks of the respective holders.
2 Terminology Cluster term for any branch of a group tree above the level of an individual group. Group either (a) the bottom level of a group tree into which attendees are enrolled, or (b) a term synonymous with attendance type category, a named collection of occurrence types; every occurrence type is a member of one and only one group. Occurrence Type synonymous with attendance type, a set of preferences and parameters that determine who checks in under the specific type. Occurrence an individual meeting of an occurrence type. Profile synonymous with tag. Template synonymous with frequency, a named set of preferences that controls how often an associated occurrence type occurs.
3 Tables core_occurrence_type_group one row per occurrence type Column Name Data Type Notes group_id Int primary key; uniquely identifies one collection of occurrence types organization_id Int foreign key; joins to orgn_organization group_name varchar(100) name of the collection of occurrence types report_start report_end min_age max_age min_grade max_grade datetime datetime Int Int Int Int date_created datetime date and time the collection is created created_by varchar(50) user name logged in when the collection is created date_modified datetime date and time of the last change to the collection information modified_by varchar(50) user name logged in when the collection is last changed 3
4 core_occurrence_type one row per occurrence type Column Name Data Type Notes occurrence_type_id int primary key; uniquely identifies one set of preferences and parameters for checkin organization_id int foreign key: joins to orgn_organization.organization_id group_id int foreign key: joins to core_occurrence_type_group.group_id sync_with_profile int foreign key: joins to core_profile.profile_id sync_with_cluster int foreign key: joins to smgp_group_cluster.group_cluster_id_ sync_with_group int foreign key: joins to smgp_group.group_id profile_source_luid int foreign key: joins to core_lookup.lookup_id profile_status_luid int foreign key: joins to core_lookup.lookup_id theme_id int foreign key: joins to comp_theme.theme_id type_order int sorting position in on screen list of occurrence types type_name varchar(50) name of the occurrence type active bit 1 = active, 0 = inactive min_age decimal(10,3) minimum age, to three decimal places; = no age restriction max_age decimal(10,3) maximum age, to three decimal places; = no age restriction age_range_text varchar(50) user supplied description of age range min_grade int 1 for no restriction, 0 for kindergarten, or 1 through 12 max_grade int 1 for no restriction, 0 for kindergarten, or 1 through 12 min_birth_date datetime minimum date of birth; 1/1/1900 = no restriction max_birth_date datetime maximum date of birth; 1/1/1900 = no restriction location_specific_occurrences bit 1 = yes, 0 = no is_service bit 1 = weekend service, 0 = not weekend service 4
5 core_occurrence_type merge_days int 1 = do not merge, or 0 (Sunday) through 6 (Saturday) to merge all occurrences on that day membership_required bit 1 = yes, 0 = no secured bit 1 = checkin allowed only at non centralized kiosks, 0 = checkin allowed at any kiosk gender_preference int 0 = male, 1 = female, 2 = no preference pager_required bit 1= yes, 0 = no use_room_ratios bit 1 = yes, 0 = no people_per_leader int number of non leader attendees who can check into a particular location per each leader who has checked in to that same location min_leaders int minimum number of leaders required to check into a location before any non leaders can check into that same location date_created datetime date and time the collection is created created_by varchar(50) user name logged in when the collection is created date_modified datetime date and time of the last change to the collection information modified_by varchar(50) user name logged in when the collection is last changed schema_file_path varchar(1000) unused photo_confirmation bit unused use_altid_for_family bit unused checkout_required bit unused allow_unknown_age bit unused core_occurrence_type_leader one row per tag/attendance type relationship (many to many table) Column Name Data Type Notes occurrence_type_id int foreign key; joins to core_occurrence_type.occurrence_type_id profile_id int foreign key: joins to core_profile.profile_id 5
6 core_occurrence_type_template one row per frequency plus one row per frequency/occurrence type relationship Column Name Data Type Notes occurrence_type_template_id int primary key; uniquely identifies one row group_id int foreign key: joins to core_occurrence_type_group.group_id or is null for individual occurrence type rows occurrence_type_id int foreign key; joins to core_occurrence_type.occurrence_type_id or is null for parent template rows parent_template_id int self reference key: joins to occurrence_type_template_id for parent of current row or is null for the top parent row inherit bit 0 for parent rows, 0 for frequency assignments that are overridden, 1 for shared schedule_name varchar(50) frequency name occurrence_freq_type int 0 for daily, 1 for weekly, 2 for monthly, 3 for one time occurrence freq_qualifier varchar(50) When occurrence_freq_type = 1, then a value 0 (Sunday) through 6 (Saturday) for the day of the week; when occurrence_freq_type = 2, then a value 1 to 31 for the day of the month; when occurrence_freq_type = 3, then the date of the occurrence in m/d/yyyy format. start_time datetime time the occurrence begins (date is 1/1/1900) end_time datetime time the occurrence ends (date is 1/1/1900) check_in_start datetime time check in begins (date is 1/1/1900) check_in_end datetime time check in ends (date is 1/1/1900) date_created datetime date and time the collection is created created_by varchar(50) user name logged in when the collection is created date_modified datetime date and time of the last change to the collection information modified_by varchar(50) user name logged in when the collection is last changed 6
7 core_occurrence one row per occurrence of each occurrence type Column Name Data Type Notes occurrence_id int primary key; uniquely identifies one occurrence organization_id int foreign key; joins to orgn_organization.organization_id occurrence_type int foreign key: joins to core_occurrence_type.occurrence_type_id location_id int foreign key: joins to orgn_location.location_id area_id int foreign key: joins to core_area.area_id occurrence_type_template_id int foreign key: joins to core_occurrence_type_template. occurrence_type_template_id occurrence_name varchar(50) name of the occurrence location varchar(200) any value, not tied to location_id value occurrence_start_time datetime date and time the occurrence begins occurrence_end_time datetime date and time the occurrence ends check_in_start datetime date and time checkin begins check_in_end datetime date and time checkin ends membership_required bit 0 = no, 1 = yes occurrence_closed bit 0 = not, 1 = yes head_count int 0 = use checked in count for reporting occurrence_description varchar(1000) notes about the occurrence date_created datetime date and time the collection is created created_by varchar(50) user name logged in when the collection is created date_modified datetime date and time of the last change to the collection information modified_by varchar(50) user name logged in when the collection is last changed location_address_id int unused foreign_key int unused 7
8 core_occurrence_attendance one row per checkin Column Name Data Type Notes occurrence_attenance_id int primary key; uniquely identifies one checkin occurrence_id int foreign key; joins to core_occurrence.occurrence_id person_id int foreign key; joins to core_person.person_id session_id int foreign key: joins to chkn_session.session_id attended bit 0 = no, 1 = yes (0 values come imported data only; Arena does not capture absences explicitly) security_code varchar(8) validation code for receipts check_in_time datetime date and time of the checkin event check_out_time datetime date and time of the checkout event (1/1/1900 for no check out) pager varchar(50) pager identification type tinyint notes varchar(200) core_profile_occurrence one row per occurrence associated with a tag Column Name Data Type Notes occurrence_id int foreign key: joins to core_occurrence.occurrence_id profile_id int foreign key; joins to core_profile.profile_id smgp_group_occurrence one row per occurrence associated with a group Column Name Data Type Notes occurrence_id int foreign key: joins to core_occurrence.occurrence_id group_id int foreign key; joins to smgp_group.group_id 8
9 Connecting Attendance History to Groups In the following discussion groups has the generic meaning of any collection of people, whether tracked as an actual group or as a set of people associated with a tag. WARNING: The queries presented here are not filtered by date range or by any other factor. As a result these queries could run for several minutes even up to an hour or more on your home systems. In real world applications, it is often necessary to add date filters and other restrictions prior to executing the query in order to ensure a reasonable amount of time for the query to run. When you query attendance data, there are often two overlapping but distinct sets of people associated with any group: the set of enrollees within the group and the set of attendees of the group. These are closely related; but because attendance and enrollment patterns change within any group over time, there are sometimes enrollees who do not have any attendance for a set time period, and there are attendees who are no longer enrolled. Some queries focus on only one set of names or the other, but some solutions require data about both sets of names. The best table to start with is smgp_group_occurrence because it is essentially a list of every group (by group_id) that has at least one occurrence associated with it and also every occurrence (by occurrence_id) associated with a group. To this list you can add every attendee who has attended each occurrence of any group by using the core_occurrence_attendance table in this way: groups_to_occurrences.group_id, groups_to_occurrences.occurrence_id, attendees.person_id smgp_group_occurrence as groups_to_occurrences left join core_occurrence_attendance as attendees on groups_to_occurrences.occurrence_id = attendees.occurrence_id and attendees.attended = 1 9
10 Finding all the members of a group for any given occurrence is a little trickier because the query must take into account the beginning and ending dates of each person s enrollment in the group. In addition, the leader of any group (the one assigned directly in the group setup information, not added as an enrollee) does not have a beginning or ending date value with which to work. Thus the leader is assumed to be a full member of the group for every occurrence. Here is the query to find all members of the group for each occurrence: groups_to_occurrences.group_id, groups_to_occurrences.occurrence_id, members.person_id smgp_group_occurrence as groups_to_occurrences inner join core_occurrence as occurrences on groups_to_occurrences.occurrence_id = occurrences.occurrence_id inner join smgp_member as members on groups_to_occurrences.group_id = members.group_id where occurrences.occurrence_start_time >= coalesce(members.date_joined, '1/1/1900') and occurrences.occurrence_start_time < dateadd(day, 1, coalesce(members.date_inactive, '12/30/9999')) union groups_to_occurrences.group_id, groups_to_occurrences.occurrence_id, groups.leader_person_id smgp_group_occurrence as groups_to_occurrences inner join smgp_group as groups on groups_to_occurrences.group_id = groups.group_id where groups.leader_person_id > 0 Once you have both lists you can join one to the other in order to compare the two lists and determine, for each group and each occurrence of that group, whether a given individual is a member of the group or not and whether that individual attended or not. The following query uses the two queries above as common table expressions and then uses a full join to bring the rows together in such a way as to make the comparison possible: 10
11 with group_enrollees as ( groups_to_occurrences.group_id, groups_to_occurrences.occurrence_id, members.person_id smgp_group_occurrence as groups_to_occurrences inner join core_occurrence as occurrences on groups_to_occurrences.occurrence_id = occurrences.occurrence_id inner join smgp_member as members on groups_to_occurrences.group_id = members.group_id where occurrences.occurrence_start_time >= coalesce(members.date_joined, '1/1/1900') and occurrences.occurrence_start_time < dateadd(day, 1, coalesce(members.date_inactive, '12/30/9999')) union groups_to_occurrences.group_id, groups_to_occurrences.occurrence_id, groups.leader_person_id smgp_group_occurrence as groups_to_occurrences inner join smgp_group as groups on groups_to_occurrences.group_id = groups.group_id where groups.leader_person_id > 0), group_attendees as ( groups_to_occurrences.group_id, groups_to_occurrences.occurrence_id, attendees.person_id smgp_group_occurrence as groups_to_occurrences left join core_occurrence_attendance as attendees on groups_to_occurrences.occurrence_id = attendees.occurrence_id and attendees.attended = 1) group_id = isnull(e.group_id, a.group_id), occurrence_id = isnull(e.occurrence_id, a.occurrence_id), person_id = isnull(e.person_id, a.person_id), member = case when e.person_id is null then 0 else 1 end, attended = case when a.person_id is null then 0 else 1 end group_enrollees e full join group_attendees a on e.group_id = a.group_id and e.occurrence_id = a.occurrence_id and e.person_id = a.person_id This query is essentially a comprehensive all group attendance history view showing every potential attendee of every group/occurrence event and whether that person attended or not. By further joining this view to the smgp_group, core_occurrence, and core_person tables (or any combination that suits your purposes), you can flesh out just about any attendance history query solution you might need for your groups. 11
12 Connecting Attendance History to Tags The same basic approach applies to tags; just substitute profile for group in the table names and append the tag owners along with the regular tag membership. with enrollees as ( tags_to_occurrences.profile_id, tags_to_occurrences.occurrence_id, members.person_id core_profile_occurrence as tags_to_occurrences inner join core_occurrence as occurrences on tags_to_occurrences.occurrence_id = occurrences.occurrence_id inner join core_profile_member as members on tags_to_occurrences.profile_id = members.profile_id where occurrences.occurrence_start_time >= coalesce(members.date_active, '1/1/1900') and occurrences.occurrence_start_time < case when datediff(day, members.date_dormant, '12/31/9999') = 0 then members.date_dormant else dateadd(day, 1, coalesce(members.date_dormant, '12/30/9999')) end union tags_to_occurrences.profile_id, tags_to_occurrences.occurrence_id, tags.owner_id core_profile_occurrence as tags_to_occurrences inner join core_profile as tags on tags_to_occurrences.profile_id = tags.profile_id where tags.owner_id > 0), attendees as ( tags_to_occurrences.profile_id, tags_to_occurrences.occurrence_id, attendees.person_id core_profile_occurrence as tags_to_occurrences inner join core_occurrence_attendance as attendees on tags_to_occurrences.occurrence_id = attendees.occurrence_id and attendees.attended = 1) profile_id = isnull(e.profile_id, a.profile_id), occurrence_id = isnull(e.occurrence_id, a.occurrence_id), person_id = isnull(e.person_id, a.person_id), member = case when e.person_id is null then 0 else 1 end, attended = case when a.person_id is null then 0 else 1 end enrollees e full join attendees a on e.profile_id = a.profile_id and Oe.occurrence_id = a.occurrence_id and e.person_id = a.person_id 12
13 Check In Only Attendance What about attendance taken that is not associated with a tag or a group? I call this check in only attendance, and the only way to isolate those check in items the other two types is to use smgp_group_occurrence and core_profile_occurrence as filters on the attendance history in core_occurrence_attendance. In short, whatever is neither a group check in nor a tag check in must be a check in only check in. Here is how that works: occurrence_type_id = check_in_events.occurrence_type, check_in_attendees.occurrence_id, check_in_attendees.person_id core_occurrence as check_in_events inner join core_occurrence_attendance check_in_attendees on check_in_events.occurrence_id = check_in_attendees.occurrence_id where not exists ( * smgp_group_occurrence where occurrence_id = check_in_attendees.occurrence_id) and not exists ( * core_profile_occurrence where occurrence_id = check_in_attendees.occurrence_id) Notice that this does not account for enrollees, who would essentailly be people who fit the criteria for checking in but who did not check in. Such a list of names is possible to compile in a query result, but the query logic for arriving at that list is complex and beyond the scope of the presentation for today. Notice also that in this case the occurrence type is standing in for the group or tag as the identification for the group into which the attendees checked in. 13
14 Calculate Attendance Totals Per Occurrence or Per Day The following query generates a list of occurrences along with the meeting date, meeting time, and attendance count for the meeting. It is a good example of how to report on all occurrences in one set of results while also being able to distinguish between group, tag, and check in only events. The generic term leaf_id is the column name for the id that could be a profile_id, group_id, or occurrence_type_id value. Why leaf? Because no matter what type of occurrence, it is part of a hierarchical tree structure with one or more branches above it, and at the end of those branches is the leaf into which people are enrolled and/or checked in. Companion queries that identify the branches are made to dovetail with a query like this to make reporting possible on any branch or leaf node of the tree. leaf_type = case when max(groups.group_id) is not null then 'Group' when max(tags.profile_id) is not null then 'Tag' else 'Check In Only' end, leaf_id = max(coalesce(groups.group_id, tags.profile_id, occurrence_types.occurrence_type_id)), leaf_name = max(coalesce(groups.group_name, tags.profile_name, occurrence_types.type_name)), meeting_date = convert(varchar(10), occurrences.occurrence_start_time, 101), meeting_time = max(replace(replace(right(convert(varchar(20), occurrences.occurrence_start_time, 0), 7), 'AM', ' AM'), 'PM', ' PM')), attendance_count = count(distinct attendees.person_id) core_occurrence as occurrences inner join core_occurrence_type occurrence_types on occurrences.occurrence_type = occurrence_types.occurrence_type_id left join core_occurrence_attendance as attendees on occurrences.occurrence_id = attendees.occurrence_id and attendees.attended = 1 left join core_profile_occurrence as occurrences_to_tags on occurrences.occurrence_id = occurrences_to_tags.occurrence_id left join core_profile as tags on occurrences_to_tags.profile_id = tags.profile_id left join smgp_group_occurrence as occurrences_to_groups on occurrences.occurrence_id = occurrences_to_groups.occurrence_id left join smgp_group as groups on occurrences_to_groups.group_id = groups.group_id group by occurrences.occurrence_type, occurrences.occurrence_id, convert(varchar(10), occurrences.occurrence_start_time, 101) The query above reports on attendance per occurrence, but the variation on the next page combines all same day occurrences of the same occurrence type into one row, giving a count of attendees for the entire day. Note that the counting function counts distinct person_id values, meaning multiple check ins by the same person are all counted as one. 14
15 The only difference between the next query and the last one is that the meeting_time column is removed the SELECT clause and the occurrences.occurrence_id column is removed the GROUP BY clause. leaf_type = case when max(groups.group_id) is not null then 'Group' when max(tags.profile_id) is not null then 'Tag' else 'Check In Only' end, leaf_id = max(coalesce(groups.group_id, tags.profile_id, occurrence_types.occurrence_type_id)), leaf_name = max(coalesce(groups.group_name, tags.profile_name, occurrence_types.type_name)), meeting_date = convert(varchar(10), occurrences.occurrence_start_time, 101), attendance_count = count(distinct attendees.person_id) core_occurrence as occurrences inner join core_occurrence_type occurrence_types on occurrences.occurrence_type = occurrence_types.occurrence_type_id left join core_occurrence_attendance as attendees on occurrences.occurrence_id = attendees.occurrence_id and attendees.attended = 1 left join core_profile_occurrence as occurrences_to_tags on occurrences.occurrence_id = occurrences_to_tags.occurrence_id left join core_profile as tags on occurrences_to_tags.profile_id = tags.profile_id left join smgp_group_occurrence as occurrences_to_groups on occurrences.occurrence_id = occurrences_to_groups.occurrence_id left join smgp_group as groups on occurrences_to_groups.group_id = groups.group_id group by occurrences.occurrence_type, convert(varchar(10), occurrences.occurrence_start_time, 101) 15
16 Calculating Percentage Attended Per Attendee In this last example you calculate a percentage of times attended for a given date range. The solution presented here assumes that the first date of attendance for a given person for a given occurrence_type_id value represents the first time he or she could possibly attend, so it disregards earlier dates when calculating the percentage for that person. The query solution below counts the times a person attends within a date range and then uses a subquery to count the number of meetings held during the date range. If the individual s first date of attendance falls within the date range, subquery only counts the number of meetings on or after the first date of attendance. as as datetime; = '1/1/2015'; = '3/31/2015'; occurrences.occurrence_type, attendance.person_id, first_attended_date = min(occurrences.occurrence_start_time), attended_count = count(distinct case when occurrence_start_time then convert(varchar(10), occurrence_start_time, 101) end), meetings_count = ( count(distinct convert(varchar(10), occurrence_start_time, 101)) core_occurrence c where c.occurrence_type = occurrences.occurrence_type and c.occurrence_start_time between case when min(occurrences.occurrence_start_time) then min(occurrences.occurrence_start_time) end attended_percent = case when ( count(distinct convert(varchar(10), occurrence_start_time, 101)) core_occurrence c where c.occurrence_type = occurrences.occurrence_type and c.occurrence_start_time between case when min(occurrences.occurrence_start_time) then min(occurrences.occurrence_start_time) end > 0 then cast(count(distinct case when occurrence_start_time then convert(varchar(10), occurrence_start_time, 101) end) as decimal) / ( count(distinct convert(varchar(10), occurrence_start_time, 101)) core_occurrence c where c.occurrence_type = occurrences.occurrence_type and c.occurrence_start_time between case when min(occurrences.occurrence_start_time) then min(occurrences.occurrence_start_time) end end core_occurrence_attendance as attendance inner join core_occurrence as occurrences on attendance.occurrence_id = occurrences.occurrence_id where attendance.attended = 1 group by occurrences.occurrence_type, attendance.person_id 16
Arena SQL: Query Attendance History Course #A252
Arena SQL: Query Attendance History Course #A252 Presented by: Tim Wilson Shelby Arena Software Developer 2018 Shelby Systems, Inc. Other brand and product names are trademarks or registered trademarks
More informationArena SQL: Query Groups & Tags Hierarchies Addendum (Course # A253)
Arena SQL: Query Groups & Tags Hierarchies Addendum (Course # A253) Presented by: Tim Wilson Arena Software Developer Terminology Cluster term for any branch of a group tree above the level of an individual
More informationArena Dashboard Part 1: Querying Tags & Groups
Arena Dashboard Part 1: Querying Tags & Groups (Course A20) Presented by: Alex Nicoletti, Arena Product & Implementations Manager And Arnold Wheatley, Shelby Contract Trainer 2017 Shelby Systems, Inc.
More informationArena Administrators: HTML and SQL (Course #A247)
Arena Administrators: HTML and SQL (Course #A247) Presented by: Erik Peterson Bethany Baptist Church 2017 Shelby Systems, Inc. Other brand and product names are trademarks or registered trademarks of the
More information2017 Shelby Systems, Inc. Other brand and product names are trademarks or registered trademarks of the respective holders.
2017 Shelby Systems, Inc. Other brand and product names are trademarks or registered trademarks of the respective holders. The following topics are presented in this session: Database naming conventions
More informationArena Administrator: HTML & SQL Course #A244
Arena Administrator: HTML & SQL Course #A244 Presented by: Arnold Wheatley Shelby Contract Trainer 2018 Shelby Systems, Inc. Other brand and product names are trademarks or registered trademarks of the
More information20761 Querying Data with Transact SQL
Course Overview The main purpose of this course is to give students a good understanding of the Transact-SQL language which is used by all SQL Server-related disciplines; namely, Database Administration,
More informationSession Administration System
Session Administration System New User s Guide 2004-2010 Elluminate, Inc. All Rights Reserved. 16 April 2010 No part of this document may be reproduced or transmitted in any form by any means, electronic
More informationINTERMEDIATE 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 informationInterview Questions on DBMS and SQL [Compiled by M V Kamal, Associate Professor, CSE Dept]
Interview Questions on DBMS and SQL [Compiled by M V Kamal, Associate Professor, CSE Dept] 1. What is DBMS? A Database Management System (DBMS) is a program that controls creation, maintenance and use
More informationConstraints. Primary Key Foreign Key General table constraints Domain constraints Assertions Triggers. John Edgar 2
CMPT 354 Constraints Primary Key Foreign Key General table constraints Domain constraints Assertions Triggers John Edgar 2 firstname type balance city customerid lastname accnumber rate branchname phone
More informationLanguage. f SQL. Larry Rockoff COURSE TECHNOLOGY. Kingdom United States. Course Technology PTR. A part ofcenqaqe Learninq
Language f SQL Larry Rockoff Course Technology PTR A part ofcenqaqe Learninq *, COURSE TECHNOLOGY!» CENGAGE Learning- Australia Brazil Japan Korea Mexico Singapore Spain United Kingdom United States '
More informationDatabase Management System Dr. S. Srinath Department of Computer Science & Engineering Indian Institute of Technology, Madras Lecture No.
Database Management System Dr. S. Srinath Department of Computer Science & Engineering Indian Institute of Technology, Madras Lecture No. # 5 Structured Query Language Hello and greetings. In the ongoing
More informationAfter completing this course, participants will be able to:
Querying SQL Server T h i s f i v e - d a y i n s t r u c t o r - l e d c o u r s e p r o v i d e s p a r t i c i p a n t s w i t h t h e t e c h n i c a l s k i l l s r e q u i r e d t o w r i t e b a
More informationOracle Syllabus Course code-r10605 SQL
Oracle Syllabus Course code-r10605 SQL Writing Basic SQL SELECT Statements Basic SELECT Statement Selecting All Columns Selecting Specific Columns Writing SQL Statements Column Heading Defaults Arithmetic
More informationEclipse Scheduler and Messaging. Release (Eterm)
Eclipse Scheduler and Messaging Release 8.6.2 (Eterm) Legal Notices 2007 Activant Solutions Inc. All rights reserved. Unauthorized reproduction is a violation of applicable laws. Activant and the Activant
More information**/ /** WHIO information at
/********************************************************************************** ************************************************* /** Calculating Proportion of Days Covered PDC, a measure of prescription
More informationQuerying 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 information5. Single-row function
1. 2. Introduction Oracle 11g Oracle 11g Application Server Oracle database Relational and Object Relational Database Management system Oracle internet platform System Development Life cycle 3. Writing
More informationShelbyNext Membership: Check-In Configuration
ShelbyNext Membership: Check-In Configuration (Course #M113) Presented by: Lisa Horn, Shelby Consultant 2018 Shelby Systems, Inc. Other brand and product names are trademarks or registered trademarks of
More informationMeet-Me Conferencing Quick Reference Guide MEET-ME CONFERENCING. Create Conferences
MEET-ME CONFERENCING Create Conferences Access You have access to Conferencing features if you have been assigned to a Meet-Me conference bridge. 1. Log in to BroadWorks. 2. On the Options list, click
More informationArena Premium Administrator Manual V
Arena Premium Administrator Manual Table of Contents Welcome to Arena, the Power of Community... 3 Getting Started... 4 Set up... 13 Application Settings... 17 Application Security... 22 Reporting Services
More informationQuerying Microsoft SQL Server
Querying Microsoft SQL Server 20461D; 5 days, Instructor-led Course Description This 5-day instructor led course provides students with the technical skills required to write basic Transact SQL queries
More information1 Writing Basic SQL SELECT Statements 2 Restricting and Sorting Data
1 Writing Basic SQL SELECT Statements Objectives 1-2 Capabilities of SQL SELECT Statements 1-3 Basic SELECT Statement 1-4 Selecting All Columns 1-5 Selecting Specific Columns 1-6 Writing SQL Statements
More informationArena Lists (Pre-ISC Lecture)
Arena Lists (Pre-ISC Lecture) (Course #A101) Presented by: William Ross Shelby Contract Trainer 2018 Shelby Systems, Inc. Other brand and product names are trademarks or registered trademarks of the respective
More informationOracle Database 10g: Introduction to SQL
ORACLE UNIVERSITY CONTACT US: 00 9714 390 9000 Oracle Database 10g: Introduction to SQL Duration: 5 Days What you will learn This course offers students an introduction to Oracle Database 10g database
More informationQuerying Microsoft SQL Server
Querying Microsoft SQL Server Course 20461D 5 Days Instructor-led, Hands-on Course Description This 5-day instructor led course is designed for customers who are interested in learning SQL Server 2012,
More informationSolar Eclipse Scheduler. Release 9.0
Solar Eclipse Scheduler Release 9.0 Disclaimer This document is for informational purposes only and is subject to change without notice. This document and its contents, including the viewpoints, dates
More informationQuerying Microsoft SQL Server 2012/2014
Page 1 of 14 Overview This 5-day instructor led course provides students with the technical skills required to write basic Transact-SQL queries for Microsoft SQL Server 2014. This course is the foundation
More informationAuthoring Business Rules in IBM Case Manager 5.2
Authoring Business Rules in IBM Case Manager 5.2 Create and use text-based rules and tablebased business rules in IBM Case Manager 5.2 This article covers creating Business Rules in IBM Case Manager, the
More informationSQL Functionality SQL. Creating Relation Schemas. Creating Relation Schemas
SQL SQL Functionality stands for Structured Query Language sometimes pronounced sequel a very-high-level (declarative) language user specifies what is wanted, not how to find it number of standards original
More information1 SEARCHING FOR A MEMBER SEARCHING FOR A WI ADDING A NEW MEMBER HOW TO ADD A DUAL MEMBER... 9
Contents 1 SEARCHING FOR A MEMBER... 2 2 SEARCHING FOR A WI... 4 3 ADDING A NEW MEMBER... 6 4 HOW TO ADD A DUAL MEMBER... 9 6 HOW TO CHANGE A MEMBER S WI... 19 7 HOW TO UPLOAD A DOCUMENT OR WEB LINK...
More information20461: Querying Microsoft SQL Server 2014 Databases
Course Outline 20461: Querying Microsoft SQL Server 2014 Databases Module 1: Introduction to Microsoft SQL Server 2014 This module introduces the SQL Server platform and major tools. It discusses editions,
More informationLepideAuditor. Current Permission Report
Table of Contents 1. Introduction... 3 2. Current Permission Scan Settings... 3 2.1 Configure SQL Server... 3 2.2 Stale Object Settings... 5 2.3 Available Options to manage the data set... 6 2.3.1 Add
More informationAccess Module 2: Building and Using Queries
1. A query allows the selection of a subset of fields and records from one or more tables, then presents the selected data as a single datasheet. True REFERENCES: Access 28 Use the Query Wizard LEARNING
More informationCourse 20461C: Querying Microsoft SQL Server
Course 20461C: Querying Microsoft SQL Server Audience Profile About this Course This course is the foundation for all SQL Serverrelated disciplines; namely, Database Administration, Database Development
More informationQuerying Microsoft SQL Server (MOC 20461C)
Querying Microsoft SQL Server 2012-2014 (MOC 20461C) Course 21461 40 Hours This 5-day instructor led course provides students with the technical skills required to write basic Transact-SQL queries for
More informationSQL Interview Questions
SQL Interview Questions SQL stands for Structured Query Language. It is used as a programming language for querying Relational Database Management Systems. In this tutorial, we shall go through the basic
More informationOperating systems fundamentals - B07
Operating systems fundamentals - B07 David Kendall Northumbria University David Kendall (Northumbria University) Operating systems fundamentals - B07 1 / 33 What is SQL? Structured Query Language Used
More informationScheduling Meetings. Tips for Scheduling Secure Cisco Unified MeetingPlace Meetings
Scheduling Meetings Release: 7.0 Revision Date: December 9, 2009 1:30 pm Tips for Scheduling Secure Cisco Unified MeetingPlace Meetings, page 1 How to Schedule a Web Meeting, page 2 How to Schedule a Video
More informationCLEARSPAN MEET-ME CONFERENCING
CLEARSPAN MEET-ME CONFERENCING CREATING CONFERENCES ACCESS You have access to Conferencing features if you have been assigned to a Meet-Me conference bridge. 1. Log in to Clearspan. 2. On the Options list,
More informationTeradata SQL Features Overview Version
Table of Contents Teradata SQL Features Overview Version 14.10.0 Module 0 - Introduction Course Objectives... 0-4 Course Description... 0-6 Course Content... 0-8 Module 1 - Teradata Studio Features Optimize
More informationArena Reports Using Report Builder
Arena Reports Using Report Builder (Course #A127) Presented by: Ben Lane Senior Staff Trainer 2018 Shelby Systems, Inc. Other brand and product names are trademarks or registered trademarks of the respective
More informationImplementing Table Operations Using Structured Query Language (SQL) Using Multiple Operations. SQL: Structured Query Language
Implementing Table Operations Using Structured Query Language (SQL) Using Multiple Operations Show Only certain columns and rows from the join of Table A with Table B The implementation of table operations
More informationAVANTUS TRAINING PTE LTD
[MS20461]: Querying Microsoft SQL Server 2014 Length : 5 Days Audience(s) : IT Professionals Level : 300 Technology : SQL Server Delivery Method : Instructor-led (Classroom) Course Overview This 5-day
More informationPrinciples 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 information20761B: QUERYING DATA WITH TRANSACT-SQL
ABOUT THIS COURSE This 5 day course is designed to introduce students to Transact-SQL. It is designed in such a way that the first three days can be taught as a course to students requiring the knowledge
More informationQuerying Data with Transact-SQL
Course 20761A: Querying Data with Transact-SQL Page 1 of 5 Querying Data with Transact-SQL Course 20761A: 2 days; Instructor-Led Introduction The main purpose of this 2 day instructor led course is to
More informationSQL - Subqueries and. Schema. Chapter 3.4 V4.0. Napier University
SQL - Subqueries and Chapter 3.4 V4.0 Copyright @ Napier University Schema Subqueries Subquery one SELECT statement inside another Used in the WHERE clause Subqueries can return many rows. Subqueries can
More informationMANAGING DATA(BASES) USING SQL (NON-PROCEDURAL SQL, X401.9)
Technology & Information Management Instructor: Michael Kremer, Ph.D. Class 6 Professional Program: Data Administration and Management MANAGING DATA(BASES) USING SQL (NON-PROCEDURAL SQL, X401.9) AGENDA
More informationQuerying Data with Transact-SQL
Querying Data with Transact-SQL General Description This course is designed to introduce students to Transact-SQL. It is designed in such a way that the first three days can be taught as a course to students
More informationCreate and Manage Conferences
Create and Manage Conferences You have access to Conferencing features if you have been authorized to administer an Meet-Me Conferencing bridge. 1. Log in to the Web Portal at voice.dscicorp.com. 2. On
More informationIntelliReport Advanced Topics. Presented by: Robert Goemans
IntelliReport Advanced Topics Presented by: Robert Goemans Table Linking Everything You Need to Know (or, Linking Tables Like a Boss ) Table linking allows you to put related records from different tables
More information4.6.5 Data Sync User Manual.
4.6.5 Data Sync User Manual www.badgepass.com Table of Contents Table of Contents... 2 Configuration Utility... 3 System Settings... 4 Profile Setup... 5 Setting up the Source Data... 6 Source Filters...
More informationSession Administration System (SAS) Manager s Guide
Session Administration System (SAS) Manager s Guide 2009 Elluminate, Inc. All Rights Reserved. Contents Section 1 SAS Overview...1 Getting Started...1 Creating Sessions Using the SAS...2 Creating Users...4
More informationQuerying Data with Transact-SQL
Querying Data with Transact-SQL Course 20761C 5 Days Instructor-led, Hands on Course Information The main purpose of the course is to give students a good understanding of the Transact- SQL language which
More informationAdvanced SQL Tribal Data Workshop Joe Nowinski
Advanced SQL 2018 Tribal Data Workshop Joe Nowinski The Plan Live demo 1:00 PM 3:30 PM Follow along on GoToMeeting Optional practice session 3:45 PM 5:00 PM Laptops available What is SQL? Structured Query
More informationFrom Manual to Automatic with Overdrive - Using SAS to Automate Report Generation Faron Kincheloe, Baylor University, Waco, TX
Paper 152-27 From Manual to Automatic with Overdrive - Using SAS to Automate Report Generation Faron Kincheloe, Baylor University, Waco, TX ABSTRACT This paper is a case study of how SAS products were
More informationProphet 21 World Wide User Group Webinars. Barry Hallman. SQL Queries & Views. (Part 2)
Prophet 21 World Wide User Group Webinars SQL Queries & Views (Part 2) Barry Hallman Disclaimer This webinar is an attempt by P21WWUG members to assist each other by demonstrating ways that we utilize
More informationIBM Atlas Suite Developers Guide: Reporting Views. for IBM Atlas Suite v6
IBM Atlas Suite Developers Guide: Reporting Views for IBM Atlas Suite v6 IBM Atlas Suite Developers Guide: Reporting Views This edition applies to version 6.0 of IBM Atlas Suite (product numbers 5725-D75,
More informationQuerying Data with Transact SQL Microsoft Official Curriculum (MOC 20761)
Querying Data with Transact SQL Microsoft Official Curriculum (MOC 20761) Course Length: 3 days Course Delivery: Traditional Classroom Online Live MOC on Demand Course Overview The main purpose of this
More informationProject Manager User Manual
Project Manager User Manual Overview Welcome to your new Project Manager application. The Project Managaer is implemented as a web site that interfaces to an SQL database where all of the project and time
More informationQuerying Microsoft SQL Server
Course Code: M20461 Vendor: Microsoft Course Overview Duration: 5 RRP: POA Querying Microsoft SQL Server Overview This 5-day instructor led course provides delegates with the technical skills required
More informationSystem Pages (Setup Admins Only)
System Pages (Setup Admins Only) 1 Primary System Pages 2 More on Page Views & Sub Page Views 3 4 System Lookup Pages 5 6 7 Distinguishing Tables, Pages, Filtered Pages, & Page Views 8 9 Reasons to Create
More informationQuerying Microsoft SQL Server
20461 - Querying Microsoft SQL Server Duration: 5 Days Course Price: $2,975 Software Assurance Eligible Course Description About this course This 5-day instructor led course provides students with the
More informationMIS NETWORK ADMINISTRATOR PROGRAM
NH107-7475 SQL: Querying and Administering SQL Server 2012-2014 136 Total Hours 97 Theory Hours 39 Lab Hours COURSE TITLE: SQL: Querying and Administering SQL Server 2012-2014 PREREQUISITE: Before attending
More informationQUERYING MICROSOFT SQL SERVER COURSE OUTLINE. Course: 20461C; Duration: 5 Days; Instructor-led
CENTER OF KNOWLEDGE, PATH TO SUCCESS Website: QUERYING MICROSOFT SQL SERVER Course: 20461C; Duration: 5 Days; Instructor-led WHAT YOU WILL LEARN This 5-day instructor led course provides students with
More informationSAS Online Training: Course contents: Agenda:
SAS Online Training: Course contents: Agenda: (1) Base SAS (6) Clinical SAS Online Training with Real time Projects (2) Advance SAS (7) Financial SAS Training Real time Projects (3) SQL (8) CV preparation
More informationCDM+ CDM+ Attendance. Attendance Preferences 10 Entering Attendance for a Service or Event 10. Entering Attendance for a Class 12
CDM+ Attendance Setting up Class Lists 2 Setting up Group Lists (Pro version only) 3 Detail Tracking 3 Assign Individuals to Classes 4 Taking Attendance 6 Attendance Worksheet By Date 7 Sample Attendance
More informationProject Manager User Manual
Project Manager User Manual Overview Welcome to your new Project Manager application. The Project Managaer is implemented as a web site that interfaces to an SQL database where all of the project and time
More informationWorkbooks (File) and Worksheet Handling
Workbooks (File) and Worksheet Handling Excel Limitation Excel shortcut use and benefits Excel setting and custom list creation Excel Template and File location system Advanced Paste Special Calculation
More informationArena Word Merge Templates
Arena Word Merge Templates (Course #A224) Presented by: Staci Sampson Shelby Contract Trainer 2018 Shelby Systems, Inc. Other brand and product names are trademarks or registered trademarks of the respective
More informationIntroduction 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 informationExperimental Finance, IEOR. Mike Lipkin, Alexander Stanton
Experimental Finance, IEOR Mike Lipkin, Alexander Stanton Housekeeping Make sure your tables/views/functions are prefixed with UNI ID One zip file please, containing other files Describe your process Project
More informationTracking Database. COL live (COL only)
II. Tracking Database The Tracking Database is used to keep track of information about each participant enrolled in the COL/AS+ Project. Native Boys and Girls Club staff who are participating in the project
More informationIncluding missing data
Including missing data Sometimes an outer join isn t suffi cient to ensure that all the desired combinations are shown. Tamar E. Granor, Ph.D. In my recent series on the OVER clause, I failed to mention
More informationThe DBMS accepts requests for data from the application program and instructs the operating system to transfer the appropriate data.
Managing Data Data storage tool must provide the following features: Data definition (data structuring) Data entry (to add new data) Data editing (to change existing data) Querying (a means of extracting
More informationScheduling WebEx Meetings with Microsoft Outlook
Scheduling WebEx Meetings with Microsoft Outlook About WebEx Integration to Outlook, page 1 Scheduling a WebEx Meeting from Microsoft Outlook, page 2 Starting a Scheduled Meeting from Microsoft Outlook,
More informationQuerying Data with Transact-SQL
Querying Data with Transact-SQL Course: 20761 Course Details Audience(s): IT Professional(s) Technology: Microsoft SQL Server 2016 Duration: 24 HRs. ABOUT THIS COURSE This course is designed to introduce
More informationAbout System Setup Pages
About System Setup Pages System Pages (Setup Admins Only) Domains Pages Page Views Reports Report Pages A list of churches that are allowed to use this database. Each church will connect via a different
More informationDuration Level Technology Delivery Method Training Credits. Classroom ILT 5 Days Intermediate SQL Server
NE-20761C Querying with Transact-SQL Summary Duration Level Technology Delivery Method Training Credits Classroom ILT 5 Days Intermediate SQL Virtual ILT On Demand SATV Introduction This course is designed
More informationMerge Data from Shelby v.5 & ShelbyNext to Microsoft Word
Merge Data from Shelby v.5 & ShelbyNext to Microsoft Word (Course #E236) Presented by: Betty Heston, Shelby Consultant 2018 Shelby Systems, Inc. Other brand and product names are trademarks or registered
More informationOracle Database: SQL and PL/SQL Fundamentals NEW
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 fundamentals of SQL and PL/SQL along with the
More informationScheduling WebEx Meetings with Microsoft Outlook
Scheduling WebEx Meetings with Microsoft Outlook About WebEx Integration to Outlook, page 1 Scheduling a WebEx Meeting from Microsoft Outlook, page 2 Starting a Scheduled Meeting from Microsoft Outlook,
More informationincontact Workforce Management v2 Scheduler Web Site User Manual
incontact Workforce Management v2 Scheduler Web Site User Manual www.incontact.com incontact WFM v2 Scheduler Web Site User Manual Version 16.1 Revision March 2016 About incontact incontact (NASDAQ: SAAS)
More information20461: Querying Microsoft SQL Server
20461: Querying Microsoft SQL Server Length: 5 days Audience: IT Professionals Level: 300 OVERVIEW This 5 day instructor led course provides students with the technical skills required to write basic Transact
More informationWEB TIME SUPERVISOR GUIDE
Revised 02/23/2018 WEB TIME SUPERVISOR GUIDE CLIENT RESOURCE PAYLOCITY.COM TABLE OF CONTENTS Web Time... 3 Home... 15 Employees... 28 Reports... 130 Web Kiosk Setup... 132 Glossary... 156 Index... 158
More informationSQL Data Querying and Views
Course A7B36DBS: Database Systems Lecture 04: SQL Data Querying and Views Martin Svoboda Faculty of Electrical Engineering, Czech Technical University in Prague Outline SQL Data manipulation SELECT queries
More informationMicrosoft Querying Microsoft SQL Server 2014
1800 ULEARN (853 276) www.ddls.com.au Microsoft 20461 - Querying Microsoft SQL Server 2014 Length 5 days Price $4290.00 (inc GST) Version D Overview Please note: Microsoft have released a new course which
More information1) 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 informationRDBMS- Day 4. Grouped results Relational algebra Joins Sub queries. In today s session we will discuss about the concept of sub queries.
RDBMS- Day 4 Grouped results Relational algebra Joins Sub queries In today s session we will discuss about the concept of sub queries. Grouped results SQL - Using GROUP BY Related rows can be grouped together
More informationOracle Database: SQL and PL/SQL Fundamentals Ed 2
Oracle University Contact Us: Local: 1800 103 4775 Intl: +91 80 67863102 Oracle Database: SQL and PL/SQL Fundamentals Ed 2 Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals
More informationThis 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 informationCourse Outline. Querying Data with Transact-SQL Course 20761B: 5 days Instructor Led
Querying Data with Transact-SQL Course 20761B: 5 days Instructor Led About this course This course is designed to introduce students to Transact-SQL. It is designed in such a way that the first three days
More informationCSE 530A. Inheritance and Partitioning. Washington University Fall 2013
CSE 530A Inheritance and Partitioning Washington University Fall 2013 Inheritance PostgreSQL provides table inheritance SQL defines type inheritance, PostgreSQL's table inheritance is different A table
More informationCertification Exam Preparation Seminar: Oracle Database SQL
Oracle University Contact Us: 0800 891 6502 Certification Exam Preparation Seminar: Oracle Database SQL Duration: 1 Day What you will learn This video seminar Certification Exam Preparation Seminar: Oracle
More informationQuerying Microsoft SQL Server 2008/2012
Querying Microsoft SQL Server 2008/2012 Course 10774A 5 Days Instructor-led, Hands-on Introduction This 5-day instructor led course provides students with the technical skills required to write basic Transact-SQL
More informationQuerying Microsoft SQL Server
Querying Microsoft SQL Server Duration: 5 Days (08:30-16:00) Overview: This course provides students with the technical skills required to write basic Transact-SQL queries for Microsoft SQL Server. This
More informationComputer Science Applications to Cultural Heritage. Relational Databases
Computer Science Applications to Cultural Heritage Relational Databases Filippo Bergamasco (filippo.bergamasco@unive.it) http://www.dais.unive.it/~bergamasco DAIS, Ca Foscari University of Venice Academic
More information