Skip to content

Conversation

@Sulaimi99
Copy link
Collaborator

Discription

This table contains the data of the member.
Divided into :

  • date
    • date
  • member
    • id
    • name
  • attend
    • id
    • date

date

This column contains the date of every activity.

member

  • id
    • This column contains the student id of every members.
  • name
    • This column contains name of the members.

attend

  • id
    • id data from 'member' table.
  • date
    • The date is data from the 'date' table.

From this table the attendance of every members can be confirmed.

Copy link
Contributor

@Amakuchisan Amakuchisan left a comment

Choose a reason for hiding this comment

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

Usually, we add a new line to the end of a file.
Please approve my suggestion😃

CREATE TABLE attend (
id VARCHAR(6) NOT NULL REFERENCES member(id),
date DATE NOT NULL DEFAULT CURRENT_DATE REFERENCES date(date)
); No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
);
);

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.

3 participants