IM2 DDL

IM2 DDL

University

26 Qs

quiz-placeholder

Similar activities

CS 316 - Web Systems and Technologies 2( Midterm Exam)

CS 316 - Web Systems and Technologies 2( Midterm Exam)

University

21 Qs

Database Design & Development 1

Database Design & Development 1

University

30 Qs

Computer Science Database

Computer Science Database

11th Grade - University

28 Qs

[SQL] Basic

[SQL] Basic

University

31 Qs

UAS Basis Data 2

UAS Basis Data 2

University

25 Qs

Cuestionario sobre MySQL

Cuestionario sobre MySQL

University

23 Qs

Câu hỏi trắc nghiệm về CSDL

Câu hỏi trắc nghiệm về CSDL

6th Grade - University

30 Qs

Database Designing

Database Designing

University

24 Qs

IM2 DDL

IM2 DDL

Assessment

Quiz

Computers

University

Easy

Created by

Karen Tan

Used 3+ times

FREE Resource

26 questions

Show all answers

1.

OPEN ENDED QUESTION

5 mins • 20 pts

Question 1: Write an SQL statement to create a new database called BookstoreDB.

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

5 mins • 20 pts

Question 2: Write an SQL statement to create a table called Authors with fields: AuthorID (primary key), FirstName, LastName, and DateOfBirth.

Evaluate responses using AI:

OFF

3.

OPEN ENDED QUESTION

5 mins • 20 pts

Question 3: Write an SQL statement to create a table called Books with fields: BookID (primary key), Title, Genre, Price, and AuthorID (foreign key).

Evaluate responses using AI:

OFF

4.

OPEN ENDED QUESTION

5 mins • 20 pts

Question 4: Write an SQL statement to create a table called Customers with fields: CustomerID (primary key), FirstName, LastName, Email, Customer Code and PhoneNumber.

Evaluate responses using AI:

OFF

5.

OPEN ENDED QUESTION

5 mins • 20 pts

Question 5: Write an SQL statement to DELETE the BookstoreDB.

Evaluate responses using AI:

OFF

6.

OPEN ENDED QUESTION

5 mins • 20 pts

Question 6: Write an SQL statement to create a new database called LibraryDB.

Evaluate responses using AI:

OFF

7.

OPEN ENDED QUESTION

5 mins • 20 pts

Question 7: Write an SQL statement to create a table called Authors with fields: AuthorID (primary key), FirstName, LastName, and Biography.

Evaluate responses using AI:

OFF

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?