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 43 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


rachel

  • Member
  • Posts: 323
Reply 3 on: Yesterday
Wow, this really help

 

Did you know?

Adult head lice are gray, about ? inch long, and often have a tiny dot on their backs. A female can lay between 50 and 150 eggs within the several weeks that she is alive. They feed on human blood.

Did you know?

Though Candida and Aspergillus species are the most common fungal pathogens causing invasive fungal disease in the immunocompromised, infections due to previously uncommon hyaline and dematiaceous filamentous fungi are occurring more often today. Rare fungal infections, once accurately diagnosed, may require surgical debridement, immunotherapy, and newer antifungals used singly or in combination with older antifungals, on a case-by-case basis.

Did you know?

Green tea is able to stop the scent of garlic or onion from causing bad breath.

Did you know?

The oldest recorded age was 122. Madame Jeanne Calment was born in France in 1875 and died in 1997. She was a vegetarian and loved olive oil, port wine, and chocolate.

Did you know?

Between 1999 and 2012, American adults with high total cholesterol decreased from 18.3% to 12.9%

For a complete list of videos, visit our video library