暗記メーカー
ログイン
ITS Exam - Database
  • Mark Angelo Baes

  • 問題数 59 • 6/2/2024

    記憶度

    完璧

    8

    覚えた

    24

    うろ覚え

    0

    苦手

    0

    未解答

    0

    アカウント登録して、解答結果を保存しよう

    問題一覧

  • 1

    You should run the DROP CONSTRAINT query before running the ALTER TABLE query

  • 2

    SELECT * FROM students WHERE enrollment_date >= ‘2020-06-01’ OR academic_status = ‘Graduated’ AND graduation_date >= ‘2020-01-01’ ORDER BY enrollment_date DESC

  • 3

    4

  • 4

    DELETE FROM Customer WHERE CustomerID = 12345

  • 5

    SELECT EmployeeName FROM Employee WHERE EmployeeName = ‘Jack Smith’;

  • 6

    SELECT ItemName, Price FROM Products WHERE ItemDescription LIKE ‘%chocolate%’;

  • 7

    CREATE TABLE Order (OrderID INTEGER, OrderItemID INTEGER, PRIMARY KEY (OrderID, OrderItemID))

  • 8

    Each value in a field in a table must be unique

    False

  • 9

    Each row in a table must be unique

    True

  • 10

    Each column name in a table must be unique

    True

  • 11

    Decimal

  • 12

    UPDATE LoanedBooks SET Books = 0 WHERE (NAME = ‘Harry’ AND City = ‘San Francisco’)

  • 13

    SELECT COUNT(*) FROM Employee

  • 14

    SUM(Points), WHERE, GROUP BY, PlayerID

  • 15

    Foreign key

  • 16

    CREATE VIEW [dbo].[NorthAmericanMammals_View], AS SELECT a.Id, a.Name, FROM Animal a

  • 17

    Empty

  • 18

    INTERSECT

  • 19

    Improve performance

  • 20

    Exclude duplicate rows, Exclude repeating groups

  • 21

    Full join

  • 22

    TOP 10, IS NOT NULL, ORDER BY

  • 23

    VARCHAR, INT, DECIMAL

  • 24

    UPDATE Product SET ProductCategory = 43 WHERE ProductDescription = ‘spoon’

  • 25

    compositional

  • 26

    cartesian product

  • 27

    CREATE TABLE Employee (EmployeeID INTEGER PRIMARY KEY)

  • 28

    PRIMARY KEY, CONSTRAINT

  • 29

    DELETE FROM Volunteer WHERE GivenName = ‘Tia’

  • 30

    In the order in which the rows were inserted.

  • 31

    PhoneNumber, IS NOT NULL, ORDER BY

  • 32

    SELECT COUNT(ID), AVG(UnitPrice+Quantity), MAX(UnitPrice+Quantity), SUM(UnitPrice+Quantity) FROM ItemsOnOrder GROUP BY ItemNumber, LineItemTotal

  • 33

    INSERT INTO EmployeeCopy SELECT * FROM Employee

  • 34

    No rows will be deleted from the table

  • 35

    SELECT COUNT(OrderID), Country FROM Orders GROUP BY Country HAVING COUNT(orderID) < 50

  • 36

    A new row in the table

  • 37

    cascade delete

  • 38

    UPDATE Products SET Price = Price * 1.06 WHERE ItemNumber = 1;

  • 39

    A full database backup is a copy of all the data in the entire database

    True

  • 40

    A transaction log backup backs up all the data in the database

    False

  • 41

    A differential backup copies only data that was changed before the last full backup

    False

  • 42

    A file or filegroup restore specified a portion of the database to recover

    True

  • 43

    DELETE FROM Employee WHERE Phone IS NULL

  • 44

    SELECT * FROM Orders WHERE NOT ship_state = ‘TX’ AND NOT ship_state = ‘AZ’

  • 45

    ALTER TABLE Customers DROP COLUMN SSN;

  • 46

    Remove the ORDER BY clause

  • 47

    DROP VIEW EmployeeView

  • 48

    ALTER TABLE

  • 49

    A foreign key

  • 50

    A non-clustered index on the Category column

  • 51

    LIKE

  • 52

    The plus (+) operator cannot be used to append character data

  • 53

    ChapterID, LanguageID

  • 54

    A constraint

  • 55

    CREATE VIEW MyGame AS SELECT Name FROM Games ORDER BY Name

  • 56

    REVOKE SELECT ON Customer FROM User1

  • 57

    CREATE TABLE Student ( ID INT, Name VARCHAR (100), Age INT)

  • 58

    AND, >, ORDER BY, ArrivalTime DESC

  • 59

    Return large results sets, are accessed randomly