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 91 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
Thanks for the timely response, appreciate it


CAPTAINAMERICA

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

 

Did you know?

The ratio of hydrogen atoms to oxygen in water (H2O) is 2:1.

Did you know?

When blood is deoxygenated and flowing back to the heart through the veins, it is dark reddish-blue in color. Blood in the arteries that is oxygenated and flowing out to the body is bright red. Whereas arterial blood comes out in spurts, venous blood flows.

Did you know?

ACTH levels are normally highest in the early morning (between 6 and 8 A.M.) and lowest in the evening (between 6 and 11 P.M.). Therefore, a doctor who suspects abnormal levels looks for low ACTH in the morning and high ACTH in the evening.

Did you know?

Bacteria have been found alive in a lake buried one half mile under ice in Antarctica.

Did you know?

Russia has the highest death rate from cardiovascular disease followed by the Ukraine, Romania, Hungary, and Poland.

For a complete list of videos, visit our video library