Académique Documents
Professionnel Documents
Culture Documents
2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\>xampp\mysql\bin\mysql -uroot
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 4
Server version: 5.0.41-community-nt MySQL Community Edition (GPL)
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>
mysql>
mysql>
mysql> select tblsiswa.nis,tblsiswa.nama,tblkomputer.kode_komputer,
-> tblkomputer.jenis from tblkomputer,tblsiswa where
-> tblsiswa.nis=tblkomputer.nis and tblkomputer.jenis='p4';
+-----+---------+---------------+-------+
| nis | nama | kode_komputer | jenis |
+-----+---------+---------------+-------+
| 101 | Sky | a1 | p4 |
| 102 | Wati | a2 | p4 |
| 105 | Anthony | a1 | p4 |
| 106 | Yopi | a2 | p4 |
+-----+---------+---------------+-------+
4 rows in set (0.02 sec)
mysql>