SQL Server Interview: How to prevent ‘SELECT *’ using T-SQL Script?

More

SQL Server Interview: A Golden question, Can we disable the Clustered Index?

More

A Day in the life of a DBA !

More

NoSQL: The latest buzzword in Data Science, What is NoSQL? (Day 1)

More

Database Research & Development

  • Home
  • NoSQL
    • NoSQL
    • Cassandra
  • Databases
    • Database Theory
    • Database Designing
    • SQL Server Coding Standards
    • SQL Server
    • PostgreSQL
    • MySQL
    • Greenplum
    • Linux
  • Interviews
    • SQL Server Interviews
    • MySQL Interviews
    • SQL Puzzles
  • DBA Scripts
    • SQL Server DBA Scripts
    • PostgreSQL DBA Scripts
    • MySQL DBA Scripts
    • Greenplum DBA Scripts
  • Home
  • Blog Archives !
  • (: Laugh@dbrnd :)
  • Contact Me !
sqlserverinterviews

SQL Puzzle: SQL Advance Query – Find date range for same Market Rank

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, […]

October 28, 2017 SQL Puzzle
October 27, 2017

SQL Puzzle: SQL Advance Query – Count the total Working days from the given dates

October 26, 2017

SQL Puzzle: SQL Advance Query – To Swap the values in the Table

October 25, 2017

SQL Puzzle: SQL Advance Query – Generate the report on Missing Year – Month data

October 24, 2017

SQL Puzzle: SQL Advance Query – Find the average shared salary by each department

October 23, 2017

SQL Puzzle: SQL Advance Query – Find the date of all third Sunday for Year 2017

October 22, 2017

SQL Puzzle: SQL Advance Query – Check number is an Integer or not an Integer

October 21, 2017

SQL Puzzle: SQL Advance Query – Split the String and generate count of Each part

October 20, 2017

SQL Puzzle: SQL Advance Query – Use STUFF() and form the aggregate of columns

October 19, 2017

SQL Puzzle: SQL Advance Query – Group and Count of Consecutive flags

Older postsNewer posts
Follow Me !
  • Facebook
  • Linkedlin
  • Twitter
  • Google
  • Youtube
  • Flickr
MySQL !
MySQL: Controlling Query Optimizer to choose the Best Execution Plan
Find duplicate records in MySQL
Calculation of Rank in MySQL Query
MySQL: How to get Max Value for each group?
How to store and retrieve XML data into MySQL
MySQL: The Important Notes and Tips of FEDERATED Storage Engine (Part 4/4)
MySQL: Import and Export CSV data with Headers
PostgreSQL !
Database Theory: What is difference between MySQL and PostgreSQL?
PostgreSQL: SELECT Last Inserted ID or Sequence Value
PostgreSQL: DELETE JOIN with an example
PostgreSQL: How to Insert text with single quote and apostrophe?
PostgreSQL: FATAL Error – remaining connection slots are reserved for non-replication superuser connections
PostgreSQL: Tuning Checkpoint Parameters to Increase the Performance of Bulk Data Load
PostgreSQL: Load table into Buffer Cache, Increase the Speed of Accessing data
About Me!

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.

About DBRND !

dbrnd

This is a personal blog (www.dbrnd.com).

Any views or opinions represented in this blog are personal and belong solely to the blog owner and do not represent those of people, institutions or organizations that the owner may or may not be associated with in professional or personal capacity, unless explicitly stated.

Feel free to challenge me, disagree with me, or tell me I’m completely nuts in the comments section of each blog entry, but I reserve the right to delete any comment for any reason whatsoever (abusive, profane, rude, or anonymous comments) - so keep it polite.

The content of this website is protected by copyright. No portion of this website may be copied or replicated in any form without the written consent of the website owner.

Recent Comments !
  • Anvesh Patel { Sure will do... } – May 27, 12:43 PM
  • Anvesh Patel { Great... } – May 27, 12:41 PM
  • Anvesh Patel { Great... } – May 27, 12:39 PM
  • Anvesh Patel { Great... } – May 27, 12:36 PM
  • Anvesh Patel { Great... } – May 27, 12:28 PM
  • Anvesh Patel { Great... } – May 27, 12:27 PM
  • Anvesh Patel { Great... } – May 27, 12:16 PM
  • Older »
Follow Me !
  • facebook
  • linkedin
  • twitter
  • youtube
  • google
  • flickr
© 2015 – 2019 All rights reserved. Database Research & Development (dbrnd.com)
Posting....