Back to Browse

17. Having Clause IN SQL | SQL Tutorial

1.8K views
Oct 23, 2024
5:56

SQL HAVING Clause Explained: Filter Aggregated Data! In this video, learn how to use the HAVING clause in SQL to filter grouped data after applying aggregate functions like SUM(), COUNT(), and AVG(). πŸ“ŠπŸ’‘ βœ… What is the HAVING Clause? The HAVING clause filters the results of aggregate functions (like totals and averages) used with the GROUP BY clause. It works similarly to the WHERE clause, but HAVING is used to filter aggregated data. Examples of HAVING Clause Usage Want more similar videos- hit like, comment, share and subscribe ❀️Do Like, Share and Comment ❀️ ❀️ Like Aim 5000 likes! ❀️ βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž– Please like & share the video. βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž– script CREATE TABLE CUSTOMERS ( ID INT NOT NULL, NAME VARCHAR (20) NOT NULL, AGE INT NOT NULL, ADDRESS CHAR (25), SALARY DECIMAL (18, 2), PRIMARY KEY (ID) ); INSERT INTO CUSTOMERS VALUES (1, 'Ramesh', 32, 'Ahmedabad', 2000.00), (2, 'Khilan', 25, 'Delhi', 1500.00), (3, 'Kaushik', 23, 'Kota', 2000.00), (4, 'Chaitali', 25, 'Mumbai', 6500.00), (5, 'Hardik', 27, 'Bhopal', 8500.00), (6, 'Komal', 22, 'Hyderabad', 4500.00), (7, 'Muffy', 24, 'Indore', 10000.00), βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž– AWS DATA ENGINEER : https://www.youtube.com/playlist?list=PLOlK8ytA0MghpdMjb0m9zu1v9s_qbRP0q Azure data factory : https://youtube.com/playlist?list=PLOlK8ytA0MgguN5XidtQXbILxwCdJCUJE&si=iEICXHP80zGchUYh Azure data engineer playlist : https://youtube.com/playlist?list=PLOlK8ytA0MghBrzu0i6WlTBdoO1WdwV_e SQL PLAYLIST : https://www.youtube.com/playlist?list=PLOlK8ytA0MggGXIKmbfZ-_Xqcos3JKdV- PYSPARK PLAYLIST - https://www.youtube.com/playlist?list=PLOlK8ytA0MgjvOpd-088NRU_vTYw_aryH βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž– πŸ“£Want to connect with me? Check out these links:πŸ“£ Join telegram to discuss https://t.me/+Cb98j1_fnZs3OTA1 βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž– what we have covered in this video: βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž– Hope you liked this video and learned something new :) See you in next video, until then Bye-Bye! βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–

Download

0 formats

No download links available.

17. Having Clause IN SQL | SQL Tutorial | NatokHD