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



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

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

Post New Answer

More Oracle General Interview Questions

why can't we assign not null constraint as table level constraint

3 Answers   CTS, Wipro,


how to get second highest sal of emp table

6 Answers  


What is the Extension of Oracle Database? As extension of Access Database is .mdb

2 Answers  


How to define a record variable to store a table row?

0 Answers  


How to create additional tablespaces for an new database?

0 Answers  


What is a subquery?

0 Answers  


What are a collation and state the different types of collation sensitivity?

0 Answers  


when a grant option is encountered for a table EMP to a peer sitting beside you who has already having the table of that name (EMP), then what is the result?

2 Answers  


What are data pump export and import modes?

0 Answers  


What is index-organized table in Oracle?

0 Answers   MCN Solutions,


1) Does oracle have any table which contain all the exceptions and it's code internally?

0 Answers   CTS,


How to use "in out" parameter properly?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1809)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)