Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

I have some query regarding Report generation from Oracle Apps "PO module". I have to generate a report where table columns are as below: Vendor_name Invoice No PO Number Item_Quantity Value of Goods Date of Shipping Name_of_the_transport Date_of_receipt_issued. Now my questions is :from which table/column I can get the information of "Name_of_the_transport" column. Thanks in advance.

3275


How to retrieve data from an explicit cursor?

1009


Give the various rollback segment states.

1000


What is a trigger and what are its types?

1115


How to change system global area (sga) in oracle?

960


Explain coalesce function?

1119


How to delete a user account in oracle?

915


In what script is snap$ created? In what script is the scott/tiger schema created?

2656


You have 4 instances running on the same UNIX box. How can you determine which shared memory and semaphores are associated with which instance?

1939


What are the arithmetic operations?

1026


Explain a synonym?

971


What do the 9i dbms_standard.sql_txt() and dbms_standard.sql_text() procedures do?

4473


What is tns entry?

1060


Explain how you would restore a database using RMAN to Point in Time?

2097


What are the differences between date and timestamp in oracle?

974