Course Title: Use structured query language
Part B: Course Detail
Teaching Period: Term2 2016
Course Code: COSC7373C
Course Title: Use structured query language
School: 650T Vocational Business Education
Campus: City Campus
Program: C5341 - Diploma of Information Technology
Course Contact: Val Christou
Course Contact Phone: +61 3 9925 5076
Course Contact Email: val.christou@rmit.edu.au
Name and Contact Details of All Other Relevant Staff
Nominal Hours: 60
Regardless of the mode of delivery, represent a guide to the relative teaching time and student effort required to successfully achieve a particular competency/module. This may include not only scheduled classes or workplace visits but also the amount of effort required to undertake, evaluate and complete all assessment requirements, including any non-classroom activities.
Pre-requisites and Co-requisites
None
Course Description
This unit describes the skills and knowledge required to use a structured query language (SQL) to define, create, and manipulate database structures, and the associated data in a relational database.
It applies to individuals in a wide variety of information and communications technology (ICT) roles, where relational databases and SQL are being used.
National Codes, Titles, Elements and Performance Criteria
National Element Code & Title: |
ICTPRG425 Use structured query language |
Element: |
1. Write a simple SQL statement to retrieve and sort data |
Performance Criteria: |
1.1 Retrieve all the data from a single table |
Element: |
2. Write an SQL statement that selectively retrieves data |
Performance Criteria: |
2.1 Restrict the number of rows retrieved by placing criteria in the 'where' clause |
Element: |
3. Write SQL statements that use functions |
Performance Criteria: |
3.1 Use arithmetical operators with the correct precedence |
Element: |
4. Write SQL statements that use aggregation and filtering |
Performance Criteria: |
4.1 Use 'group by' to aggregate data by multiple columns |
Element: |
5. Write SQL statements that retrieve data from multiple tables |
Performance Criteria: |
5.1 Employ the inner join syntax to retrieve data from two or more tables |
Element: |
6. Write and execute SQL sub-queries |
Performance Criteria: |
6.1 Construct single and nested sub-queries |
Element: |
7. Create and manipulate tables |
Performance Criteria: |
7.1 Identify required columns, data types, keys, relationships, indexes and constraints |
Element: |
8. Create and use views |
Performance Criteria: |
8.1 Create views that satisfy information requirements |
Element: |
9. Create and use stored procedures |
Performance Criteria: |
9.1 Create and execute stored procedures that use SQL to retrieve, insert or modify data according to information requirements |
Learning Outcomes
Details of Learning Activities
Theory presentations, practical lab classes, tutorial sessions, project plus out-of-class research and homework.
A range of learning activities are planned for this course including self-paced and collaborative classroom based activities.
The collaborative classroom based activities will include group discussion, group problem solving activities and opportunities to practice your skills in a simulated/real workplace environment.
We expect you to participate and contribute in all scheduled learning activities.
Teaching Schedule
Week |
Week Commencing |
Topics |
Assessment |
1 |
04/07/16 |
Introduction to the Course including:
|
|
2 |
11/07/16 |
SQL statements that selectively retrieve data. |
|
3 |
18/07/16 |
SQL statements to extract data from more than one table. |
Assessment 1 (Project) Stage 1 & Stage 2 handed out |
4 |
25/07/16 |
SQL in multi-table table queries continued |
|
5 |
01/08/2016 |
SQL aggregation and filtering of data. |
|
6 |
08/08/2016 |
SQL sub-queries |
Assessment 1 (Project) Stage 1: draft checks |
7 |
15/08/2016 |
SQL functions |
Assessment 1 (Project): Stage 1: Submission Due. Demonstration & feedback of this assessment in Week 8 & 9. If required, resubmission for this assessment is due by the end of Week 11. |
8 |
22/08/2016 |
SQL action Queries |
Assessment 1 (Project): Stage 1 - feedback |
Mid-Semester Break 29thAugust-2nd September 2016 | |||
9 |
05/09/16 |
Views |
Assessment 1 (Project): Stage 1 - feedback; Work on Assessment 1 (Project) Stage 2 |
10 |
12/09/16 |
Stored procedure |
Work on Assessment 1 (Project) Stage 2 |
11 |
19/09/16 |
Left Join, Right Join & UNION |
Work on Assessment 1 (Project) Stage 2 |
12 |
26/09/16 |
Modelling concepts |
Assessment 1 (Project) : Stage 2: Project draft checks |
13 |
3/10/16 |
Server concepts |
Assessment 1 (Project) Stage 2: Project draft checks; Assessment 2a : Modelling concepts task sheet |
14 |
10/10/16 |
Assessment 1 (Project) Stage 2: Submission due. |
Assessment 1 (Project) Stage 2: Submission due. Demonstration & feedback of this assessment in Week 15. If required, resubmission for this assessment is due by the end of Week 16. |
15 |
17/10/16 |
Assessment 1 (Project) Stage 2 demonstration and feedback; |
Assessment 2b: Server concepts worksheet due. Demonstration & feedback of this assessment in Week 15 & 16. If required, resubmission for this assessment is due by the end of Week 16. |
16 |
24/10/16 |
Feedback & Review . Re-submissions if required |
Assessment 2b feedback |
Learning Resources
Prescribed Texts
Larry Rockoff, The Language of SQL, Course Technology |
13: 978-1-4354-5751-5 |
References
SQL for SQL Server by Bijoy Bordoloi and Douglas Bock |
0-13-113299-7 |
Other Resources
Prescribed Texts | |
| |
References | |
|
Overview of Assessment
In order to achieve competency in this unit, you must provide:
Performance Evidence
Evidence of the ability to:
- write a simple, structured query language (SQL) statement to retrieve and sort data
- write an SQL statement that selectively retrieves data
- write SQL statements that:
- use functions and operators
- use aggregation and filtering
- retrieve data from multiple tables
- write and execute SQL sub-queries
- create and manipulate tables to meet specific requirements
- create and use views that satisfy information requirements
- create and use stored procedures.
Knowledge Evidence
To complete the unit requirements safely and effectively, you must:
- explain client-server concepts
- explain data-integrity concepts
- describe data-modelling structures
- explain databases and database objects, including data types, data structures, identifiers and metadata
- summarise programming concepts
- give an overview of query design
- give an overview of relational database design
- describe the SQL client environment
- describe the SQL server architecture.
Assessment Conditions
Assessment must be conducted in a safe environment where evidence gathered demonstrates consistent performance in conditions that are safe and replicate the workplace. Noise levels, production flow, interruptions and time variances must be typical of those experienced in the programming and software development, and include access to:
- special purpose tools, equipment and materials
- industry software packages.
You are advised that you are likely to be asked to personally demonstrate your assessment work to your teacher to ensure that the relevant competency standards are being met.
Feedback
Feedback will be provided throughout the semester in class and/or online discussions. You are encouraged to ask and answer questions during class time and online sessions so that you can obtain feedback on your understanding of the concepts and issues being discussed. Finally, you can email or arrange an appointment with your teacher to gain more feedback on your progress.
You should take note of all feedback received and use this information to improve your learning outcomes and final performance in the course.
Assessment Tasks
You are required to complete two Assessment tasks - Assessment 1 (Project) and Assessment 2 (Worksheets). You must successfully complete all tasks within the assessments to be deemed competent in this course.
The Assessment 1 (Project) will be submitted in two stages. Stage 1 is an individual submission and Stage 2 a team submission. The project provides an opportunity to students to demonstrate the skills they learn in this unit. TASK 2(Worksheet) involves database modelling and server concepts.
A workable database structure will be provided in Week 3 for Assessment 1 (Project)
o Assessment 1 ( Project)Stage 1:Submission(Due Week 7 ) - Individual
- The database structure is implemented using graphical tools with appropriate data either in MS Access or in MS SQL Server.
- You will design and execute simple SQL queries to extract data from this database.
- You will be asked to demonstrate, answer question about, and modify queries during assessment time.
o Assessment 1 (Project) Stage 2: Submission (Due Week 14 ) - Team
- 2 or 3 students will be expected to form a team.
- The database structure is implemented using SQL statements in MS SQL Server. Further tables are populated with appropriate data using SQL statements.
- You will design and execute complex SQL Queries to extract data from this database.
- You will be asked to demonstrate, answer question about, and modify queries during assessment time.
Assessment 2 (Worksheets): Submission : (a) and (b) is Team (2 or 3 students)
You are required to demonstrate your knowledge in database modelling and server concepts by completing task sheet successfully.
- (a) is Individual submission
-
- A case study will be provided based on which you will draw the ERD and then implement it in MS Access or MS SQL Server. (Due Week 13: in class task sheet)
- (b) is Team (2 or 3 students) submission
-
- Provide answers to questions on server concepts. (Due Week 15: take home task sheet)
Late submissions of work required for any assessment ( 1 or 2) will be eligible for grading at CAG (Competency Achieved) level only
Assessment Matrix
Course Overview: Access Course Overview