Skip to content

தமிழில் – Data Science Candidates #sqlfordataengineer #faangpreparation #interviewquestions #sql

தமிழில் – Data Science Candidates #sqlfordataengineer #faangpreparation #interviewquestions #sql

SQL Question 42 (தமிழில்): Data Science Candidates

Full Video: https://www.youtube.com/watch?v=a6fyVEGkdQA />
Video 236: This is the 42nd video of the SQL Interview Question series.

We are given Candidates table which has candidate_id and skill. the combination of candidate_id, skill is the primary key for this table.
Each row includes candidate_id and skill.

We are asked to write a query to find the candidates best suited for a Data Scientist position. The candidate must be proficient in Python, Tableau, and PostgreSQL.
Return the result table ordered by candidate_id in ascending order.

In this video, we delve into three distinct methods for identifying candidates best suited for a Data Scientist role based on their proficiency in Python, Tableau, and PostgreSQL.

*** Approach 1: Brute Force Method ***
This approach adopts a straightforward strategy, employing subqueries to individually verify the presence of each required skill. By selecting distinct candidate_ids where each skill is present and intersecting the results, we obtain the desired candidates sorted in ascending order.

*** Approach 2: Correlated Subquery ***
In this method, we utilize a correlated subquery to dynamically count the distinct skills for each candidate_id. By selecting candidate_ids where the count of distinct skills equals 3, we identify candidates proficient in all three required skills.

*** Approach 3: Aggregate Format ***
This approach focuses on grouping the data by candidate_id and filtering the groups to only include those with all three required skills using the HAVING clause. By grouping candidates based on their skills and ensuring each group contains exactly three distinct skills, we obtain the desired candidates sorted in ascending order.

Each approach offers its unique advantages and considerations, and through this video, we explore their effectiveness and efficiency in identifying suitable candidates for the Data Scientist position.

For a comprehensive understanding of these SQL methodologies and their application, please refer to this explanatory video.

code: https://github.com/jeganpillai/sql_reference/blob/main/v0042_data_science_candidates.sql

Follow me on,
Website : https://growwithdata.co/
YouTube : https://www.youtube.com/@growwithdata
TikTok : https://www.tiktok.com/@growwithdata
LinkedIn : https://www.linkedin.com/company/growwithdata/
Facebook : https://www.facebook.com/growwithdata.co/
FB Group : facebook.com/groups/datainterviewpreparation
twitter : https://twitter.com/growwithdata_co
Instagram : https://www.instagram.com/growwithdata.co/
WhatsApp : https://whatsapp.com/channel/0029VaF8pkb77qVNfbp5pA0S
TheWide : https://thewide.com/profile/891

#sql #dataengineers #tablejoins #ceil #floor #bucket #meta #google #facebook #apple #paypal #netflix #amazon #deinterview #sqlinterview #interviewquestions #leetcode #faang #maanga #mysql #oracle #dbms #query #sqlserver #mysql #coderpad #aggregates #aggregation #nonaggregation #database #placementpreparation #lead #lag #windowsfunction #nullcheck #coalesce #sqlperformance #ifnull #case #lead #lag #windowsfunction #tamil #tamilpython #tamilinterview #tamilinterviewlatest #tamilinterviewquestions #sqlintamil

Leave a Reply

Your email address will not be published. Required fields are marked *