Apa yang dilakukan oleh pernyataan SQL "SELECT * FROM customers;"?
Quiz Basis Data (Query)

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Iman Abdul Rohman
Used 11+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Menampilkan semua data dari tabel customers.
Menampilkan nama-nama pelanggan dari tabel customers.
Menampilkan jumlah pelanggan dari tabel customers.
Menampilkan pelanggan yang memiliki nama "customers".
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Bagaimana cara menampilkan kolom "nama" dan "alamat" dari tabel "employees"?
SELECT nama, alamat FROM employees;
SELECT * FROM nama, alamat WHERE employees;
SHOW nama, alamat FROM employees;
DISPLAY nama, alamat IN employees;
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Pernyataan SQL mana yang digunakan untuk menghitung jumlah baris dalam tabel "orders"?
COUNT(*)
TOTAL(rows)
SUM(rows)
NUM_ROWS(orders)
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Apa fungsi dari pernyataan "DISTINCT" dalam SQL?
Menghapus data duplikat dari hasil query.
Menampilkan data duplikat dalam hasil query.
Mengurutkan data berdasarkan kolom tertentu.
Menggabungkan dua tabel menjadi satu hasil query.
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Bagaimana cara mengurutkan hasil query berdasarkan kolom "harga" dari yang terendah ke yang tertinggi?
SELECT * FROM products ORDER BY harga DESC;
SELECT * FROM products SORT BY harga ASC;
SELECT * FROM products ORDER harga ASC;
SELECT * FROM products SORT harga DESC;
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Bagaimana cara menampilkan data pelanggan yang berasal dari kota "Jakarta" dari tabel "customers"?
SELECT * FROM customers WHERE kota = 'Jakarta';
SELECT * FROM customers AND kota = 'Jakarta';
SELECT * FROM customers OR kota = 'Jakarta';
SELECT * FROM customers WHERE city = 'Jakarta';
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Pernyataan SQL mana yang digunakan untuk menampilkan data pelanggan yang berasal dari "Jakarta" dan memiliki saldo lebih dari 1000?
SELECT * FROM customers WHERE kota = 'Jakarta' AND saldo > 1000;
SELECT * FROM customers WHERE kota = 'Jakarta' OR saldo > 1000;
SELECT * FROM customers AND kota = 'Jakarta' AND saldo > 1000;
SELECT * FROM customers WHERE kota = 'Jakarta' AND saldo < 1000;
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Have It Your Way LAP Test

Quiz
•
9th - 12th Grade
15 questions
REST API and MySQL Quiz SKG

Quiz
•
12th Grade
15 questions
Tech-Preneurship vs. Traditional Pre-Assessment

Quiz
•
10th Grade
21 questions
3.TR - Priprema za provjeru znanja

Quiz
•
11th Grade
20 questions
sql queries - 2

Quiz
•
12th Grade
18 questions
Marketing Mix

Quiz
•
6th - 9th Grade
21 questions
DDL dan DML

Quiz
•
12th Grade
15 questions
Midterm Quiz

Quiz
•
11th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade