Author Question: What is the purpose of the GROUP BY keyword? What will be an ideal ... (Read 49 times)

vicotolentino

  • Hero Member
  • *****
  • Posts: 552
What is the purpose of the GROUP BY keyword?
 
  What will be an ideal response?

Question 2

List the SQL aggregate functions.
 
  What will be an ideal response?



alexisweber49

  • Sr. Member
  • ****
  • Posts: 311
Answer to Question 1

The GROUP BY keyword is used in SQL queries in conjunction with the aggregate functions to enable summarizations across the groups of related data within tables.

Answer to Question 2

COUNT, SUM, AVG, MIN, and MAX.



Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
 

Did you know?

Though the United States has largely rejected the metric system, it is used for currency, as in 100 pennies = 1 dollar. Previously, the British currency system was used, with measurements such as 12 pence to the shilling, and 20 shillings to the pound.

Did you know?

For about 100 years, scientists thought that peptic ulcers were caused by stress, spicy food, and alcohol. Later, researchers added stomach acid to the list of causes and began treating ulcers with antacids. Now it is known that peptic ulcers are predominantly caused by Helicobacter pylori, a spiral-shaped bacterium that normally exist in the stomach.

Did you know?

Medication errors are three times higher among children and infants than with adults.

Did you know?

Vaccines cause herd immunity. If the majority of people in a community have been vaccinated against a disease, an unvaccinated person is less likely to get the disease since others are less likely to become sick from it and spread the disease.

Did you know?

Nearly 31 million adults in America have a total cholesterol level that is more than 240 mg per dL.

For a complete list of videos, visit our video library