BI Tech Lake
BI Tech Lake
  • 59
  • 325 573
SQL Query To Find Most Known Skills | Find Most Repeated Skills Data Analyst SQL Interview Problems
In this video we will see one of the asked SQL interview problems and answers for data analyst. In this SQL interview task we will use group by, having clause & count function with distinct clause of sql server.
=========================================
This video solves below queries.
=========================================
1. Data analyst interview questions and answers.
2. SQL server interview question and answers.
3. SQL sever group by and having clause.
4. Data analyst intern interview questions.
5. Data science analyst interview questions.
6. Data analyst interview preparation.
7. Data analyst interview questions.
8. Data analyst interview.
=========================================
Take a look, You may find below vides interesting.
=========================================
Find loyal customers of online food delivery app.
th-cam.com/video/TWUqE7pk6n4/w-d-xo.html
Most tricky sql interview problem
th-cam.com/video/0jrbUuDsWjI/w-d-xo.html
How to get list of all table & their record count.
th-cam.com/video/_jYmcaWOBZs/w-d-xo.html
SQL query to calculate account balance sheet.
th-cam.com/video/4TLmvy7lR10/w-d-xo.html
=========================================
Table DDL & Insert Statement for Practice
=========================================
CREATE TABLE DBO.TBL_SKILLS
(
STUD_NAME VARCHAR(50) NOT NULL,
STUD_SKILL VARCHAR(255) NOT NULL
);
GO
INSERT INTO DBO.TBL_SKILLS(STUD_NAME,STUD_SKILL)VALUES
('Sam','ADF'),
('Sam','ADB'),
('Sam','SQL'),
('Sam','Python'),
('Tom','Power BI'),
('Tom','Excel'),
('Tom','SQL'),
('Mike','C#'),
('Mike','Java'),
('Jan','Java'),
('Mike','ADF'),
('Mike','SQL');
GO
SELECT * FROM DBO.TBL_SKILLS;
GO
--Solution query
SELECT
TOP 1 STUD_SKILL
FROM DBO.TBL_SKILLS
GROUP BY STUD_SKILL
ORDER BY COUNT(STUD_SKILL) DESC;
--==========================================
#bitechlake #bizzintelligence
มุมมอง: 313

วีดีโอ

Scenario Based SQL Interview Question | Data Analyst Interview Question And Answer
มุมมอง 946ปีที่แล้ว
In this video we will see one of the scenario base sql interview question for data analyst. We will write SQL query to find consecutive records. To find the consecutive records we are going to use window functions. We will use row_number window functin of sql server and find consecutive records in sql server. As a data analyst you need to have a good understanding of window functions in sql ser...
SQL Interview Task How To Split Text Data Into Multiple Rows | Data Analyst SQL Interview Problems
มุมมอง 921ปีที่แล้ว
In this video we will see how to split text data into new rows. We will solve one of the SQL problem asked in data analyst interview. We are going to use cross apply join & one of the sql server string functions called string_split to split data into multiple rows. This is one of the most commonly asked sql interview task for data analyst. This sql problem will help you understand cross apply j...
SQL Problem MOM Growth Analysis | How to Calculate Month On Month Growth In SQL Server
มุมมอง 2.3Kปีที่แล้ว
In this video we will see how to use window function in sql server to calculate month on month growth. In SQL Server we can use lag window function to get previous month sales for mom growth analysis. This video solves below queries. 1. SQL Server window function. 2. How to calculate month on month growth in sql server. 3. SQL Server mom growth analysis. 4. How to calculate mom growth analysis ...
Most Common SQL Interview Question for Data Analyst | SQL Interview Problem And Answers
มุมมอง 273ปีที่แล้ว
In this video we will see one more sql interview problems and answers for data analyst. We will write sql query to get the male and female employee count per department. This is one of the most common sql interview task asked to data analyst to solve. As a data analyst you must be prepared and must have solved all common sql problems that are asked in data analyst interviews. This video solves ...
Accenture SQL Interview Problem for Data Analyst | SQL Query to Calculate Account Balance
มุมมอง 803ปีที่แล้ว
In this video we will solve an interesting SQL problem that is asked in Data Analyst interview. We have account transaction table in sql server where it shows amount credited and debited. We have to build sql query to calculate total account balance for each account id. To solve this task we are going to use couple of string functions like case statement, left, len along with case a type conver...
Combine Multiple Row Values Into Single Row | Data Analyst SQL Server Interview Questions
มุมมอง 3.4Kปีที่แล้ว
In this video we will see how to combine multiple row values into single row in sql server. This is one of the SQL Server task that is asked in interview for data analyst. To join multiple rows into single row we need to use String_Agg function which is a one of the string functions in sql server. It can be used along with group by clause in sql server to aggregate string values. This video sol...
How To Get Record Count For All The Tables In SQL Sever | Get List Of All Tables & Their Row Count
มุมมอง 1.1Kปีที่แล้ว
In this video we will see one of the sql task that is asked in interview for data analyst. As a data analyst we work on data that can be stored in sql server. Even though we data analyst query only data. It's also important to know some task that you need to execute in absence of database admin. In this session I have explained how to get a list of all the table that belong to different schemas...
Magical Join In SQL Server | Data Analyst SQL Server Problem | SQL Server Self Join Task
มุมมอง 234ปีที่แล้ว
In this video we will see how to find employee who are getting more salary than their manager. In this session we are going to use one of the sql join type in sql server. We are going to see what is self join in sql server. In sql server inner join can be converted to self join where we join a table itself by creating a copy of it's own using table alias in sql server. This video solves below q...
Most Asked SQL Problem in Data Analyst Interview Question | Data Analytics SQL Server Task
มุมมอง 801ปีที่แล้ว
In this video we will see the most asked sql problem in data analyst interview question. We have a employee details with department and we need to get the list of employees who are getting max (highest) salary in each department. I have solved this SQL problem using two methods. In this video I have explain cte (common table expression), joins in sql server & how to use Dense_Rank window functi...
SQL Problem I Failed To Solve As Data Analyst | SQL Query Find Max & Min Salary & Employee
มุมมอง 593ปีที่แล้ว
Yes yo read it right. This was one of the sql problem that i failed to solve initially as a data analyst. In this video we will see one of the SQL problems that is mostly asked in interview for data analyst and data engineering profiles. In this session we will solve sql interview question where we need to write a sql query to find the employees getting maximum & minimum salary along with emplo...
Data Analyst SQL Interview Questions | SQL Server Query to Find Loyal Customers Using SQL Group By
มุมมอง 507ปีที่แล้ว
In this video we will solve frequently asked SQL based interview question for data analytics and data engineering profiles. We are going to find the loyal customers of online food delivery apps using SQL Server group by clause. In this example we will use difference concepts of SQL Sever like Union All, CTE, Common Table Expression, Group by & Having clause. This video explains below concepts. ...
SQL Interview Questions for Data Analyst | SQL Query to Get Missing Month Name.
มุมมอง 1.4Kปีที่แล้ว
In this video we will see one of the most frequently asked SQL Interview Question for Data Analyst. We will solve one SQL Query problem where we will write a SQL query to find missing month using datetime & window function in sql server. This video solves below queries. 1. SQL Interview Questions for Data Analyst. 2. SQL Interview Questions. 3. Data Analyst Interview Questions. 4. Data Analyst ...
Trim Column Headers In Power Query | Remove Spaces from Column Names
มุมมอง 2.8Kปีที่แล้ว
In this video we will see how to trim column header in power query. Many times we get additional spaces in column name which should be handled in data transformation and data cleaning process. To trim column names we need to remove spaces from column name. Power query does provide option to trim field values however we need to follow different approach to trim column headers in power query. Thi...
Running Total In Power Query | Running Sum In Power Query | Cumulative sum in power query
มุมมอง 12Kปีที่แล้ว
In this video we will see how to calculate running total using power query. Many times we need to calculate cumulative sum of amount to understand till data value. Power query makes it easy to calculate cumulative sum. This video solves below queries. 1. Calculate running total in power query. 2. Calculate cumulative sum in power query. 3. Calculate running total by group using power query 4. P...
Remove Error Rows In Excel | Error Rows In Excel | Fix Error Rows In Excel
มุมมอง 793ปีที่แล้ว
Remove Error Rows In Excel | Error Rows In Excel | Fix Error Rows In Excel
How to get data from web using excel | Web Scrapping In Excel
มุมมอง 467ปีที่แล้ว
How to get data from web using excel | Web Scrapping In Excel
Refer Previous Row In Power Query | Refer to Previous Row in Power BI
มุมมอง 2.2Kปีที่แล้ว
Refer Previous Row In Power Query | Refer to Previous Row in Power BI
How to Use Subtotal In Excel | Excel Subtotal Tool & Subtotal Function
มุมมอง 146ปีที่แล้ว
How to Use Subtotal In Excel | Excel Subtotal Tool & Subtotal Function
Vlookup & Hlookup In Excel | How to Use Vlookup & Hlookup In Excel
มุมมอง 90ปีที่แล้ว
Vlookup & Hlookup In Excel | How to Use Vlookup & Hlookup In Excel
Power BI - Organize Measures With Measure Table | How To Create Measures Table In Power BI
มุมมอง 1.3Kปีที่แล้ว
Power BI - Organize Measures With Measure Table | How To Create Measures Table In Power BI
Highlight Positive & Negative Values of Bar Chart | Highlight Positive & Negative Bars In Power BI
มุมมอง 2.2Kปีที่แล้ว
Highlight Positive & Negative Values of Bar Chart | Highlight Positive & Negative Bars In Power BI
Power Query Reference Table | Power Query 2 Minutes Tips Duplicate Table
มุมมอง 1.7Kปีที่แล้ว
Power Query Reference Table | Power Query 2 Minutes Tips Duplicate Table
Power BI Rank Using the RANKX Function | Calculate Rank In Power BI using RankX DAX Function
มุมมอง 1.3Kปีที่แล้ว
Power BI Rank Using the RANKX Function | Calculate Rank In Power BI using RankX DAX Function
Power Query to Extract Number & Text from Alphanumeric Data | Extract Numbers From Text Field
มุมมอง 790ปีที่แล้ว
Power Query to Extract Number & Text from Alphanumeric Data | Extract Numbers From Text Field
Power Query Navigation Tips | Smart Ways To Use Power QueryNavigation Window
มุมมอง 848ปีที่แล้ว
Power Query Navigation Tips | Smart Ways To Use Power QueryNavigation Window
Sort Columns Alphabetically In Power Query | Order Columns In Power Query
มุมมอง 1.9Kปีที่แล้ว
Sort Columns Alphabetically In Power Query | Order Columns In Power Query
Choose Columns In Power Query 3 Smart Tips | Power Query Tips & Tricks
มุมมอง 367ปีที่แล้ว
Choose Columns In Power Query 3 Smart Tips | Power Query Tips & Tricks
Power Query Overview With Example | How to Use Power Query for Automation
มุมมอง 191ปีที่แล้ว
Power Query Overview With Example | How to Use Power Query for Automation
Calculating Percentage Change In Excel | Percentage Calculation In Excel
มุมมอง 3123 ปีที่แล้ว
Calculating Percentage Change In Excel | Percentage Calculation In Excel

ความคิดเห็น

  • @arsenal_v3
    @arsenal_v3 5 วันที่ผ่านมา

    3 years later and u just saved my ass for my Accounting 657 data analytics course 😂

  • @arnyanderson4955
    @arnyanderson4955 12 วันที่ผ่านมา

    Absolutely good worth making subscription

  • @Thedeepanshu95
    @Thedeepanshu95 หลายเดือนก่อน

    Awesome explaination and approach... Thanks buddy

  • @mohamedtharwat7697
    @mohamedtharwat7697 2 หลายเดือนก่อน

    Excellent video!

  • @giantcat4354
    @giantcat4354 2 หลายเดือนก่อน

    This was so helpful, thank you. I'll be subscribing.

  • @lordbeerus5086
    @lordbeerus5086 3 หลายเดือนก่อน

    ❤Thank you so much sir, great method

  • @mosesmascarenhas3602
    @mosesmascarenhas3602 3 หลายเดือนก่อน

    where is code?

  • @alexandraramirez6545
    @alexandraramirez6545 4 หลายเดือนก่อน

    Thank you!

  • @ceciliaayala3923
    @ceciliaayala3923 4 หลายเดือนก่อน

    Awesome, thank you very much!

  • @glenndissinger4587
    @glenndissinger4587 4 หลายเดือนก่อน

    Fantastic, thanks.! Avoid the the mistake I made, and be sure to Create the duplicate Query (Sales Data (2)in this example) before creating the index columns and list. If you don't, and make the copy during the 2nd part of the video, you'll end up getting INDEX already exists errors after you Invoke the Function in the 2 part of this video.

  • @parmanandmakhija1591
    @parmanandmakhija1591 4 หลายเดือนก่อน

    THANK YOU

  • @shuklanp
    @shuklanp 5 หลายเดือนก่อน

    It will not work for January month

  • @sohaibkhan-om4fh
    @sohaibkhan-om4fh 5 หลายเดือนก่อน

    How I can do it for bottom 3

  • @KuldeepSingh-nq1vi
    @KuldeepSingh-nq1vi 5 หลายเดือนก่อน

    Wow Great Video Sir.

  • @diveshrai8490
    @diveshrai8490 5 หลายเดือนก่อน

    Hi, do we need to again create cardinality of measure table with other table or it will catch automatically?

  • @AndrewGammie
    @AndrewGammie 5 หลายเดือนก่อน

    Is there a way to make this dynamically calculate based on a date/week commencing/month column in a date table?

  • @SoOS186
    @SoOS186 5 หลายเดือนก่อน

    How can i do running total of distinct counting of rows. From multiple data sources? From a folder source, i have 3 excel files with same information but data is updated and rows are increasing gradually in each file. How to know the amount of increased data in each file?

  • @karljolivet5991
    @karljolivet5991 6 หลายเดือนก่อน

    Thank you so much. You are the one that explained it the easiest way to

  • @kiran521
    @kiran521 6 หลายเดือนก่อน

    How it will work if current month is january and you are applying year = today

  • @micha_SVB_FD
    @micha_SVB_FD 6 หลายเดือนก่อน

    amazing❗

  • @dinohadjiyannis3225
    @dinohadjiyannis3225 6 หลายเดือนก่อน

    brilliant

  • @khalidmajeed2886
    @khalidmajeed2886 7 หลายเดือนก่อน

    sir i am like born baby ......in any language please first you explain the code what it will do then..........

  • @bankimdas9517
    @bankimdas9517 7 หลายเดือนก่อน

    I did the above question in this way, Please have a look on it sir, WITH cte AS( select EID , ENAME , EDEPT , ESAL , MAX(esal) OVER(PARTITION BY edept) as max_sal from emp_sal ) select EID , ENAME ,EDEPT , ESAL from cte WHERE esal = max_sal ORDER BY ESAL;

  • @bankimdas9517
    @bankimdas9517 7 หลายเดือนก่อน

    Awesome explanation 👍Thanks for this video. Please bring more questions on sql

  • @shivanisinghal9992
    @shivanisinghal9992 8 หลายเดือนก่อน

    Thanks a lot!! 👍

  • @shivasand7557
    @shivasand7557 9 หลายเดือนก่อน

    How to get this data in my BI system Can u attach the data file in Description

  • @manuc5353
    @manuc5353 9 หลายเดือนก่อน

    Thank You!

  • @aakashsadvilkar529
    @aakashsadvilkar529 9 หลายเดือนก่อน

    Thank you so much!!!!!!!!!

  • @mayanksingh581
    @mayanksingh581 9 หลายเดือนก่อน

    Thank bro

  • @saifulislam-xq9wh
    @saifulislam-xq9wh 9 หลายเดือนก่อน

    PLEASE provide data set

  • @hvaquiro
    @hvaquiro 10 หลายเดือนก่อน

    Thanks so much

  • @ucs711
    @ucs711 10 หลายเดือนก่อน

    It's good video... I am trying to creat multiple date sheets it's work but not supposed to creat sheet what I am looking example 1/1/24 but it's crate sheet 1 can please help me why it's doing like this I am trying to do creat 262 sheet for they entire working day and creat sheet 262 to sheet 1 instead of date

  • @AbbaskhanCA
    @AbbaskhanCA 10 หลายเดือนก่อน

    Searching a simple solution for long time for this problem, today got it... thankssssss

  • @priyav3249
    @priyav3249 11 หลายเดือนก่อน

    Great Explanation ,thank you

  • @Giridharan952
    @Giridharan952 11 หลายเดือนก่อน

    Nice Point in learning path......

  • @sangampr5
    @sangampr5 ปีที่แล้ว

    Create a dashboard using same please

  • @ynotedaw6960
    @ynotedaw6960 ปีที่แล้ว

    Thank you. Very easy to follow.

  • @TainuiaKid1973
    @TainuiaKid1973 ปีที่แล้ว

    there is an inbuilt Power Query function that does this. Table.TransformColumnNames ( #"Promoted Headers", Text.Trim ) I also like to precede it with Table.TransformColumnNames ( #"Promoted Headers", Text.Clean)

  • @chanti123aliens
    @chanti123aliens ปีที่แล้ว

    Thank you. Its Solved.... But is there any other option to get header change...?

  • @sameersawal28
    @sameersawal28 ปีที่แล้ว

    Thank you for this video

  • @davidbolduc4378
    @davidbolduc4378 ปีที่แล้ว

    Great video. Would this be considered intermediate or advanced question/sql querying skills?

  • @taimoorjamal
    @taimoorjamal ปีที่แล้ว

    Hi, I'm unable to do it on a brand, sub brand, master brand, category basis. Its showing 1.00 only.

  • @shwetkumar1719
    @shwetkumar1719 ปีที่แล้ว

    Hi sir, I have Attrition which I have formatted into a negative also hiring and Net I want to show the Attrition on the bar but on the left side like there is a loss in your chart Would it be possible?

  • @jyrrin
    @jyrrin ปีที่แล้ว

    Thought I had to do a self join for this and then concatenate two columns. This saves me so much time - thanks :)

  • @edwinhorna5995
    @edwinhorna5995 ปีที่แล้ว

    Hello I have a question about BI and I would appreciate your help. I have a table with 5 columns in order to calculate inventory per day. I can transfer the number from Final Inventory (Inventory - Used + Arrived ) to the next raw in Inventory using INDEX; however, I dont know how to insert the initial inventory number .in the inventory column. In excel this is pretty easy; the initial inventory goes in the first cell in the inventory column and the formula starts in the second row. I would appreciate the help to do this on Power BI using Power Query / DAX or M... Date // Inventory // Product Qty used // Product arrived // Final Inventory

  • @manojkahar5718
    @manojkahar5718 ปีที่แล้ว

    As always, you are the best one

  • @Jumpeer7
    @Jumpeer7 ปีที่แล้ว

    No caption?

  • @pranjalmorkhade6019
    @pranjalmorkhade6019 ปีที่แล้ว

    i am having same data set and year from 2011 to 2014 but this is not working for me. i am adding subcategory and when i add this measure in table it shows nothing please help

    • @BITechLake
      @BITechLake ปีที่แล้ว

      Could you please send your pbix file to me on the gmail id below. bizzintelligence.tech@gmail.com

  • @Yakshithnandan
    @Yakshithnandan ปีที่แล้ว

    Could you help me for quarterly.

  • @AnkitDasCo
    @AnkitDasCo ปีที่แล้ว

    I think this will miss an edge case where multiple skills are most known

    • @BITechLake
      @BITechLake ปีที่แล้ว

      Yes definitely. In that case either dense rank or sun query. But I appreciate your finding.