
Dasar-Dasar Query MySQL
Authored by Alfarisi Grita
Others
12th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa perintah untuk membuat database baru di MySQL?
INIT DATABASE nama_database;
NEW DATABASE nama_database;
CREATE DATABASE nama_database;
ADD DATABASE nama_database;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara menghapus database yang sudah ada?
Hapus folder database secara manual.
Gunakan perintah 'DELETE DATABASE nama_database;'.
Gunakan perintah 'DROP DATABASE nama_database;'.
Gunakan perintah 'REMOVE DATABASE nama_database;'
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Sebutkan perintah untuk membuat tabel baru di MySQL!
DELETE FROM nama_tabel WHERE condition;
INSERT INTO nama_tabel (kolom1, kolom2);
CREATE TABLE nama_tabel (kolom1 tipe_data, kolom2 tipe_data, ...);
UPDATE nama_tabel SET kolom1 = value;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang dimaksud dengan primary key dalam sebuah tabel?
Primary key adalah kolom yang dapat memiliki nilai duplikat dalam tabel.
Primary key adalah kolom yang secara unik mengidentifikasi setiap baris dalam tabel.
Primary key adalah kolom yang menyimpan data teks panjang.
Primary key adalah kolom yang tidak dapat diubah setelah ditetapkan.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara menambahkan kolom baru ke tabel yang sudah ada?
Gunakan perintah SQL 'ALTER TABLE nama_tabel ADD nama_kolom tipe_data;'
Gunakan perintah SQL 'SELECT * FROM nama_tabel WHERE kondisi;'
Gunakan perintah SQL 'DROP TABLE nama_tabel;'
Gunakan perintah SQL 'CREATE TABLE nama_tabel (nama_kolom tipe_data);'
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa perintah untuk menghapus tabel di MySQL?
DELETE TABLE nama_tabel;
REMOVE TABLE nama_tabel;
CLEAR TABLE nama_tabel;
DROP TABLE nama_tabel;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara menampilkan semua data dari sebuah tabel?
SELECT ALL FROM nama_tabel;
GET * FROM nama_tabel;
SELECT * FROM nama_tabel;
SHOW DATA FROM nama_tabel;
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
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
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
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Others
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade
10 questions
Valentine's Day: History and Modern Celebration
Interactive video
•
9th - 12th Grade
11 questions
Valentine's Day Trivia
Quiz
•
8th - 12th Grade
10 questions
Factor Quadratic Expressions with Various Coefficients
Quiz
•
9th - 12th Grade
18 questions
Success Strategies
Quiz
•
9th - 12th Grade
10 questions
Valentine's Day Trivia
Quiz
•
9th - 12th Grade