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 maximum consecutive wins for team India

Check the below input data and require output data to find maximum consecutive wins for team India. Input Data: [crayon-6a9529e9cf01f747706364/] Expected output: [crayon-6a9529e9cf022159344383/] Create a table with sample data: [crayon-6a9529e9cf023939417861/] Solution: [crayon-6a9529e9cf024928092137/] Please try the different solutions for this puzzle and share it via comment... Oct 18, 2017Anvesh Patel

October 18, 2017 Uncategorized
October 17, 2017

SQL Puzzle: SQL Advance Query – Concat repeated String with their Count

October 16, 2017

SQL Puzzle: SQL Advance Query – If holiday on joining day, change joining date

October 15, 2017

SQL Puzzle: SQL Advance Query – Find count of value from multiple columns

October 14, 2017

SQL Puzzle: SQL Advance Query – Skip the first set of Zeros

October 13, 2017

SQL Puzzle: SQL Advance Query – Find second highest salary for each department

October 12, 2017

SQL Puzzle: SQL Advance Query – Find number of days of the Month of any date

October 11, 2017

SQL Puzzle: SQL Advance Query – Find number the first day of Quarter of Year

October 10, 2017

SQL Puzzle: SQL Advance Query – Solve Date Overlapping Problem

October 9, 2017

SQL Puzzle: SQL Advance Query – Partition Employee Table in Three parts

Older postsNewer posts
Follow Me !
  • Facebook
  • Linkedlin
  • Twitter
  • Google
  • Youtube
  • Flickr
MySQL !
MySQL: How to change the default name of root User?
MySQL: Why InnoDB Engine stores all databases in one file (ibdata1)?
MySQL: The Main difference between InnoDB and MyISAM
MySQL: Increase the Performance of CREATE INDEX and DROP INDEX for InnoDB
MySQL: Create FEDERATED Table using CREATE SERVER
MySQL Flush Command
MySQL: Search String using Regular Expressions (REGEXP)
PostgreSQL !
PostgreSQL: Using PSQL, Disable Autocommit Globally
PostgreSQL: Copy Table Data from another Table (INSERT INTO SELECT)
PostgreSQL: Important Statistics Table, Used by the Query Planner
PostgreSQL 9.5: Using FOR UPDATE SKIP LOCKED Option SELECT only Committed Records
PostgreSQL: Example of RANGE Data Type
PostgreSQL 9.6: Introduced CROSSTABVIEW (pivot) in PSQL
String Array as an input parameter in PostgreSQL
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... }
  • Anvesh Patel { Great... }
  • Anvesh Patel { Great... }
  • Anvesh Patel { Great... }
  • Anvesh Patel { Great... }
  • Anvesh Patel { Great... }
  • Anvesh Patel { Great... }
  • Older »
Follow Me !
  • facebook
  • linkedin
  • twitter
  • youtube
  • google
  • flickr
© 2015 – 2019 All rights reserved. Database Research & Development (dbrnd.com)
Posting....