SQL -Structured Query Language - Sql Select - Select Record Quiz
# | Quiz |
---|---|
1
Discuss
|
Select Record
The ______ clause allows us to select only those rows in the result relation of the ____ clause that satisfy a specified predicate.
Solution |
2
Discuss
|
Select Record
The ________ clause is used to list the attributes desired in the result of a query.
Solution |
3
Discuss
|
Select Record
A relational database consists of a collection of
Solution |
4
Discuss
|
Select Record
A ________ in a table represents a relationship among a set of values.
Solution |
5
Discuss
|
Select Record
The term _______ is used to refer to a row.
Solution |
6
Discuss
|
Select Record
The term attribute refers to a ___________ of a table.
Solution |
7
Discuss
|
Select Record
For each attribute of a relation, there is a set of permitted values, called the ________ of that attribute.
Solution |
8
Discuss
|
Select Record
Database __________ which is the logical design of the database, and the database _______ which is a snapshot of the data in the database at a given instant in time.
Solution |
9
Discuss
|
Select Record
Course(course_id,sec_id,semester) Here the course_id,sec_id and semester are __________ and course is a _________
Solution |
10
Discuss
|
Select Record
Department (dept name, building, budget) and Employee (employee_id, name, dept name, salary)
Solution |
11
Discuss
|
Select Record
A domain is atomic if elements of the domain are considered to be ____________ units.
Solution |
12
Discuss
|
Select Record
The tuples of the relations can be of ________ order.
Solution |
13
Discuss
|
Select Record
The _________ provides a set of operations that take one or more relations as input and return a relation as an output.
Solution |
14
Discuss
|
Select Record
A ________ is a pictorial depiction of the schema of a database that shows the relations in the database, their attributes, and primary keys and foreign keys.
Solution |
15
Discuss
|
Select Record
The _______ operator takes the results of two queries and returns only rows that appear in both result sets.
Solution |
16
Discuss
|
Select Record
The most commonly used operation in relational algebra for projecting a set of tuple from a relation is
Solution |
17
Discuss
|
Select Record
The _______operation performs a set union of two “similarly structured” tables
Solution |
18
Discuss
|
Select Record
The result which the operation contains all pairs of tuples from the two relations, regardless of whether their attribute values match.
Solution |
19
Discuss
|
Select Record
The_____ operation allows the combining of two relations by merging pairs of tuples, one from each relation, into a single tuple.
Solution |
20
Discuss
|
Select Record
Which one of the following is procedural language?
Solution |
21
Discuss
|
Select Record
Student(ID, name, dept name, tot_cred)
Solution |
22
Discuss
|
Select Record
Using which language can a user request information from a database?
Solution |
23
Discuss
|
Select Record
Which keyword must be used here to rename the field name?
Solution |
24
Discuss
|
Select Record
In the SQL given above there is an error . Identify the error.
Solution |
25
Discuss
|
Select Record
Which one of the following has to be added into the blank to select the dept_name which has Computer Science as its ending string?
Solution |
26
Discuss
|
Select Record
’_____’ matches any string of ______ three characters. ’_____%’ matches any string of at ______ three characters.
Solution |
27
Discuss
|
Select Record
By default, the order by clause lists items in ______ order.
Solution |
28
Discuss
|
Select Record
To display the salary from greater to smaller and name in ascending order which of the following options should be used?
Solution |
29
Discuss
|
Select Record
This query can be replaced by which of the following ?
Solution |
30
Discuss
|
Select Record
This query does which of the following operation?
Solution |
31
Discuss
|
Select Record
In SQL the spaces at the end of the string are removed by _______ function.
Solution |
32
Discuss
|
Select Record
_____ operator is used for appending two strings.
Solution |
# | Quiz |