AIN106 Microsoft Access Reporting and Analysis. This course emphasizes tables, data, queries and reports. It is designed for those who will be using Access primarily for decision support as opposed to data entry.
SQL302 Intermediate SQL using Microsoft SQL Server. Covers additional uses of subqueries, set functions, table expressions, with clause, new SQL window functions.
AIN106 Microsoft Access Reporting and Analysis. This course emphasizes tables, data, queries and reports. It is designed for those who will be using Access primarily for decision support as opposed to data entry.
SQL302 Intermediate SQL using Microsoft SQL Server. Covers additional uses of subqueries, set functions, table expressions, with clause, new SQL window functions.
pl/sql online Training|sql online Training | iTeknowledgeMasood Khan
This Course is designed by iTeknowledge.com experts to provide concrete and indepth knowledge of sql and pl/sql.100%practical and instructor led live training.
These are the slides from a presentation I delivered on September 30, 2010 for MDC Partners' Ad Week Speaker Series, 5 for 5: New Yorkers Creating Change Through Ideas. Also on the panel: Perry Chen of Kickstarter, Ji Lee of Google Creative Labs, and Noah Brier of noahbrier.com & The Barbarian Group.
SQL212 Accelerated Introduction to SQL Using oracle. Covers create, alter, drop, insert, update, delete. Includes joins, inner and outer, subqueries, calculations and grouping.
Shows how to create a self join in Microsoft Access. A self join is a table joined to itself. This presentation uses employees reporting to their supervisor in the same table as an example.
SQL201W Accelerated Introduction to SQL Using MySQL. Covers create, alter,drop, select, insert,update and delete. Includes joins, calculations and grouping.
pl/sql online Training|sql online Training | iTeknowledgeMasood Khan
This Course is designed by iTeknowledge.com experts to provide concrete and indepth knowledge of sql and pl/sql.100%practical and instructor led live training.
These are the slides from a presentation I delivered on September 30, 2010 for MDC Partners' Ad Week Speaker Series, 5 for 5: New Yorkers Creating Change Through Ideas. Also on the panel: Perry Chen of Kickstarter, Ji Lee of Google Creative Labs, and Noah Brier of noahbrier.com & The Barbarian Group.
SQL212 Accelerated Introduction to SQL Using oracle. Covers create, alter, drop, insert, update, delete. Includes joins, inner and outer, subqueries, calculations and grouping.
Shows how to create a self join in Microsoft Access. A self join is a table joined to itself. This presentation uses employees reporting to their supervisor in the same table as an example.
SQL201W Accelerated Introduction to SQL Using MySQL. Covers create, alter,drop, select, insert,update and delete. Includes joins, calculations and grouping.
Are your Oracle databases highly available? You have deployed Real Application Clusters (RAC), Data Guard, or Failover Clusters and are well protected against server failures? Great – the prerequisites for a highly available environment are given. However, to assure that backend infrastructure failures also remain transparent to the client, an appropriate configuration is a prerequisite.
This lecture will discuss the Oracle technologies that can be used to achieve automatic client failover functionality. What are the advantages, but also the limitations of these technologies?
Oracle Database Administration Part I covering Both Oracle 11g r2 and 12c r1John Boyle
Trailer For Oracle DBA Part I 11g r2 & 12c r1
View full video : https://youtu.be/dusfNQUb62k
John Boyle
Stormtime Ltd
John.Boyle@stormtime.co.uk
Speak-Tech.com
O MySQL é o banco de dados open source mais popular do mundo, usado em grandes sites, games, aplicações mobile e embarcadas.
Há várias opções de arquiteturas e APIs, oferecendo enorme flexibilidade, escalabilidade e alta-disponibilidade.
Instale e comece a usar em menos de 15min.
NETCONF & YANG Enablement of Network DevicesCisco DevNet
A technical discussion and a demo showing how Tail-f's ConfD management agent can be used to implement NETCONF and YANG, the industry-leading solution for providing a programmable management interface in a network element. ConfD is recognized as the best-in-breed embedded software for implementing management functions in network elements, including physical devices and virtualized network functions (VNF) for NFV.
This Workshop is a best fit for engineers who are involved in the design and development of embedded software for network devices. Attendees will gain a basic understanding of what NETCONF and YANG are and how ConfD provides a solution for embedding this technology in the network devices. More information about ConfD can be found at: https://developer.cisco.com/site/confD/
Watch the DevNet 1216 replay from the Cisco Live On-Demand Library at: https://www.ciscolive.com/online/connect/sessionDetail.ww?SESSION_ID=92703&backBtn=true
Check out more and register for Cisco DevNet: http://ow.ly/jCNV3030OfS
Another year goes by, and most likely, another data access framework has been invented. It will claim to be the fastest, smartest way to talk to the database, and just like all those that came before it, it will not be. Because the best database access tool has been there for more than 30 years now, and that is PL/SQL. Although we all sometimes fall prey to the mindset of “Oh look, a shiny new tool, we should start using it," the performance and simplicity of PL/SQL remain unmatched. This session looks at the failings of other data access languages, why even a cursory knowledge of PL/SQL will make you a better developer, and how to get the most out of PL/SQL when it comes to database performance.
Short course on using Visio 2016 to create an Entity Relationship Diagram (ERD). Covers entities, attributes and relationships: 1 to 1, 1 to many, many to many and recursive.
Basic Project Libre training course. Based on a similar Microsoft Project Basic course. Covers setting up the project environment and creating the project plan.
Quick introduction to coding using Python.. Covers data types, data structures, variables, assignment, selection, iteration, classes, objects and subclasses.
Third module of SQL302 intermediate SQL course. Covers using subqueries in updates and deletes, update from and delete from, views, and altering tables.
SQL202.3 Accelerated Introduction to SQL Using SQL Server Module 3Dan D'Urso
Accelerated Introduction to SQL using Microsoft SQL Server. Covers insert, update, delete, create, drop, alter statements. Includes views, indexes, tables, constraints.
SQL202.2 Accelerated Introduction to SQL Using SQL Server Module 2Dan D'Urso
Accelerated Introduction to SQL Using Microsoft SQL Server Module 2. Covers inner, outer and self joins, correlated and uncorrelated subqueries, unions, aggregate functions, calculated fields and grouping.
SQL202.1 Accelerated Introduction to SQL Using SQL Server Module 1Dan D'Urso
SQL202 Accelerated Introduction to SQL Using Microsoft SQL Server Module 1. Covers relational database concepts, basic select statements, filtering results, special operators, wildcards, sorting, removing duplicates and selecting the top values.
The Metaverse and AI: how can decision-makers harness the Metaverse for their...Jen Stirrup
The Metaverse is popularized in science fiction, and now it is becoming closer to being a part of our daily lives through the use of social media and shopping companies. How can businesses survive in a world where Artificial Intelligence is becoming the present as well as the future of technology, and how does the Metaverse fit into business strategy when futurist ideas are developing into reality at accelerated rates? How do we do this when our data isn't up to scratch? How can we move towards success with our data so we are set up for the Metaverse when it arrives?
How can you help your company evolve, adapt, and succeed using Artificial Intelligence and the Metaverse to stay ahead of the competition? What are the potential issues, complications, and benefits that these technologies could bring to us and our organizations? In this session, Jen Stirrup will explain how to start thinking about these technologies as an organisation.
PHP Frameworks: I want to break free (IPC Berlin 2024)Ralf Eggert
In this presentation, we examine the challenges and limitations of relying too heavily on PHP frameworks in web development. We discuss the history of PHP and its frameworks to understand how this dependence has evolved. The focus will be on providing concrete tips and strategies to reduce reliance on these frameworks, based on real-world examples and practical considerations. The goal is to equip developers with the skills and knowledge to create more flexible and future-proof web applications. We'll explore the importance of maintaining autonomy in a rapidly changing tech landscape and how to make informed decisions in PHP development.
This talk is aimed at encouraging a more independent approach to using PHP frameworks, moving towards a more flexible and future-proof approach to PHP development.
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...UiPathCommunity
💥 Speed, accuracy, and scaling – discover the superpowers of GenAI in action with UiPath Document Understanding and Communications Mining™:
See how to accelerate model training and optimize model performance with active learning
Learn about the latest enhancements to out-of-the-box document processing – with little to no training required
Get an exclusive demo of the new family of UiPath LLMs – GenAI models specialized for processing different types of documents and messages
This is a hands-on session specifically designed for automation developers and AI enthusiasts seeking to enhance their knowledge in leveraging the latest intelligent document processing capabilities offered by UiPath.
Speakers:
👨🏫 Andras Palfi, Senior Product Manager, UiPath
👩🏫 Lenka Dulovicova, Product Program Manager, UiPath
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...SOFTTECHHUB
The choice of an operating system plays a pivotal role in shaping our computing experience. For decades, Microsoft's Windows has dominated the market, offering a familiar and widely adopted platform for personal and professional use. However, as technological advancements continue to push the boundaries of innovation, alternative operating systems have emerged, challenging the status quo and offering users a fresh perspective on computing.
One such alternative that has garnered significant attention and acclaim is Nitrux Linux 3.5.0, a sleek, powerful, and user-friendly Linux distribution that promises to redefine the way we interact with our devices. With its focus on performance, security, and customization, Nitrux Linux presents a compelling case for those seeking to break free from the constraints of proprietary software and embrace the freedom and flexibility of open-source computing.
The Art of the Pitch: WordPress Relationships and SalesLaura Byrne
Clients don’t know what they don’t know. What web solutions are right for them? How does WordPress come into the picture? How do you make sure you understand scope and timeline? What do you do if sometime changes?
All these questions and more will be explored as we talk about matching clients’ needs with what your agency offers without pulling teeth or pulling your hair out. Practical tips, and strategies for successful relationship building that leads to closing the deal.
Removing Uninteresting Bytes in Software FuzzingAftab Hussain
Imagine a world where software fuzzing, the process of mutating bytes in test seeds to uncover hidden and erroneous program behaviors, becomes faster and more effective. A lot depends on the initial seeds, which can significantly dictate the trajectory of a fuzzing campaign, particularly in terms of how long it takes to uncover interesting behaviour in your code. We introduce DIAR, a technique designed to speedup fuzzing campaigns by pinpointing and eliminating those uninteresting bytes in the seeds. Picture this: instead of wasting valuable resources on meaningless mutations in large, bloated seeds, DIAR removes the unnecessary bytes, streamlining the entire process.
In this work, we equipped AFL, a popular fuzzer, with DIAR and examined two critical Linux libraries -- Libxml's xmllint, a tool for parsing xml documents, and Binutil's readelf, an essential debugging and security analysis command-line tool used to display detailed information about ELF (Executable and Linkable Format). Our preliminary results show that AFL+DIAR does not only discover new paths more quickly but also achieves higher coverage overall. This work thus showcases how starting with lean and optimized seeds can lead to faster, more comprehensive fuzzing campaigns -- and DIAR helps you find such seeds.
- These are slides of the talk given at IEEE International Conference on Software Testing Verification and Validation Workshop, ICSTW 2022.
Transcript: Selling digital books in 2024: Insights from industry leaders - T...BookNet Canada
The publishing industry has been selling digital audiobooks and ebooks for over a decade and has found its groove. What’s changed? What has stayed the same? Where do we go from here? Join a group of leading sales peers from across the industry for a conversation about the lessons learned since the popularization of digital books, best practices, digital book supply chain management, and more.
Link to video recording: https://bnctechforum.ca/sessions/selling-digital-books-in-2024-insights-from-industry-leaders/
Presented by BookNet Canada on May 28, 2024, with support from the Department of Canadian Heritage.
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
Welcome to the first live UiPath Community Day Dubai! Join us for this unique occasion to meet our local and global UiPath Community and leaders. You will get a full view of the MEA region's automation landscape and the AI Powered automation technology capabilities of UiPath. Also, hosted by our local partners Marc Ellis, you will enjoy a half-day packed with industry insights and automation peers networking.
📕 Curious on our agenda? Wait no more!
10:00 Welcome note - UiPath Community in Dubai
Lovely Sinha, UiPath Community Chapter Leader, UiPath MVPx3, Hyper-automation Consultant, First Abu Dhabi Bank
10:20 A UiPath cross-region MEA overview
Ashraf El Zarka, VP and Managing Director MEA, UiPath
10:35: Customer Success Journey
Deepthi Deepak, Head of Intelligent Automation CoE, First Abu Dhabi Bank
11:15 The UiPath approach to GenAI with our three principles: improve accuracy, supercharge productivity, and automate more
Boris Krumrey, Global VP, Automation Innovation, UiPath
12:15 To discover how Marc Ellis leverages tech-driven solutions in recruitment and managed services.
Brendan Lingam, Director of Sales and Business Development, Marc Ellis
Elevating Tactical DDD Patterns Through Object CalisthenicsDorra BARTAGUIZ
After immersing yourself in the blue book and its red counterpart, attending DDD-focused conferences, and applying tactical patterns, you're left with a crucial question: How do I ensure my design is effective? Tactical patterns within Domain-Driven Design (DDD) serve as guiding principles for creating clear and manageable domain models. However, achieving success with these patterns requires additional guidance. Interestingly, we've observed that a set of constraints initially designed for training purposes remarkably aligns with effective pattern implementation, offering a more ‘mechanical’ approach. Let's explore together how Object Calisthenics can elevate the design of your tactical DDD patterns, offering concrete help for those venturing into DDD for the first time!
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™UiPathCommunity
In questo evento online gratuito, organizzato dalla Community Italiana di UiPath, potrai esplorare le nuove funzionalità di Autopilot, il tool che integra l'Intelligenza Artificiale nei processi di sviluppo e utilizzo delle Automazioni.
📕 Vedremo insieme alcuni esempi dell'utilizzo di Autopilot in diversi tool della Suite UiPath:
Autopilot per Studio Web
Autopilot per Studio
Autopilot per Apps
Clipboard AI
GenAI applicata alla Document Understanding
👨🏫👨💻 Speakers:
Stefano Negro, UiPath MVPx3, RPA Tech Lead @ BSP Consultant
Flavio Martinelli, UiPath MVP 2023, Technical Account Manager @UiPath
Andrei Tasca, RPA Solutions Team Lead @NTT Data
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
AIN102 Microsoft Access Queries
1. Accelerated Computer Training for Working Professionals Admissions Case
Orange Coast Database Associates Course (800)355-9855 or http://ocdatabases.itgo.com
Orange Coast
Database Associates
Specializing in Microsoft Office,
Access, SQL, and related technologies
Classes custom designed forWorking Professionals
http://www.dhdursoassociates.com
San Juan Capistrano, CA
(800)355-9855
AIN102 Microsoft Access Queries
2. Admissions AIN1021
AIN102 – Access Query Design
Introduction to Access Queries for
experienced Windows users
P.O. Box 6142
Laguna Niguel, CA 92607
949-489-1472
http://www.d2associates.com
AdmissionsAIN1022
AIN102 Contact Information
P.O. Box 6142
Laguna Niguel, CA 92607
949-489-1472
http://www.d2associates.com
slides.1@dhdursoassociates.com
Copyright 2001-20011 All rights reserved.
3. AIN102 Notes
This course is based on an earlier course,
SQL200A, which was focused on using SQL in
the Access environment. As such the
screenshots still reflect SQL view as well the
Query Designer view. This is actually a plus.
AdmissionsAIN1023
AdmissionsAIN1024
Introduction (s)
Facilities
Course Packet (May vary by course or class)
– Student questionnaire in front
– Collaterals (Map, Catalog, Etc.)
– PowerPoint handouts for all sessions
– Evaluation form in back
– Training Certificate
AIN102 – Access Query Design
4. AdmissionsAIN1025
Orange Coast Database Associates
Loose association of local University instructors and IT
Professionals.
Started in 2004
Training
– Open Enrollment (public classes in San Juan Capistrano using
standardized material)
– On-site (custom classes for groups)
– Private desk side training for individuals
Consulting & Programming (incl. offshore)
AdmissionsAIN1026
5. AdmissionsAIN1027
Quick pace for experienced windows users
Assumes some prior knowledge of Access
End-user, not programmer, oriented
Somewhat structured towards personal use for
analysis and reporting
AIN102 – Access Query Design
AdmissionsAIN1028
Select Queries
– Filter Criteria
– Calculations
– Joins
– Grouping
Action Queries
– Maketable
– Append
– Update
– Delete
Union
Course Topics:
AIN102 – Access Query Design
6. AdmissionsAIN1029
Approach:
SQL View Used in code; but helpful in
understanding what a query
does
Query Designer Use to construct queries
Access has many ways to accomplish tasks. Queries can be
constructed using SQL View or the Query Designer. This
course focuses on the latter.
AIN102 – Access Query Design
AdmissionsAIN10210
2 Sessions
Lecture
Demo
Extensive student “hands-on”
Exercises are cumulative – later
examples build on objects created
earlier
Course Format:
AIN102 – Access Query Design
7. AIN102 Resources
Manuals can be downloaded from SlideShare.
Slides can be viewed on SlideShare…
http://www.slideshare.net/OCDatabases
AdmissionsAIN10211
AdmissionsAIN10212
Session 1
– access-qdes-s1-ad.ppt
Session 2
– access-qdes-s2-ad.ppt
Course Schedule (3 hour sessions):
AIN102 – Access Query Design
9. 2
AIN102 Module 13 Admissions AIN102 Module 13
AIN102
Session 1 – Review of Relational Databases
and Single Table Retrieval, Functions and
Operators
Session 2 – Multi-table retrieval, Subqueries,
Unions, Action Queries, Indexes
AIN102 Module 14 Admissions AIN102 Module 14
AIN102
Lecture/discussion with demonstrations
– Mostly practical, but a dose of “theory”
Assumes some familiarity with MS Access
Hands-on
Exercises (Mostly cumulative)
About 3-4 hours per module
Frequent breaks
10. 3
AIN102 Module 15 Admissions AIN102 Module 15
Module 1
Concepts
– Relational
databases
– SQL
– Access Query
Designer
SELECT Query
– Basic
– Filter criteria
– Complex criteria
• Field Operations
• Functions
• Operators
• Calculated fields
• Concatenation
AIN102 Module 16 Admissions AIN102 Module 16
Microsoft Access Query Design
Course focus is Microsoft Access Query Design
Queries are widely used for:
– Database administration
– Enterprise application development
– Data driven web sites
– Retrieving and modifying data in MS Access databases
A foundation skill for eBusiness and almost all major
business applications that use relational databases
11. 4
AIN102 Module 17 Admissions AIN102 Module 17
Access Query Design and SQL
Class database will be MS Access – the SQL
engine Access uses is called JET
A basic knowledge of Access is assumed
Focus of this class will be on the query
designer, with SQL used from time-to-time to
explain concepts
AIN102 Module 18 Admissions AIN102 Module 18
Relational Database Basics
Storage
Databases
Tables
Rows
Columns
Indexes
Views
SQL interface
12. 5
AIN102 Module 19 Admissions AIN102 Module 19
Storage
In Access one file with extension mdb. I.e
mydatabase.mdb.
Database splitter can be used to split it into
two parts – a front end and a back end.
Interface to physical storage via the “JET”
database engine. This is the behind-the
scenes-workhorse.
AIN102 Module 110 Admissions AIN102 Module 110
Databases
In the Access world refers to all objects
stored in the mdb.
– Tables
– Queries
– From
– Reports
– Macros
– Code modules
14. 7
AIN102 Module 113 Admissions AIN102 Module 113
Database Relationships
AIN102 Module 114 Admissions AIN102 Module 114
Approaching Query Design
Try to build queries a step at a time
Save existing queries that are working
as you like; modify them with a new
name when building a modified query
Try looking at the generated SQL code
from time-to-time
15. 8
AIN102 Module 115 Admissions AIN102 Module 115
Query Types
Select
Action
– Update
– Delete
– Insert
– Maketable
Special use queries
– Data Definition Language (DDL)
– Union
– SQL pass-through
AIN102 Module 116 Admissions AIN102 Module 116
DDL
Data definition language (DDL) to create and
modify tables, etc.
– Create, alter, drop, etc.
– Must be “hand-coded” in Access
– But can be useful for database administration
Done in MS Access via SQL Specific Queries
– Will not be covered in the course
16. 9
AIN102 Module 117 Admissions AIN102 Module 117
MS Access DDL Queries
AIN102 Module 118 Admissions AIN102 Module 118
DCL
Data Control Language (DCL) to control user
rights, etc.
– Grant
– Revoke
– Constraints
Used primarily in enterprise databases
Can be done in Access but not covered in
this course
17. 10
AIN102 Module 119 Admissions AIN102 Module 119
DML
Data Manipulation Language (DML)
– Select Query
– Append Query
– Update Query
– Delete Query
– Maketable Query (a special type of Select)
– Union Query (really combined Selects)
MS Access Query Designer will create these
statements “behind the scenes”
AIN102 Module 120 Admissions AIN102 Module 120
MS Access Action Queries
18. 11
AIN102 Module 121 Admissions AIN102 Module 121
Other Access Queries
Crosstab
Pass Through – used to pass an SQL
statement directly to a back end database
w/out processing by Access
AIN102 Module 122 Admissions AIN102 Module 122
Sample Database
Before we continue…
Load the sample database if you haven’t
already
19. 12
AIN102 Module 123
Query Designer
Admissions AIN102 Module 123
Right click anywhere
for SQL View
Double click or drag
to add a field
Double click to add a
table
AIN102 Module 124 Admissions AIN102 Module 124
SELECT Queries
Basic Syntax:
Select column-list or *
From table-list
* Means all columns
20. 13
AIN102 Module 125 Admissions AIN102 Module 125
MS Access SELECT Query
Drag and Drop
or double click
AIN102 Module 126 Admissions AIN102 Module 126
MS Access SELECT SQL
22. 15
Admissions AIN102 Module 129
Comparison Operators
< less than
> greater than
<= less than or equal
>= greater than or equal
= equal
<> not equal
AIN102 Module 130 Admissions AIN102 Module 130
SELECT w/ WHERE
26. 19
AIN102 Module 137 Admissions AIN102 Module 137
Special Operators
LIKE
IN
BETWEEN
IS NULL
AIN102 Module 138 Admissions AIN102 Module 138
Like (“Wild Card Matches”)
Where customer_last_name like “Jo*”
– *= string of characters
Where customer_last_name like “Jo?”
– ? = exactly one character
Access actually allows more sophisticated Unix style
search patterns as well – see help.
27. 20
AIN102 Module 139 Admissions AIN102 Module 139
LIKE
Names ending in “S”
AIN102 Module 140 Admissions AIN102 Module 140
LIKE
Names ending in “S”
28. 21
AIN102 Module 141 Admissions AIN102 Module 141
LIKE Results
AIN102 Module 142 Admissions AIN102 Module 142
IS NULL
Select columnns
From clients
Where zip IS NULL
SQL (including JET) uses three valued logic.
Must use IS NULL to test for unknowns. A null is
NOT the same as blank or empty.
29. 22
AIN102 Module 143 Admissions AIN102 Module 143
IS NULL
AIN102 Module 144 Admissions AIN102 Module 144
IS NULL
30. 23
AIN102 Module 145 Admissions AIN102 Module 145
IS NULL Results
OK. Now try finding all patients with a blank address. Was
the above row retrieved? Why or why not?
AIN102 Module 146 Admissions AIN102 Module 146
IN
Select *
From patients
Where lastname IN (“Smith”,
“Thomas”, “Juarez”)
Note: what is inside parentheses is a list. Later we
will replace the list with a subquery which
generates the list items.
31. 24
AIN102 Module 147 Admissions AIN102 Module 147
IN
AIN102 Module 148 Admissions AIN102 Module 148
IN
List of values
32. 25
AIN102 Module 149 Admissions AIN102 Module 149
SELECT w/in IN Results
AIN102 Module 150 Admissions AIN102 Module 150
BETWEEN
SELECT *
FROM admissions
WHERE admit_date BETWEEN
#10/1/2001# and #12/31/2001#
Note: between is inclusive
33. 26
AIN102 Module 151 Admissions AIN102 Module 151
BETWEEN
AIN102 Module 152 Admissions AIN102 Module 152
BETWEEN Results
34. 27
AIN102 Module 153 Admissions AIN102 Module 153
Removing Duplicates
SELECT DISTINCT PatNo
FROM admissions
List once each employee who has a
labor ticket
Removes duplicate rows from result set
AIN102 Module 154 Admissions AIN102 Module 154
DISTINCT
35. 28
AIN102 Module 155 Admissions AIN102 Module 155
Distinct Results
W/out Distinct With Distinct
AIN102 Module 156 Admissions AIN102 Module 156
Sorting – ORDER BY
DESC will sort in descending order
Basic syntax:
SELECT column list
FROM table list
WHERE selection criteria
ORDER BY column list [DESC]
36. 29
AIN102 Module 157 Admissions AIN102 Module 157
Sorting – ORDER BY
Select *
From patients
Where state in(“CA”, “OR”, “WA”)
Order by birthdate desc
Example:
List patients in Pacific Coast sorted
by youngest to oldest
AIN102 Module 158 Admissions AIN102 Module 158
Sorting – ORDER BY
Note: modify the “select_in” query
38. 31
AIN102 Module 161 Admissions AIN102 Module 161
Query/SQL Exercises
List all patient numbers, etc. for patients who co-
paid more than $20; sort by co-pay amount,
largest first
List diagnostics that contain b, d, or q in the
diagnostic code
List the patient id’s for admissions in the fall (Sep,
Oct, Nov) of 2001 and 2002
AIN102 Module 162 Admissions AIN102 Module 162
Calculated Fields
Example:
Select a + b as result
Syntax:
SELECT expression AS new
column name
Result is a “column
alias”
39. 32
AIN102 Module 163 Admissions AIN102 Module 163
Calculated Fields
New column name
Follow name with “:”
AIN102 Module 164 Admissions AIN102 Module 164
Calculated Fields
40. 33
AIN102 Module 165 Admissions AIN102 Module 165
Calculated Fields - Results
AIN102 Module 166 Admissions AIN102 Module 166
Concatenation
“Adds” two character fields using “&” symbol
Useful for formatting names, addresses, etc.
Example:
– Select firstname & “ “ & lastname as fullname
42. 35
AIN102 Module 169 Admissions AIN102 Module 169
Concatenation
Single column with full
name, sorted by last name
Tip: handy for reports
AIN102 Module 170 Admissions AIN102 Module 170
SQL Exercises
List all the patients with a “fullname” field;
sorted by last name. Add a calculated field
which shows their loaded copay (copay *1.5).
Show the fullname, but not the individual
names.
47. 4
Admissions AIN102 Module 27
Date Functions
Numerous date functions
– DatePart
– DateDiff
– DateAdd
– Etc.
Often used:
– Year
– Month
Ex: where year(birthdate) = 1999
Admissions AIN102 Module 28
DateDiff
How long did patients stay in weeks?
48. 5
Admissions AIN102 Module 29
DateDiff results
Note: Access has many date functions with many options.
Admissions AIN102 Module 210
Ex: Date Function – Month()
49. 6
Admissions AIN102 Module 211
Ex: Date Function – Month()
Admissions AIN102 Module 212
Result of Month Function
50. 7
Admissions AIN102 Module 213
Summary Functions
Count
Sum
Min
Max
Avg
Often used in conjunction
with grouping
Admissions AIN102 Module 214
Summary Functions in Access
Click the sum symbol
Adds a total row
51. 8
Admissions AIN102 Module 215
Summary Functions - Syntax
Basic syntax:
SELECT function(column)
FROM table
WHERE filter-condition
GROUP BY column-list
HAVING group-filter
Group by all columns to left of one(s)
you to want aggregate
Admissions AIN102 Module 216
Simple Column Summaries
This query counts patient admissions In the year 2001
53. 10
Admissions AIN102 Module 219
“The COUNTS”
Count(*) – counts records
Count(fieldname) – counts non–null
occurrences of field name
Count (distinct fieldname) – counts distinct
occurrences, but not supported in access
Admissions AIN102 Module 220
Grouping
Organizes results into summary rows, one per
group
Groups can have sub groups which have sub
groups and so on….
54. 11
Admissions AIN102 Module 221
GROUP BY in Query Designer
Admissions AIN102 Module 222
GROUP BY Problem
Not an aggregate
or group
You will see this error a lot. Not to worry. It happens to everyone!
55. 12
Admissions AIN102 Module 223
Group By Results
Admissions AIN102 Module 224
Having
Restricts the groups returned
Operates on the groups after they have been
formed
HAVING
(((Admissions.Diag_Code)
Like "a*"))
56. 13
Admissions AIN102 Module 225
Having – SQL View
Restricts the groups returned
Operates on the groups after they have been formed
Admissions AIN102 Module 226
HAVING
58. 15
Admissions AIN102 Module 229
Database Design
Diagram of the database for reference in joins
Admissions AIN102 Module 230
Joins
Used to combine columns from more
than one table
Several types
– Inner
– Outer
Left
Right
– Others (not covered)
Full Outer (Not supported in Access)
Cross
Self
Non equal
59. 16
Admissions AIN102 Module 231
Inner Join
Pairs each row from first table with
corresponding row from second table over
the “join column” or “linking column”
The result only contains rows where there is
a match over the join column in both tables
The default join in most databases
Admissions AIN102 Module 232
Inner Join Syntax
Basic SQL 92 Syntax:
SELECT column-list
FROM table1 [AS alias]
INNER JOIN table2 [AS alias]
ON join-condition
60. 17
Admissions AIN102 Module 233
Table Aliases
Shorthand name for a table
Used in more complex queries
Select t.id, s.lname
From _traveler as t
Inner join xLU_Staff as s
On t.staffid = s.staffid
Table alias
Admissions AIN102 Module 234
Inner Join Basic SQL Example
Basic Example: Add patient names to
admissions data
Two join tables
Join condition
62. 19
Admissions AIN102 Module 237
Inner Join over Multiple columns
Note that that the join condition can apply to
multiple columns if desired
Used with composite keys
Select ….
From tablea as ta
Inner join tableb as tb
On ta.key1 = tb.key1
And ta.key2 = tb.key2
Admissions AIN102 Module 238
Joining More than Two Tables
Can join several tables in one select
Try to limit to three or four
Demonstration example
63. 20
Admissions AIN102 Module 239
3 Table Query Results
Admissions AIN102 Module 240
More on Aliases
Can be set in Query
Designer, too, by
right clicking on a
table
Useful for debugging
top level queries as
we shall see later
64. 21
Admissions AIN102 Module 241
Outer Joins
Left
– selects all rows from the left or first table, even if no match
exists in the other table
– Widely used in commercial practice, esp. for reporting
Right
– same idea but all rows from right table
Full
– all rows from both tables; not supported in Access
Admissions AIN102 Module 242
Left Outer Join
Basic SQL 92 Syntax:
SELECT column-list
FROM table1
LEFT JOIN table2
ON join-condition
65. 22
Admissions AIN102 Module 243
Left Outer Join
(Right click on relationship to edit)
Admissions AIN102 Module 244
Left Outer Join
Modify your prior inner join to
use a left join
Save as qryLeft_Admit
Now run both the inner and
left joins
What is the difference?
66. 23
Admissions AIN102 Module 245
Left Outer Join Results
Admissions AIN102 Module 246
Subqueries
One select statement embedded in another
Can be nested multiple levels deep
In Access query designer can be placed in
criteria row or field row
67. 24
Admissions AIN102 Module 247
Multi-valued Subquery
A type of subquery that compares to a list
Ex: find all diagnostic codes with no admissions
Commonly encountered in commercial practice
Admissions AIN102 Module 248
Multi-valued Subquery
Place subquery in criteria row
68. 25
Admissions AIN102 Module 249
Multi-valued Subquery Result
No one was ever admitted with these diagnoses.
Admissions AIN102 Module 250
Single-valued Subquery
Subquery that returns a single value
Find all admissions with stays greater than the average stay
69. 26
Admissions AIN102 Module 251
Single-valued Subquery
Subquery that returns a single value
Admissions AIN102 Module 252
Single-valued Subquery Result
70. 27
Admissions AIN102 Module 253
Queries using Queries
Queries can be read just like a table
Some are updateable
Using a query as a source for another query
very common in Access – especially for
complicated queries
In a “back end” database such as Oracle or
SQL Sever you would use a View
Admissions AIN102 Module 254
Queries using Queries
Filter the prior query ( a little on the complicated side)
for the year 2001
71. 28
Admissions AIN102 Module 255
Queries using Queries Result
Admissions AIN102 Module 256
AIN102
Access Query Design
Part 3 – Unions, Action Queries
D. H. D’Urso and Associates
949-489-1472
http://www.dhdursoassociates.com
72. 29
Admissions AIN102 Module 257
Special Queries
Most are “Action Queries”
Reached through Query pull-down menu
Admissions AIN102 Module 258
Special Queries
Special action queries have distinct symbols
73. 30
Admissions AIN102 Module 259
Admissions Database
Diagram of the database for reference in part 3
Admissions AIN102 Module 260
Data Modification Queries
SQL Action Query
INSERT Append
UPDATE Update
DELETE Delete
SELECT…INTO Maketable
74. 31
Admissions AIN102 Module 261
Creating Action Queries
First set up the select query based on the
table you are selecting from
Test select query
Then convert to action query
When you run an action query there is no
result displayed – must look at the
affected table to see the result
Admissions AIN102 Module 262
Select Into…Maketable
Creates a new table “on the fly”
75. 32
Admissions AIN102 Module 263
Select Into…Maketable
New table
Existing table
Make Table
Admissions AIN102 Module 264
Archived Labor History
76. 33
Admissions AIN102 Module 265
Delete SQL
Deletes one or more rows
Basic Syntax:
DELETE FROM table-name
WHERE filter-criteria
Admissions AIN102 Module 266
Delete
Example:
Delete all
archived
records
newer than
12/31/2001
77. 34
Admissions AIN102 Module 267
Delete SQL
Example: Delete all archived
admissions_history newer than 12/31/01
Admissions AIN102 Module 268
Archive after DELETE
78. 35
Admissions AIN102 Module 269
More complex DELETE with FROM
clause
Can delete based on matching
records in other tables
Uses from for criteria instead of
where – uses the matched rows as
an implicit filter condition
Covered in advanced class
Admissions AIN102 Module 270
Append Query (SQL Insert)
Adds new rows to an existing table
Two forms:
– Single Row
– Multi-Row
79. 36
Admissions AIN102 Module 271
Single Row Insert
Basic Syntax:
Insert [into] table-name
Values (value-list)
Admissions AIN102 Module 272
Single Row Insert
Basic Example:
INSERT into xLU_BuildStyle
values(6, “Thick”)
Not really used this way in MS Access. Typical MS
Access use would be Insert…Select as shown in
following slides.
82. 39
Admissions AIN102 Module 277
Update
Updates fields in an existing row
Basic Syntax:
UPDATE table-name
SET field1 = new value, field2 = new value,…
WHERE selection-criteria
Admissions AIN102 Module 278
Update in Query Designer
New value
83. 40
Admissions AIN102 Module 279
Update
Increase the admission_history copays by 10%
(unrealistic to change history but we don’t want to step on our
good tables)
Admissions AIN102 Module 280
Update Results
New values
Remember: you have to look at the affected table.
No “result” is displayed.
84. 41
Admissions AIN102 Module 281
Unions
Combines the results of two queries
– Ex: current records and history
Tables must be union compatible (at least in theory!)
There is no designer in Access; must be done in SQL view
Admissions AIN102 Module 282
Union Syntax
SELECT column-list
FROM table1
UNION [ALL]
SELECT same-columns
FROM table2
88. Accelerated Computer Training for Working Professionals
Orange Coast Database Associates Course (800)355-9855 or http://ocdatabases.itgo.com
Orange Coast
Database Associates
Specializing in Microsoft Office,
Access, SQL, and related technologies
Computer Training, Programming & Consulting
32422 Alipaz St., Suite A-15
San Juan Capistrano, CA
(800)355-9855 (Toll Free) | (949)489-1472 (Direct) | (949)485-6284 (Fax)
http://www.dhdursoassociates.com | sales@dhdursoassociates.com
Accelerated Computer Training