Search Header Logo

Learning SQL

Authored by Jodian Blake

Computers

11th - 12th Grade

Used 140+ times

Learning SQL
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

A database is needed to store the video game rentals for a store.

Write the SQL command to create the database "Game_Rental".

2.

FILL IN THE BLANK QUESTION

2 mins • 5 pts

The Game_Rental Database has a table for customer information with the fields

CID :field size: 4, data type: text

DOB: data type: date

Write the SQL command to create the "Cus_Info" table

3.

FILL IN THE BLANK QUESTION

2 mins • 1 pt

Insert a record into the Cus_info table:

CID - A004, DOB- 2002/03/15

4.

FILL IN THE BLANK QUESTION

2 mins • 1 pt

Write SQL to create the "Games" table with GID as the primary key. No field should be empty

GID - field size: 5, Datatype: text

cost - Datatype: float

5.

FILL IN THE BLANK QUESTION

2 mins • 5 pts

Media Image

Look at the DB picture, and write a SQL query to show the ID#, Name from the Student_Info Table

6.

FILL IN THE BLANK QUESTION

2 mins • 5 pts

Media Image

Using the DB picture, Write a SQl query to show the Name and Class for male students

7.

FILL IN THE BLANK QUESTION

2 mins • 5 pts

Media Image

Using the picture, write an SQL update query to change John Mark's class to '5C'.

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?