Lab 3 V 2
Lab 3 V 2
1.2 INSERT 3 (THREE) PensyarahKursus information in the table PENSYARAHKURSUS (use INSERT
command)
1.3 DISPLAY ALL the records in table PENSYARAHKURSUS (use SELECT command)
-------------------------------------------------
2.1 Create the following table : FAKULTI (use CREATE TABLE command)
2.2 INSERT 3 (THREE) Fakulti in the table FAKULTI (use INSERT command), ie FIK for Fakulti
Informatik dan Komputeran
2.3 DISPLAY ALL the records in table FAKULTI (use SELECT command)
-------------------------------------------------
3.1 Create the following table : PROGRAM (use CREATE TABLE command)
3.2 INSERT 5 (FIVE) Program in the table PROGRAM (use INSERT command), ie SMSK(PP)
3.3 DISPLAY ALL the records in table PROGRAM (use SELECT command)
-------------------------------------------------
4.1 Add a new column/attribute in table PELAJAR which is the KodProgram. Write the following code
in SQL:
4.2 Set the KodProgram as the Foreign Key from table Program, write the following code
4.3 Update the value of KodProgram with SMSKPP, write the following code
4.4 DISPLAY ALL the records in table PELAJAR (use SELECT command)