Download presentation
Presentation is loading. Please wait.
Published byCandace Banks Modified over 8 years ago
1
1 Query Name:Query 1Tables Required:People/Violations Foreign Keys:LIS#Join Type:Inner Field LastNameFirstNameLIS#State Table People Violations Total Sort Ascending Show xxxx Criteria “NY” OR CSE 2111 Lecture-Aggregate Fields in Queries
2
2 Query Name:Query 2Tables Required:People/Violations Foreign Keys:LIS#Join Type:Inner Field CategoryLIS# Table People Total Group byCount Sort Show xx Criteria OR CSE 2111 Lecture-Aggregate Fields in Queries
3
3 Query Name:Query 3Tables Required:Types/Violations Foreign Keys:ViolationTypeJoin Type:Inner Field LIS#FinePoints Table ViolationsTypes Total Group bySumMaxAvg Sort Show xxxx Criteria OR CSE 2111 Lecture-Aggregate Fields in Queries
4
4 Query Name:Query 4Tables Required:Violations/Types Foreign Keys:ViolationTypeJoin Type:Inner Field ViolationTypeLIS#Date Table Violations Total Group bySumMax Sort Show xxx Criteria OR CSE 2111 Lecture-Aggregate Fields in Queries
5
5 Query Name:Query 5Tables Required:Violations/Types Foreign Keys:ViolationTypeJoin Type:Inner Field ViolationTypeLIS#Date Table Violations Total Group byCountWhere Sort Show xx Criteria Between #4/1/2013 And #06/30/2013# OR CSE 2111 Lecture-Aggregate Fields in Queries
6
6 Query Name:Query 5Tables Required:Query 3/Violations Foreign Keys:ViolationTypeJoin Type:Inner Field LastNameLis#Surcharge:[SumOfFine]*3 Table Query3People Total Sort Show xxx Criteria OR CSE 2111 Lecture-Aggregate Fields in Queries
7
7 Query Name:Query 6Tables Required:People Foreign Keys:NoneJoin Type:None Field State Table People Total Group byCountWhere Sort Show xxx Criteria OR “OH” OR CSE 2111 Lecture-Aggregate Fields in Queries
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.