Question

A. For a relationship to be defined, we need at least two relations (tables). [2] a....

A. For a relationship to be defined, we need at least two relations (tables). [2] a. TRUE b. FALSE

B. Aggregate functions can be used in a SELECT clause without GROUP BY on a column of a table [2] a. TRUE b. FALSE

C. A table which satisfies 3NF (Third Normal Form) can violate 2NF (Second Normal Form) a. TRUE [2] b. FALSE

D. In a table the foreign key attribute can have null value. a. TRUE [2] b. FALSE

E. Since Views are virtual tables, we cannot use a SELECT statement on them. a. TRUE [2] b. FALSE

F. We can define relationship between two tables without using the concept of foreign key a. TRUE [2] b. FALSE

G. We can define more than one relationship between two tables. a. TRUE [2] b. FALSE

(please give reasoning for each answer)

0 0
Add a comment Improve this question Transcribed image text
Answer #1

A. False: For a relationship to be defined, we need at least one relation.

B. True: "SELECT SUM(column) FROM table_name;"

C. False: A table is said to be in 3NF if it is also in 2NF.

D. True: A foreign key attribute can have NULL value.

E. False: Views are nothing but SELECT queries. "CREATE VIEW `view_name` AS SELECT statement;"

F. True: We can join two tables without using the concept of Foreign Key. Though the use of a foreign key makes the execution of the query faster, it is not necessary to define a Foreign Key for a join to perform between 2 tables.

G. True: There are 3 types of relationships that exists (One-to-one, One-to-many and Many-to-many). We can define multiple relationships between 2 tables depending on the data we are dealing with.

Add a comment
Know the answer?
Add Answer to:
A. For a relationship to be defined, we need at least two relations (tables). [2] a....
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Consider the following relation R, where {A, B} is its PK. Assume that R is in...

    Consider the following relation R, where {A, B} is its PK. Assume that R is in the first normal form (INF). R (A, B, C, D, E, F) Functional dependencies: FD1: BàC FD2: AàDE FD3: ABàF Why is this table not in 2NF? Specify which FDs make R violate 2NF. Normalize the data shown in this table to second normal form (2NF). Specify the primary and foreign key (if any) in each table of your 3NF relations. Normalize the data...

  • The employee is table, the best candidate for primary key is Select one: a. Department ID...

    The employee is table, the best candidate for primary key is Select one: a. Department ID b. Employee hiredate c. Employee ID d. Employee salary Question 2 A primary key can be composed of more than one attribute. Select one: True False Question 3 A foreign key allows you to join two tables. Select one: True False Question 4 Given two tables, department (dept_id, dept_location, dept_name) and EMPLOYEE(emp_id, emp_name, emp_dept_id, emp_name, emp_salary), which attribute (column) is the foreign key? Select...

  • Tables names are not given, According to the 1st Question we have to name them from...

    Tables names are not given, According to the 1st Question we have to name them from the given Key names, Like this; The first several questions use the following tables, which model a ticketing system (the venue table is mentioned but not shown). holderId eventId holderId name eventId name venue date 10 20 30 John Ella Miles Lilo ComicCon Jazzfest MakerFaire 300 100 200 2019-07-18 2019-04-06 2019-05-17 10 ticket number 10000 10001 200 210 101 100 20 1. The above...

  • 24) A key that contains more than one attribute is called a(n) A) composite key B)...

    24) A key that contains more than one attribute is called a(n) A) composite key B) complex key C) multi-key D) n-key E) candidate key 25) Null values can cause problems because they are ambiguous. True False 26) In the normalization process, it is necessary to identify all the determinants in a relation. True False 27) To represent a relationship in the relational model, the primary key of one relation is placed into a second relation. True False 28) A...

  • QUESTION 1 What is the most common relationship within a relational database? Select the best answer...

    QUESTION 1 What is the most common relationship within a relational database? Select the best answer from the following. One-To-One relationship. o One-To-Many relationship. Many-To-Many relationship. Zero-To-Zero relationship. QUESTION 2 What is an "entity'? Select the best answer from the following. An entity, for our purposes, is the same as a table in the database. An entity represents one of the columns in an individual table. There are no entities in a relational database. Entities are only part of NoSQL...

  • Language: SQL - Normalization and Functional Dependencies Part 4 Normalization and Functional Dependencies Consider the following relation R(A, B, C, D)and functional dependencies F that hold o...

    Language: SQL - Normalization and Functional Dependencies Part 4 Normalization and Functional Dependencies Consider the following relation R(A, B, C, D)and functional dependencies F that hold over this relation. F=D → C, A B,A-C Question 4.1 (3 Points) Determine all candidate keys of R Question 4.2 (4 Points) Compute the attribute cover of X-(C, B) according to F Question 43 (5 Points) Compute the canonical cover of F.Show each step of the generation according to the algorithm shown in class....

  • for question (c) do like this 3. A table to record the information of Dentists, Patients,...

    for question (c) do like this 3. A table to record the information of Dentists, Patients, and Appointments in a clinic is given below. DentistNo DentistName PatientNo PatientName PatientPhone AppointmentDate Appointment Time AppointmentFee On a single day each patient can have more than one appointment. It is known that DentistNo is unique for each dentist. PatientNo is unique for each patient. PatientNo must not be used as a composite key. A patient is allowed to see any dentist. (a) Use...

  • Consider a social network database that has two relations: Person (pid, name) Relationship (pid1,...

    Consider a social network database that has two relations: Person (pid, name) Relationship (pid1, rel, pid2) Person.pid is the key for Person, and Relationship.pid1 and Relationship.pid2 are foreign keys to Person. rel is a string representing the relationship type, and it can only be ’friend’ or ’enemy’. A tuple (1,’friend’,2), means that the person with id 1 considers the person with id 2 a friend. Note that the relationship is not symmetric: if A is friends with B, it does...

  • To be in the third normal form, Hint: In order to in 3NF you must first...

    To be in the third normal form, Hint: In order to in 3NF you must first have attained 1NF and 2NF so all of the above is the correct answer. In the database design world the saying is that to be completely normalized the data be represented "by the key, the whole key, and nothing but the key so help me Codd". Ted Codd was the person behind the development of the relational theory back in the 1960s and 70s....

  • 6. With respect to database systems, which of the following statement(s) is (are) true? a. The...

    6. With respect to database systems, which of the following statement(s) is (are) true? a. The physical view of data is how people conceptually organize and understand the relationships among data items. b. The DML builds the data dictionary, creates the database, describes logical views for each user, and specifies security constraints. c. A record layout shows the items stored in a file, including the type of data stored and both the order and length of the data fields. d....

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT