You are on page 1of 4

SQL Queries

TOTAL POINTS 15

1.
Question 1
DBA stands for

1 / 1 point
Database Administrator
Correct
2.
Question 2
Structured Query Language (SQL) is used to (check all that apply)

1 / 1 point

Insert data

Correct

Delete data

Correct

Run php

Create a table

Correct
3.
Question 3
Which statement is the right syntax to make a new database using command line?

1 / 1 point

CREATE people;

MAKE people;

MAKE DATASET people;

CREATE DATABASE people;

Correct
4.
Question 4
"INSERT INTO" is the keyword used to insert data into tables.

1 / 1 point

True
This study source was downloaded by 100000860386075 from CourseHero.com on 04-09-2023 12:22:08 GMT -05:00

https://www.coursehero.com/file/98569305/SQL-Queries-Week-2-Quiz-answersdocx/
False

Correct
5.
Question 5
Which keyword is used to add conditions to your query?

1 / 1 point

SELECT

ONLYIF

WHERE

IF

Correct
6.
Question 6
Which command is used to retrieve all records from the table?

1 / 1 point

RETRIVE * FROM Users

SELECT * FROM Users

RETRIVE all FROM Users

SELECT all FROM Users

Correct
7.
Question 7
Which keyword will cause the results of the query to be displayed in sorted order?

1 / 1 point

ORDER BY

None of these

GROUP BY
This study source was downloaded by 100000860386075 from CourseHero.com on 04-09-2023 12:22:08 GMT -05:00

https://www.coursehero.com/file/98569305/SQL-Queries-Week-2-Quiz-answersdocx/
WHERE

Correct
8.
Question 8
The LIMIT clause helps to narrow down the scope of the query.

1 / 1 point

True

False

Correct
9.
Question 9
A [_____] column allocates a string with a variable amount of space depending on the data length that is actually stored.

1 / 1 point
VARCHAR
Correct
10.
Question 10
A column of type CHAR cannot be indexed.

1 / 1 point

True

False

Correct
11.
Question 11
Images, PDF, movies cannot be stored in a database.

1 / 1 point

True

False

Correct
12.
Question 12
Column of type TIMESTAMP stores the number of seconds from January 1, [_____] in the column.

1 / 1 point
1970
Correct
13.
Question 13
This study source was downloaded by 100000860386075 from CourseHero.com on 04-09-2023 12:22:08 GMT -05:00

https://www.coursehero.com/file/98569305/SQL-Queries-Week-2-Quiz-answersdocx/
A primary key can be set to null.

1 / 1 point

True

False

Correct
14.
Question 14
An UNSIGNED int can be a negative number.

1 / 1 point

True

False

Correct
15.
Question 15
Primary keys are used to distinguish rows within in a table. [_____] keys are used to reference the primary key from a different
table.

1 / 1 point
foreign
Correct

This study source was downloaded by 100000860386075 from CourseHero.com on 04-09-2023 12:22:08 GMT -05:00

https://www.coursehero.com/file/98569305/SQL-Queries-Week-2-Quiz-answersdocx/
Powered by TCPDF (www.tcpdf.org)

You might also like