0% found this document useful (0 votes)
69 views4 pages

ISYS6169 - T0206 Database Systems: Assignment Case

The document describes a case study involving database tables related to an esports competition called The Externational. It provides 5 questions to complete: 1) Create a leaderboard table; 2) Add a column to the team_detail table; 3) Insert a record into the Position table; 4) Display player information using a LIKE condition; 5) Update scores in the match table where the ID is like a specific value.

Uploaded by

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

ISYS6169 - T0206 Database Systems: Assignment Case

The document describes a case study involving database tables related to an esports competition called The Externational. It provides 5 questions to complete: 1) Create a leaderboard table; 2) Add a column to the team_detail table; 3) Insert a record into the Position table; 4) Display player information using a LIKE condition; 5) Update scores in the match table where the ID is like a specific value.

Uploaded by

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

180917 FM-BINUS-AA-FPT-66/R7

Assignment Case
ISYS6169 | T0206
Database Systems
Information Systems XXXX-ISYS6169-XXXX-XX

Valid on Odd Semester Year 2021/2022 Revision 00

Tabel Relasional
Relational Table

The Externational
The Externational is an famous eSport competition from game MoTa 2 that being held every
year. The competition provides a lot of matches transaction including information of the participant
(teams, and players). Here is the Entity Relationship Diagram (ERD) of matches in The
Externational:

Page 1 of 4
180917 FM-BINUS-AA-FPT-66/R7

Soal
Case
1. Create a table named ‘leaderboard’ with the following descriptions :
(create table, like, between)
Column Name Data Types Length Description
rank_id CHAR 5 Primary key and rank_id must be
started with ‘RNK’ and followed by 2
digits of number.
Example: RNK01,
Cannot be empty.
team_id CHAR 5 Foreign key, references to table named
“team” on “team_id” column
rank INT Cannot be empty.
Must be between 1 and 8 (inclusive)
prize BIGINT Cannot be empty.

2. Add new column on team_detail table named is_captain with int data type and add a
constraint on team_detail table to validate that is_captain must be between 1 to 0 (inclusive).
(alter table, add, add constraint)

Page 2 of 4
180917 FM-BINUS-AA-FPT-66/R7

3. Insert these data into Position table :


(insert)

position_id position_name
POS06 Coach

4. Display player_name, and joined_date for every player that joined their team on September
2019.
(like)

5. Update Invictus Gaming score into 2, and Vici Gaming score into 0 for match with ID
“MT010”
(update, like)

Before update :

Page 3 of 4
180917 FM-BINUS-AA-FPT-66/R7

After update:

Page 4 of 4

You might also like