Berikut ini adalah beberapa command DDL SQL :
DDL SQL

Quiz
•
Computers
•
University
•
Medium
Elly Antika
Used 94+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
create
drop
alter
truncate
delete
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Command create bisa digunakan dalam membuat :
hanya database saja
hanya tabel saja
database atau obyek-obyek yang ada di dalam database (table, index, function, views, store procedure dan triggers)
database dan tabel saja
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
CREATE TABLE TABLE_NAME
(
column_name1 datatype1,
column_name2 datatype2,
column_name3 datatype3,
column_name4 datatype4
);
Perintah diatas adalah perintah membuat :
fungsi
database
tabel
colom
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Command alter digunakan untuk :
Menambah tabel, mengubah nama kolom yang ada, menghapus kolom, memodifikasi ukuran kolom atau mengubah datatype kolom
Menambah kolom, mengubah nama kolom yang ada, menghapus kolom, memodifikasi ukuran database atau mengubah datatype database
Menambah kolom, mengubah nama kolom yang ada, menghapus kolom, memodifikasi ukuran kolom atau mengubah datatype kolom
Menambah jumlah tabel, mengubah nama database yang ada, menghapus kolom, memodifikasi ukuran kolom atau mengubah datatype kolom
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Berikut ini adalah contoh penggunaan alter,
ALTER TABLE
Employee
RENAME
Marks TO Age; .
Apa yang terjadi dari proses tersebut ?
kolom Marks berubah nama menjadi Age
kolom Marks dihilangkan
kolom Marks isinya ditambah dengan isi kolom Age
kolom Age diganti dengan kolom Employee
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang terjadi pada kolom Age dengan adanya perintah berikut :
ALTER TABLE Employee
DROP
(Age);
tabel Employee akan dihapus
kolom Age akan dihapus
kolom Employee akan diganti dengan Age
kolom Age akan ditambahkan pada tabel Employee
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hasil dari perintah berikut adalah :
ALTER TABLE
student
MODIFY
(name varchar(300));
nama tabel student berubah
database studen berubah
kolom name akan berubah ukuran kolomnya
kolom name akan dihapus
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
SBD_

Quiz
•
University
10 questions
Quiz Normalisasi Database

Quiz
•
University
10 questions
Latihan 1 Kelas X

Quiz
•
10th Grade - University
10 questions
Kuis Basis Data

Quiz
•
University
15 questions
Aplikasi Perkantoran untuk Kelas 7

Quiz
•
1st Grade - University
10 questions
Asesmen Formatif Google Sheet - Part 1

Quiz
•
11th Grade - University
15 questions
Quiz Basis Data

Quiz
•
University
10 questions
SYS 1591

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade