Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
Pelajaran sebelum kuis 1

Pelajaran sebelum kuis 1

Ratings: (0)|Views: 0|Likes:
Published by Ovi Arinta Erwin

More info:

Published by: Ovi Arinta Erwin on Jun 24, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

10/29/2013

pdf

text

original

 
Ms. AccessSQLMy SqlMy Sql GatewaySql ServerNavicate LitePhp My Admin
Pertemuan I
mysql> show databases;mysql> create database cb_perpustakaan;mysql> use db_perpustakaan;mysql> create table tb_buku (kode_buku varchar(10) not null, nama_buku varchar(40)not null, tanggal_beli date, primary key (kode_buku));mysql> show tables;mysql> describe tb_buku;
Pertemuan 2
DatabaseCreateTable
Alter
DatabaseTableAddDDLChangeRename TabelModifyBasis DataDropDatabaseDrop ColumnTabelDML
ALTER 
(Mengubah Struktur)mysql> alter table tb_buku ADD harga_buku int(8) not null;mysql> alter table tb_buku CHANGE harga_buku harga_bk int(6) not null;mysql> alter table tb_buku MODIFY harga_bk varchar(10) not null;mysql> alter table tb_buku DROP COLUMN harga_bk;mysql> RENAME table tb_buku TO t_buku;mysql> DROP table t_buku;mysql> DROP database db_perpustakaan
keterangan :
 ADD: menambahCHANGE: mengubah nama kolom MODIFY: mengganti tipe DROP: menhapus RENAME: mengubah nama

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->