IM2 DDL

IM2 DDL

University

26 Qs

quiz-placeholder

Similar activities

MYSQL QUIZ 1

MYSQL QUIZ 1

University

25 Qs

DP 900 - pt 5

DP 900 - pt 5

University

22 Qs

3. TEC BANCO DE DADOS_QL Multiple Choice Questions

3. TEC BANCO DE DADOS_QL Multiple Choice Questions

3rd Grade - University

21 Qs

SQL

SQL

12th Grade - Professional Development

23 Qs

MB-4

MB-4

University

22 Qs

SQL Exam

SQL Exam

University

23 Qs

Database Design Quiz

Database Design Quiz

University

30 Qs

data base management system

data base management system

2nd Grade - 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?