Home » MYSQL » Mysql Basic » Question
  1. Which of the following statements is valid if ‘`sampledb`’ is a database and ‘`tbl`’ is a table in it?
    1. SELECT * FROM `member`.`sampledb`
    2. SELECT * FROM `sampledb.member`
    3. SELECT * FROM `member.sampledb`
    4. SELECT * FROM `sampledb`.`member`
    5. None of these
Correct Option: D

When quotes is being used to refer to a qualified name, the individual identifiers are quoted within the name separately. So, the database name `sampledb` and table name `tbl` are quoted separately.



Your comments will be displayed only after manual approval.