member segmentation and insights using analytics

Member Segmentation Analysis and Insights Using Analytics

In our last post, we discussed why analytics will become a necessity to compete in an evolving banking industry. In that article, we promised to follow up with a series of posts that contain specific examples of how analytics can be applied. This first post will discuss how analytics and business intelligence can be used […]

SQL GROUP BY Clause

SQL GROUP BY Clause

(A quick reminder: take a look at our introduction to SQL post to learn how to download the sample database we are using) What is the SQL GROUP BY clause? The SQL GROUP BY clause allows you to group your data in some fashion. We usually use at least one aggregate function when using the […]

What is Big Data?

I hear the term “big data” being thrown around all the time now. “We have big data.” “We want big data.” “We need to develop a big data solution.” I believe that anything that gets people talking about data and its various applications is a positive. That being said, when most people say “big data” […]

SQL Aggregate Functions

SQL Aggregate Functions

What are SQL Aggregate Functions? Aggregate functions are functions that aggregate values and output a scalar (single-row) value as the result. Examples of aggregate functions include the COUNT, SUM, AVG, MIN, and MAX functions. For example, to find the total number of rows in the Person.Person table, we can use the query: SELECT COUNT(*) FROM […]

SQL ORDER BY

Using the SQL ORDER BY Clause

How do I sort data with the SQL ORDER BY clause? Sorting returned data is a very common task when completing SQL statements. Luckily, the SQL ORDER BY clause allows us to complete this activity pretty easily. For example, to return the the FirstName and LastName columns from Person.Person sorted by the FirstName column in […]

SQL Comparison Operators

SQL Comparison Operators

What are the different SQL Comparison Operators? In previous lessons, we have discussed many of the different SQL comparison operators that are available. These operators give you plenty of options to filter data in the WHERE clause of your SELECT statement. Having discussed many of them, I want there to be one consolidated place for […]

SQL Wildcard Operators and the LIKE Operator

SQL Wildcard Operators and the LIKE Operator

What is the LIKE operator? The LIKE operator is an operator that allows you to use SQL wildcard operators in the WHERE clause. SQL wildcard operators along with the LIKE operator allow you to search for patterns of strings. For example, to find all rows in the Person.Person table where the FirstName column starts with […]

SQL BETWEEN Operator in SQL WHERE Clause

SQL WHERE Clause BETWEEN Operator

What is the BETWEEN operator? The BETWEEN operator is a logical operator that allows you to search for data between two values. In previous lessons to find all rows in Production.Product where the ListPrice was between 100 and 200, we wrote the query: SELECT * FROM Production.Product WHERE ListPrice >= 100 AND ListPrice

SQL WHERE Clause IN Operator

SQL WHERE Clause IN Operator

What is the IN operator? The IN operator is a logical operator that can be used in the WHERE clause to filter based on a list of values. For example, using only the information learned in the previous lessons, if we wanted to return all rows in the Person.Person table where the FirstName is either […]