Tag: databases

Questions Related to databases

With SQL, how do you select all the records from a table named "Persons" where the value of the column "FirstName" starts with an "a"?

  1. SELECT * FROM Persons WHERE FirstName LIKE '%a'

  2. SELECT * FROM Persons WHERE FirstName ='a'

  3. SELECT * FROM Persons WHERE FirstName LIKE 'a%'

  4. SELECT * FROM Persons WHERE FirstName='%a%'


Correct Option: C

Which character function can be used to return a specified portion of a character string?

  1. INSTR

  2. SUBSTRING

  3. SUBSTR

  4. POS


Correct Option: C
  1. SELECT DIFFERENT

  2. SELECT DISTINCT

  3. SELECT UNIQUE

  4. SELECT SEPARATE


Correct Option: B
  1. Data about data

  2. Is a subset of a Dataware house

  3. Data collected from various sources

  4. All of the Above


Correct Option: B
  1. It is a primary key for a Dimension table.

  2. It is a system generated sequence numbers

  3. It is a unique key

  4. It is a foreign key for a FACT table.


Correct Option: B
  1. Publishing report through a web portal.

  2. Cleaning of Source data

  3. Data Mining

  4. Forecasting

  5. Statistical Analysis


Correct Option: B
  1. Control-M

  2. Autosys

  3. Version manager

  4. none of the above


Correct Option: C,D