You are on page 1of 9

Microsoft Windows [Version 6.1.

7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Cynnal>cd c:\xampp\mysql\bin
c:\xampp\mysql\bin>mysql -u root -p
Enter password:
ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)
c:\xampp\mysql\bin>mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.0.45-community-nt MySQL Community Edition (GPL)
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> help
For information about MySQL products and services, visit:
http://www.mysql.com/
For developer information, including the MySQL Reference Manual, visit:
http://dev.mysql.com/
To buy MySQL Network Support, training, or other products, visit:
https://shop.mysql.com/
List of all MySQL commands:
Note that all text commands must be first on line and end with ';'
?
(\?) Synonym for `help'.
clear
(\c) Clear command.
connect (\r) Reconnect to the server. Optional arguments are db and host.
delimiter (\d) Set statement delimiter. NOTE: Takes the rest of the line as new
delimiter.
ego
(\G) Send command to mysql server, display result vertically.
exit
(\q) Exit mysql. Same as quit.
go
(\g) Send command to mysql server.
help
(\h) Display this help.
notee
(\t) Don't write into outfile.
print
(\p) Print current command.
prompt
(\R) Change your mysql prompt.
quit
(\q) Quit mysql.
rehash
(\#) Rebuild completion hash.
source
(\.) Execute an SQL script file. Takes a file name as an argument.
status
(\s) Get status information from the server.
tee
(\T) Set outfile [to_outfile]. Append everything into given outfile.
use
(\u) Use another database. Takes database name as argument.
charset (\C) Switch to another charset. Might be needed for processing binlog
with multi-byte charsets.
warnings (\W) Show warnings after every statement.
nowarning (\w) Don't show warnings after every statement.
For server side help, type 'help contents'
mysql>
->
->
->
->
->
->

DML
INSERT
mysqladmin -uroot password
mysql -uroot -p
create database
CREATE DATABASE Pegawai
CREATE DATABASE Pegawai;

ERROR 1064 (42000): You have an error in


corresponds to your MySQL server version
INSERT
mysqladmin -uroot password
mysql -uroot -p
create database
CREATE DAT' at line 1
mysql> mysqladmin -uroot password;
ERROR 1064 (42000): You have an error in
corresponds to your MySQL server version
admin -uroot password' at line 1
mysql> \q
Bye

your SQL syntax; check the manual that


for the right syntax to use near 'DML

your SQL syntax; check the manual that


for the right syntax to use near 'mysql

c:\xampp\mysql\bin>mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.0.45-community-nt MySQL Community Edition (GPL)
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> S
Query OK, 1 row affected (0.00 sec)
mysql> USE Pegawai;
Database changed
mysql> CREATE TABLE Pribadi<
-> Nip CHAR<5> NOT NULL PRiMARY KEY,
-> Nama VARCHAR<35> NOT NULL,
-> Tgl_ lahir DATE
-> Sex ENUM('P','W'>,
-> Alamat VARCHAR(35),
-> Kota VARCHAR<15>>;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near '<
Nip CHAR<5> NOT NULL PRiMARY KEY,
Nama VARCHAR<35> NOT NULL,
Tgl_ lahir DATE
S' at line 1
mysql>
mysql> CREATE TABLE Pribadi(
-> Nip CHAR(5) NOT NULL PRIMARY KEY,
-> Nama VARCHAR(35) NOT NULL,
-> Tgl_lahir DATE,
-> Sex ENUM('P','W'),
-> Alamat VARCHAR(35),
-> Kota VARCHAR(15));
Query OK, 0 rows affected (0.00 sec)
mysql> INSERT INTO
-> INSERT INtO Pribadi(Nip, Nama, Tgl lahir, Sex, Alamat, Kota)
-> VALUES ('12345', 'Cynnal', '1991/05/03', 'P', 'Politeknik', 'Manado')
-> INSERT INTO Pribadi(Nip, Nama, Tgl lahir, Sex, Alamat, Kota)
-> VALUES ('12345', 'Cynnal', '1991/05/03', 'P', 'Politeknik', 'Manado');
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near 'INSER
T INtO Pribadi(Nip, Nama, Tgl lahir, Sex, Alamat, Kota)
VALUES ('12345', 'C' at line 2
mysql> INSERT INTO

-> INSERT INTO Pribadi(Nip, Nama, Tgl lahir, Sex, Alamat, Kota)
-> VALUES ('12345', 'Cynnal', '1991/05/03', 'P', 'Politeknik', 'Manado');
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near 'INSER
T INTO Pribadi(Nip, Nama, Tgl lahir, Sex, Alamat, Kota)\uS
VALUES ('12345', 'C' at line 2
mysql> INSERT INTO Pribadi(Nip, Nama, Tgl lahir, Sex, Alamat, Kota)
-> VALUE ('12345', 'Cynnal', '1991/05/03', 'P', 'Politeknik', 'Manado');
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near 'lahir
, Sex, Alamat, Kota)
VALUE ('12345', 'Cynnal', '1991/05/03', 'P', 'Politekn' at line 1
mysql> VALUE ('12345', 'Cynnal', '1991/05/03', 'P', 'Politeknik', 'Manado');
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near 'VALUE
('12345', 'Cynnal', '1991/05/03', 'P', 'Politeknik', 'Manado')' at line 1
mysql>
mysql>
mysql> INSERT INTO Pribadi(Nip, Nama, Tgl lahir, Sex, Alamat, Kota)
-> VALUES ('12345', 'Cynnal', '1991/05/03', 'P', 'Politekik', 'Manado');
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near 'lahir
, Sex, Alamat, Kota)
VALUES ('12345', 'Cynnal', '1991/05/03', 'P', 'Politek' at line 1
mysql>
mysql>
mysql> INSERT INTO Pribadi(Nip, Nama, Tgl_lahir, Sex, Alamat, Kota)
-> VALUES ('12345', 'Cynnal', '1991/05/03', 'P', 'Politeknik', 'Manado');
Query OK, 1 row affected (0.00 sec)
mysql> SELECT*FROM Pribadi
-> SELECT * FROM Pribadi;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near 'SELEC
T * FROM Pribadi' at line 2
mysql>
mysql>
mysql> SELECT * FROM Pribadi;
+-------+--------+------------+------+------------+--------+
| Nip | Nama | Tgl_lahir | Sex | Alamat
| Kota |
+-------+--------+------------+------+------------+--------+
| 12345 | Cynnal | 1991-05-03 | P
| Politeknik | Manado |
+-------+--------+------------+------+------------+--------+
1 row in set (0.00 sec)
mysql> INSERT INTO Pribadi(Nip, Nama, Tgl lahir, Sex, Alamat, Kota)
-> VALUE ('23456', 'Frendy', '1993/03/27', 'P', 'Makeret', 'Manado');
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near 'lahir
, Sex, Alamat, Kota)
VALUE ('23456', 'Frendy', '1993/03/27', 'P', 'Makeret'' at line 1
mysql> INSERT INTO Pribadi(Nip, Nama, Tgl_lahir, Sex, Alamat, Kota)
-> VALUE ('23456', 'Frendy', '1993/03/27', 'P', 'Makeret', 'Manado');
Query OK, 1 row affected (0.00 sec)
mysql> SELECT * FROM Pribadi;
+-------+--------+------------+------+------------+--------+
| Nip | Nama | Tgl_lahir | Sex | Alamat
| Kota |
+-------+--------+------------+------+------------+--------+
| 12345 | Cynnal | 1991-05-03 | P
| Politeknik | Manado |

| 23456 | Frendy | 1993-03-27 | P


| Makeret
| Manado |
+-------+--------+------------+------+------------+--------+
2 rows in set (0.02 sec)
mysql> INSERT INTO Pribadi(Nip, Nama, Tgl_lahir, Sex, Alamat, Kota)
-> VALUE ('34567', 'Guys', '1993/05/19', 'P', 'Suwaan', 'Manado');
Query OK, 1 row affected (0.00 sec)
mysql> INSERT INTO Pribadi(Nip, Nama, Tgl_lahir, Sex, Alamat, Kota)
-> VALUE ('45678', 'Utu', '1990/02/19', 'P', 'Teling', 'Manado');
Query OK, 1 row affected (0.00 sec)
mysql> INSERT INTO Pribadi(Nip, Nama, Tgl_lahir, Sex, Alamat, Kota)
-> VALUE ('56789', 'Calvin', '1993/07/19', 'P', 'Teling', 'Manado');
Query OK, 1 row affected (0.00 sec)
mysql> INSERT INTO Pribadi(Nip, Nama, Tgl_lahir, Sex, Alamat, Kota)
-> VALUE ('67890', 'Nandalia', '1990/10/29', 'W', 'Paniki', 'Manado');
Query OK, 1 row affected (0.00 sec)
mysql> INSERT INTO Pribadi(Nip, Nama, Tgl_lahir, Sex, Alamat, Kota)
-> VALUE ('13579', 'Telsi', '1992/08/07', 'W', 'Kalasey', 'Manado');
Query OK, 1 row affected (0.00 sec)
mysql> INSERT INTO Pribadi(Nip, Nama, Tgl_lahir, Sex, Alamat, Kota)
-> VALUE ('24680', 'Febriani', '1993/09/04', 'W', 'Politeknik', 'Manado');
Query OK, 1 row affected (0.00 sec)
mysql> INSERT INTO Pribadi(Nip, Nama, Tgl_lahir, Sex, Alamat, Kota)
-> VALUE ('02468', 'Ocklan', '1992/06/17', 'P', 'Lapangan', 'Manado');o');
Query OK, 1 row affected (0.00 sec)
mysql>
mysql> CREATE TABLE Pekerjaan(
-> Nip CHAR(5) NOT NULL PRIMARY KEY,
-> Tgl_masuk DATE,
-> Kode_Bag CHAR(1) NOT NULL,
-> Gaji CHAR;
ERROR 1064 (42000): You have an error in
corresponds to your MySQL server version
line 5
mysql> CREATE TABLE Pekerjaan(
-> Nip CHAR(5) NOT NULL PRIMARY KEY,
-> Tgl_masuk DATE,
-> Kode_Bag CHAR(1) NOT NULL,
-> Gaji INTEGER(5);
ERROR 1064 (42000): You have an error in
corresponds to your MySQL server version
line 5
mysql> CREATE TABLE Pekerjaan(
-> Nip CHAR(5) NOT NULL PRIMARY KEY,
-> Tgl_masuk DATE,
-> Kode_Bag CHAR(1) NOT NULL,
-> Gaji INTEGER(5));
Query OK, 0 rows affected (0.01 sec)

your SQL syntax; check the manual that


for the right syntax to use near '' at

your SQL syntax; check the manual that


for the right syntax to use near '' at

mysql> INSERT INTO Pekerjaan(Nip, Tgl_masuk, Kode_Bag, Gaji)


-> VALUES ('12345', '1992/02/02', '3', '2000000');
Query OK, 1 row affected (0.00 sec)

mysql>
mysql> SELECT * FROM Pekerjaan;
+-------+------------+----------+---------+
| Nip | Tgl_masuk | Kode_Bag | Gaji
|
+-------+------------+----------+---------+
| 12345 | 1992-02-02 | 3
| 2000000 |
+-------+------------+----------+---------+
1 row in set (0.00 sec)
mysql> INSERT INTO Pekerjaan(Nip, Tgl_masuk, Kode_Bag, Gaji)
-> VALUES ('23456', '1992/02/02', '1', '1500000');
Query OK, 1 row affected (0.00 sec)
mysql>
mysql> SELECT * FROM Pekerjaan;
+-------+------------+----------+---------+
| Nip | Tgl_masuk | Kode_Bag | Gaji
|
+-------+------------+----------+---------+
| 12345 | 1992-02-02 | 3
| 2000000 |
| 23456 | 1992-02-02 | 1
| 1500000 |
+-------+------------+----------+---------+
2 rows in set (0.00 sec)
mysql> INSERT INTO Pekerjaan(
-> VA
-> ;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near '' at
line 2
mysql> INSERT INTO Pekerjaan(Nip, Tgl_masuk, Kode_Bag, Gaji)
-> VALUES ('34567', '1992/02/02', '5', '5000000');
Query OK, 1 row affected (0.00 sec)
mysql> SELECT * FROM Pekerjaan;
+-------+------------+----------+---------+
| Nip | Tgl_masuk | Kode_Bag | Gaji
|
+-------+------------+----------+---------+
| 12345 | 1992-02-02 | 3
| 2000000 |
| 23456 | 1992-02-02 | 1
| 1500000 |
| 34567 | 1992-02-02 | 5
| 5000000 |
+-------+------------+----------+---------+
3 rows in set (0.00 sec)
mysql> INSERT INTO Pekerjaan(Nip, Tgl_masuk, Kode_Bag, Gaji)
-> VALUES ('45678', '1992/02/02', '7', '7000000');
Query OK, 1 row affected (0.00 sec)
mysql> SELECT * FROM Pekerjaan;
+-------+------------+----------+---------+
| Nip | Tgl_masuk | Kode_Bag | Gaji
|
+-------+------------+----------+---------+
| 12345 | 1992-02-02 | 3
| 2000000 |
| 23456 | 1992-02-02 | 1
| 1500000 |
| 34567 | 1992-02-02 | 5
| 5000000 |
| 45678 | 1992-02-02 | 7
| 7000000 |
+-------+------------+----------+---------+
4 rows in set (0.00 sec)
mysql>

mysql> INSERT INTO Pekerjaan(Nip, Tgl_masuk, Kode_Bag, Gaji)


-> VALUES ('56789', '1992/02/02', '8', '90000000');
Query OK, 1 row affected (0.00 sec)
mysql> SELECT * FROM PEKERJAAN
-> SELECT * FROM Pekerjaan;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near 'SELEC
T * FROM Pekerjaan' at line 2
mysql> SELECT * FROM Pekerjaan;
+-------+------------+----------+----------+
| Nip | Tgl_masuk | Kode_Bag | Gaji
|
+-------+------------+----------+----------+
| 12345 | 1992-02-02 | 3
| 2000000 |
| 23456 | 1992-02-02 | 1
| 1500000 |
| 34567 | 1992-02-02 | 5
| 5000000 |
| 45678 | 1992-02-02 | 7
| 7000000 |
| 56789 | 1992-02-02 | 8
| 90000000 |
+-------+------------+----------+----------+
5 rows in set (0.00 sec)
mysql> INSERT INTO Pekerjaan(Nip, Tgl_masuk, Kode_Bag, Gaji)
-> VALUES ('67890', '1992/02/02', '7', '7100000');
Query OK, 1 row affected (0.00 sec)
mysql> SELECT * FROM Pekerjaan;
+-------+------------+----------+----------+
| Nip | Tgl_masuk | Kode_Bag | Gaji
|
+-------+------------+----------+----------+
| 12345 | 1992-02-02 | 3
| 2000000 |
| 23456 | 1992-02-02 | 1
| 1500000 |
| 34567 | 1992-02-02 | 5
| 5000000 |
| 45678 | 1992-02-02 | 7
| 7000000 |
| 56789 | 1992-02-02 | 8
| 90000000 |
| 67890 | 1992-02-02 | 7
| 7100000 |
+-------+------------+----------+----------+
6 rows in set (0.00 sec)
mysql> INSERT INTO Pekerjaan(Nip, Tgl_masuk, Kode_Bag, Gaji)
-> VALUES ('13579', '1992/02/02', '7', '8300000');
Query OK, 1 row affected (0.00 sec)
mysql> SELECT * FROM Pekerjaan;
+-------+------------+----------+----------+
| Nip | Tgl_masuk | Kode_Bag | Gaji
|
+-------+------------+----------+----------+
| 12345 | 1992-02-02 | 3
| 2000000 |
| 23456 | 1992-02-02 | 1
| 1500000 |
| 34567 | 1992-02-02 | 5
| 5000000 |
| 45678 | 1992-02-02 | 7
| 7000000 |
| 56789 | 1992-02-02 | 8
| 90000000 |
| 67890 | 1992-02-02 | 7
| 7100000 |
| 13579 | 1992-02-02 | 7
| 8300000 |
+-------+------------+----------+----------+
7 rows in set (0.00 sec)
mysql> INSERT INTO Pekerjaan(Nip, Tgl_masuk, Kode_Bag, Gaji)
-> VALUES ('24680', '1992/02/02', '8', '13500000');
Query OK, 1 row affected (0.00 sec)

mysql> SELECT * FROM Pekerjaan;


+-------+------------+----------+----------+
| Nip | Tgl_masuk | Kode_Bag | Gaji
|
+-------+------------+----------+----------+
| 12345 | 1992-02-02 | 3
| 2000000 |
| 23456 | 1992-02-02 | 1
| 1500000 |
| 34567 | 1992-02-02 | 5
| 5000000 |
| 45678 | 1992-02-02 | 7
| 7000000 |
| 56789 | 1992-02-02 | 8
| 90000000 |
| 67890 | 1992-02-02 | 7
| 7100000 |
| 13579 | 1992-02-02 | 7
| 8300000 |
| 24680 | 1992-02-02 | 8
| 13500000 |
+-------+------------+----------+----------+
8 rows in set (0.00 sec)
mysql> INSERT INTO Pekerjaan(Nip, Tgl_masuk, Kode_Bag, Gaji)
-> VALUES ('02468', '1992/02/02', '8', '4500');
Query OK, 1 row affected (0.00 sec)
mysql> SELECT * FROM Pekerjaan;
+-------+------------+----------+----------+
| Nip | Tgl_masuk | Kode_Bag | Gaji
|
+-------+------------+----------+----------+
| 12345 | 1992-02-02 | 3
| 2000000 |
| 23456 | 1992-02-02 | 1
| 1500000 |
| 34567 | 1992-02-02 | 5
| 5000000 |
| 45678 | 1992-02-02 | 7
| 7000000 |
| 56789 | 1992-02-02 | 8
| 90000000 |
| 67890 | 1992-02-02 | 7
| 7100000 |
| 13579 | 1992-02-02 | 7
| 8300000 |
| 24680 | 1992-02-02 | 8
| 13500000 |
| 02468 | 1992-02-02 | 8
|
4500 |
+-------+------------+----------+----------+
9 rows in set (0.00 sec)
mysql> INSERT INTO Pekerjaan(Nip, Tgl_masuk, Kode_Bag, Gaji)
-> VALUES ('11223', '1992/02/02', '7', '1000');
Query OK, 1 row affected (0.00 sec)
mysql> SELECT * FROM Pekerjaan;
+-------+------------+----------+----------+
| Nip | Tgl_masuk | Kode_Bag | Gaji
|
+-------+------------+----------+----------+
| 12345 | 1992-02-02 | 3
| 2000000 |
| 23456 | 1992-02-02 | 1
| 1500000 |
| 34567 | 1992-02-02 | 5
| 5000000 |
| 45678 | 1992-02-02 | 7
| 7000000 |
| 56789 | 1992-02-02 | 8
| 90000000 |
| 67890 | 1992-02-02 | 7
| 7100000 |
| 13579 | 1992-02-02 | 7
| 8300000 |
| 24680 | 1992-02-02 | 8
| 13500000 |
| 02468 | 1992-02-02 | 8
|
4500 |
| 11223 | 1992-02-02 | 7
|
1000 |
+-------+------------+----------+----------+
10 rows in set (0.00 sec)
mysql> INSERT INTO Pekerjaan(Nip, Tgl_masuk, Kode_Bag, Gaji)
->
-> VALUES ('22222', '1992/02/02', '8', '100');
Query OK, 1 row affected (0.00 sec)

mysql> SELECT * FROM Pekerjaan;


+-------+------------+----------+----------+
| Nip | Tgl_masuk | Kode_Bag | Gaji
|
+-------+------------+----------+----------+
| 12345 | 1992-02-02 | 3
| 2000000 |
| 23456 | 1992-02-02 | 1
| 1500000 |
| 34567 | 1992-02-02 | 5
| 5000000 |
| 45678 | 1992-02-02 | 7
| 7000000 |
| 56789 | 1992-02-02 | 8
| 90000000 |
| 67890 | 1992-02-02 | 7
| 7100000 |
| 13579 | 1992-02-02 | 7
| 8300000 |
| 24680 | 1992-02-02 | 8
| 13500000 |
| 02468 | 1992-02-02 | 8
|
4500 |
| 11223 | 1992-02-02 | 7
|
1000 |
| 22222 | 1992-02-02 | 8
|
100 |
+-------+------------+----------+----------+
11 rows in set (0.00 sec)
mysql> INSERT INTO Pekerjaan(Nip, Tgl_masuk, Kode_Bag, Gaji)
-> VALUES ('13423', '1992/02/02', '8', '500');
Query OK, 1 row affected (0.00 sec)
mysql> SELECT * FROM Pekerjaan;
+-------+------------+----------+----------+
| Nip | Tgl_masuk | Kode_Bag | Gaji
|
+-------+------------+----------+----------+
| 12345 | 1992-02-02 | 3
| 2000000 |
| 23456 | 1992-02-02 | 1
| 1500000 |
| 34567 | 1992-02-02 | 5
| 5000000 |
| 45678 | 1992-02-02 | 7
| 7000000 |
| 56789 | 1992-02-02 | 8
| 90000000 |
| 67890 | 1992-02-02 | 7
| 7100000 |
| 13579 | 1992-02-02 | 7
| 8300000 |
| 24680 | 1992-02-02 | 8
| 13500000 |
| 02468 | 1992-02-02 | 8
|
4500 |
| 11223 | 1992-02-02 | 7
|
1000 |
| 22222 | 1992-02-02 | 8
|
100 |
| 13423 | 1992-02-02 | 8
|
500 |
+-------+------------+----------+----------+
12 rows in set (0.00 sec)
mysql> INSERT INTO Pekerjaan(Nip, Tgl_masuk, Kode_Bag, Gaji)
-> VALUES ('23654', '1992/02/02', '7', '1000');
Query OK, 1 row affected (0.00 sec)
mysql> SELECT * FROM Pekerjaan;
+-------+------------+----------+----------+
| Nip | Tgl_masuk | Kode_Bag | Gaji
|
+-------+------------+----------+----------+
| 12345 | 1992-02-02 | 3
| 2000000 |
| 23456 | 1992-02-02 | 1
| 1500000 |
| 34567 | 1992-02-02 | 5
| 5000000 |
| 45678 | 1992-02-02 | 7
| 7000000 |
| 56789 | 1992-02-02 | 8
| 90000000 |
| 67890 | 1992-02-02 | 7
| 7100000 |
| 13579 | 1992-02-02 | 7
| 8300000 |
| 24680 | 1992-02-02 | 8
| 13500000 |
| 02468 | 1992-02-02 | 8
|
4500 |
| 11223 | 1992-02-02 | 7
|
1000 |

| 22222 | 1992-02-02 | 8
|
100 |
| 13423 | 1992-02-02 | 8
|
500 |
| 23654 | 1992-02-02 | 7
|
1000 |
+-------+------------+----------+----------+
13 rows in set (0.00 sec)
mysql> INSERT INTO Pekerjaan(Nip, Tgl_masuk, Kode_Bag, Gaji)
-> VALUES ('85942', '1992/02/02', '8', '100');
Query OK, 1 row affected (0.00 sec)
mysql> SELECT * FROM Pekerjaan;
+-------+------------+----------+----------+
| Nip | Tgl_masuk | Kode_Bag | Gaji
|
+-------+------------+----------+----------+
| 12345 | 1992-02-02 | 3
| 2000000 |
| 23456 | 1992-02-02 | 1
| 1500000 |
| 34567 | 1992-02-02 | 5
| 5000000 |
| 45678 | 1992-02-02 | 7
| 7000000 |
| 56789 | 1992-02-02 | 8
| 90000000 |
| 67890 | 1992-02-02 | 7
| 7100000 |
| 13579 | 1992-02-02 | 7
| 8300000 |
| 24680 | 1992-02-02 | 8
| 13500000 |
| 02468 | 1992-02-02 | 8
|
4500 |
| 11223 | 1992-02-02 | 7
|
1000 |
| 22222 | 1992-02-02 | 8
|
100 |
| 13423 | 1992-02-02 | 8
|
500 |
| 23654 | 1992-02-02 | 7
|
1000 |
| 85942 | 1992-02-02 | 8
|
100 |
+-------+------------+----------+----------+
14 rows in set (0.00 sec)
mysql> INSERT INTO Pekerjaan(Nip, Tgl_masuk, Kode_Bag, Gaji)
->

You might also like