0% found this document useful (0 votes)
53 views1 page

Relational 1

This document describes the database tables for a student blogging platform, including tables for users, posts, comments, categories, and tags. The users table stores information about registered users. The posts table contains blog posts along with the author and category. The comments table holds user comments on posts. Categories and tags are defined in their own tables to categorize and tag content. Relationships exist between the tables to link related records.

Uploaded by

benben08
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
53 views1 page

Relational 1

This document describes the database tables for a student blogging platform, including tables for users, posts, comments, categories, and tags. The users table stores information about registered users. The posts table contains blog posts along with the author and category. The comments table holds user comments on posts. Categories and tags are defined in their own tables to categorize and tag content. Relationships exist between the tables to link related records.

Uploaded by

benben08
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

STUDENT.COMMENTS STUDENT.CATEGORY STUDENT.

TAGS
P * COMMENT_ID NUMBER (*,0) P * CATEGORY_ID NUMBER (*,0) P * TAG_ID NUMBER (*,0)
POST_ID NUMBER (*,0) CATEGORY_NAME VARCHAR2 (20 BYTE) F POST_ID NUMBER (*,0)
F USER_ID NUMBER (*,0) F * USER_ID NUMBER (*,0) POST_TAGS VARCHAR2 (20 BYTE)
COMMENT_TITLE VARCHAR2 (50 BYTE)
PK_CATEGORY (CATEGORY_ID)
TIME VARCHAR2 (15 BYTE) TAGS_PK (TAG_ID)
FK_CATEGORY (USER_ID)
COMMENTS_PK (COMMENT_ID) SYS_C008231 (POST_ID)
PK_CATEGORY (CATEGORY_ID)
SYS_C008229 (USER_ID)

STUDENT.POST
STUDENT.USERS
P * POST_ID NUMBER (*,0)
P * USER_ID NUMBER (*,0)
F USER_ID NUMBER (*,0)
USER_NAME VARCHAR2 (20 BYTE)
F CATEGORY_ID NUMBER (*,0)
E_MAIL VARCHAR2 (20 BYTE)
POST_TITLE VARCHAR2 (40 BYTE)
U PASSWORD VARCHAR2 (10 BYTE)
POST_BODY CLOB
REGISTRATION_DATE VARCHAR2 (20 BYTE)
LAST_UPDATE VARCHAR2 (20 BYTE)
LAST_LOGIN VARCHAR2 (20 BYTE)
POST_TIME VARCHAR2 (10 BYTE)
DATE_OF_BIRTH VARCHAR2 (20 BYTE)
POST_TAGS VARCHAR2 (20 BYTE)
USERS_PK (USER_ID)

You might also like