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
16 questions
Kelas 8 - Bagian Microsoft Excel

Quiz
•
8th Grade - University
17 questions
PHP MySQL

Quiz
•
7th Grade - Professio...
20 questions
QUIZ AZIK

Quiz
•
University
20 questions
LOOKUP

Quiz
•
9th Grade - University
20 questions
Administrasi Sistem Jaringan XII (Database Server)

Quiz
•
University
20 questions
Quiz Microsoft Word

Quiz
•
8th Grade - University
20 questions
ms. excel

Quiz
•
University
20 questions
Quiz Pengenalan Basis Data

Quiz
•
University
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