SQL Programming

SQL Programming

4th Grade - Professional Development

10 Qs

quiz-placeholder

Similar activities

Formatting a Spreadsheet

Formatting a Spreadsheet

6th Grade

10 Qs

Firewall and Network Security

Firewall and Network Security

University

15 Qs

L1 - Computer Networks

L1 - Computer Networks

University

13 Qs

БАЗЫ ДАННЫХ

БАЗЫ ДАННЫХ

2nd - 5th Grade

14 Qs

Grade-8 Ch-2 Advanced Features of Excel Quiz

Grade-8 Ch-2 Advanced Features of Excel Quiz

8th Grade

12 Qs

หน่วยที่ 1 ความรู้พื้นฐานการจัดการ ข้อมูลขนาดใหญ่ (Big Data)

หน่วยที่ 1 ความรู้พื้นฐานการจัดการ ข้อมูลขนาดใหญ่ (Big Data)

9th - 12th Grade

15 Qs

SAN Module 4 Quiz

SAN Module 4 Quiz

University

15 Qs

PRACTICE  SET FOR INTERMEDIATE 2

PRACTICE SET FOR INTERMEDIATE 2

Professional Development

10 Qs

SQL Programming

SQL Programming

Assessment

Quiz

Computers

4th Grade - Professional Development

Practice Problem

Hard

Created by

omar khairy

Used 11+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Write the correct SQL statement to create a new table called Persons

ـــــــــــــــــــــــــ (

PersonID int,

LastName varchar(255),

FirstName varchar(255),

Address varchar(255),

City varchar(255)

);

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Select all records where the value of the City column starts with the letter "a".


SELECT * FROM Customers

______________________ ;

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select all records where the City column has the value "Berlin"


SELECT * FROM Customers

ــــــــــــــــ City = "Berlin";

INSERT

SELECT

DROP

WHERE

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Select all records from the Customers table, sort the result alphabetically by the column City


SELECT * FROM Customers

ــــــــــــــــ City;

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select all the different values from the Country column in the Customers table


SELECT ـــــــــــــــــــــ Country FROM Customers;

DISTICNT

DISTINCT

DITSINCT

DISTINTC

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select all records from the Customers where the PostalCode column is empty


SELECT * FROM Customers

WHERE PostalCode ــــــــــــــــــــــــــ ;

IS EMPTY

IS NULL

NOT FILLED

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Update the City column of all records in the Customers table


ــــــــــــــــــ Customers

ــــــــــ City = "Oslo"

UPDATE / MAKE

UPGRADE / SET

SET / UPDATE

UPDATE / SET

Create a free account and access millions of resources

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?