Trilochan Parida Profile picture
Jul 14, 2020 6 tweets 2 min read Read on X
The GROUP BY clause groups a set of rows into a set of summary rows by values of columns or expressions.

The GROUP BY clause returns one row for each group. In other words, it reduces the number of rows in the result set.
We often use the GROUP BY clause with aggregate functions such as SUM, AVG, MAX, MIN, and COUNT.

The aggregate function that appears in the SELECT clause provides information about each group.
Example-1: GROUP BY with aggregate functions

SELECT
status, COUNT(*)
FROM
orders
GROUP BY status;
Example-2: MySQL GROUP BY with HAVING clause

SELECT
YEAR(orderDate) AS year,
SUM(quantityOrdered * priceEach) AS total
FROM
orders
WHERE
status = 'Shipped'
GROUP BY
year
HAVING
year > 2003;
Latest MySQL is not supporting GROUP BY without aggregate functions, to enable GROUP BY execute bellow command,

SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));

💕🙏

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Trilochan Parida

Trilochan Parida Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @TechParida

Nov 28, 2020
56 Javascript tools and plugins for you.

🧵
Animation:

1. anime.js
2. Velocity
3. Popmotion
4. Aos
5. Mo.js
6. ScrollReveal
7. Skrollr
Video:

1. Video.js
2. Plyr
3. jPlayer
4. Fit Vid.js
5. Vide
6. Flowplayer
7. Popcorn Js
Read 9 tweets
Nov 20, 2020
Let's Understand What is GIT?

🧵
1. Git is a distributed version control system

2. Git is for tracking the changes in your source code during one particular development

3. It is designed to handles every project with speed and efficiency

4. Git also helps you synchronise the code between multiple people
There are six key terminologies

1. Repository
2. Branch
3. Commit
4. Clone
5. Fetch
6. Fork
Read 10 tweets
Nov 14, 2020
5 FREE ONLINE COURSES FOR YOU TO LEARN UI/UX

You will love this 🧵
1. Product Design - Udacity

udacity.com/course/product…
2. Introduction to User Experience Design - Coursera

coursera.org/learn/user-exp…
Read 7 tweets
Oct 16, 2020
Do you want to start learning Python from Scratch?

This 🧵is for you. I would share my personal journey about how I started learning Python.
I fell in love with Python when I started a serverless project on AWS Lambda using Python.

Not only that I did the most interesting project was to scrap different hotel booking sites(Booking .com, Goibibo, etc.) to get hotel data.
I started learning Python from official docs: 3.7.2 Documentation

However, if you are a beginner then I would recommend you to learn from the geeksforgeeks.org
Read 12 tweets
Oct 14, 2020
10 Python Open Source Projects On GitHub.

Many asking me about the open-source projects in Python

This 🧵 will help you to become a pro. in Python 💕
1. Manim

Manim or Mathematical Animation Engine is an animation engine for explanatory math videos. It is basically used to create animations programmatically. Manim runs on Python 3.7.

Github: github.com/3b1b/manim
2. Python Robotics

Python Robotics is a Python code collection of robotics algorithms. This project is mainly used for autonomous navigation. Python Robotics runs on Python 3.7 and the requirements include NumPy, SciPy, Matplotlib, Pandas

Github: github.com/AtsushiSakai/P…
Read 13 tweets
Sep 27, 2020
2021 Roadmap for Back-End Developers💕

This 🧵 is for you👇
Internet

1. How does the internet work?
2. What is HTTP?
3. Browsers and how they work?
5. DNS and how it works?
6. What is Domain Name?
7. What is hosting?
Basic Front-end Knowledge

1. HTML
2. CSS
3. JavaScript
Read 22 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(