Sail E0 Webinar

MCQs

Total Questions : 50 | Page 5 of 5 pages
Question 41. SELECT * FROM employee WHERE dept_name="Comp Sci";In the SQL given above there is an error
  1.    Dept_name
  2.    Employee
  3.    “Comp Sci”
  4.    From
 Discuss Question
Answer: Option C. -> “Comp Sci”
Question 42. Which one of the following commands is used for removing (or deleting) a relation forms the SQL database?
  1.    Delete
  2.    Drop
  3.    Remove
  4.    All of the above
 Discuss Question
Answer: Option B. -> Drop
Question 43. Which of the following keys is generally used to represents the relationships between the tables?
  1.    Primary key
  2.    Foreign key
  3.    Secondary key
  4.    None of the above
 Discuss Question
Answer: Option B. -> Foreign key
Question 44. In the given query which of the keyword has to be inserted?
  1.    table
  2.    values
  3.    from
  4.    relation
 Discuss Question
Answer: Option B. -> values
Question 45. For what purpose the DML is provided?
  1.    Addition of new structure in the database
  2.    Manipulation & processing of the database
  3.    Definition of the physical structure of the database system
  4.    All of the above
 Discuss Question
Answer: Option B. -> Manipulation & processing of the database
Question 46. Data redundancy occurs
  1.    when the same piece of data exists in multiple places.
  2.    when there is mismatch of data.
  3.    when there is NULL values.
  4.    when there is multiple values for an attribute.
 Discuss Question
Answer: Option A. -> when the same piece of data exists in multiple places.
Question 47. Which of the following is not a DBMS despite having database capabilities:
  1.    Microsoft Excel or similar spreadsheets
  2.    Oracle
  3.    MySQL
  4.    Microsoft Access or similar
 Discuss Question
Answer: Option A. -> Microsoft Excel or similar spreadsheets
Question 48. Which of the following commands is used to save any transaction permanently into the database?
  1.    Commit
  2.    Rollback
  3.    Save point
  4.    None of the above
 Discuss Question
Answer: Option A. -> Commit
Question 49. An attribute A of datatype varchar(20) has the value “Avi”
  1.    3,20
  2.    20,4
  3.    3,4
  4.    20,20
 Discuss Question
Answer: Option A. -> 3,20
Question 50. Which of the following is the most important feature of DBMS:
  1.    Command language like SQL
  2.    Ability to back up data
  3.    Ease of use
  4.    Ability to automate some tasks
 Discuss Question
Answer: Option A. -> Command language like SQL

Latest Videos

Latest Test Papers