Examlex

Solved

The Following Data Are in the Tables Employee (Primary Key

question 6

Multiple Choice

The following data are in the tables Employee (primary key: Empno) and Department (primary key: Deptno) . The questions refer to row numbers of this table. The first row of each table is row #1. Empdeptno in table Employee is a foreign key that refers to Deptno in the table Department. Deptmgr in the table Department is a foreign key that refers to Empno in the table Employee.
Table Employee Empno  Empname  Empdeptro  Empsalary  Emptitle 555 Keamy 2007000 manager 666 Williams 1008000 manager 777 Haberle 2005000 clerk 888 Haberle 2005000 clerk  Johnson 3004000 analyst 889 Dupont 400 McCabe 4006000 programmer 999 Lopez 9000 manager Table~Employee\\\begin{array}{|l|l|l|l|l|}\hline \text { Empno } & \text { Empname } & \text { Empdeptro } & \text { Empsalary } & \text { Emptitle } \\\hline 555 & \text { Keamy } & 200 & 7000 & \text { manager } \\\hline 666 & \text { Williams } & 100 & 8000 & \text { manager } \\\hline 777 & \text { Haberle } & 200 & 5000 & \text { clerk } \\\hline 888 & \text { Haberle } & 200 & 5000 & \text { clerk } \\\hline & \text { Johnson } & 300 & 4000 & \text { analyst } \\\hline 889 & \text { Dupont } & 400 & & \\\hline & \text { McCabe } & 400 & 6000 & \text { programmer } \\\hline 999 & \text { Lopez } & & 9000 & \text { manager } \\\hline\end{array}

Table Department Deptno  Deptname  Deptcity  Deptmgr 100 Logistics  Wichita 666200 Finance  Boise 555300 Marketing  Pierre 666Table~Department\\\begin{array}{|l|l|l|l|}\hline \text { Deptno } & \text { Deptname } & \text { Deptcity } & \text { Deptmgr } \\\hline 100 & \text { Logistics } & \text { Wichita } & 666 \\\hline 200 & \text { Finance } & \text { Boise } & 555 \\\hline 300 & \text { Marketing } & \text { Pierre } & 666 \\\hline\end{array}
-The relationship connecting Employee to Department and expressing that an employee belongs to a department (foreign key Empdeptno) is:


Definitions:

Programmer-Created

Refers to elements or constructs within a program that are uniquely defined by the programmer, as opposed to being predefined by the programming language.

Primitive

Basic data type provided by a programming language as a basic building block.

Programmer-Created Identifiers

Programmer-created identifiers are unique names defined by programmers for variables, functions, and other elements within a codebase.

Standard

An agreed-upon set of guidelines, criteria, or requirements that dictate certain practices or technical specifications.

Related Questions