Tuesday, 4 July 2017

Blog No Baap

SQL Server Interview: Advance SQL Query – Find Permutations and Combinations of a String Column

In this post, I am sharing an advanced SQL Query to find a Permutations and Combinations of given string data of the table. The question is look like very complex query, but the solution is very simple.
You can apply self-joins and can prepare all available combinations. The T-SQL or Database Developer can practice this query before an interview.
Create a table with sample data:
The Solution: (This is my work around solution, Interviewer may ask for any other alternative solution so please also try to prepare it and share your comments…)
The Result:

Blog No Baap

About Blog No Baap -

Since 2016 BlogNoBaap has been bringing you the very best in all types of web resources. Posted daily, and delivered straight to your inbox each morning.

Subscribe to this Blog via Email :