sql scenario based interview questions and answers | sql | interview

Опубликовано: 11 Март 2026
на канале: DEwithDhairy
1,055
32

sql scenario based interview questions and answers

Create Table Code :
================
create table salary
(
emp_id int,
emp_name varchar(30),
base_salary int
);

insert into salary values(1, 'Rohan', 5000);
insert into salary values(2, 'Alex', 6000);
insert into salary values(3, 'Maryam', 7000);



create table income
(
id int,
income varchar(20),
percentage int
);
insert into income values(1,'Basic', 100);
insert into income values(2,'Allowance', 4);
insert into income values(3,'Others', 6);



create table deduction
(
id int,
deduction varchar(20),
percentage int
);
insert into deduction values(1,'Insurance', 5);
insert into deduction values(2,'Health', 6);
insert into deduction values(3,'House', 4);



Need Help ? Connect With me 1:1 - https://topmate.io/dewithdhairy

Let's connect on LinkedIn :   / dhirajgupta141  

top interview question and answer in pyspark :
   • top interview questions and answers in pys...  

PySpark Installation and Setup :    • Spark Installation | PySpark Installation ...  

DSA In Python Interview Series :    • dsa for data engineer | dsa for data analy...  

PySpark Interview Series :    • pyspark interview questions and answers  

Pandas Interview Series :    • pandas interview questions and answers  

SQL Interview Series :    • sql interview questions and answers  


#interview #sql #faang #dataengineers #pivot #zs #fang #pyspark #sql #interview #dataengineers #dataanalytics #datascience #StrataScratch #Facebook #data #dataengineeringinterview #codechallenge #datascientist #pyspark #CodingInterview
#dsafordataguy #dewithdhairy #DEwithDhairy #dhiarjgupta #leetcode #topinterviewquestion