Database Fundamentals and SQL

Covers core database concepts including records, data items, database models, SQL fundamentals (views, indexes, keys, WHERE clause, HAVING, LIKE pattern matching), and data warehousing concepts (ETL tools, OLTP, SCD)

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which of the following is not a group function?

  1. avg()
  2. sqrt()
  3. max()
  4. sum()
Question 2 Multiple Choice (Single Answer)

You query the database with this command SELECT name FROM employee WHERE name LIKE ‘_a%’; Which names are displayed?

  1. Names starting with “a”
  2. Names with "a" as second character
  3. Last character as "a"
  4. Names with atleast two "a" at the start.
Question 3 Multiple Choice (Single Answer)

Which SQL keyword is used to specify conditional search?

  1. SELECT
  2. WHERE
  3. SEARCH
  4. FIND
Question 4 Multiple Choice (Single Answer)

The HAVING clause can be used only with

  1. DELETE clause
  2. INSERT clause
  3. SELECT clause
  4. JOIN clause
Question 5 Multiple Choice (Single Answer)

What does SQL stand for?

  1. Strong Query Language
  2. Standard Query Language
  3. Strict Query Language
  4. Structured Query Language
Question 6 Multiple Choice (Single Answer)

What does follow after the SQL WHERE clause?

  1. The name of the table we are selecting from
  2. list of columns to be selected
  3. Definition of the condition to be met for the rows to be returned
  4. None of above
Question 7 Multiple Choice (Single Answer)

What is a primary key?

  1. The primary key column is a column or combination of columns whose values can be non-unique
  2. The primary key is a column or combination of columns whose values uniquely identify each row in the table
  3. The primary key is a column that can have NULL values
  4. all of above
Question 8 Multiple Choice (Single Answer)

What is an index?

  1. An index is the same as alias
  2. An index is a database table attribute, which speeds-up data search within a table
  3. An index is a special way to join 2 or more tables
  4. None of above
Question 9 Multiple Choice (Single Answer)

What is a view?

  1. A view is a special stored procedure executed when certain event occurs
  2. A view is a database diagram
  3. A view is a virtual table which results of executing a pre-compiled query. A view is not part of the physical database schema, while the regular tables are
  4. All of above
Question 10 Multiple Choice (Single Answer)

In sql server 2008, whats the new concepts?

  1. XML data types
  2. Table value parameters
  3. Transactions
  4. none of these
Question 11 Multiple Choice (Single Answer)

What do you mean by OLTP

  1. online transfer processing
  2. online transfer process
  3. online transaction processing
  4. online train processing
Question 12 Multiple Choice (Single Answer)

what is/are etltools in given list

  1. informatica, businessobjects,cognos
  2. datastage,hyperion,oracle builder
  3. informatica,datastage,abinitio
  4. abinitio,oraclebuilder,microstrategy
Question 13 Multiple Choice (Single Answer)

SCD refers to ?

  1. slow change dimension
  2. slowly change direction
  3. Slowly changing dimension
  4. slow chance direction
Question 14 Multiple Choice (Single Answer)

SCD refers to ?

  1. slow change dimension
  2. slowly change direction
  3. Slowly changing dimension
  4. slow chance direction
Question 15 Multiple Choice (Single Answer)

SCD refers to ?

  1. slow change dimension
  2. slowly change direction
  3. Slowly changing dimension
  4. slow chance direction
Question 16 Multiple Choice (Single Answer)

SSIS?

  1. SQL Server Integrated Server
  2. SQL Server Integration Services
  3. SQL Server Information Server
  4. SQL Server Information Service
Question 17 Multiple Choice (Single Answer)

DMS is a ------- database model

  1. Relational
  2. Network
  3. Hierarchical
  4. None of the above
Question 18 Multiple Choice (Single Answer)

what is the "basic unit of a record"?

  1. Data Item
  2. Database Key
  3. Record Occurence
  4. Record Structure
Question 19 True/False

A data item describes a particular attribute of a record.

  1. True
  2. False
Question 20 Multiple Choice (Multiple Answers)

A collection of data items with real life values is called a

  1. None
  2. Record
  3. Record Structure
  4. Record Occurence