DBS Bank SQL Interview Question - Find the missing weeks in a table

  Рет қаралды 5,886

Cloud Challengers

Cloud Challengers

Күн бұрын

SQL questions recently asked in DBS Bank interview. Find the missing weeks in a table
To find out the expected output, I use Recursive CTE.
--Create table syntax
CREATE TABLE sls_tbl (pid INT, sls_dt DATE, sls_amt INT )
-- Insert data into the table
INSERT INTO sls_tbl (pid, sls_dt, sls_amt)
VALUES (201, '2024-07-11', 140), (201, '2024-07-18', 160), (201, '2024-07-25', 150), (201, '2024-08-01', 180), (201, '2024-08-15', 170), (201, '2024-08-29', 130)
For more SQL interview questions. Check out our playlist.
• SQL Interview Questions
Contact us:
info@cloudchallengers.com
Follow us on
Instagram : cloudchallengers
Facebook : cloudchallengers
LinkedIn : linkedin.com/company/cloudchallengers

Пікірлер: 26
PwC SQL Interview Question - STRING_SPLIT(), CROSS APPLY & CROSS JOIN
7:02
Cloud Challengers
Рет қаралды 3,4 М.
How Many Of These SQL Tricks Do You Actually Know ?
8:09
Learn at Knowstar
Рет қаралды 2 М.
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
WIPRO SQL Interview Question - FIRST_VALUE( ) Function
11:18
Cloud Challengers
Рет қаралды 19 М.
Infosys SQL Interview Question
9:23
Cloud Challengers
Рет қаралды 46 М.
Walmart SQL Interview Question | SQL Window Functions | Advanced
11:31
EY SQL Interview Question | Medium-level
21:33
Nishtha Nagar
Рет қаралды 10 М.
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН