記憶度
8問
24問
0問
0問
0問
アカウント登録して、解答結果を保存しよう
問題一覧
1
REVOKE SELECT ON Customer FROM User1
2
Remove the ORDER BY clause
3
A full database backup is a copy of all the data in the entire database
True
4
DELETE FROM Volunteer WHERE GivenName = ‘Tia’
5
LIKE
6
PhoneNumber, IS NOT NULL, ORDER BY
7
SELECT * FROM Orders WHERE NOT ship_state = ‘TX’ AND NOT ship_state = ‘AZ’
8
Each row in a table must be unique
True
9
cascade delete
10
A transaction log backup backs up all the data in the database
False
11
CREATE VIEW [dbo].[NorthAmericanMammals_View], AS SELECT a.Id, a.Name, FROM Animal a
12
SELECT * FROM students WHERE enrollment_date >= ‘2020-06-01’ OR academic_status = ‘Graduated’ AND graduation_date >= ‘2020-01-01’ ORDER BY enrollment_date DESC
13
4
14
SELECT ItemName, Price FROM Products WHERE ItemDescription LIKE ‘%chocolate%’;
15
INTERSECT
16
cartesian product
17
A constraint
18
UPDATE Product SET ProductCategory = 43 WHERE ProductDescription = ‘spoon’
19
VARCHAR, INT, DECIMAL
20
Empty
21
Return large results sets, are accessed randomly
22
INSERT INTO EmployeeCopy SELECT * FROM Employee
23
UPDATE Products SET Price = Price * 1.06 WHERE ItemNumber = 1;
24
CREATE TABLE Employee (EmployeeID INTEGER PRIMARY KEY)
25
ALTER TABLE
26
A non-clustered index on the Category column
27
SELECT COUNT(*) FROM Employee
28
SUM(Points), WHERE, GROUP BY, PlayerID
29
AND, >, ORDER BY, ArrivalTime DESC
30
No rows will be deleted from the table
31
compositional
32
A foreign key
33
PRIMARY KEY, CONSTRAINT
34
SELECT COUNT(OrderID), Country FROM Orders GROUP BY Country HAVING COUNT(orderID) < 50
35
ChapterID, LanguageID
36
A new row in the table
37
Improve performance
38
DELETE FROM Customer WHERE CustomerID = 12345
39
Decimal
40
DROP VIEW EmployeeView
41
The plus (+) operator cannot be used to append character data
42
CREATE VIEW MyGame AS SELECT Name FROM Games ORDER BY Name
43
CREATE TABLE Order (OrderID INTEGER, OrderItemID INTEGER, PRIMARY KEY (OrderID, OrderItemID))
44
DELETE FROM Employee WHERE Phone IS NULL
45
Each column name in a table must be unique
True
46
ALTER TABLE Customers DROP COLUMN SSN;
47
SELECT COUNT(ID), AVG(UnitPrice+Quantity), MAX(UnitPrice+Quantity), SUM(UnitPrice+Quantity) FROM ItemsOnOrder GROUP BY ItemNumber, LineItemTotal
48
Exclude duplicate rows, Exclude repeating groups
49
CREATE TABLE Student ( ID INT, Name VARCHAR (100), Age INT)
50
In the order in which the rows were inserted.
51
A differential backup copies only data that was changed before the last full backup
False
52
SELECT EmployeeName FROM Employee WHERE EmployeeName = ‘Jack Smith’;
53
A file or filegroup restore specified a portion of the database to recover
True
54
TOP 10, IS NOT NULL, ORDER BY
55
UPDATE LoanedBooks SET Books = 0 WHERE (NAME = ‘Harry’ AND City = ‘San Francisco’)
56
Each value in a field in a table must be unique
False
57
Full join
58
You should run the DROP CONSTRAINT query before running the ALTER TABLE query
59
Foreign key