You are on page 1of 14

Sr.

No
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45

46
47
48
49
50
51
52
53
54
55
Question
A collection of program that enables user to create and maintain a database is called as?
Which model uses a collection of tables for representing both data and the relationship among those data?
Which model is ideal to represent Composite Attributes?
RDBMS Consists of the collection of?
What does he term attirute refers to?
Logical Design of Database is known to be?
Which rules are defined in relational models they from as an essential part of any relation database?
What does Rule 4 of Codd's Rule for RDBMS define?
What is the information about data in a databse called?
A goal of data mining includes which of the following?
Which one of the following is a set of one or more attributes taken collectively to uniquely identify a record?
Which one of the following cannot be taken as a Primary key?
An attribute in a relation is a foreign key if the __________ key from one relation is used as an attribute in that relation.
Which Key is a super key with no repeated attributes?
In which normal form, a composite attribute is converted to individual attributes?
Which forms are based on the concept of functional dependency ?
A functional dependency is a relationship between or among what?
Which functional dependency types is/are not present in the following dependencies? 1. Empno -> EName, Salary, Deptno, D
The database design prevents some data from being stored due to which of the following?
If one attribute is determinant of second, which in turn is determinant of third, then the relation cannot be in?
Which command used to delete a particular column in a relation?
The database language that allows us to change data in a database is called as?
Which of the following is a legal expression in SQL?
Which statement in SQL allows us to change the definition of a table is?
With SQL, how can you insert a new record into the "Cities" table?
With SQL, how do you select all the records from a table named "Persons" where the value of the column "FirstName" is "Pete
How can you change "Hansen" into "Nilsen" in the "LastName" column in the Persons table?
Correct SQL query syntax to update a record from a table is?
SELECT name FROM instructor WHERE salary <= 100000 AND salary >= 90000; This query can be replaced by which of the follo
SELECT * FROM employee WHERE dept_name="Comp Sci"; In the SQL given there is an error . Identify the error.
Which join refers to join records from the write table that have no matching key in the left table are include in the result set?
Relation R1 has 10 tuples and 5 attributes. Relation R2 has 0 tuples and 7 attributes. When a CROSS JOIN is achieved between
Which of the following statement is TRUE about FULL OUTER JOIN created on two tables Table1 and Table2?
Which of the following statements are true?
What is the meaning of “ORDER BY” clause?
What is the meaning of “HAVING” clause?
 What is the meaning of “GROUP BY” clause in Mysql?
A transaction completes its execution is said to be
Which of the following keyword is used with Data Control Language (DCL) statements?
Which types of actions are performed using DCL Commands?
What is a view?
Which of the syntax is used to delete a view?
Specifying the order in which key values are stored in an index is useful when queries referencing the table have
Which privilege from the following is used to create a private synonym in another user's schema?
What is the syntax to create Sequence ?

Which of the following is not true about the exception handling section of a PL/SQL block?
Which of the following is the correct syntax for creating a VARRAY named grades, which can hold 100 integers, in a PL/SQL blo
Which of the following code will successfully declare an exception named emp_exception1 in a PL/SQL block?
Which of the following is not a benefit of a database trigger?
Which statements in PL/SQL execute a sequence of statements multiple times?
In PL/SQL how many nested IF clauses can be included within an IF clause?
Which Package use database triggers to application when specific db values change?
When the stored procedure is created, the text of the stored procedure is saved in the which table?
What does not change permissions and does not affect any dependent stored procedures or triggers?
Which locks are acquired during read operations such as SELECT?
Option A
Database
Hierarchical
Relational
Table
Record
Database Schema
Record
View Updation Rule
Hyperdata
To explain some observed event or condition
Unique Key
ID
Candidate Key
Candidate Key
1NF
1NF
Tuples
Full Funtional Dependency
Selection Anomaly
Only 3NF
UPDATE TABLE
DDL
SELECT NULL FROM SALES;
SELECT
INSERT VALUES ('BHUBANESHWAR','ORISSA') INTO Cities;
SELECT * FROM PERSONS WHERE FirstName = 'Peter';
MODIFY Persons SET LastName='Nilsen' WHERE LastName='Hansen'
UPDATE table_name UPDATE column1 = value1, column2 = value2, ... WHERE condition;
SELECT name FROM instructor WHERE salary BETWEEN 90000 AND 100000;
dept_name
Left Outer Join
28
 Retrieves all the unmatched rows of Table1
INNER JOIN only retrieves those rows from Cartesian Product that satisfy the JOIN condition
Sorting your result set using column data
To filter out the row values
Group data by column values
Committed
SELECT
Change The Structure Of Tables
A view is a special stored procedure executed when certain event occurs
DROP VIEW
ORDER BY clauses
CREATE SYNONYM
CREATE SEQUENCE sequence-name START WITH initial-value INCREMENT BY increment-value
MAXVALUE maximum-value CYCLE | NOCYCLE;
It starts with EXCEPTION Keyword
TYPE grades IS VARRAY(100) OF INTEGERS;
EXCEPTION emp_exception1;
Enforcing referential integrity
EXIT
1
DBMS_OUTPUT
sys.sysconfig
ALTER PROCEDURE
READ LOCKS
Option B
Database Management System
Relational
Conceptual
Fields
Tuple
Database Entity
Memory
Active Online Catalog
Bigdata
To confirm that data exists
Super Key
Dept_ID
Primary Key
Primary Key
2NF
2NF
Attributes
Partial Functional Dependency
Deletion Anomaly
Both 3NF and BCNF
TRUNCATE COLUMN
DCL
SELECT # FROM SALES;
ALTER
INSERT INTO Cities VALUES ('BHUBANESHWAR','ORISSA');
SELECT [all] FROM PERSONS WHERE FirstName = 'Peter';
UPDATE Persons SET LastName='Hansen' INTO LastName='Nilsen'
UPDATE table_name column1 = value1, column2 = value2, … WHERE condition;
SELECT name FROM employee WHERE salary <= 90000 AND salary>=100000;
Employee
Right Outer Join
10
Retrieves all the unmatched rows of Table2
FULL OUTER JOIN is same as CROSS JOIN
Aggregation of fields
To filter out the column values
Group data by row values
Aborted
INSERT
Insert, Update Or Delete Records And Data Values
A view is a virtual table which results of executing a pre-compiled query
DELETE VIEW
SORT clauses
CREATE ANY SYNONYM
CREATE SEQUENCE sequence-name INCREMENT BY increment-value MAXVALUE
maximum-value CYCLE | NOCYCLE;
It is a Mandatory Section
VARRAY grades IS VARRAY(100) OF INTEGERS;
emp_exception1 EXCEPTION;
Event logging and storing information on table access
LOOP
2
DBMS_ALERT
sys.sysconfigures
ALTER QUEUE
SHARED LOCKS
Option C
Database Maintenance
Network
Hierarhical
Record
Column
Database Instance
Integrity Rules
Relational Level Operation
Teradata
To analyze data for expected relationships
Primary Key
Street Name
Unique Key
Unique Key
3NF
3NF
Entities
Transitive Functional Dependency
Insertion Anomaly
Only BCNF
DELETE COLUMN
DML
SELECT NAME FROM SALES;
CREATE
INSERT INTO Cities SET VALUES ('BHUBANESHWAR','ORISSA');
SELECT * FROM PERSONS WHERE FirstName <> 'Peter';
UPDATE Persons SET LastName='Nilsen' WHERE LastName='Hansen'
UPDATE table_name SET column1 = value1, column2 = value2, … WHERE condition;
SELECT name FROM employee WHERE salary BETWEEN 90000 AND 100000;
From
Full Outer Join
0
Retrieves both matched and unmatched rows of Table1 and Table2
RIGHT OUTER JOIN is equivalent to LEFT OUTER JOIN
Sorting your result set using row data
To filter out the row and column values
Group data by column and row values
Rolled Back
DELETE
Authorizing Access And Other Control Over Database
A view is a database diagram
REMOVE VIEW
WHERE clauses
CREATE PUBLIC SYNONYM
CREATE SEQUENCE sequence-name INCREMENT WITH increment-value MAXVALUE
maximum-value CYCLE | NOCYCLE;
It handle errors in the program
TYPE grades VARRAY(100) OF INTEGER;
CREATE EXCEPTION emp_exception1;
Allowing invalid transactions
END
Not Defined
DBMS_PIPE
sys.sysdatabases
ALTER RESOURCE POOL
EXCLUSIVE LOCKS
Option D
Information
Conceptual
Network
Keys
Key
Database Relation
Database Relation
Nonsubversion rule
Metadata
To create a new data warehouse
Foreign Key
Registration Number
Super Key
Super Key
BCNF
BCNF
Keys
Relative Functional Dependency
Update Anomaly
2NF
ALTER, DROP
DTL
SELECT * FROM SALES WHEN PRICE = NULL;
UPDATE
INSERT ('BHUBANESHWAR','ORISSA') INTO Cities;
SELECT [all] FROM PERSONS WHERE FirstName LIKE 'Peter';
MODIFY Persons SET LastName='Hansen' INTO LastName='Nilsen
UPDATE table_name INTO column1 = value1, column2 = value2, ... WHERE condition;
SELECT name FROM instructor WHERE salary BETWEEN 100000 AND 90000;
“Comp Sci”
Inner Join
35
Retrieves only matched rows of table1 and Table2
SELF JOIN is a special type of OUTER JOIN
Grouping of Fields
To filter out attribute values
Group by Tuple Values
Failed
GRANT
Joining or more tables
A view represents entire structure of database
TRUNCATE VIEW
GROUP BY clauses
CREATE PRIVATE SYNONYM
CREATE SEQUENCE sequence-name START BY initial-value INCREMENT BY increment-value
MAXVALUE maximum-value CYCLE | NOCYCLE;
It can contain nested block
TYPE grades IS VARRAY(100) OF INTEGER;
CREATE emp_exception1 AS EXCEPTION;
Generating some derived column values automatically
BEGIN
None
DBMS_LIST
sys.syscomments
ALTER CONTROL
UPDATE LOCKS
Correct Option Marks
Database Management System 1
Relational 1
Hierarchical 1
Tables 1
Column 1
Database Schema 1
Integrity Rules 1
Active Online Catalog 1
Metadata 1
To explain some observed event or condition 1
Super Key 1
Street Name 1
Primary Key 1
Candidate Key 1
1NF 1
3NF 1
Attributes 1
Partial Functional Dependency 1
Insertion Anomaly 1
Both 3NF and BCNF 1
ALTER, DROP 1
DML 1
SELECT NAME FROM SALES; 1
ALTER 1
INSERT INTO Cities VALUES ('BHUBANESHWAR','ORISSA'); 1
SELECT * FROM PERSONS WHERE FirstName = 'Peter'; 1
UPDATE Persons SET LastName='Nilsen' WHERE LastName='Hansen' 1
UPDATE table_name SET column1 = value1, column2 = value2, … WHERE condition; 1
SELECT name FROM instructor WHERE salary BETWEEN 90000 AND 100000; 1
“Comp Sci” 1
Right Outer Join 1
0 1
Retrieves both matched and unmatched rows of Table1 and Table2 1
INNER JOIN only retrieves those rows from Cartesian Product that satisfy the JOIN conditio 1
Sorting your result set using column data 1
To filter out the row values 1
Group data by column values 1
Committed 1
GRANT 1
Authorizing Access And Other Control Over Database 1
A view is a virtual table which results of executing a pre-compiled query 1
DROP VIEW 1
ORDER BY clauses 1
CREATE ANY SYNONYM 1
CREATE SEQUENCE sequence-name START WITH initial-value INCREMENT BY increment- 1
value MAXVALUE maximum-value CYCLE | NOCYCLE;
It is a Mandatory Section 1
TYPE grades IS VARRAY(100) OF INTEGER; 1
emp_exception1 EXCEPTION; 1
Allowing invalid transactions 1
LOOP 1
Not defined 1
DBMS_ALERT 1
sys.syscomments 1
ALTER PROCEDURE 1
SHARED LOCKS 1

You might also like