Search Header Logo

Kuis Pertemuan 10

Authored by SATRIA DUTA PRAJA

Information Technology (IT)

University

Used 5+ times

Kuis Pertemuan 10
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Fungsi SQL mana yang digunakan untuk menghitung jumlah baris dalam query SQL?

COUNT()

NUMBER()

SUM()

COUNT(*)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kata kunci SQL mana yang digunakan untuk mengambil nilai maksimum?

MOST

TOP

MAX

UPPER

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Dengan SQL, bagaimana Anda memilih semua data dari tabel bernama “Persons” di mana nilai kolom “FirstName” diakhiri dengan “a”?

SELECT * FROM Persons WHERE FirstName=’a’

SELECT * FROM Persons WHERE FirstName LIKE ‘a%’

SELECT * FROM Persons WHERE FirstName LIKE ‘%a’

SELECT * FROM Persons WHERE FirstName=’%a%’

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Dengan SQL, bagaimana Anda mengembalikan jumlah data yang bukan null di tabel “Persons”?

SELECT COUNT() FROM Persons

SELECT COLUMNS() FROM Persons

SELECT COLUMNS() FROM Persons

SELECT COUNT() FROM Persons

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Query SQL untuk menemukan semua kota yang kelembabannya adalah 95:

SELECT city WHERE humidity = 95

SELECT city FROM weather WHERE humidity = 95

SELECT humidity = 89 FROM weather

SELECT city FROM weather

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa arti dari LIKE ‘%0%0%’?

Nilai dimulai dengan dua 0

Nilai diakhiri dengan dua 0

Nilai memiliki lebih dari dua 0

Nilai memiliki dua 0 di posisi mana pun

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Temukan nama kota dengan suhu dan kondisi di mana kondisi cuaca adalah sunny atau cloudy tetapi suhu harus lebih besar dari 70:

SELECT city, temperature, condition FROM weather WHERE condition = ‘sunny’ AND condition = ‘cloudy’ OR temperature > 70

SELECT city, temperature, condition FROM weather WHERE condition = ‘sunny’ OR condition = ‘cloudy’ OR temperature > 70

SELECT city, temperature, condition FROM weather WHERE condition = ‘sunny’ OR condition = ‘cloudy’ AND temperature > 70

SELECT city, temperature, condition FROM weather WHERE condition = ‘sunny’ AND condition = ‘cloudy’ AND temperature > 70

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?