Check the below input data and require output data to find the start date and end date range for the same market rank and if market rank change, only generates a new range row. Input data: [crayon-6a23f4403b320885706999/] Expected output: [crayon-6a23f4403b322917906245/] Create a table with sample data: [crayon-6a23f4403b323664223445/] Solution 1: [crayon-6a23f4403b324305948516/] Solution 2: [crayon-6a23f4403b325902207972/] Oct 28, […]

I'm Anvesh Patel, a Database Engineer certified by Oracle and IBM. I'm working as a Database Architect, Database Optimizer, Database Administrator, Database Developer. Providing the best articles and solutions for different problems in the best manner through my blogs is my passion. I have more than six years of experience with various RDBMS products like MSSQL Server, PostgreSQL, MySQL, Greenplum and currently learning and doing research on BIGData and NoSQL technology. -- Hyderabad, India.