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 41 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 :)


vickyvicksss

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

 

Did you know?

Malaria mortality rates are falling. Increased malaria prevention and control measures have greatly improved these rates. Since 2000, malaria mortality rates have fallen globally by 60% among all age groups, and by 65% among children under age 5.

Did you know?

More than 4.4billion prescriptions were dispensed within the United States in 2016.

Did you know?

The first oncogene was discovered in 1970 and was termed SRC (pronounced "SARK").

Did you know?

The first oral chemotherapy drug for colon cancer was approved by FDA in 2001.

Did you know?

Asthma attacks and symptoms usually get started by specific triggers (such as viruses, allergies, gases, and air particles). You should talk to your doctor about these triggers and find ways to avoid or get rid of them.

For a complete list of videos, visit our video library