Basis Data2
Basis Data2
388]
C:\Users\richa>cp/
C:\Users\richa>cp\
C:\Users\richa>cd\
C:\>cd bin
C:\>cd bin;
C:\>cd xampp/mysql
C:\xampp\mysql>cd bin;
C:\xampp\mysql>cd bin
C:\xampp\mysql\bin>mysql -u root
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
Database changed
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 '(100),
tgl_terbit date,
deskripsi text,
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 'desimal(10,0))' at line 7
+----------------------+
| Tables_in_db_pustaka |
+----------------------+
| buku |
| kategori |
| penerbit |
| pengarang |
+----------------------+
MariaDB [db_pustaka]>
+-------------+---------------+------+-----+---------+-------+
+-------------+---------------+------+-----+---------+-------+
+---------------+-------------+------+-----+---------+-------+
+---------------+-------------+------+-----+---------+-------+
+---------------+-------------+------+-----+---------+-------+
+---------------+-------------+------+-----+---------+-------+
+---------------+-------------+------+-----+---------+-------+
+---------------+-------------+------+-----+---------+-------+
+----------------+-------------+------+-----+---------+-------+
+----------------+-------------+------+-----+---------+-------+
+----------------+-------------+------+-----+---------+-------+
'> ;0
'> );
'> sa
'>
'> s
'> d
'> asd
'> as
'> d
'> asd
'> sa
'> d
'> sa
'> d
'> sad
'> sa
'>
'> );
Bye
C:\xampp\mysql\bin>mysql -u root
Database changed
+------+------------+-------------+------------+-----------+-------+
+------+------------+-------------+------------+-----------+-------+
+------+------------+-------------+------------+-----------+-------+
+------+------------+-------------+------------+-----------+-------+
+------+------------+-------------+------------+-----------+-------+
+------+------------+-------------+------------+-----------+-------+