MySQL Tabel Processing

Slides:



Advertisements
Similar presentations
ALTER Command Building Database Relationships. page 21/4/2014 Presentation ALTER Command The ALTER command allows you to change almost everything in your.
Advertisements

Sebaran Peluang Bersama
Enkripsi dan Dekripsi Data
CREATE ALTER DROP Stored Procedure. Apa itu Stored Procedure?? kumpulan perintah SQL yang diberi nama dan disimpan dalam server Sekumpulan pernyataan.
By Asep Taufik Muharram. Data Definition Language (DDL) Digunakan untuk melakukan pembuatan struktur database, mulai dari mendefinisikan database, tabel-tabel.
Pertemuan : 6 Basis Data Terapan
Stored Procedure Arfansyah, M.Kom. Mengenal Stored Procedure Stored Procedure adalah kumpulan perintah SQL yang diberi nama dan disimpan di server Stored.
Dasar MySQL.
SQL Pertemuan 26. Range Operator ‘Between dan Not Between’
Pertemuan ke 2 Tipe data & ERD Kurniawan Eka Permana.
SELECT Sintak Umum: Select nama_kolom1 from nama_tabel A. Contoh sintak sederhana : 1.Menampilkan semua kolom SELECT nama_kolom1,nama_kolom2 FROM nama_tabel.
SQL Data Manipulation Language (DML)
Using Relational Databases and SQL
Using Relational Databases and SQL Steven Emory Department of Computer Science California State University, Los Angeles Lecture 10: Data Definition Language.
MY SQL Eng: SAHAR. Introduction to SQL What is SQL? When a user wants to get some information from a database file, he can issue a query A query is a.
Session 5: Working with MySQL iNET Academy Open Source Web Development.
1 Structured Query Language (SQL). 2 Contents SQL – I SQL – II SQL – III SQL – IV.
Advanced Database Management System
SQL Basics. 5/27/2016Chapter 32 of 19 Naming SQL commands are NOT case sensitive SQL commands are NOT case sensitive But user identifier names ARE case.
SQL: DDL. SQL Statements DDL - data definition language –Defining and modifying data structures (metadata): database, tables, views, etc. DML - data manipulation.
CS146 References: ORACLE 9i PROGRAMMING A Primer Rajshekhar Sunderraman
SQL Basics. What is SQL? SQL stands for Structured Query Language. SQL lets you access and manipulate databases.
>> Introduction to MySQL. Introduction Structured Query Language (SQL) – Standard Database Language – Manage Data in a DBMS (Database Management System)
There are two types of MySQL instructions (Data Definition Language) DDL: Create database, create table, alter table,,,. (Data Manipulation Language) DML.
1. Playing with SQLite Database  SQLite : Database specific name for Android Application  For windows there are several kind of database name : Mysql,
UNIVERSITAS BINA DARMA 2013 DATA DEFINITION LANGUAGE (DDL)
 MySQL  DDL ◦ Create ◦ Alter  DML ◦ Insert ◦ Select ◦ Update ◦ Delete  DDL(again) ◦ Drop ◦ Truncate.
Lec-7. The IN Operator The IN operator allows you to specify multiple values in a WHERE clause. SQL IN Syntax SELECT column_name(s) FROM table_name WHERE.
SQL - Training Rajesh Charles. Agenda (Complete Course) Introduction Testing Methodologies Manual Testing Practical Workshop Automation Testing Practical.
DATABASE SECURITY.
PostgreSQL S511.
MySQL S511.
CS SQL.
Basic Database Concepts
PERTEMUAN 2.
CS311 Database Management system
Database application MySQL Database and PhpMyAdmin
Hierarchy of Data in a Database
Bug Catcher 1 Answer: Values!
SELECT Sintak Umum: Menampilkan semua kolom SELECT * FROM nama_tabel
MySQL Explain examples
Design a Relational Database Identify Database Purpose
Paul Leger Ejemplo de actividad Paul Leger
DATA MANIPULATION LANGUAGE
DATABASE SQL= Structure Query Language مبادئ قواعد بيانات
Examples of Poor Primary Keys
Structured Query Language (Data definition Language)
Views & Users Authorisation
MS Access: Using Advanced Query Features
PHPMyAdmin.
Belajar PETA dipersembahkan untuk guru/pengampu IPS dan Geografi
DATABASE SQL= Structure Query Language مبادئ قواعد بيانات
مقدمة في قواعد البيانات
This allows me to insert data for specified fields and not for other fields in the structure.
CS122 Using Relational Databases and SQL
Rob Gleasure robgleasure.com
MySQL.
MySQL S511.
CS1222 Using Relational Databases and SQL
Instructor: Samia arshad
ZOTERO Diah Hari Suryaningrum. Open Browser: ZOTERO.
Instructor: SAMIA ARSHAD
CS122 Using Relational Databases and SQL
Introduction to Oracle
កម្មវិធីបង្រៀន SQL Programming ជាភាសាខ្មែរ Online SQL Training Course
RELATIONAL TABLE Novita Kurnia Ningrum.
1. Sapto M. Suwito 2. Yetti M.M., S.Kom 3. Irni Marnida 4. Fadila Lahay 5. Endah Wahyuningsih 6. Nurlaila.
SQL (Structured Query Language)
Data Base.
THANK YOU for helping make tonight possible
Presentation transcript:

MySQL Tabel Processing KONFIGURASI STRUKTUR TABEL

KONFIGURASI STRUKTUR TABEL Menambah primary key Menambah field / kolom Mengubah nama tabel Mengubah tipe data / ukuran field tertentu Menghapus field / kolom tertentu Mengubah nama field / kolom Menghubungkan dua tabel / lebih untuk mendapatkan informasi

Menambah primary key dalam tabel ALTER TABLE namaTabel ADD primary key (namaField); Misal : ALTER TABLE siswa ADD primary key (“nomor”);

Menambah FIELD / KOLOM dalam tabel ALTER TABLE namaTabel ADD namaField(size); Misal : ALTER TABLE siswa ADD kota(20);

Mengubah NAMA TABEL dalam database ALTER TABLE namaTabel RENAME TO namaTabelBaru; Misal : ALTER TABLE siswa RENAME TO student;

Mengubah TIPE DATA / FIELD dalam tabel ALTER TABLE namaTabel MODIFY namaField tipeData(size); Misal : ALTER TABLE siswa MODIFY kota varchar(50);

Mengubah NAMA FIELD / KOLOM dalam tabel ALTER TABLE namaTabel CHANGE namaField namaFieldBaru tipeData(size); Misal : ALTER TABLE siswa CHANGE kota city varchar(30);

Menghapus FIELD / KOLOM dalam tabel ALTER TABLE namaTabel DROP namaField; Misal : ALTER TABLE siswa DROP kota;

Database NamaKelasNo

JOIN TABLE  Menghubungkan tabel untuk memperoleh Informasi SELECT Tabel1.field1, tabel2.field3,tabelxfieldy FROM tabel1, tabel2, tabel3 WHERE tabel1.field1 = tabel2.field2 and tabelXkolomY = tabelYkolomZ; Misal : SELECT Siswa.NamaSiswa, Kelas.NamaKelas FROM Siswa, Kelas, Guru WHERE Kelas.KdKelas = Siswa.Kelas and Guru.NIP = Kelas.WaliKelas

THANK YOU LET’S PRACTICE!!