News

Hi!I often run queries on my company’s Data Warehouse, which runs DB2. Due to the nature of my permissions, I cannot create Views or new Tables – thus, everything generally has to be done in a ...
Use aggregate functions for comparison In addition to using subselects to examine data in related tables, it’s also possible to use an aggregate function in a WHERE clause subselect to make a ...
I realized how much easier my life would be if SQL had a mode() aggregate function. (I'm using it in the mathematical sense). I'm guessing that either I use SQL in a wierd way or there is a good ...
Functions are predefined in SQL and you use them to perform operations on data. They let you do things like aggregating data, formatting strings, extracting dates, and so on.