Skip to content

Assignment 1 - DB - Vinh Nhan#3

Open
hiimnhan wants to merge 1 commit into
EngineerProOrg:database-assignment-1from
hiimnhan:database-assignment-1
Open

Assignment 1 - DB - Vinh Nhan#3
hiimnhan wants to merge 1 commit into
EngineerProOrg:database-assignment-1from
hiimnhan:database-assignment-1

Conversation

@hiimnhan

@hiimnhan hiimnhan commented Oct 2, 2023

Copy link
Copy Markdown

No description provided.

Comment thread query.sql
JOIN Enroll en ON cl.class_id = en.class_id
JOIN Student st ON st.stud_id = en.stud_id;

-- courses that 1 professor is teaching

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this question mean that, we already have prof_id as input

Comment thread query.sql
@@ -0,0 +1,127 @@
-- student, professor, class with class in common

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we want number of courses which a pair of student/ teacher is joining

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants