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)
Questions
Which of the following is not a group function?
- avg()
- sqrt()
- max()
- sum()
You query the database with this command SELECT name FROM employee WHERE name LIKE ‘_a%’; Which names are displayed?
- Names starting with “a”
- Names with "a" as second character
- Last character as "a"
- Names with atleast two "a" at the start.
Which SQL keyword is used to specify conditional search?
- SELECT
- WHERE
- SEARCH
- FIND
The HAVING clause can be used only with
- DELETE clause
- INSERT clause
- SELECT clause
- JOIN clause
What does SQL stand for?
- Strong Query Language
- Standard Query Language
- Strict Query Language
- Structured Query Language
What does follow after the SQL WHERE clause?
- The name of the table we are selecting from
- list of columns to be selected
- Definition of the condition to be met for the rows to be returned
- None of above
What is a primary key?
- The primary key column is a column or combination of columns whose values can be non-unique
- The primary key is a column or combination of columns whose values uniquely identify each row in the table
- The primary key is a column that can have NULL values
- all of above
What is an index?
- An index is the same as alias
- An index is a database table attribute, which speeds-up data search within a table
- An index is a special way to join 2 or more tables
- None of above
What is a view?
- A view is a special stored procedure executed when certain event occurs
- A view is a database diagram
- 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
- All of above
In sql server 2008, whats the new concepts?
- XML data types
- Table value parameters
- Transactions
- none of these
What do you mean by OLTP
- online transfer processing
- online transfer process
- online transaction processing
- online train processing
what is/are etltools in given list
- informatica, businessobjects,cognos
- datastage,hyperion,oracle builder
- informatica,datastage,abinitio
- abinitio,oraclebuilder,microstrategy
SCD refers to ?
- slow change dimension
- slowly change direction
- Slowly changing dimension
- slow chance direction
SCD refers to ?
- slow change dimension
- slowly change direction
- Slowly changing dimension
- slow chance direction
SCD refers to ?
- slow change dimension
- slowly change direction
- Slowly changing dimension
- slow chance direction
SSIS?
- SQL Server Integrated Server
- SQL Server Integration Services
- SQL Server Information Server
- SQL Server Information Service
DMS is a ------- database model
- Relational
- Network
- Hierarchical
- None of the above
what is the "basic unit of a record"?
- Data Item
- Database Key
- Record Occurence
- Record Structure
A data item describes a particular attribute of a record.
- True
- False
A collection of data items with real life values is called a
- None
- Record
- Record Structure
- Record Occurence