Query Tabel Inner Join & Outer Join MySQL
TUGAS 5 MANAJEMEN BASIS DATA Disusun Oleh : INGGIT NADYA NASTITI 160101243 STMIK DUTA BANGSA SURAKARTA 2018 ______________________________________________ Query Tabel Inner Join & Outer Join MySQL mysql> create database tugas5; Query OK, 1 row affected mysql> use tugas5; Database changed mysql> create table tbpegawai( -> idpegawai varchar (4) primary key, -> Nama varchar (50), -> Alamat varchar (50), -> id_dept varchar (2)); Query OK, 0 rows affected mysql> create table tbdepartemen( -> id_dept varchar (2) primary key, -> Nama_dept varchar (40), -> Lokasi varchar (40)); Query OK, 0 rows affected mysql> insert into tbpegawai (idpegawai,Nama,Alamat,id_dept) -> values -> ('0001','Yuni','Surabaya','01'), -> ('0002','Mariyatun','Malang','02'), -> ('0003','Joni