emp numb is unique because that is primary key,,but what is foreign key .. explain very clear with example
Answer / vilas
Foregin key: It is the relation between two tables.it can be
used to create the relation between two tables,when two
tables have the unique rows (means emp_numb)then we can
used to foreign key.
eg:
create table student
{ name varchar(10),
rollno int(10));
.......this is student table........
create table student_Details
{ name varchar(10),
rollno int(10)refercence
);
.
| Is This Answer Correct ? | 3 Yes | 0 No |
Name the three major set of files on disk that compose a database in Oracle?
what are corelated subqueries
How do I spool in oracle?
What privilege is needed for a user to create tables in oracle?
Please explain drop constraint oracle?
HI ALL, CAN ANYONE TELL ME THE DIFFERENCES BETWEEN SQL CLUSTURS,MSQL CLUSTERS,ORACLE CLUSTERS.......THANKS IN ADVANCE
What is a table index?
What do you mean by a database transaction & what all tcl statements are available in oracle?
1. How actually index will work ? 2. Why do people prefer mostly bitmap index and btree index in datawarehouse ? 3. If I use the column in aggrigate functions like max,min,count and avg and if I have a index created on that column, will it increases the performance ?
How to define default values for formal parameters?
Explain the use of record option in exp command.
How can we find out the duplicate values in an oracle table?