State the difference between a primary key and foreign key?



State the difference between a primary key and foreign key?..

Answer / Balram Singh

A Primary Key (PK) is a column or set of columns in a table that uniquely identifies each row. A Foreign Key (FK) is a reference to another table's primary key, which establishes a relationship between the two tables.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Oracle General Interview Questions

What is a system tablespace and when it is created?

1 Answers  


What are triggers in oracle?

1 Answers  


What do database buffers contain?

1 Answers  


What are data pump export and import modes?

1 Answers  


How to create a table interactively?

1 Answers  


How to divide query output into groups in oracle?

1 Answers  


Can we insert data in view oracle?

1 Answers  


What are the components of Logical database structure of ORACLE database?

4 Answers  


How to bring a tablespace online?

1 Answers  


definition of cluster and non-clustered index?

1 Answers   CSS,


How to create a testing table in oracle?

1 Answers  


what happened to the global index when I truncate the data in one of the partition?

1 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1803)
  • 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)