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

Why we use bulk collect in oracle?

536


Which are the five query types available in oracle?

530


How to assign query results to variables?

590


How to insert a record into a table?

640


How to use null as conditions in oracle?

582






How to retrieve values from data fields in record variables?

570


Please send me Informatica 8.1 certification dumps, my mail id mona85gupta@gmail.com

1439


What is a nvl function? How can it be used?

561


What is an oracle?

577


How to define and use table alias names in oracle?

508


How to store only time; not date and time?

557


What is set verify off in oracle?

577


Explain index?

748


How to add a new column to an existing table in oracle?

588


What is hash cluster in oracle?

596