Date and Time Functions in MySQL (20 Most Important Functions)

Ankit Bansal September 8, 2024
Video Thumbnail
Ankit Bansal Logo

Ankit Bansal

View Channel

About

Welcome to the channel! I’m Ankit, a Data Engineer at Amazon with over 13 years of experience in Data Analytics and Engineering and founder of NamasteSQL.com Throughout my career, I’ve worked with a wide range of tools and technologies but one constant has been SQL. I’ve been writing SQL every single day for the past 12 years, and I truly enjoy it. This channel is my way of sharing that passion with you. You’ll find videos that cover: • Core SQL concepts • Real-world, scenario-based SQL questions • Practical content on Python , SQL and data engineering related topics. If you’re looking to strengthen your data skills or fall in love with SQL like I did, you’re in the right place. Subscribe and join the learning journey! 📩 Business Enquiries: [email protected]

Video Description

In this video we will discuss date , time and extract functions in MySQL . These functions are used day in day out in your job. Take your SQL skills to SKY : https://www.namastesql.com/ script: CREATE TABLE date_functions_demo ( id INT , start_date DATE, end_date DATE, created_at TIMESTAMP, updated_at TIMESTAMP, system_date varchar(10) ); INSERT INTO date_functions_demo (id,start_date, end_date, created_at, updated_at,system_date) VALUES (1,'2024-01-01', '2024-12-31', '2024-01-01 10:00:00', '2024-12-31 23:59:59','12/30/2024'), (2,'2023-06-15', '2024-06-15', '2023-06-15 08:30:00', '2024-06-15 17:45:00','08/15/2024'), (3,'2022-05-20', '2023-05-20', '2022-05-20 12:15:00', '2023-05-20 18:00:00','10/21/2024'); Zero to hero(Advance) SQL Aggregation: https://youtu.be/5Ighj_2PGV0 Most Asked Join Based Interview Question: https://youtu.be/xR87ctOgpAE Solving 4 Trick SQL problems: https://youtu.be/Ck1gQrlS5pQ Data Analyst Spotify Case Study: https://youtu.be/-YdAIMjHZrM Top 10 SQL interview Questions: https://youtu.be/Iv9qBz-cyVA Interview Question based on FULL OUTER JOIN: https://youtu.be/KQfWd6V3IB8 Playlist to master SQL : https://youtube.com/playlist?list=PLBTZqjSKn0IeKBQDjLmzisazhqQy4iGkb Rank, Dense_Rank and Row_Number: https://youtu.be/xMWEVFC4FOk #sql #datetime #sqlfunctions

You May Also Like