GoConqr has a new look! Let us know what you think.

Quiz

CET_TARDE - MTA Database - E_COMANDS

Hawerth Castro 43 questions

Take the quiz

This quiz has question types that open in the usual player.

Questions in this quiz (43)

  1. 1You have the following table: Image for question 1
    1. Aforeign key
    2. Bclustered index
    3. Cnonclustered index
    4. Dforeign key
    5. Eclustered index
    6. Fnonclustered index
  2. 2You have the following SQL query SELECT * FROM dbo.ProAthlete WHERE Salary > 500000
    The query takes too much time to return data. You need to improve the performance of
    the query. Which item should you add to the Salary column?
    1. ANon-null constraint
    2. BDefault constraint
    3. CIndex
    4. DForeign key
  3. 3This question requires that you evaluate the underlined text to determine if it is correct.
    The CREATE TABLE command removes one or more table definitions and all data, indexes,
    triggers, constraints, and permission specifications for those tables.
    Instructions: Review the underlined text. If it makes the statement correct, select “No
    change is needed.” If the statement is incorrect, select the answer choice that makes the
    statement correct:
    1. ANo change is needed
    2. BDROP TABLE
    3. CTRUNCATE TABLE
    4. DALTER TABLE
  4. 4You have a table named Employee that includes four columns. You execute the following statement:
    SELECT * FROM Employee
    Which columns are returned?
    1. Aall columns
    2. Bonly the last column
    3. Conly the first column
    4. Donly the first and last columns
  5. 5Which keyword must be included in a create view statement?
    1. AWHERE
    2. BORDER BY
    3. CUPDATE
    4. DSELECT
  6. 6The Product table contains the following data.

    You execute the following statement:
    SELECT COUNT(*) FROM Product WHERE Quantity > 18

    What is the value returned by this statement?
    Image for question 6
    1. A1
    2. B2
    3. C3
    4. D4
  7. 7You have a table that contains information about all students in your school. Which SQL keyword should you use to change a student’s first name in the table?
    1. AUPDATE
    2. BCHANGE
    3. CSELECT
    4. DINSERT
  8. 8Which keyword would you use in a select statement to return rows that meet a specific condition?
    1. AWHERE
    2. BUNION
    3. CORDER BY
    4. DFROM
  9. 9You have the following table definition:
    CREATE TABLE Product (ID INTEGER PRIMARY KEY, Name VARCHAR(20), Quantity INTEGER)


    The Product table contains the following data.

    You execute the following statement:
    SELECT Name FROM Product WHERE Quantity IS NOT NULL

    How many rows are returned?
    Image for question 9
    1. A0
    2. B1
    3. C2
    4. D3
    5. E4
  10. 10You execute the following statement:
    SELECT EmployeeID, FirstName, DepartmentName FROM Employee,

    Department This type of operation is called a/an:
    1. AIntersection
    2. BOuter join
    3. CEqui-join
    4. DCartesian product

Information

Description
Database Quizzes preparing to certification
Language
Português
Views
145
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?