SELECT * FROM employee WHERE dept_name="Comp Sci";
In the SQL given above there is an error . Identify the error.
Dept_name
Employee
“Comp Sci”
From
Quiz Recommendation System API Link - https://fresherbell-quiz-api.herokuapp.com/fresherbell_quiz_api
# | Quiz |
---|---|
1
Discuss
|
The _________ provides a set of operations that take one or more relations as input and return a relation as an output.
Solution |
2
Discuss
|
In SQL the spaces at the end of the string are removed by _______ function.
Solution |
3
Discuss
|
The result which the operation contains all pairs of tuples from the two relations, regardless of whether their attribute values match.
Solution |
4
Discuss
|
The tuples of the relations can be of ________ order.
Solution |
5
Discuss
|
Course(course_id,sec_id,semester) Here the course_id,sec_id and semester are __________ and course is a _________
Solution |
6
Discuss
|
To display the salary from greater to smaller and name in ascending order which of the following options should be used?
Solution |
7
Discuss
|
By default, the order by clause lists items in ______ order.
Solution |
8
Discuss
|
The most commonly used operation in relational algebra for projecting a set of tuple from a relation is
Solution |
9
Discuss
|
Department (dept name, building, budget) and Employee (employee_id, name, dept name, salary)
Solution |
10
Discuss
|
This query does which of the following operation?
Solution |
# | Quiz |
Copyright © 2020 Inovatik - All rights reserved