100% found this document useful (1 vote)
2K views

Database Management System Midterm Quiz 1

The document discusses various SQL concepts including selection, projection, joins, aliases, literals, NULL values, and arithmetic expressions. It provides examples of SQL statements and asks users to identify the concept being demonstrated or select the correct option. Key concepts covered include using selection to restrict rows returned, projection to select columns, joins to combine data from different tables, and aliases to rename columns.

Uploaded by

Santi Seguin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
2K views

Database Management System Midterm Quiz 1

The document discusses various SQL concepts including selection, projection, joins, aliases, literals, NULL values, and arithmetic expressions. It provides examples of SQL statements and asks users to identify the concept being demonstrated or select the correct option. Key concepts covered include using selection to restrict rows returned, projection to select columns, joins to combine data from different tables, and aliases to rename columns.

Uploaded by

Santi Seguin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

This is used to selects the rows in a table that are returned by a query.

Various criteria
can be used to restrict the rows that are retrieved.

Select one:
a.
Inclusion
b.
Projection
c.
Joins
d.
Selection
This is use to Selects the columns in a table that are returned by a query. Selects a few
or as many of the columns as required.

Select one:
a.
Projection
b.
Joins
c.
Selection
d.
Inclusion
A system used to concatenate one column to another column.

Select one:
a.

b.
*
c.
AS
d.
||
It is a character, a number, or a date that is included in the SELECT statement.
Select one:
a.
Alias
b.
Table name
c.
Literal
d.
String
It is a value that is unavailable, unassigned, unknown, or inapplicable.

Select one:
a.
Space
b.
NULL
c.
Blank
d.
Zero
Supposed that the user uses the ff SELECT statement: what will be the possible
output.

SELECT GRADE AS STUDENT MARK FROM GRADE_REPORT;

Select one:
a.
Error because of missing “” mark.
b.
Will display the column GRADE rename as STUDENT MARK
c.
Will display all rows and columns.
d.
Error because of the keyword AS.
This character is used to override the default precedence or to clarify the statement.
Select one:
a.
or ( )
b.
*
c.
||
d.
AS
This is used to brings together data that is stored in different tables by specifying the
link between them.
Select one:
a. Selection
b. Projection
c. Inclusion
d. Joins

Which of the following is not true about writing SQL statements?


Select one:
a. Indents should be used to make code more readable.
b. SQL statements are not case sensitive.
c. Clauses are usually placed on separate lines for readability and ease of editing.
d. Keywords cannot be split across lines or abbreviated.

This is use to create expression with number and date values.


Select one:
a. Numerical Values
b. Arithmetic expression
c. Logical Condition
d. MDAS operator

You might also like