IM2 DDL

IM2 DDL

University

26 Qs

quiz-placeholder

Similar activities

database AS

database AS

11th Grade - University

30 Qs

ภาษา SQL

ภาษา SQL

University

22 Qs

WEEK 2&3-SQL

WEEK 2&3-SQL

University

21 Qs

SQL Basics

SQL Basics

University

29 Qs

SQL

SQL

12th Grade - Professional Development

23 Qs

Sécruité informatique

Sécruité informatique

University

21 Qs

Database and JDBC

Database and JDBC

University

23 Qs

SQL Quiz

SQL Quiz

University

23 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?