Consider the following tables: CLINIC(CL_CODE, CL_NAME, CL_LOCATION, CL_PHONE) DOCTOR(DOC_CODE, DOC_LNAME, DOC_FNAME, DOC_OFFICE, CL_CODE) For the tables given above, work on the problems below: 1. For each table, identify the primary key. 2. For each table, identify the foreign key(s). 3. Identify at least one candidate key. If there are no candidate keys, give an example of an attribute that could be used as a candidate key. 4. For one of the tables, give examples of a superkey and a secondary key. 5. For the given tables, explain how entity integrity and referential integrity could be violated. Give specific examples. 6. Use Visio to create a detailed Crow\'s Foot ERD. The diagram must include all entities, attributes, and relationships. Primary keys and foreign keys must be clearly identified on the diagram. I need the specific answers for these quesitons including the last question diagram for visio, thanks Solution 1.) For clinic table clinic code is the primary key and for doctors table doctor code is the primary( key. 2.)In the context of relational databases, a foreign key is a field (or collection of fields) in one table that uniquely identifies a row of another table or the same table. In simpler words, the foreign key is defined in a second table, but it refers to the primary key in the first table.Therefore, CL_CODE which is used in doctor table is the foreign key. 3.)CL_CODE along with CL_LOCATION can be used as candidate key because by knowing location we can also determine other attributes. 4.)super key for clinic table (CL_CODE,CL_NAME,CL_LOCATION) , super key for doctor table DOC_CODE,DOC_FNAME,CL_CODE. 5.)Entity integrity is violated if primary key value is duplicated in any other row or if it is null.primary key for clinic table is CL_code and this will always be unique for each and every clinic and cannot be null.same for doctor table. Referential Integrity is the mechanism the system provides to maintain foreign keys. The definition of a foreign key must specify the table whose primary key is being referenced. Referential Integrity ensures only one property for foreign keys:.