Perintah SQL mana yang digunakan untuk menampilkan semua kolom dari tabel students?

Kuis SQL Select

Quiz
•
Computers
•
University
•
Easy
Yudianto Sujana
Used 2+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
SELECT ALL FROM students;
SELECT * FROM students;
SHOW ALL students;
DISPLAY * FROM students;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara memilih hanya kolom name dan age dari tabel employees?
SELECT name, age IN employees;
SELECT name AND age FROM employees;
SELECT name, age FROM employees;
SELECT name + age FROM employees;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Perintah SQL SELECT DISTINCT city FROM customers; akan melakukan apa?
Menampilkan semua baris dari kolom city dalam tabel customers.
Menampilkan kota yang berbeda-beda dari tabel customers.
Menampilkan semua kolom dari tabel customers.
Menghapus kota yang sama dalam tabel customers.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jika tabel orders memiliki kolom order_date, perintah SQL apa yang digunakan untuk menampilkan data yang dipesan setelah tanggal 2024-01-01?
SELECT * FROM orders WHERE order_date = '2024-01-01';
SELECT * FROM orders WHERE order_date > '2024-01-01';
SELECT * FROM orders ORDER BY '2024-01-01';
SELECT order_date FROM orders WHERE order_date AFTER '2024-01-01';
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Manakah dari perintah berikut yang digunakan untuk mengurutkan hasil query berdasarkan kolom price secara menurun?
SELECT * FROM products SORT BY price DESC;
SELECT * FROM products ORDER BY price DESC;
SELECT * FROM products ORDER price DESC;
SELECT * FROM products SORT price DESC;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Perintah SQL mana yang digunakan untuk mencari semua pelanggan dengan nama yang dimulai dengan huruf 'A' di tabel customers?
SELECT * FROM customers WHERE name LIKE 'A%';
SELECT * FROM customers WHERE name = 'A';
SELECT * FROM customers WHERE name STARTS 'A';
SELECT * FROM customers WHERE name = 'A%';
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara memilih hanya 5 baris pertama dari tabel products menggunakan SQL di MySQL?
SELECT * FROM products LIMIT 5;
SELECT TOP 5 FROM products;
SELECT * FROM products MAX 5;
SELECT 5 ROWS FROM products;
Create a free account and access millions of resources
Similar Resources on Quizizz
25 questions
PRA UAS PEMROG. DATABASE

Quiz
•
University
20 questions
Quiz -Evaluasi Query SQL

Quiz
•
University
17 questions
PHP MySQL

Quiz
•
7th Grade - Professio...
25 questions
Query database aset

Quiz
•
University
15 questions
GAME BASDAT

Quiz
•
University
20 questions
QUIZ AZIK

Quiz
•
University
20 questions
Uji Pengetahuan Basisdata

Quiz
•
11th Grade - University
20 questions
Quiz Microsoft Word

Quiz
•
8th Grade - University
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