0% found this document useful (0 votes)
21 views7 pages

DBMS Programming Question Pool

The document is a compilation of SQL query challenges categorized by topic and difficulty level, sourced from platforms like Hackerrank and Leetcode. It includes various types of queries such as Basic Select, Joins, Subquery, and Aggregate Functions, along with links to each challenge. Each entry provides a brief description of the task, making it a useful resource for practicing SQL skills.

Uploaded by

padma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views7 pages

DBMS Programming Question Pool

The document is a compilation of SQL query challenges categorized by topic and difficulty level, sourced from platforms like Hackerrank and Leetcode. It includes various types of queries such as Basic Select, Joins, Subquery, and Aggregate Functions, along with links to each challenge. Each entry provides a brief description of the task, making it a useful resource for practicing SQL skills.

Uploaded by

padma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 7

sno Topic Level Question Source Source Link Link to question

1 Basic Select Easy Invalid Tweets Leetcode Search an element in Arrays | codechef SQL Queries
2 Basic Select Easy Big Countries Hackerrank For Loop | HackerRank SQL Queries
3 Basic Select Easy Recyclable and Low Fat Products LeetCode Plus One | Leetcode SQL Queries
4 Basic Select Easy Query all columns of american cities https://www.hackerrank.com/challenges/revising-the-select-query/problem?isFullScreen=true
Hackerrank SQL Queries
5 Basic Select Easy Query the name https://www.hackerrank.com/challenges/revising-the-select-query-2/problem?isFullScreen=true
Hackerrank SQL Queries
6 Basic Select Easy Japanese Attribute name https://www.hackerrank.com/challenges/japanese-cities-attributes/problem?isFullScreen=true
Hackerrank SQL Queries
7 Basic Select Easy Select by ID https://www.hackerrank.com/challenges/select-by-id/problem?isFullScreen=true
Hackerrank SQL Queries
8 Basic Select Easy Weather Observations https://www.hackerrank.com/challenges/weather-observation-station-1/problem?isFullScreen=true
Hackerrank SQL Queries
9 Basic Select Easy Weather Observations https://www.hackerrank.com/challenges/weather-observation-station-9/problem?isFullScreen=true
Hackerrank SQL Queries
10 Basic Seect Easy List employee names https://www.hackerrank.com/challenges/name-of-employees/problem?isFullScreen=true
Hackerrank SQL Queries
11 Basic Seect Easy Median Hackerrank SQL Queries
Advanced
12 Medium Occupations https://www.hackerrank.com/challenges/occupations/problem?isFullScreen=true
Hackerrank SQL Queries
Select
13 Basic Select Medium Symmetric Pairs https://www.hackerrank.com/challenges/symmetric-pairs/problem?isFullScreen=true
Hackerrank SQL Queries
14 PL/SQL Easy Floyd's Triangle https://www.hackerrank.com/challenges/draw-the-triangle-2/problem?isFullScreen=true
Hackerrank SQL Queries
15 PL/SQL Easy Print Prime https://www.hackerrank.com/challenges/print-prime-numbers/problem?isFullScreen=true
Hackerrank SQL Queries
16 Basic Select Easy Distinct Companies Codechef https://www.codechef.com/practice/course/sq SQL Queries
17 Basic Select Easy Handling Null Values Codechef https://www.codechef.com/practice/course/sq SQL Queries
18 Basic Select Easy Player Performance Insights Codechef https://www.codechef.com/practice/course/sq SQL Queries
S.No Topic Level Question Source
Query the names of all African
1 Joins Easy Hackerrank
cities

2 Joins Easy Query the sum of popuations Hackerrank

3 Joins Easy Rising Temperature Leetcode

Managers with atleast five direct


4 Joins Medium Leetcode
reports

Replace employee ID with


5 Joins Easy LeetCode
unique ID

6 Joins Medium Symmetric Pairs Hackerrank


Source Link Link to question
https://www.hackerrank.com/challenges/
Joins
african-cities/problem?isFullScreen=true
https://www.hackerrank.com/challenges/
asian-population/problem? Joins
isFullScreen=true
https://leetcode.com/problems/rising-
temperature/description/?
Joins
envType=study-plan-v2&envId=top-sql-
50
https://leetcode.com/problems/managers-
with-at-least-5-direct-reports/
Joins
description/?envType=study-plan-
v2&envId=top-sql-50
https://leetcode.com/problems/replace-
employee-id-with-the-unique-identifier/
Joins
description/?envType=study-plan-
v2&envId=top-sql-50
ank.com/challenges/symmetric-pairs/problem?isFullScreen=true
Joins
1 Subquery Easy Emplyees whose mgr left companyLeetcode
2 Subquery Medium Exchange Seats Leetcode
3 Subquery Medium Friend Request Leetcode
4 Joins Medium
Managers with atleast five direct reports
Leetcode
5 Joins Easy Replace employee ID with unique IDLeetCode
6 Joins Medium Symmetric Pairs Hackerrank
7 Strings Easy Hackerrank in a String! HackerRank
8 Strings Easy CamelCase HackerRank
9 Strings Easy String Construction HackerRank
10 Strings Easy Beautiful Binary String HackerRank
Subquery
ployees-whose-manager-left-the-company/description/?envType=study-plan-v2&envId=top-sql-50
Subquery
m/problems/exchange-seats/description/?envType=study-plan-v2&envId=top-sql-50
Subquery
end-requests-ii-who-has-the-most-friends/description/?envType=study-plan-v2&envId=top-sql-50
Subquery
managers-with-at-least-5-direct-reports/description/?envType=study-plan-v2&envId=top-sql-50
Subquery
ace-employee-id-with-the-unique-identifier/description/?envType=study-plan-v2&envId=top-sql-50
Single Number | Leetcode Subquery
HackerRank in a String! | Hackerrank Subquery
CamelCase | HackerRank Subquery
String Construction | HackerRank Subquery
Beautiful Binary String | HackerRank Subquery
1 Aggregate Function Easy Not Boring Movies Leetcode
2 Aggregate Function Medium Project Employees Leetcode
3 Aggregate Function Medium Monthly Transactions Leetcode
4 Aggregate Function Medium Game Play Analysis Leetcode
5 Aggregate Function Easy Count no of cities Hackerrank
6 Aggregate Function Easy Sum of Population Hackerrank
7 Aggregate Function Easy Average Populaiton HackerRank
8 Aggregate Function Easy Difference in population HackerRank
9 Aggregate Function Easy Weather Observation HackerRank
10 Aggregate Function Medium 2D Planes HackerRank
e.com/problems/not-boring-movies/?envType=study-plan-v2&envId=top-sql-50
Aggregate Functions
problems/project-employees-i/description/?envType=study-plan-v2&envId=top-sql-50
Aggregate Functions
oblems/monthly-transactions-i/description/?envType=study-plan-v2&envId=top-sql-50
Aggregate Functions
roblems/game-play-analysis-iv/description/?envType=study-plan-v2&envId=top-sql-50
Aggregate Functions
k.com/challenges/revising-aggregations-the-count-function/problem?isFullScreen=true
Aggregate Functions
Aggregate Functions
.hackerrank.com/challenges/revising-aggregations-sum/problem?isFullScreen=true
https://www.hackerrank.com/challenges/reAggregate Functions
https://www.hackerrank.com/challenges/pop Aggregate Functions
https://www.hackerrank.com/challenges/we Aggregate Functions
https://www.hackerrank.com/challenges/we Aggregate Functions

You might also like