Differences between aggregation and composition in Python Class

Have you heard the term aggregation or composition of classes in python? This can be a little tricky but let me share a simple scenario to explain the concept. Let’s assume we have a class employee and another class salary. The salary class has capability to calculate annual salary given the pay and the bonus. […]

Read More

How to use analytic functions First_value and Last_value introduced in SQL Server 2012

I want to quickly go over some useful analytic functions introduced in sql server 2012 and how you can use it to accomplish some cool tasks in your data warehouse. Lets take a scenario where you have many employees who makes sales to various customers over the years. You are interested in generating report which […]

Read More