Mysql miscellaneous
- Which command is used to create “Temporary tables” in Mysql?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: E
“Temporary Tables” are output format of any query.
- 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 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’.
- In the following query, “Employee_1” belongs to which category of table in Mysql?
CREATE VIEW Employee_1 AS
SELECT firstname, lastname, Employee_id FROM Employee;
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
“CREATE VIEW” creates “Virtual tables” only.
- What is the use of “VIEW” in Mysql?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
All of above