DDL + DML

Quiz
•
Science
•
9th - 12th Grade
•
Medium
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
Similar Resources on Wayground
20 questions
BASIS DATA

Quiz
•
KG - Professional Dev...
10 questions
Eksperymenty

Quiz
•
7th - 12th Grade
20 questions
Examen Final de Administración de Bases de Datos

Quiz
•
12th Grade - University
10 questions
Quiz sobre Contaminación y Calidad de Aguas

Quiz
•
11th Grade - University
15 questions
7.1: Kerja, Tenaga dan Kuasa

Quiz
•
9th Grade
15 questions
SQL - Ngôn ngữ truy vấn có cấu trúc

Quiz
•
11th Grade
20 questions
Mistrz i Małgorzata

Quiz
•
12th Grade
20 questions
Regents Longitude Latitude

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade
Discover more resources for Science
17 questions
Lab Safety

Interactive video
•
10th Grade
10 questions
Lab Safety Essentials

Interactive video
•
6th - 10th Grade
16 questions
Metric Conversions

Quiz
•
11th Grade
10 questions
Exploring the Scientific Method

Interactive video
•
6th - 10th Grade
20 questions
2024 Safety Exam - 1st Sememster

Quiz
•
9th - 12th Grade
12 questions
Lab Safety

Quiz
•
6th - 12th Grade
10 questions
Exploring Latitude and Longitude Concepts

Interactive video
•
6th - 10th Grade
25 questions
Unit 1-Scientific Method Quiz

Quiz
•
9th - 10th Grade