Apa perintah untuk membuat database baru di MySQL?

Dasar-Dasar Query MySQL

Quiz
•
Others
•
12th Grade
•
Hard
Alfarisi Grita
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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;
Create a free account and access millions of resources
Similar Resources on Quizizz
14 questions
SQL and Database Normalization Quiz

Quiz
•
12th Grade
10 questions
Kuis Seni Rup: Mind Mapping

Quiz
•
12th Grade
10 questions
assesmen Diag KD 4 asj

Quiz
•
12th Grade
15 questions
Quiz tentang Golongan Karbon

Quiz
•
12th Grade
10 questions
teknologi finansial

Quiz
•
9th - 12th Grade
15 questions
Memahami dan Melakukan Instruksi Kompleks

Quiz
•
12th Grade
10 questions
Soal Puasa Kelas 3

Quiz
•
9th - 12th Grade
10 questions
Quiz Siskeudes 2.0

Quiz
•
12th Grade
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
Discover more resources for Others
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

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

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University