Mysql miscellaneous
- Which of the following statements is/are correct?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
All of above
- Which of the following operators is/are used in “Condition Evaluation”?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
All of above
- What is the use of “VIEW” in Mysql?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
All of above
- Is there any error in this query?
SELECT emp.emp_id, emp.fname, emp.lname, dep.name FROM employee AS emp INNER JOIN department AS dep ON emp.dept_id = emp.dept_id;
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
There will be no error in the query, as table name “employee” is replaced by ‘e’ and table name “department” is replaced by ‘d’ by using “AS” keyword.
- Is there any error in this query?
SELECT emp.emp_id,
emp.fname, emp.lname, dep.name
FROM employee emp INNER JOIN department dep
ON emp.dept_id = emp.dept_id;
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
There will be no error in the query, as table name “employee” is replaced by ‘e’ and table name “department” is replaced by‘d’.