Open any bank's job circular for an IT post and read the requirements line: "working knowledge of RDBMS (Oracle, MySQL or SQL Server), SQL including DDL, DML and DCL, and client-server or three-tier applications". Every phrase in that line is a topic of this chapter. Behind it sit questions that a good candidate can answer calmly: why is Oracle called an RDBMS while MongoDB is not? What did the databases before the relational model look like, and why were they abandoned? When you press "Submit" on a form, which part of the DBMS reads your request, which part decides how to fetch the data, and which part makes sure two people do not overwrite each other? And who in the bank is responsible for all of it?
In the previous chapter you saw why a DBMS exists and how it is layered into three levels. This chapter completes the picture. By its end you will be able to define a data model and place every model in its category, and to tell the story of data models from IBM's hierarchical IMS to NoSQL, saying what each one solved. You will separate a DBMS from an RDBMS, classify DBMSs, and state Codd's rules with the reason behind each.
You will sort any SQL statement into DDL, DML, DQL, DCL or TCL, and say exactly what GRANT, REVOKE, COMMIT and ROLLBACK do. You will name the modules inside a DBMS and the processes inside Oracle, and follow a query through them. And you will compare 1-, 2- and 3-tier designs and describe the people around a database, above all the database administrator and the backups that keep the data alive.
Question (Sonali and Janata Bank — Assistant Database Administrator — Exam: 25.09.2021 (AUST)): Which of the following is not a DDL command?
a) Create
b) Drop
c) Alter
d) Update