Jika Anda tidak menyebutkan ASC atau DESC setelah klausa ORDER BY SQL, berikut yang digunakan secara default:

Kuis Pertemuan 11

Quiz
•
Information Technology (IT)
•
University
•
Easy
SATRIA DUTA PRAJA
Used 4+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ASC
DESC
Tidak ada nilai default
Tidak ada yang disebutkan
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa tujuan dari klausa SQL AS?
Klausa AS SQL digunakan untuk mengganti nama kolom dalam hasil set atau untuk memberikan nama pada kolom turunan
Klausa AS hanya digunakan dengan klausa JOIN
Klausa AS mendefinisikan kondisi pencarian
Semua yang disebutkan
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dengan SQL, bagaimana Anda bisa mengembalikan semua catatan dari tabel bernama “Persons” yang diurutkan secara menurun berdasarkan “FirstName”?
SELECT * FROM Persons SORT BY 'FirstName' DESC
SELECT * FROM Persons ORDER FirstName DESC
SELECT * FROM Persons SORT 'FirstName' DESC
SELECT * FROM Persons ORDER BY FirstName DESC
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Pernyataan SQL mana yang digunakan untuk mengembalikan hanya nilai yang berbeda?
SELECT DIFFERENT
SELECT UNIQUE
SELECT DISTINCT
SELECT ALL
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kata kunci SQL mana yang digunakan untuk mengurutkan hasil set?
ORDER BY
SORT
ORDER
SORT BY
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kueri SQL untuk mencari suhu dalam urutan menaik dari semua kota.
SELECT city FROM weather ORDER BY temperature
SELECT city, temperature FROM weather
SELECT city, temperature FROM weather ORDER BY temperature
SELECT city, temperature FROM weather ORDER BY city
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cari nama kota-kota ini dengan suhu dan kondisi yang kondisinya tidak cerah maupun berawan.
SELECT city, temperature, condition FROM weather WHERE condition NOT IN ('sunny', 'cloudy')
SELECT city, temperature, condition FROM weather WHERE condition NOT BETWEEN ('sunny', 'cloudy')
SELECT city, temperature, condition FROM weather WHERE condition IN ('sunny', 'cloudy')
SELECT city, temperature, condition FROM weather WHERE condition BETWEEN ('sunny', 'cloudy')
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Kiểm tra kiến thức về SQL

Quiz
•
11th Grade - University
16 questions
Q3. Relational Model

Quiz
•
University
10 questions
Repaso ADO.NET

Quiz
•
University
10 questions
Base de Datos I - Parte 1

Quiz
•
University
10 questions
DB-Quiz1

Quiz
•
University
10 questions
AverageRound

Quiz
•
University
10 questions
Основы работы с СУБД

Quiz
•
University
10 questions
kuis database

Quiz
•
University
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade