Answer : A foreign key is the key defined in one table to reference the primary key of a reference table. This foreign key must have the same structure as the reference table’s primary key.
Answer : A cursor is a named control structure used to make a set of rows available to a program. DB2 is the relational database system that runs in an MVS environment. It was developed by IBM and interfaces with SQL. With the use of SQL DB2, databases can be accessed by a wide range of host languages. SQL is the relational database " application language " that interfaces with DB2. Because of its capabilities, SQL and, in turn, DB2 have gained considerable acceptance. Thus, a working knowledge of DB2 increases one's marketability