
364-668c6d89c3816d115f18c97b
Authored by Abang Gembot
Other
Professional Development
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You accept an IT internship at a local charity. The charity wants you to help them with compliance and auditing requirements. You need to ensure that a column or combination of columns uniquely identifies each row of a table. Which constraint should you define?
Primary key
Secondary key
Foreign key
Default key
Public key
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
While attending college, you accept an IT internship at a local charity. The charity needs to report on data that is related and exists in two tables. You need to establish a relationship between the data that is in the two tables. Which constraint should you define?
Foreign key
Index key
Link key
Default key
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You have two tables named Cars and Color as defined below. The two tables are related by ColorId.
You run the following SQL statement:
SELECT *
FROM Cars
LEFT OUTER JOIN Colors
ON Cars.ColorId = Colors.ColorID
How many rows does the SQL statement return?
0
2
3
6
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You have a Department table and an Employee table in your database. You need to ensure that an employee can be assigned to only an existing department. What should you apply to the Employee table?
A primary key
An index
A foreign key
A unique constraint
A data type
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You need to combine the results of two queries into a single result that contains all of the rows from both queries. Which Structured Query Language (SQL) statement should you use?
TRUNCATE
JOIN
EXCEPT
UNION
WHERE
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You have a table named Employee that includes four columns. You execute the following statement:
SELECT *
FROM Employee
Which columns are returned?
All columns
Only the last column
Only the first column
Only the first and last columns
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is one difference between an update statement and a delete statement?
An update statement can change only one row.
A delete statement cannot use a where clause.
An update statement does not remove rows from a table.
A delete statement works only within a stored procedure.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?