Kategori: Basis Data

Hierarchical Memiliki struktur pohon dimana field hanya memiliki satu buah induk (parent), masing-masing parent memiliki banyak child (anak). Model ini memiliki kecepatan yang baik. Network Relationship dibuat menggunakan linked list (pointer). Berbeda dengan model hierarchical satu anak dapat memiliki beberapa induk. Model ini …

Baca Selengkapnya » tentang Model Basis Data

Tujuan utama dari sistem basis data adalah untuk menyediakan fasilitas untuk view data secara abstrak bagi penggunanya. Namun bagaimana sistem menyimpan dan mengelola data tersebut, hanya diketahui oleh sistem itu sendiri. Abstraksi data merupakan level dalam bagaimana melihat data dalam sebuah sistem basis data. Berikut ini tig…

Baca Selengkapnya » tentang Abstraksi Data

Data dan Informasi Menurut Turban, Aronson, and Liang (2005) data dan informasi didefinisikan sebagai berikut: Data, merupakan sesuatu yang menyangkut barang, kejadian, aktivitas, dan transaksi yang telah tercatat, diklasifikasikan, dan disimpan namun belum memiliki makna. Data dapat berupa nilai numerik, alphanumerik, gambar, d…

Baca Selengkapnya » tentang Data dan Informasi

The following E/R diagram and tables are used in the examples throughout this post. STUDENT STUID LNAME FNAME MAJOR CREDITS S1001 Smith Tom History 90 S1010 Burns Edward Art 63 S1015 Jones Mary Math 42 S1002 Chin Ann Math 36 S1020 Rivera Jane CIS 15 S1015 McCarthy Owen Math 9 CLASS COURSENUM FACID SCHED ROOM ART103A F101 MWF9 H2…

Baca Selengkapnya » tentang EXAMPLE DATABASE

The DELETE operator is used to erase records (not table structure). The number of records deleted may be 0, 1, or many, depending on how many satisfy the predicate. Format: DELETE FROM table/view WHERE delete_criteria; Example 1 Erase the record of student 'S1020' (Delete a single tuple) DELETE FROM STUDENT WHERE STUID = 'S1020'…

Baca Selengkapnya » tentang DELETE

The INSERT operator is used to put new records into a table. Normally it is not used to load an entire database (since other utilities can do that more efficiently). Aside from this, older implementations of SQL use it to remove columns from existing tables (before the ALTER TABLE had this capability). Format1: INSERT INTO table…

Baca Selengkapnya » tentang INSERT

Update gives you a way to modify individual attributes of a single tuple, a group of tuples, or a whole table (or view). Format: UPDATE table/view SET col-name = {value | expression} ; You can only update tuples already present in the table (i.e., you cannot use UPDATE to add new tuples). You can either UPDATE one table at a tim…

Baca Selengkapnya » tentang UPDATE

A union query performs the 'union' set operation on two or more tables. The union operation returns all tuples from all tables (like appending a second table to the bottom of the first). The union operation also allows you to sort the resulting data, perform where restriction, etc. The syntax for the UNION operator is shown belo…

Baca Selengkapnya » tentang UNION QUERIES