Która odpowiedź poprawnie opisuje ten przykładowy kod?
TRUNCATE TABLE dbo.Orders
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
10 questions
4.1 Pangkalan data dan SQL
Quiz
•
10th Grade
20 questions
NYS Latitude and Longitude
Quiz
•
9th - 10th Grade
20 questions
Zasady ortograficzne to pestka
Quiz
•
10th Grade
17 questions
Woda i jej znaczenie dla organizmu
Quiz
•
9th Grade
15 questions
Manewry na drodze
Quiz
•
1st - 11th Grade
10 questions
SAINS TINGKATAN 3 BAB 7.1
Quiz
•
11th Grade
20 questions
Desafíos en Administración de Bases de Datos
Quiz
•
12th Grade - University
12 questions
Cuestionario SdA Patos
Quiz
•
9th Grade
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade
25 questions
Spanish preterite verbs (irregular/changed)
Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)
Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance
Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1
Quiz
•
9th - 12th Grade
26 questions
June 19th
Quiz
•
4th - 9th Grade
20 questions
Distance, Midpoint, and Slope
Quiz
•
10th Grade
20 questions
Figurative Language Review
Quiz
•
10th Grade
27 questions
STAAR English 1 Review
Quiz
•
9th Grade