Тёмный

Top Sql Interview Questions | SQL Advanced Questions | Ashutosh Kumar 

Ashutosh Kumar
Подписаться 20 тыс.
Просмотров 2,7 тыс.
50% 1

Sql one of the most important language asked in most of the analytics interviews, in this i will be solving sql questions which was asked to me in one of the company.
Query
drop table if exists transactions;
CREATE TABLE transactions(transaction_id integer,userid integer,created_at date ,updated_at date,status text,amount int);
INSERT INTO transactions(transaction_id,userid,created_at,updated_at,status,amount)
VALUES (1,1,'04-19-2017','04-21-2017','Fail',105),
(2,3,'12-18-2019','12-19-2019','Success',215),
(3,2,'07-20-2020','07-23-2020','Success',416),
(4,1,'10-23-2019','10-26-2019','Fail',410),
(5,1,'03-19-2018','03-22-2018','Success',254),
(6,3,'12-20-2016','12-23-2016','Fail',227),
(7,1,'11-09-2016','11-11-2016','Success',351),
(8,1,'05-20-2016','05-23-2016','Success',110),
(9,2,'09-24-2017','09-27-2017','Success',135),
(10,1,'03-11-2017','03-14-2017','Fail',281),
(11,1,'03-11-2016','03-12-2016','Success',57),
(12,3,'11-10-2016','11-11-2016','Success',417),
(13,3,'12-07-2017','12-08-2017','Fail',385),
(14,3,'12-15-2016','12-16-2016','Success',329),
(15,2,'11-08-2017','11-10-2017','Fail',67),
(16,2,'09-10-2018','09-13-2018','Success',233);
drop table if exists customer;
CREATE TABLE customer(userid integer,date date);
INSERT INTO customer(userid,date)
VALUES
(1,'09-22-2009'),
(2,'09-10-2011'),
(3,'04-21-2015');
select * from customer ;
select * from transactions;
👉 Complete playlist on Advanced Sql
• Advanced Sql Concepts
👉 Complete playlist on Sql Interview questions and answers
• HackerRank SQL problem...
---------------------------------------------------------------------------------------------------------------------
Check out some more relevant content here
👉 How to Learn SQL
• How to learn sql for b...
👉 How to become a business analyst complete roadmap-
• Business Analyst Compl...
👉 How to become a data analyst complete roadmap-
• Data Analyst Complete ...
👉 Top 3 you tube channels to learn sql for free for beginners
• Video
👉 Rank ,Dense Rank, Row Number in sql -
• RANK - DENSE RANK - RO...
👉 Cross join in sql
• CROSS JOIN SQL
👉 union join in sql
• UNION IN SQL
👉 left join in sql
• LEFT JOIN IN SQL
👉 Right join in sql
• RIGHT JOIN IN SQL
👉 Inner join in sql
• INNER JOIN IN SQL
👉 Introduction to tables and databases in sql -
• INTRO TO TABLES AND DA...
👉 Aggregate Function in sql
• AGGREGATE FUNCTION IN SQL
👉 Functions in sql-
• IMPORTANT FUNCTIONS IN...
👉 String Function in sql
• STRING FUNCTIONS IN SQL
👉 CRUD operations in sql
• CREATE- READ- UPDATE-D...
👉 Autoincrement in sql
• Auto Increment in SQL ...
👉 Primary Key in sql-
• PRIMARY KEYS IN SQL - SQL
👉 Null and Default values in sql-
• NULL AND DEFAULT VALUE...
👉 Data types in sql-
• Data types in Sql - SQL
____________________________________________________________________
Fill the form below to subscribe yourself to the analytics jobs mailing list to receive regular job opening updates - docs.google.co...
Why you should definitely fill the analytics job updates google form - • Job Openings into busi...
_______________________________________________________________________
Connect with me
📸Instagram - / ashutosh.analytics
💻Linkedin- / ashutoszh
_____________________________________________________________________
Comment down if you have any doubts
Please leave a LIKE 👍 and SUBSCRIBE ❤️ to my channel to receive more amazing content in data analytics and data science.
_____________________________________________________________________
🏷️ Tags
sql,
sql for data science,
sql for data analytics,
sql practise questions,
sql practise questions and solutions,
sql tutorials for beginners,
sql problems for data engineers,
ashutosh,
ashutosh kumar,
ashutosh kumar analytics,
sql problems easy,
sql problem medium,
sql problems hard,
sql window functions,
sql advanced questions,
rank functions in sql,
lag lead in sql,
sql interview questions and answers,
sql interview questions,
sql questions asked in interviews,
hackerrank sql solutions,
hackerearth sql solutions,
leetcode sql solution
🏷️HashTags
#sql #interviews #questions #solutions

Опубликовано:

 

6 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 12   
@sravankumar1767
@sravankumar1767 Год назад
Superb explanation 👌 👏 👍
@AshutoshKumaryt
@AshutoshKumaryt Год назад
Thanks a lot
@sonalpriya6402
@sonalpriya6402 Год назад
Very good explanation
@AshutoshKumaryt
@AshutoshKumaryt Год назад
Thanks
@binaykumar2060
@binaykumar2060 Год назад
Exalant
@omkarbelpatre5
@omkarbelpatre5 Год назад
Thank You sir
@AshutoshKumaryt
@AshutoshKumaryt Год назад
Thanks a lot
@jaitiwari241
@jaitiwari241 Год назад
Should we prepare such SQL questions for data analyst or SQL developer
@AshutoshKumaryt
@AshutoshKumaryt Год назад
Data analytics
@sudeep246
@sudeep246 Год назад
bhai my sql takes date in yyyy-mm-dd format ...and your discrpiton data has in dd-mm-yyyy ...plz tell me a smart solution how i can convert all those in one go
@VinayYadav-gu4xb
@VinayYadav-gu4xb Год назад
Bhaiya store procedure kra do
@AshutoshKumaryt
@AshutoshKumaryt Год назад
Sure
Далее
PIVOT IN SQL | Advanced SQL | Ashutosh Kumar
18:37
Просмотров 9 тыс.
OG Buda - Сабака (A.D.H.D)
02:19
Просмотров 77 тыс.
Аруси Точики ❤️❤️❤️
00:13
Просмотров 288 тыс.