Find sum of Maximum count by term by course. (GROUP BY two columns)

Write queries for the following. (Use tables created in Chapter 4 Lab Activity.)


```
SQL> SELECT TermId, CourseId, SUM(MaxCount)
2 FROM crssection
3 GROUP BY TermId, CourseId;

TERM COURSE SUM(MAXCOUNT)
---- ------ -------------
SP03 LA123 30
SP03 CIS253 82
SP03 CIS265 65
WN03 AC101 35
WN03 MA150 25
WN03 CIS253 40
WN03 CIS265 30

7 rows selected.
```

Computer Science & Information Technology

You might also like to view...

What is memory used for in a computer?

What will be an ideal response?

Computer Science & Information Technology

Prestaging enables you to do a basic unattended installation.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Major coding mistakes made by programmers when they write software are called ____.

A. vaporware B. incompatibilities C. design flaws D. bugs

Computer Science & Information Technology

In which two basic models are mobile applications available?

a. Stand-alone applications and network-driven applications b. Reiterative applications and Web applications c. Phone applications and tablet applications d. Network-based applications and standard applications

Computer Science & Information Technology