Rabu, 14 Oktober 2009
Diposting oleh derainbows di 01.52 0 komentar
Kamis, 24 September 2009
Tugas MySQL BAB 4
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.0.67-community-nt MySQL Community Edition (GPL)
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> select lcase('teknik informatika');
+-----------------------------+
| lcase('teknik informatika') |
+-----------------------------+
| teknik informatika |
+-----------------------------+
1 row in set (0.11 sec)
mysql> select lower('teknik informatika');
+-----------------------------+
| lower('teknik informatika') |
+-----------------------------+
| teknik informatika |
+-----------------------------+
1 row in set (0.02 sec)
mysql> select ucase('tehnik informatika');
+-----------------------------+
| ucase('tehnik informatika') |
+-----------------------------+
| TEHNIK INFORMATIKA |
+-----------------------------+
1 row in set (0.00 sec)
mysql> select upper('tehnik informatika');
+-----------------------------+
| upper('tehnik informatika') |
+-----------------------------+
| TEHNIK INFORMATIKA |
+-----------------------------+
1 row in set (0.00 sec)
mysql> select substring('tehnik infornatika',6);
+-----------------------------------+
| substring('tehnik infornatika',6) |
+-----------------------------------+
| k infornatika |
+-----------------------------------+
1 row in set (0.05 sec)
mysql> select substr('komputer',3);
+----------------------+
| substr('komputer',3) |
+----------------------+
| mputer |
+----------------------+
1 row in set (0.00 sec)
mysql> select substring('tehnik informatika',2,6);
+-------------------------------------+
| substring('tehnik informatika',2,6) |
+-------------------------------------+
| ehnik |
+-------------------------------------+
1 row in set (0.01 sec)
mysql> select substring('tehnik informatika',-11,5);
+---------------------------------------+
| substring('tehnik informatika',-11,5) |
+---------------------------------------+
| infor |
+---------------------------------------+
1 row in set (0.08 sec)
mysql> select left('tehnik informatika',6);
+------------------------------+
| left('tehnik informatika',6) |
+------------------------------+
| tehnik |
+------------------------------+
1 row in set (0.00 sec)
mysql> select right('tehnik informatika',11);
+--------------------------------+
| right('tehnik informatika',11) |
+--------------------------------+
| informatika |
+--------------------------------+
1 row in set (0.00 sec)
mysql> select ascii('5');
+------------+
| ascii('5') |
+------------+
| 53 |
+------------+
1 row in set (0.03 sec)
mysql> select ord('A') ord('a');
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 'ord('
a')' at line 1
mysql> select hex(2250;
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 1
mysql> select ord('A'),ord('a');
+----------+----------+
| ord('A') | ord('a') |
+----------+----------+
| 65 | 97 |
+----------+----------+
1 row in set (0.00 sec)
mysql> select hex(225);
+----------+
| hex(225) |
+----------+
| E1 |
+----------+
1 row in set (0.02 sec)
mysql> select char(66);
+----------+
| char(66) |
+----------+
| B |
+----------+
1 row in set (0.11 sec)
mysql> select char(66,85,78,65,70,73,84);
+----------------------------+
| char(66,85,78,65,70,73,84) |
+----------------------------+
| BUNAFIT |
+----------------------------+
1 row in set (0.03 sec)
mysql> select bin(8);
+--------+
| bin(8) |
+--------+
| 1000 |
+--------+
1 row in set (0.02 sec)
mysql> select insert('BunNugroho'3,1,'nafit');
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 '3,1,'
nafit')' at line 1
mysql> select insert('BunNugroho'3,1,'nafit');
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 '3,1,'
nafit')' at line 1
mysql> SELECT INSERT('BunNugroho'3,1,'nafit ');
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 '3,1,'
nafit ')' at line 1
mysql> select lenght('tehnik informatika');
ERROR 1305 (42000): FUNCTION lenght does not exist
mysql> select locate('format','tehnik informatika');
+---------------------------------------+
| locate('format','tehnik informatika') |
+---------------------------------------+
| 10 |
+---------------------------------------+
1 row in set (0.02 sec)
mysql> select ltrim(' tehnik informatika');
+--------------------------------+
| ltrim(' tehnik informatika') |
+--------------------------------+
| tehnik informatika |
+--------------------------------+
1 row in set (0.00 sec)
mysql> select trim(leading '+' from '++++MYSQL++++');
+----------------------------------------+
| trim(leading '+' from '++++MYSQL++++') |
+----------------------------------------+
| MYSQL++++ |
+----------------------------------------+
1 row in set (0.03 sec)
mysql> select space(15);
+-----------------+
| space(15) |
+-----------------+
| |
+-----------------+
1 row in set (0.00 sec)
mysql> select replace(www.lampung.go.id','.','dot');
'> '
-> ;
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 '.id',
'.','dot');
'' at line 1
mysql> select replace(www.lampung.go.id','.', 'dot ');
'> '
-> ;
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 '.id',
'.', 'dot ');
'' at line 1
mysql> select replace('www.lampung.go.id','.', 'dot ');
+--------------------------------------------+
| replace('www.lampung.go.id','.', 'dot ') |
+--------------------------------------------+
| wwwdot lampungdot godot id |
+--------------------------------------------+
1 row in set (0.03 sec)
mysql> select reverse(ABCDEFHTIJK');
'> '
-> ;
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 1
mysql> select reverse('ABCDEFHTIJK');
+------------------------+
| reverse('ABCDEFHTIJK') |
+------------------------+
| KJITHFEDCBA |
+------------------------+
1 row in set (0.00 sec)
mysql> select quote("sekarang hari jum'at");
+-------------------------------+
| quote("sekarang hari jum'at") |
+-------------------------------+
| 'sekarang hari jum\'at' |
+-------------------------------+
1 row in set (0.08 sec)
mysql> select LPAD('TI',5,'++');
+-------------------+
| LPAD('TI',5,'++') |
+-------------------+
| +++TI |
+-------------------+
1 row in set (0.00 sec)
mysql> select RPAD('TI',8,'++');
+-------------------+
| RPAD('TI',8,'++') |
+-------------------+
| TI++++++ |
+-------------------+
1 row in set (0.02 sec)
mysql> select elt(1,'TI','TK','SI',MI','KA');
'> '
-> ;
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 '','KA
');
'' at line 1
mysql> select elt(1,'TI','TK','SI','MI','KA');
+---------------------------------+
| elt(1,'TI','TK','SI','MI','KA') |
+---------------------------------+
| TI |
+---------------------------------+
1 row in set (0.03 sec)
mysql> select field('TI','TI','TK','SI','MI','KA');
+--------------------------------------+
| field('TI','TI','TK','SI','MI','KA') |
+--------------------------------------+
| 1 |
+--------------------------------------+
1 row in set (0.00 sec)
mysql> select find_in_set('TK','TI,TK,SI,MA,KA');
+------------------------------------+
| find_in_set('TK','TI,TK,SI,MA,KA') |
+------------------------------------+
| 2 |
+------------------------------------+
1 row in set (0.00 sec)
Diposting oleh derainbows di 22.12 0 komentar
Senin, 14 September 2009
Mengutamakan Persahabatan
Di Tatasurya,di Bumi, di Indonesia, di sebuah desa yang besar yang kaya akan tanah yang subur dan tepatnya lagi di ladang tempat bermain anak-anak(gaq penting banget)...
Ricky:"will yuu kita main kejar-kejaran"
Willy:"yuu kita ajak Kevin dan Hendra juga yha"
Ricky:"yu"
setiba di rumah Kevin...
Ibu Kevin:"Hai kalian mau cari Kevin ya?dia sedang di rumah Hendra..."
Willy:"ow begitu ya~makasih ya tante"
Ibu kevin:"sama-sama"
Ricky:"kalau boleh tau kemana ya?"
Ibu kevin:"Katanya ia kerumah Hendra~"
Diposting oleh derainbows di 00.02 0 komentar
Senin, 17 Agustus 2009
TUGAS KKPI
Presentasi adalah program paket yang digunakan atau untuk menyampaikan informasi melalui alat peraga secara langsung.
Cara membuat satu file presentasi:
- Klik start
- All progaram
- Ms office
- Ms office power point 2003
- Klil file
- Save atau ctrl + S
- Atau klik icon disket
- Pilih lokasi penyimpanan
- Kasih nama pada file name klik save.
- Klik insert
- Klik new slide
- atau ctrl + M
- Tekan tombol enter pada area outline
Diposting oleh derainbows di 04.49 0 komentar