B
Q. What is the significance of the statement "GROUP BY d.name" in the following MySQL statement? SELECT d.name, COUNT (emp_id) emp_no FROM department d INNER JOIN Employee e ON d.dept_id=e.emp_id GROUP BY d.name
This SQL statement is designed to count the number of employees in each department. The key part you are asking about is "GROUP BY d.name".
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. Converting a client/server application to embedded server is simpler.
Q. In the Restrictions on Record Inserts and Updates, which of the following are not supported?
Q. What is the full form of BLOB?
Q. Which statement is used to remove indexes on tables?
Q. The MySQL server used in its client/server architecture is _______________.
Q. A procedure that involves REPAIR TABLE with the USE_FRM option must be done before upgrading.
Q. Which of the following keywords cannot be used to modify an existing table?
Q. Number of operands used by Unary Operator is?
Q. Which of the following is not a keyword of MYSQL?
Q. Which of the following is the feature(s) of SQL Auto Increment?
Discusssion
Login to discuss.