Search Header Logo

Database SQL Lab Quiz 2565/1

Authored by Chayaporn Kaensar

Instructional Technology

Used 6+ times

Database SQL Lab Quiz 2565/1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

OPEN ENDED QUESTION

5 mins • 1 pt

Media Image

จงใช้คำสั่ง DDL สร้างตารางชื่อ country_region ตามโครงสร้างของตารางดังรูป

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

5 mins • 1 pt

จงเขียนคำสั่ง SQL เพื่อแสดง customer_id โดยเรียงลำดับจากน้อยไปหามาก, first_name ที่ขึ้นต้นด้วยตัวอักษร D, last_name ที่ลงท้ายด้วยตัวอักษร L และ amount ที่มีค่าตั้งแต่ 11.0 ขึ้นไป ตามลำดับ

Evaluate responses using AI:

OFF

3.

OPEN ENDED QUESTION

5 mins • 1 pt

จงเขียนคำสั่ง SQL เพื่อแสดงค่าเฉลี่ยของ rental_duration ด้วยชื่อคอลัมน์ avg_duration, ค่าเฉลี่ยของ length ด้วยชื่อคอลัมน์ avg_len และจำนวนของหนัง (film) ทั้งหมด ด้วยชื่อคอลัมน์ total ตามลำดับ

Evaluate responses using AI:

OFF

4.

OPEN ENDED QUESTION

5 mins • 1 pt

จงเขียนคำสั่ง SQL เพื่อแสดง inventory_id ด้วยชื่อคอลัมน์ Inventory Code โดยเรียงลำดับจากมากไปน้อย และจำนวนของ customer ที่เช่าหนังในแต่ละ inventory ด้วยชื่อคอลัมน์ No of Customer

Evaluate responses using AI:

OFF

5.

OPEN ENDED QUESTION

5 mins • 1 pt

จงเขียนคำสั่ง SQL เพื่อหาชื่อหนัง (title) และความยาวของหนังที่มีค่ามากกว่าค่าเฉลี่ยความยาวของหนังทั้งหมด โดยเรียงลำดับชื่อหนังจากน้อยไปมาก

Evaluate responses using AI:

OFF

6.

OPEN ENDED QUESTION

5 mins • 1 pt

จงเพิ่มข้อมูล 2 ข้อมูลในตาราง Rental โดยกำหนดข้อมูลเอง

Evaluate responses using AI:

OFF

7.

OPEN ENDED QUESTION

5 mins • 1 pt

 จงสร้างคำสั่ง SQL เพื่อแสดงผลลัพธ์ดังรูป โดยที่ชื่อหนัง (title) เกี่ยวข้องกับ DEVIL

Evaluate responses using AI:

OFF

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?