Kuis SQL Select

Kuis SQL Select

University

20 Qs

quiz-placeholder

Similar activities

data structures1

data structures1

University

20 Qs

Quiz on List and Tuples

Quiz on List and Tuples

University

16 Qs

Sistem Informasi Manajemen

Sistem Informasi Manajemen

University

20 Qs

Bermain Gambar

Bermain Gambar

1st Grade - Professional Development

15 Qs

IAS CH4

IAS CH4

University

20 Qs

Week 5: Test your understanding part 1

Week 5: Test your understanding part 1

University

20 Qs

The AI Shield

The AI Shield

University

15 Qs

GIT Básico

GIT Básico

University

18 Qs

Kuis SQL Select

Kuis SQL Select

Assessment

Quiz

Computers

University

Practice Problem

Easy

Created by

Yudianto Sujana

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

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;

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers