Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

S _ ID Identifier GEN Write SQL queries for a given tables ( you can use short names of columns ) : Draw ER diagram,

S_ID
Identifier
GEN
Write SQL queries for a given tables (you can use short names of columns):
Draw ER diagram, Student MUST be assigned to one Faculty. Show and connect keys.
Write definition statement for table Faculties:
a. Primary key should be autogenerated.
b. Faculty names are unique.
Write statement that will define relation between tables.
Two new students are entering faculty named "DITF". Write statement(s) to add this data:
Select the names of faculties and the amount of students in every faculty.
Select the names of faculties without registered students.
In which faculty is the biggest amount of the male students?
In which groups the amount of students is greater than in the group 123.
Select the list of students from group "II RDB 11".
Create cube which has two dimensions: faculty and group. Count students for these two
dimensions in all possible combinations.
could you please solve the 10 questions with explanation
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David M. Kroenke

1st Edition

0130086509, 978-0130086501

More Books

Students also viewed these Databases questions