Home » MYSQL » Mysql miscellaneous » Question
  1. The following query belongs to which condition types?
    SELECT firstname
    FROM Employee
    WHERE dept_id= (SELECT dept_id FROM department WHERE names=’s’);
    1. Range condition
    2. Equality condition
    3. Inequality condition
    4. All of above
    5. None of these
Correct Option: B

In the following query column equate to the value returned by subquery.



Your comments will be displayed only after manual approval.