This topic contains a solution. Click here to go to the answer

Author Question: Write an SQL query on the table STUDENT that for each class lists the class and the number of ... (Read 115 times)

abern

  • Hero Member
  • *****
  • Posts: 533
Write an SQL query on the table STUDENT that for each class lists the class and the number of students in the class.
 
  What will be an ideal response?

Question 2

If A, B, C, and D are columns of the table whose composite primary key is A, Bwhile C and D are nonkey columnsthen B --> D is a transitive functional dependency.
 
  Indicate whether the statement is true or false



Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by a Subject Expert

Chou

  • Sr. Member
  • ****
  • Posts: 335
Answer to Question 1

SELECT class, COUNT()
FROM student
GROUP BY class;

Answer to Question 2

FALSE




abern

  • Member
  • Posts: 533
Reply 2 on: Jul 7, 2018
Great answer, keep it coming :)


ricroger

  • Member
  • Posts: 352
Reply 3 on: Yesterday
:D TYSM

 

Did you know?

Immunoglobulin injections may give short-term protection against, or reduce severity of certain diseases. They help people who have an inherited problem making their own antibodies, or those who are having certain types of cancer treatments.

Did you know?

This year, an estimated 1.4 million Americans will have a new or recurrent heart attack.

Did you know?

About 3% of all pregnant women will give birth to twins, which is an increase in rate of nearly 60% since the early 1980s.

Did you know?

It is difficult to obtain enough calcium without consuming milk or other dairy foods.

Did you know?

More than 30% of American adults, and about 12% of children utilize health care approaches that were developed outside of conventional medicine.

For a complete list of videos, visit our video library