0% found this document useful (0 votes)
6 views1 page

Databases Revision Sheet 10.1.25

The document is a revision sheet for SQL commands and aggregate functions. It includes questions about filtering tables by rows and columns, sorting data, and the correct order of SQL commands. Additionally, it prompts for descriptions of various SQL aggregate functions such as Count, Sum, Min, Max, and Avg.

Uploaded by

AAM_34
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views1 page

Databases Revision Sheet 10.1.25

The document is a revision sheet for SQL commands and aggregate functions. It includes questions about filtering tables by rows and columns, sorting data, and the correct order of SQL commands. Additionally, it prompts for descriptions of various SQL aggregate functions such as Count, Sum, Min, Max, and Avg.

Uploaded by

AAM_34
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Databases Revision Sheet

1. Below is the list of SQL commands given.

FROM SELECT WHERE

ORDER BY

a. __________ command is used to filter the table by rows


b. __________ command is used to filter the table by columns
c. ___________ command is used to sort the data in ascending or descending
order
d. List the SQL commands that a user will use to view only two columns from a
table. The user would want to view only a certain set of rows. User would
want the data to be sorted in ascending order of columns.
e. When we write a SQL query, the SQL commands should be written in a
particular order. Write down the SQL commands in the correct order
2. Below is a list of SQL aggregate functions. Describe each function in the space
given next to it.

a. Count() _____________________________________________________________

b. Sum() ______________________________________________________________

c. Min()________________________________________________________________

d. Max()_______________________________________________________________

e. Avg()________________________________________________________________

You might also like