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 ...
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 ...
What is an SQL Window Function? A window is a set of rows or observations in a table or result set. In a table, you may have more than one window depending on how you specify the query. A window ...