
Quiz SQL Dasar

Quiz
•
Information Technology (IT)
•
9th Grade
•
Hard
Aulia S.Kom.
Used 2+ times
FREE Resource
21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Apa fungsi dari perintah CREATE DATABASE dalam SQL?
Membuat tabel baru di dalam database.
Membuat database baru.
Menambahkan kolom ke tabel yang sudah ada.
Menghapus database.
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Perintah SQL mana yang digunakan untuk membuat tabel?
CREATE TABLE
ALTER TABLE
INSERT INTO
DROP TABLE
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Pilih pernyataan yang benar untuk membuat tabel bernama Mahasiswa dengan kolom ID (integer) dan Nama (varchar 50).
CREATE DATABASE Mahasiswa (ID INT, Nama VARCHAR(50));
CREATE TABLE Mahasiswa ( ID INTEGER, Nama VARCHAR(50) );
INSERT INTO Mahasiswa VALUES (ID INT, Nama VARCHAR(50));
ALTER TABLE Mahasiswa ADD (ID INT, Nama VARCHAR(50));
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Apa kegunaan dari perintah ALTER TABLE dalam SQL?
Menambahkan data ke tabel.
Menghapus tabel.
Mengubah struktur tabel seperti menambahkan atau menghapus kolom.
Membuat tabel baru.
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Bagaimana cara menambahkan kolom Email (varchar 100) ke tabel Mahasiswa?
INSERT INTO Mahasiswa (Email VARCHAR(100));
CREATE TABLE Mahasiswa ADD Email VARCHAR(100);
ALTER TABLE Mahasiswa ADD COLUMN Email VARCHAR(100);
UPDATE Mahasiswa SET Email = 'VARCHAR(100)';
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Perintah SQL mana yang benar untuk memasukkan data ke tabel Mahasiswa? Tabel Mahasiswa memiliki kolom ID (integer) dan Nama (varchar).
INSERT INTO Mahasiswa VALUES (1, 'Andi');
ADD INTO Mahasiswa (ID, Nama) VALUES (1, 'Andi');
UPDATE Mahasiswa VALUES (1, 'Andi');
CREATE INTO Mahasiswa VALUES (1, 'Andi');
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Apa yang akan terjadi jika menjalankan perintah berikut? CREATE DATABASE Siswa; CREATE DATABASE Siswa;
Akan membuat dua database dengan nama Siswa.
SQL akan menghasilkan error karena nama database harus unik.
Perintah kedua akan diabaikan tanpa error.
SQL akan membuat database baru dengan nama acak.
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
SOAl

Quiz
•
9th Grade
20 questions
Uji Pengetahuan Informatika

Quiz
•
9th Grade
20 questions
BAB 5 ANALISIS DATA A. Data KELAS 4

Quiz
•
4th Grade - University
20 questions
PTS INFORMATIKA SEMESTER GENAP

Quiz
•
8th Grade - University
20 questions
Quiz Analisis Data

Quiz
•
7th Grade - University
19 questions
Latihan Asesmen Informatika

Quiz
•
9th Grade
20 questions
untitled

Quiz
•
9th Grade - University
20 questions
email dan browser 20 soal

Quiz
•
7th Grade - University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Distribute and Combine Like Terms

Quiz
•
7th - 9th Grade
12 questions
Graphing Inequalities on a Number Line

Quiz
•
9th Grade
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Cell Organelles

Quiz
•
9th Grade
20 questions
Cell Transport

Quiz
•
9th Grade