*****GENERAL ORDER ******
SELECT column(s)
FROM table_name
WHERE condition
GROUP BY column(s)
HAVING condition
ORDER BY column(s);
SELECT age,max(followers) FROM users3
WHERE age<25
GROUP BY age
HAVING max(followers) >55
ORDER BY age;
SELECT column(s)
FROM table_name
WHERE condition
GROUP BY column(s)
HAVING condition
ORDER BY column(s);
SELECT age,max(followers) FROM users3
WHERE age<25
GROUP BY age
HAVING max(followers) >55
ORDER BY age;
Comments
Post a Comment