ACCT 484 Lecture 16: ACCT 484 Day 16

35 views4 pages

Document Summary

Combining group by, order by, and having: using group by limits. What you can include in the select clause. All columns must either be aggregate values or be called out in the. What you can include in the order by clause. Order by list must be either aggregates or columns included in the group by clause: having. Based on individual attribute values that appear in the database. Based on group calculation performed with a built-in function. Use having: order of keywords is critical. Want to try and avoid this join. Subqueries: nested queries, simple subqueries are noncorrelated subqueries since the inner query does not depend on the outer query, correlated subquery. Inner query depends on values passed to it by the outer query. Select statement at the next level up: procedure can be used as an alternative to the join, subqueries: find the name of the salesperson responsible for customer number.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents

Related Questions