Professional Documents
Culture Documents
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [coba]> alter table mahasiswa add keterangan varchar(15) not null;
Query OK, 0 rows affected (0.122 sec)
Records: 0 Duplicates: 0 Warnings: 0
MariaDB [coba]> alter table mahasiswa add nim int(11) not null first;
Query OK, 0 rows affected (0.011 sec)
Records: 0 Duplicates: 0 Warnings: 0
MariaDB [coba]> alter table mahasiswa add phone varchar(15) not null after
alamat;
Query OK, 0 rows affected (0.161 sec)
Records: 0 Duplicates: 0 Warnings: 0
MariaDB [coba]> alter table mahasiswa modify nim char(11) not null;
Query OK, 0 rows affected (0.048 sec)
Records: 0 Duplicates: 0 Warnings: 0
MariaDB [coba]>
LINK GOOGLE DRIVE :
https://drive.google.com/drive/folders/1TtgiXdugTE1NKDHehHz84236_ygkyI
dc?usp=sharing