(a) Definition of RDBMS.
|
||||||||
Answer:
A Relational Database Management system (RDBMS)
is a database management system (DBMS) that is based on the
relational model as introduced by Dr. Edgar F. Codd. Strictly
speaking it should also satisfy codd’s 12 rules, but in
practice there is no DBMS that satisfies all these rules.
|
||||||||
(b) What is table and tuple?
|
||||||||
Answer:
|
||||||||
(c) What is Tablespace? |
||||||||
Answer:
An Oracle database comprises of a number of physical files
called data files. These files are logically grouped together
into oracle(logical) structure called a Tablespace. |
||||||||
(d) What is the difference between Truncate and
delete?
|
||||||||
Answer:
|
||||||||
(e) What is Data Dictionary?
|
||||||||
Answer:
One of the most important parts of
an Oracle database is its data dictionary, which
is a read-only set of tables that provides
information about the database.
A data dictionary contains:
|
||||||||
(f) What is the difference between PRIMARY KEY
and UNIQUE key?
|
||||||||
Answer:
|
||||||||
(g) The _________ constraint can only be applied
at column level.
|
||||||||
Answer:
The NOT NULL constraint can only be
applied at column level
|
||||||||
(h) What is pseudo column?
|
||||||||
Answer:
Pseudo means
content is nothing but it is doing everything.
SYSDATE is a pseudo column that contains
the current date and time. It requires no arguments when selected
from the table DUAL and returns the current date.
|
||||||||
(i) What is the difference between CHAR and
VARCHAR?
|
||||||||
Answer:
|
||||||||
(j) What is sub
query?
|
||||||||
Answer:
A Sub Query is
a form of an SQL statement that appears inside another SQL
statement. It is also termed as nested query. The statement
containing a sub query is called a parent statement. The
parent statement is the row(i.e. the result set) returned by the
subquery.
Syntax:
SELECT columnnames
FROM tablename
WHERE columnname
operator (SELECT columnname FROM tablename );
|
||||||||
(k) What is Join
statement?
|
||||||||
Answer:
A join
is a query that combines rows from two or more tables or views.
Oracle Database performs a join whenever multiple tables appear
in the FROM
clause of the query. The select list of the query can select any
columns from any of these tables.
Types of JOIN:
|
Tuesday, 5 March 2013
Short ques
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment