SubjectsSubjects(version: 947)
Course, academic year 2023/2024
Language SQL - N500017
Title: Jazyk SQL, pokročilý
Guaranteed by: CTU in Prague, Faculty of Information Technology (500)
Faculty: University of Chemistry and Technology, Prague
Actual: from 2021
Semester: summer
Points: summer s.:4
E-Credits: summer s.:4
Examination process: summer s.:
Hours per week, examination: summer s.:0/3, MC [HT]
Capacity: unknown / unknown (unknown)
Min. number of students: unlimited
Language: Czech
Teaching methods: full-time
Teaching methods: full-time
For type:  
Guarantor: Valenta Michal Ing. Ph.D.
Interchangeability : N500016
Is interchangeable with: N500016, B500009
Examination dates   Schedule   
Annotation -
Last update: Kubová Petra Ing. (02.01.2018)
Module is based on knowledge obtained in BI-DBS. Students become familiar with advanced relational and non- relational features of SQL language. In particular stored program unites, triggers, recursive queries, OLAP support, object-relational constructions. Part of the course is dedicated to practical database optimization from the point of view of specialized database structures like indexes, clusters, index-organized tables, and materialized views. as well as from the point of view query optimization. Execution plan and possibilities of its. changes will be discussed. Lectures will usually discuss SQL standard, but many features will be demonstrated on Oracle DBMS. Seminars are based on Oracle DBMS and partially on PostgreSQL.
Aim of the course -
Last update: Jirát Jiří Ing. Ph.D. (02.01.2018)

Students will be able to:

Create advanced SQL queries

Optimize SQL queries

Literature -
Last update: Kubová Petra Ing. (02.01.2018)

Ramakrishnan, R., Gehrke, J. ''Database Management Systems''. McGraw Hill Higher Education, 2002. ISBN 0071230572.

Learning resources -
Last update: Jirát Jiří Ing. Ph.D. (02.01.2018)

Detailed coures instructions.

Syllabus -
Last update: Kubová Petra Ing. (02.01.2018)

1. Program of seminars, organization, structure and requirements for semester project

2. SQL review, MERGE, OLAP support

3. Consultation to semester project, the first check point

4-6. PL/SQL exercises

7. Consultation to semester project, the second check point

8-9. SQL query optimization, special tools for SQL query optimization

10. Structures for fast data access

11. PostgreSQL - SQL queries optimization basics, pgfounie script

12. Consultation to semester project

13. Object relational features, semester project evaluation

Registration requirements -
Last update: Kubová Petra Ing. (02.01.2018)

Entry requirement: Course assumes a basic a basic knowledge of SQL language at a level of BI-DBS requirements.

Teaching methods
Activity Credits Hours
Příprava na přednášky, semináře, laboratoře, exkurzi nebo praxi 1.5 42
Příprava na zkoušku a její absolvování 1 28
Účast na seminářích 1.5 42
4 / 4 112 / 112