Sql one of the most important language asked in most of the analytics interviews,in this series i have discussed some advanced level sql concepts that are frequently asked in data analyst,business analyst interviews. In this video i have covered non equi joins concepts in sql
👉Query -
drop table if exists customer;
CREATE TABLE customer(cust_id integer,cust_first_name text,cust_last_name text);
INSERT INTO customer(cust_id,cust_first_name,cust_last_name)
VALUES (1,'Henry','Brown'),
(2,'James','Williams'),
(3,'Jack','Taylor');
drop table if exists orders;
CREATE TABLE orders(order_id integer,date date,cust_id integer,amount integer);
INSERT INTO orders(order_id,date,cust_id,amount)
VALUES
(1,'05-08-2020',1,4922),
(2,'04-08-2020',2,7116),
(3,'03-08-2020',3,1206),
(4,'04-08-2020',1,2841),
(5,'05-08-2020',2,2522),
(6,'05-08-2021',3,5084),
(7,'04-08-2021',1,6680),
(8,'03-08-2021',2,8123),
(9,'04-08-2021',3,6015),
(10,'05-08-2021',2,4092),
(11,'05-08-2022',1,7224),
(12,'04-08-2022',2,7679),
(13,'03-08-2022',3,1303),
(14,'04-08-2022',1,5185),
(15,'05-08-2022',2,2139);
select * from orders;
select * from customer;
👉 Complete playlist on Sql Interview questions and answers
[ Ссылка ]
---------------------------------------------------------------------------------------------------------------------
Check out some more relevant content here
👉 How to Learn SQL
[ Ссылка ]
👉 How to become a business analyst complete roadmap-
[ Ссылка ]
👉 How to become a data analyst complete roadmap-
[ Ссылка ]
👉 Top 3 you tube channels to learn sql for free for beginners
[ Ссылка ]
👉 Rank ,Dense Rank, Row Number in sql -
[ Ссылка ]
👉 Cross join in sql
[ Ссылка ]
👉 union join in sql
[ Ссылка ]
👉 left join in sql
[ Ссылка ]
👉 Right join in sql
[ Ссылка ]
👉 Inner join in sql
[ Ссылка ]
👉 Introduction to tables and databases in sql -
[ Ссылка ]
👉 Aggregate Function in sql
[ Ссылка ]
👉 Functions in sql-
[ Ссылка ]
👉 String Function in sql
[ Ссылка ]
👉 CRUD operations in sql
[ Ссылка ]
👉 Autoincrement in sql
[ Ссылка ]
👉 Primary Key in sql-
[ Ссылка ]
👉 Null and Default values in sql-
[ Ссылка ]
👉 Data types in sql-
[ Ссылка ]
____________________________________________________________________
Fill the form below to subscribe yourself to the analytics jobs mailing list to receive regular job opening updates - [ Ссылка ]
Why you should definitely fill the analytics job updates google form - [ Ссылка ]
_______________________________________________________________________
Connect with me
📸Instagram - [ Ссылка ]
💻Linkedin- [ Ссылка ]
_____________________________________________________________________
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
PIVOT IN SQL | Advanced SQL | Ashutosh Kumar
Теги
sql for data sciencesql for data analyticssql practise questions and solutionssql problems for data engineersashutosh kumarashutosh kumar analyticssql problem mediumsql problems hardsql window functionssql advanced questionssql interview questions and answerssql interview questionssql questions asked in interviewshow to use pivots in sqlwhat are pivot in sqlpivot function in sqlsql pivot functionshow to apply pivot function in sqlpivot sql