Latihan Mysql - 2
Latihan Mysql - 2
User@DESKTOP-OUS6OKF c:\xampp
# mysql -u root
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 8
Server version: 10.4.27-MariaDB mariadb.org binary distribution
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [kuliah_ft]> alter table matkul add nilai ruang varchar (100) after
nama_mk;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MariaDB server version for the right syntax to use near
'varchar (100) after nama_mk' at line 1
MariaDB [kuliah_ft]> alter table matkul add ruang varchar (100) after nama_mk;
Query OK, 0 rows affected (0.063 sec)
Records: 0 Duplicates: 0 Warnings: 0
MariaDB [kuliah_ft]>