emp numb is unique because that is primary key,,but what is foreign key .. explain very clear with example

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What operating systems are supported by oracle database 10g xe?

573


What is a trace file and how is it created in oracle?

546


Is the After report trigger fired if the report execution fails ?

2398


How many types of auditing in Oracle?

560


What is enter substitution variable in oracle?

563






Explain the use of ignore option in imp command.

566


What happens to indexes if you drop a table?

689


How to select some rows from a table in oracle?

591


When do you get a .pll extension in oracle? Explain its importance

567


How to set a transaction to be read only in oracle?

574


Can you have more than one content canvas view attached with a window ?

1815


How oracle handles dead locks?

596


What are the execution control statements in oracle?

596


interview questions with answer for cts

2077


What is using clause and give example?

579