Postgresql

Creating Tables and Indexes in PostgreSQL

Creating Tables and Indexes¶ Let us go through the details related to creating tables and indexes. We will also talk about how columns, constraints etc while going through the details related to tables and indexes. DDL – Data Definition Language Overview of Data Types Adding or Modifying Columns Different Types of Constraints Managing Constraints Indexes …

Creating Tables and Indexes in PostgreSQL Read More »

Solution to Daily Product Revenue Problem in PostgreSQL

Solution – Daily Product Revenue¶ Let us review the Final Solution for our problem statement daily_product_revenue. Prepare tables Create tables Load the data into tables We need to project the fields which we are interested in. We need to have product_id as well as product_name as there can be products with same name and can …

Solution to Daily Product Revenue Problem in PostgreSQL Read More »