DDL SQL
Quiz
•
Computers
•
University
•
Medium
Elly Antika
Used 100+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Berikut ini adalah beberapa command DDL SQL :
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
kelas 3C
Quiz
•
3rd Grade - University
10 questions
PAW-Q1-2023
Quiz
•
University
10 questions
DBMS Lab Quiz 1 2B3
Quiz
•
University
10 questions
Node.js
Quiz
•
University
10 questions
KUIS PRAK. 9: MANAGEMENT FILE 😼
Quiz
•
University
15 questions
Uji Pemahaman Formula Excel
Quiz
•
9th Grade - University
15 questions
ລະບົບຖານຂໍ້ມູນ ທົດສອບ1
Quiz
•
University
10 questions
Microsoft Word
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
