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
Overview SQL Functions as Informer Properties SQL Properties and Links Types of Links SQL Criteria Multi-value View
SQL Functions Pre-existing SQL functions can process fields and output them as new Informer fields Useful for multi-part joins
SQL Properties Every table has a primary key Primary keys from one table can exist as foreign keys in a secondary table
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
Creating a Link Mappings -> [Datasource] -> [Table] -> Links
Creating a Direct Link Associate one table directly to the fields in a secondary table
Creating a Link via a Third-Table Associates one table to another, via a third “collection table”
Creating a Scalar Link Allows users to create a JOIN between two tables that will only bring back a specific sub-set of data
Embedded Links Configures the link so that all “child” fields appear within the “parent” table Happens both when adding columns and selecting filters
Embedded v. Not Embedded
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
Aggregate Conditions First create an Aggregate column, then an Aggregate filter
Aggregate Conditions Results in:
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
Sub-selects Starts with…
Sub-selects Filter 1…
Sub-selects Filter 2…
Sub-selects Finalized filters…
Sub-selects Ends with…
Multi-value View Allows users to select and “collapse” the non-unique data contained in a single column
Multi-value View After enabling multi-value view on the ID STUDENT, First Name, and Last Name
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!
Thank you! Any questions?