MeanLifeStudies
MeanLifeStudies
  • Видео 61
  • Просмотров 43 359
Q3. Data Engineer / Data Scientist Interview Preparation - Pandas | #dataengineerinterview
#education #dataengineers #pandas #python #coding
My medium Profile: medium.com/@mahendraee204
List of employee details:
----------------------------------------------
empl_info=[
[1, 'mahendra', 3, 'Data Analytics', 50000],
[2, 'sai', 4, 'IT', 60000],
[3, 'madhav', 1, 'Software', 75000],
[4, 'uma', 2, 'Data Analytics', 85000],
[5, 'obul', 3, 'IT', 96000],
[6, 'sam',2, 'IT', 55000],[7, 'umesh',4, 'Data Analytics',70000],
[8,'ram',3,'Software',30000]
]
Просмотров: 404

Видео

first value, last value Window Functions in SQL | #WindowFunctions #SQL #dataanalyst
Просмотров 13912 часов назад
#education #sql #windowfunctions #sqlconcepts
Q2. Data Engineer / Data Scientist Interview Preparation - Pandas | #dataengineerinterview
Просмотров 19514 часов назад
#education #dataengineers #pandas #python #coding My medium Profile: medium.com/@mahendraee204 List of employee details: empl_info=[ [1, 'mahendra', 3, 'Data Analytics', 50000], [2, 'sai', 4, 'IT', 60000], [3, 'madhav', 1, 'Software', 75000], [4, 'uma', 2, 'Data Analytics', 85000], [5, 'obul', 3, 'IT', 96000], [6, 'sam',2, 'IT', 55000],[7, 'umesh',4, 'Data Analytics',70000], [8,'ram',3,'Softwar...
Using aggregate functions in Pandas | #dataengineers #datascientist
Просмотров 9816 часов назад
#education #python #dataanalyst #dataengineering #pandas #datascience #aggregatefunctions Here is my medium profile to see all useful content for both data analyst or data engineer interview preparations: medium.com/@mahendraee204
Add, drop, and update a column in any data frame in Pandas. | #Pandas #dataengineerinterview
Просмотров 6819 часов назад
#education #dataanalyst #dataengineering #pandas #programming #python medium profile: medium.com/@mahendraee204 GitHub profile: github.com/mahendra204
Data Frame Creation with different Use Cases
Просмотров 6419 часов назад
#dataengineer #pandas #education #python #interview #DataScience #coding medium profile: medium.com/@mahendraee204 Github profile: github.com/mahendra204
Q1. Data Engineer/data Scientist Interview Question - Solution Using Pandas
Просмотров 33521 час назад
#dataengineering #pandas #Data scientist #python #interview #coding Data File Link: github.com/mahendra204/Data-Engineering/blob/main/employees_info.xlsx My medium page: medium.com/@mahendraee204 Github page: github.com/mahendra204
SQL Interview Problem - Solution(Part-XXXI) | #dataanalyst #interview #dataengineerinterview
Просмотров 615День назад
#dataanalyst #sqlfordataengineer #education #dataanalytics Here are My profiles that will definitely help your preparation for data analyst or data engineer roles. Medium: medium.com/@mahendraee204 Github: github.com/mahendra204 Do you want to read the entire solution? then visit the medium article, link mentioned below: medium.com/towards-data-engineering/high-probable-and-the-most-frequently-...
Concept of Temporary Table in SQL | #MeanlifeStudies #SQL #DataAnalysts
Просмотров 123День назад
Concept of Temp Table. In this video I explained only local temp table i.e. (#temp table) creation and its usage. This can be accessed only for the session where we created temp table. Another one is global temp table i.e. ( temp table) This can be accessed up to multiple sessions. It will be dropped automatically after the last session. #SQLConcepts #Temporary Tables #SQLServer #Data Analytics...
SQL Interview Problem - Solution(Part-XXX) | #dataanalyst #interview #dataengineerinterview
Просмотров 1,1 тыс.14 дней назад
#dataanalyst #sqlfordataengineer #education #dataanalytics Here are My profiles that will definitely help your preparation for data analyst or data engineer roles. Medium: medium.com/@mahendraee204 Github: github.com/mahendra204 Table Create and insert statements: create table player_information(player_id int, name varchar(20)) insert into player_information values(108, 'Rohit Sharma'), (105, '...
String Functions in SQL (Practice Session) | Data Analysts | Data Engineers | SQL
Просмотров 19414 дней назад
#education #dataanalyst #dataengineering #sqlinterview #stringfunctions #sql
SQL Interview Problem - Solution(Part-XXIX) | #dataanalyst #interview #dataengineerinterview
Просмотров 1,4 тыс.Месяц назад
#dataanalyst #sqlfordataengineer #education #dataanalytics Here are My profiles that will definitely help your preparation for data analyst or data engineer roles. Medium: medium.com/@mahendraee204 Github: github.com/mahendra204 Table Create and insert statements: create table Alphabetwords(letter_word varchar(10)) insert into Alphabetwords values ('D'),('A'), ('B'), ('C'), ('E'), ('Elephant'),...
SQL Interview Questions - Solution (Part - XXVIII) | #dataanalyst | #dataengineers | #sql
Просмотров 499Месяц назад
#dataanalyst #sqlfordataengineer #education #dataanalytics Here are My profiles that will definitely help your preparation for data analyst or data engineer roles. Medium: medium.com/@mahendraee204 Github: github.com/mahendra204 Table Create and insert statements: create table purchase_info ( customer_id int, purchase_date date, item varchar(20), item_category varchar(20), price int, quantity i...
SQL Interview Question - Solution (Part - XXVII) | #SQL #dataanalytics #dataengineers #dataanalyst
Просмотров 683Месяц назад
#dataanalyst #sqlfordataengineer #education #dataanalytics Here are My profiles that will definitely help your preparation for data analyst or data engineer roles. Medium: medium.com/@mahendraee204 Github: github.com/mahendra204 Table Create and insert statements: create table route_distance ( source varchar(20), destination varchar(20), distance int ); insert into route_distance values ('a', '...
SQL Interview Question - Solution (Part - XXVI) | #sql #education #dataanalyst #dataengineers
Просмотров 628Месяц назад
#dataanalyst #sqlfordataengineer #education #dataanalytics Article format of this problem - solution medium.com/meanlifestudies/meta-hard-level-sql-interview-question-solution-f77e864f6041 Here are My profiles that will definitely help your preparation for data analyst or data engineer roles. Medium: medium.com/@mahendraee204 Github: github.com/mahendra204 Table Create and insert statements: cr...
DBeaver | A Universal Data Base Management tool | #RDBMS #dataengineers #dataanalytics #dbeaver
Просмотров 2522 месяца назад
DBeaver | A Universal Data Base Management tool | #RDBMS #dataengineers #dataanalytics #dbeaver
SQL Interview Question - Solution (Part - XXV) | #sql #dataanalyst #dataengineers #education
Просмотров 3,1 тыс.2 месяца назад
SQL Interview Question - Solution (Part - XXV) | #sql #dataanalyst #dataengineers #education
SQL Interview Problem - Solution (Part - XXIV) | #Sql #dataengineers #dataanalytics #dataanalyst
Просмотров 8512 месяца назад
SQL Interview Problem - Solution (Part - XXIV) | #Sql #dataengineers #dataanalytics #dataanalyst
SQL interview Problem - Solution (XXIII) | #dataanalyst #dataengineers #sql #sqlinterview
Просмотров 6612 месяца назад
SQL interview Problem - Solution (XXIII) | #dataanalyst #dataengineers #sql #sqlinterview
window functions (With Case Study) - (Part - I)
Просмотров 6772 месяца назад
window functions (With Case Study) - (Part - I)
SQL Interview Problem - Solution (Part -XXII) | #sqlinterview #dataanalyst #sql #dataengineers
Просмотров 1,2 тыс.2 месяца назад
SQL Interview Problem - Solution (Part -XXII) | #sqlinterview #dataanalyst #sql #dataengineers
SQL Interview Problem - Solution (Part - XXI) | #SQL #dataanalyst #dataengineers #interview
Просмотров 1,7 тыс.3 месяца назад
SQL Interview Problem - Solution (Part - XXI) | #SQL #dataanalyst #dataengineers #interview
SQL Interview Problem - Solution - (Part - XX) | #SQL #dataanalystinterview #dataengineerinterview
Просмотров 5833 месяца назад
SQL Interview Problem - Solution - (Part - XX) | #SQL #dataanalystinterview #dataengineerinterview
SQL Interview Problem - Solution - (Part - XIX) | #sql #dataanalyst #dataengineers
Просмотров 1,1 тыс.3 месяца назад
SQL Interview Problem - Solution - (Part - XIX) | #sql #dataanalyst #dataengineers
SQL Interview Question - Solution (Part - XVIII) | #sql #data analyst #data engineers
Просмотров 8223 месяца назад
SQL Interview Question - Solution (Part - XVIII) | #sql #data analyst #data engineers
Data Analysis Case Study - II | #data analyst | #case study Study #dataanalystinterview #sql
Просмотров 6553 месяца назад
Data Analysis Case Study - II | #data analyst | #case study Study #dataanalystinterview #sql
SQL Interview Question - Solution (Part - XVII) | #SQL #data analyst #data engineers #interview
Просмотров 9183 месяца назад
SQL Interview Question - Solution (Part - XVII) | #SQL #data analyst #data engineers #interview
SQL Interview Question - Solution (Part - XVI) | #sql #dataengineers #interview
Просмотров 1,3 тыс.3 месяца назад
SQL Interview Question - Solution (Part - XVI) | #sql #dataengineers #interview
SQL Interview Question - Solution (Part - XV) | #interview #Data Engineer #sq interview
Просмотров 1,6 тыс.3 месяца назад
SQL Interview Question - Solution (Part - XV) | #interview #Data Engineer #sq interview
SQL Interview Question - Solution (Part - XIV) | Data Analyst | Data Engineer
Просмотров 1,1 тыс.3 месяца назад
SQL Interview Question - Solution (Part - XIV) | Data Analyst | Data Engineer

Комментарии

  • @sahilsinghhhh
    @sahilsinghhhh 5 дней назад

    Wow

  • @bankimdas9517
    @bankimdas9517 6 дней назад

    Thanks for the video

  • @Soul-f3v
    @Soul-f3v 7 дней назад

    with cte1 as( select letter_word as single_letter from Alphabetwords where LEN(letter_word)=1), cte2 as( select letter_word as multiple_letter from Alphabetwords where LEN(letter_word)>1) select distinct single_letter,multiple_letter from cte1,cte2 where SUBSTRING(single_letter,1,1) = SUBSTRING(multiple_letter,1,1);

  • @hrishi2839
    @hrishi2839 7 дней назад

    this concept was new to me, thanks man

  • @bankimdas9517
    @bankimdas9517 8 дней назад

    Nice explanation🙏

  • @krishnenduchakraborty750
    @krishnenduchakraborty750 8 дней назад

    Excellent Explanation. Thanks a lot! 🙏

  • @hrishi2839
    @hrishi2839 8 дней назад

    Thank u sir

  • @bankimdas9517
    @bankimdas9517 9 дней назад

    Thanks for making this series🙏

  • @harshitsalecha221
    @harshitsalecha221 9 дней назад

    SELECT DISTINCT CASE WHEN r1.source<r1.destination THEN r1.source ELSE r1.destination END as source, CASE WHEN r1.destination>r1.source THEN r1.destination ELSE r1.source END destination, r1.distance FROM route_distance as r1 INNER JOIN route_distance as r2 ON r1.source=r2.destination AND r1.destination=r2.source AND r1.distance=r2.distance UNION SELECT r1.* FROM route_distance as r1 INNER JOIN route_distance as r2 ON r1.source=r2.destination AND r1.destination=r2.source AND r1.distance<>r2.distance;

  • @RajeshKumar-ux1tw
    @RajeshKumar-ux1tw 10 дней назад

    Very nice

  • @RaviKanth-fx1pt
    @RaviKanth-fx1pt 11 дней назад

    with cte as( select * , case when runs_scored >= 50 then 1 else 0 end as flag from matches where player_id not in (select player_id from matches where runs_scored = 0) ) select p.name, sum(c.runs_scored) as Runs from cte c join players p on c.player_id = p.id group by p.name having sum(flag) >= 2

  • @RavindraLahane-z7f
    @RavindraLahane-z7f 13 дней назад

    Excellent explained

  • @hrishi2839
    @hrishi2839 14 дней назад

    Thnxxx 💯

  • @hrishi2839
    @hrishi2839 14 дней назад

    Thnxx 💯

  • @deepanshubanyal7109
    @deepanshubanyal7109 14 дней назад

    Select Player Name, sum( Runs_scored) as runs from matches m join players p on m.player_id=p.id where not exists ( select 1 from matches where runs=0 and m.player_id=player_id) group by player_id, Player_name having count( case when runs_scored>=50 then 1 end) >=2

  • @devisettikashyap1496
    @devisettikashyap1496 14 дней назад

    when we write a.source<a.destination on what basis it is filtering on ascii value?

    • @MeanLifeStudies
      @MeanLifeStudies 14 дней назад

      Yes, based on its ASCII values. a=97, b=98, ........; as per the output we followed this condition.

  • @RavindraLahane-z7f
    @RavindraLahane-z7f 14 дней назад

    Very nice experience.. excellent

  • @yasaswikopparapu4566
    @yasaswikopparapu4566 14 дней назад

    with cte as(select player_id,substr(name,1,instr(name,' ')-1) as first_name,substr(name,instr(name,' ')+1) as last_name from player) select case when mod(cte.player_id,2)=0 then first_name else last_name end as name from cte order by (case when mod(cte.player_id,2)=0 then first_name else last_name end);

  • @harshitsalecha221
    @harshitsalecha221 14 дней назад

    SELECT player_name FROM (SELECT CASE WHEN player_id%2<>0 THEN substring_index(name," ",-1) ELSE substring_index(name," ",1) END player_name FROM player_information) as a ORDER BY player_name;

  • @AbhishekSharma-vm7tr
    @AbhishekSharma-vm7tr 14 дней назад

    sir i have a question what type of sql questions they ask for fresher role in data analytics interview ? please guide me

    • @MeanLifeStudies
      @MeanLifeStudies 14 дней назад

      Freshers Should More focus on Basics Concepts (Simple to medium level Queries), Joins, and Subqueries. First Interviewers check basics. If you fail to answer. they can easily understand that you couldn't do advanced SQL.

    • @AbhishekSharma-vm7tr
      @AbhishekSharma-vm7tr 14 дней назад

      @@MeanLifeStudies so sir if i answered basic they will ask advance question if i could not answer these questions they will reject me ? Because advance is pretty hard i would say for beginners Any suggestions!

    • @MeanLifeStudies
      @MeanLifeStudies 14 дней назад

      It depends on different factors.

  • @user-gq6cg3ls7f
    @user-gq6cg3ls7f 15 дней назад

    with cte as( select player_id, SUBSTRING(name, 1, CHARINDEX(' ', name)-1) first_name, SUBSTRING(name, CHARINDEX(' ', name)+1, LEN(name) - CHARINDEX(' ', name)) last_name from player_information ) select case when player_id%2 = 0 then first_name else last_name end Name from cte order by (case when player_id%2 = 0 then first_name else last_name end)

  • @rachamaduguchaitanya2135
    @rachamaduguchaitanya2135 15 дней назад

    Good explanation

  • @arjundev4908
    @arjundev4908 16 дней назад

    with cte as(SELECT *, case when length(substring(letter_word,1))> 1 then substring(letter_word,1,1) else '' end as stat FROM alphabetwords) select c.letter_word as Alphabet, c1.letter_word as Words from cte as c join cte as c1 on c.letter_word = c1.stat order by 1;

  • @raobbulusu
    @raobbulusu 17 дней назад

    select a1.letter_word as l1, a2.letter_word l2 from Alphabetwords a1 join Alphabetwords a2 on a1.letter_word != a2.letter_word where l1 = substring(l2, 1,1)

  • @hairavyadav6579
    @hairavyadav6579 23 дня назад

    My approach select * from words w1 join words w2 on w1.letter_word=left(w2.letter_word,1) and length(w1.letter_word)!=length(w2.letter_word) order by w1.letter_word;

  • @Ujjwalmishra-t1w
    @Ujjwalmishra-t1w 24 дня назад

    Thanks sir

  • @talamanchisudheernadh698
    @talamanchisudheernadh698 28 дней назад

    with t1 as ( select *,dense_rank()over(order by match_id) as rn from wc_matches) select * from wc_players as a join (select player_id, count(distinct match_id) from t1 where rn<=3 group by player_id having count(distinct match_id)=3)b on a.id=b.player_id

  • @devrajpatidar5927
    @devrajpatidar5927 29 дней назад

    here is my approch using self join :- select a.letter_word as Alphabet,b.letter_word as Words from Alphabetwords as a inner join Alphabetwords as b on a.letter_word = left(b.letter_word,1) and len(b.letter_word) <> 1 order by Alphabet;

  • @Chathur732
    @Chathur732 29 дней назад

    with cte as ( select *, case when length(letter_word) = 1 then letter_word end as letter, case when length(letter_word)>1 then letter_word end as word from Alphabetwords order by case when length(letter_word) = 1 then letter_word end ) select c1.letter, c2.word from cte c1 inner join cte c2 on c1.letter = substring(c2.word,1,1) OR SIMPLE SOLUTION: select * from Alphabetwords A join Alphabetwords B on A.letter_word = substring(B.letter_word,1,1) and length(A.letter_word)<length(B.letter_word)

  • @Ujjwalmishra-t1w
    @Ujjwalmishra-t1w Месяц назад

    Nice sir

  • @VITTALPUJAR-k5w
    @VITTALPUJAR-k5w Месяц назад

    nice explanation sir...

  • @MaheshNaidu-j3x
    @MaheshNaidu-j3x Месяц назад

    Its an excellent db open source tool....i used this for 3 years...

    • @MeanLifeStudies
      @MeanLifeStudies Месяц назад

      Yes. i.e. I thought I should share this information to all upcoming data professionals to know the benefits of using this.

  • @rakeshkoli4384
    @rakeshkoli4384 Месяц назад

    nice

  • @harshitsalecha221
    @harshitsalecha221 Месяц назад

    SELECT c1.letter_word, c2.letter_word FROM alphabetwords as c1 INNER JOIN alphabetwords as c2 ON c1.letter_word=LEFT(c2.letter_word,1) AND length(c2.letter_word)>1 ORDER BY c1.letter_word;

    • @MeanLifeStudies
      @MeanLifeStudies Месяц назад

      Yes, this is perfect for a given problem. I have used windows and join just if incase counter questions asked to return differently like a for ball, b for cat, c for donkey........

  • @jokerman1051
    @jokerman1051 Месяц назад

    bro your voice is very low

    • @MeanLifeStudies
      @MeanLifeStudies Месяц назад

      Sorry. At my end, it was good while I was checking the video and audio. I will look into into again. I will make sure I will rectify it from next onwards. Thank You.

    • @jokerman1051
      @jokerman1051 Месяц назад

      @@MeanLifeStudies Thanks bro for uploading solutions. it helps me alot

  • @VenkateshMarupaka-gn3rp
    @VenkateshMarupaka-gn3rp Месяц назад

    My solution: SELECT a.letter_word AS Alphabet, b.letter_word AS Word FROM Alphabetwords a JOIN Alphabetwords b ON a.letter_word = SUBSTRING(b.letter_word,1,1) AND LEN(a.letter_word) < LEN(b.letter_word) ORDER BY a.letter_word

  • @namangarg7023
    @namangarg7023 Месяц назад

    I think u have used joined tables from 3 corrsponding tables to use over here

  • @namangarg7023
    @namangarg7023 Месяц назад

    can we do it buy partition of productid instead of customerid . I was trying found different results as against customerid. I suppose table is not in 2nf form thats why confusing

  • @ChaitanyaKariya-x4q
    @ChaitanyaKariya-x4q Месяц назад

    Bro why your video has hell of 1000 adds in every video

    • @MeanLifeStudies
      @MeanLifeStudies Месяц назад

      Kindly excuse me. I don't know why. I didn't even monetized yet.

    • @ChaitanyaKariya-x4q
      @ChaitanyaKariya-x4q Месяц назад

      @@MeanLifeStudies btw you post good questions, keep posting advance level questions too

    • @MeanLifeStudies
      @MeanLifeStudies Месяц назад

      Definitely, I will. keep supporting. Don't forget to share with your friends and peers. Thank you.

  • @ChaitanyaKariya-x4q
    @ChaitanyaKariya-x4q Месяц назад

    using subquery ✅- select user_id , (100.0 * followers/(select count(*) as total_users from ( select distinct user_id as users from famous union select distinct follower_id as users from famous)) ) as followers_perc from ( select user_id , count(*) as followers from famous group by user_id order by user_id) x

  • @namangarg7023
    @namangarg7023 Месяц назад

    this was tough