Data Analytics Skills
LinkedIn 👶 Easy SQL
Beginner Mode

Objective

Write a SQL query to identify candidates who have all three required skills: Python, Tableau, and PostgreSQL.

Table Schema:

  • candidates
Column Type Description
candidate_id INTEGER Unique identifier for each candidate
skill VARCHAR Name of the skill possessed by the candidate

Task Requirements:

  • Identify candidates who have Python, Tableau, and PostgreSQL skills
  • Return only the candidate IDs of qualified candidates
  • Sort results in ascending order by candidate_id

Output columns: candidate_id

Examples

Example 1:

Input:

candidates
candidate_idskill
101Python
101Tableau
101PostgreSQL
102Python
102Tableau
103Python
103PostgreSQL
104Python
104Tableau
104PostgreSQL

Output:
candidate_id
101
104
Quick Solution

Code Environment

Sign in or try as guest to run your code.

Sign In

Track

Question Difficulty Company Access
Need more practice in this area? Explore more questions →