Which of the following is used to associate entities with one another?
Correct answer: D. Relationship
- A. Entity
- B. Attribute
- C. Identifier
- D. Relationship
Explanation
In a relational database, entities are represented by tables. A relationship describes the connection between these tables. It specifies how data in one table relates to data in another table. There are three main types of relationships:One-to-one: A one-to-one relationship exists between two tables when a single record in one table corresponds to exactly one record in the other table, and vice versa.One-to-many: A one-to-many relationship is the most common type of relationship. In this type of relationship, a single record in one table (the "one" side) can be related to multiple records in another table (the "many" side).Many-to-many: A many-to-many relationship exists between two tables when a single record in one table can be related to multiple records in the other table, and vice versa. This type of relationship is typically implemented using a junction table.
Last updated
About Networking and Internet
Networking covers LAN, MAN, WAN and wireless networks, network topologies, transmission media, devices such as switches, routers and modems, and the OSI and TCP/IP models. Internet concepts include IP addresses, DNS, URLs, web browsers, email, protocols such as HTTP, HTTPS, FTP and SMTP, and basic network security.
Practise Networking and Internet
452 free Networking and Internet MCQs from Computer Science and IT, each with the correct answer and an explanation. Unlimited attempts, no account needed.
Exams that ask Computer Science and IT questions like this
Computer Science and IT is on 40 papers prepared for on TestUstad, and all of them draw the same bank, so this question is worth knowing for every one of them.