DDL + DML

DDL + DML

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Anatomy and Physiology

Anatomy and Physiology

12th Grade - University

15 Qs

Desafíos en Administración de Bases de Datos

Desafíos en Administración de Bases de Datos

12th Grade - University

20 Qs

Unit 0: Identifying Variables and Experimental Design

Unit 0: Identifying Variables and Experimental Design

9th - 12th Grade

20 Qs

Animal Classification

Animal Classification

9th - 12th Grade

15 Qs

lotic intro prac. questions

lotic intro prac. questions

11th Grade

20 Qs

Taxonomy and Classification Vocabulary

Taxonomy and Classification Vocabulary

7th Grade - University

15 Qs

Flood

Flood

9th - 12th Grade

15 Qs

U3 HWQ #2 Periodic Trends

U3 HWQ #2 Periodic Trends

10th Grade

20 Qs

DDL + DML

DDL + DML

Assessment

Quiz

Science

9th - 12th Grade

Medium

Created by

Volodya Byelobrov

Used 13+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Która odpowiedź poprawnie opisuje ten przykładowy kod?

TRUNCATE TABLE dbo.Orders

Wszystkie wiersze zostaną usunięte z tabeli dbo.Orders, a jeśli w tabeli znajduje się kolumna tożsamości, nie będzie to miało żadnego wpływu.

Określone wiersze zostaną usunięte z tabeli dbo.Orders.

Błąd

Wszystkie wiersze zostaną usunięte z tabeli dbo.Orders, a jeśli w tabeli znajduje się kolumna tożsamości, zostanie ona zresetowana.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Która instrukcja w języku T-SQL służy do usuwania określonych wierszy danych z tabeli?

TRUNCATE TABLE

CLEAR

DELETE

REMOVE ROW

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Która instrukcja w języku T-SQL służy do modyfikowania istniejących danych w tabeli?

DELETE

UPDATE

INSERT

ALTER TABLE

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Której instrukcji T-SQL można użyć do wstawienia wielu wierszy do tabeli SQL Server?

UPDATE INTO

INSERT RECORDS

CREATE TABLE

INSERT INTO

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Której instrukcji T-SQL można użyć do wstawienia wielu wierszy do tabeli SQL Server? Jeśli masz dwie tabele Customers i Orders i chcesz zaktualizować kolumnę OrderStatus w tabeli Orders na opcję Shipped dla wszystkich zamówień (Order) złożonych przez klientów (Customer), których miasto City, w tabeli Customers znajduje się Nowy Jork. Którą instrukcję T-SQL byś wykonał?

UPDATE Orders

SET OrderStatus = 'Shipped'

WHERE City = 'New York';

UPDATE Customers SET OrderStatus = 'Shipped'

WHERE City = 'New York';

UPDATE o SET OrderStatus = 'Shipped' FROM Orders o INNER JOIN Customers c ON o.CustomerID = c.CustomerID WHERE c.City = 'New York';

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Co w języku T-SQL umożliwia instrukcja CREATE TABLE?

Zmodyfikuj strukturę istniejącej tabeli.

Utwórz nową tabelę, określając kolumny i typy danych dla tych kolumn.

Dodaj nowy wiersz do istniejącej tabeli.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

DDL znaczy

Data Declaration Language

Data Definition Language

Data Deprivation Language

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?