Académique Documents
Professionnel Documents
Culture Documents
+---------------+-------------+------+-----+---------+-------+
-> 'ANGGUN',
-> 'NURUL',
-> 'BONDOWOSO');
-> '132061063',
-> 'NINIK',
-> 'ANDRIYANTI',
-> 'JAKARTA');
-> '132061119',
-> 'KHURIN',
-> 'KHINATA',
-> '132061127',
-> 'INDAH',
-> 'APRILIANI',
-> 'JAKARTA');
+-----------+------------+---------------+--------------------+-----------+
+-----------+------------+---------------+--------------------+-----------+
+-----------+------------+---------------+--------------------+-----------+
MariaDB [universitas]>
+-----------+------------+---------------+--------------------+-----------+
+-----------+------------+---------------+--------------------+-----------+
| 132061046 | ANGGUN | NURUL | JAWA II No. 12 | BONDOWOSO |
+-----------+------------+---------------+--------------------+-----------+
-> '132061119',
-> 'KHURIN',
-> 'KHINATA',
-> 'MEDAN');
-> '132061127',
-> 'INDAH',
-> 'APRILIANI',
-> 'JAKARTA');
+-----------+------------+---------------+----------------------+-----------+
+-----------+------------+---------------+----------------------+-----------+
| 132061046 | ANGGUN | NURUL | JAWA II No. 12 | BONDOWOSO |
+-----------+------------+---------------+----------------------+-----------+
kang asc;
ng asc;
+-----------+------------+---------------+----------------------+-----------+
+-----------+------------+---------------+----------------------+-----------+
+-----------+------------+---------------+----------------------+-----------+
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 'asc
' at line 1
+------------------------------+
+------------------------------+
| 0|
| 0|
| 0|
| 0|
+------------------------------+
+------------+
| nama_depan |
+------------+
| ANGGUN |
| NINIK |
| KHURIN |
| INDAH |
+------------+
ma_Depan asc;
+------------+---------------+
| Nama_Depan | Nama_Belakang |
+------------+---------------+
| ANGGUN | NURUL |
| INDAH | APRILIANI |
| KHURIN | KHINATA |
| NINIK | ANDRIYANTI |
+------------+---------------+
Bye
C:\xampp\mysql\bin>mysql -u root
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
Database changed
+---------------+-------------+------+-----+---------+-------+
+---------------+-------------+------+-----+---------+-------+
+-----------+------------+---------------+----------------------+-----------+
+-----------+------------+---------------+----------------------+-----------+
+-----------+------------+---------------+----------------------+-----------+
+-----------+
| kota |
+-----------+
| BONDOWOSO |
| JAKARTA |
| MEDAN |
+-----------+
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 ')='
N'' at line 1
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 ')='
n'' at line 1
+-----------+------------+---------------+----------------------+-----------+
+-----------+------------+---------------+----------------------+-----------+
+-----------+------------+---------------+----------------------+-----------+
+-----------+------------+---------------+----------------------+---------+
+-----------+------------+---------------+----------------------+---------+
+-----------+------------+---------------+----------------------+---------+
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 'lik
e 'A%'' at line 1
MariaDB [universitas]> select * from pegawai where Nama_Belakang not like 'A%';
+-----------+------------+---------------+----------------------+-----------+
+-----------+------------+---------------+----------------------+-----------+
+-----------+------------+---------------+----------------------+-----------+
-> kota='MEDAN';
+-----------+
| NIP |
+-----------+
| 132061063 |
| 132061119 |
| 132061127 |
+-----------+
-> ;
+-----------+------------+---------------+----------------------+-----------+
+-----------+------------+---------------+----------------------+-----------+
+-----------+------------+---------------+----------------------+-----------+
+-----------+------------+---------------+----------------------+-------+
+-----------+------------+---------------+----------------------+-------+
+-----------+------------+---------------+----------------------+-------+
+-----------+------------+---------------+----------------------+-----------+
+-----------+------------+---------------+----------------------+-----------+
+-----------+------------+---------------+----------------------+-----------+
MariaDB [universitas]>