Download presentation
Presentation is loading. Please wait.
Published byClarence Fox Modified over 6 years ago
1
Cameron Blashka| Informer Implementation Specialist
SQL Links and Using New Criteria Types Getting the Most Out of Your SQL Database PRESENTER: Cameron Blashka| Informer Implementation Specialist April 26 & April 27, 2017
2
Overview SQL Functions as Informer Properties SQL Properties and Links
Types of Links SQL Criteria Multi-value View
3
SQL Functions Pre-existing SQL functions can process fields and output them as new Informer fields Useful for multi-part joins
4
SQL Properties Every table has a primary key
Primary keys from one table can exist as foreign keys in a secondary table
5
What are links? Links define a relationship between two fields
Either direct… Or via a third table… ADDRESS ID STATE ZIP PERSON ID NAME COMPANY ID COMPANY ID ADDRESS ID
6
Creating a Link Mappings -> [Datasource] -> [Table] -> Links
7
Creating a Direct Link Associate one table directly to the fields in a secondary table
8
Creating a Link via a Third-Table
Associates one table to another, via a third “collection table”
9
Creating a Scalar Link Allows users to create a JOIN between two tables that will only bring back a specific sub-set of data
10
Embedded Links Configures the link so that all “child” fields appear within the “parent” table Happens both when adding columns and selecting filters
11
Embedded v. Not Embedded
12
Aggregate Conditions Aggregate Columns and Conditions
Performs a SQL Aggregate function on the desired column Has an impact on performance due to server-side calculation Allows you to group on the column that the aggregates are performed on
13
Aggregate Conditions First create an Aggregate column, then an Aggregate filter
14
Aggregate Conditions Results in:
15
Sub-selects Should start in one table that links to a secondary table with a one-to-many relationship Useful for finding specific values in a dataset For example… Finding a list of non-returning students, or students present enrolled during Fall 2005, but not Spring 2006
16
Sub-selects Starts with…
17
Sub-selects Filter 1…
18
Sub-selects Filter 2…
19
Sub-selects Finalized filters…
20
Sub-selects Ends with…
21
Multi-value View Allows users to select and “collapse” the non-unique data contained in a single column
22
Multi-value View After enabling multi-value view on the ID STUDENT, First Name, and Last Name
23
Resources SQL Features Reporting How-To’s
Mappings, Properties, and Links And, as always, you can visit our Help Center for more information about anything you might need!
24
Thank you! Any questions?
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.