Tag: databases

Questions Related to databases

  1. Used to uniquely identify a row

  2. Alias for primary key

  3. Used to identify a column

  4. Alias for foreign key


Correct Option: A

A view is nothing but a ________ table or a stored query

  1. Dymanic

  2. Real

  3. Virtual

  4. Static


Correct Option: C
Explanation:

To solve this question, the user needs to know about views in database management systems. A view is a virtual table that does not store any data but only displays data from one or more tables in the database.

Based on this information, the correct answer is:

The Answer is: C. Virtual

  1. Using COUNT

  2. Using NUM

  3. Using NUMBER

  4. Both a and c above


Correct Option: A
  1. SHOW DATABASES LIKE ‘%tech%’;

  2. SHOW DATABASES LIKE ‘%tech;

  3. SHOW DATABASES LIKE ‘'tech'%’;

  4. SHOW DATABASES LIKE ‘tech%’;


Correct Option: D
  1. To limit the output of a query

  2. To limit the output of a query using an aggregate function only

  3. When GROUP by is used

  4. both b and c above


Correct Option: B
  1. Table

  2. Column

  3. Database

  4. All the above


Correct Option: C