How do you define a foreign key?
Answer / Osh Gupta
A Foreign Key is a field in one table that refers to the primary key of another table. It's used to establish a relationship between two tables, ensuring referential integrity by preventing actions such as deleting a record from the parent table if there are related records in the child table.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are string functions in sql?
From an Employee table, how will you display the record which has a maximum salary?
29 Answers Cap Gemini, Exilant, Synechron,
What is the use of desc in sql?
I need a exceptoin in pl/sql block so that if any errors occur in the block then no exception should errors should raise?
What is the difference between a primary key and a clustered index?
What is difference between TRUNCATE & DELETE?
16 Answers Ahn Infotech, CitiGroup, ICICI, PreVator, Saama Tech, SkyTech, TCS,
What can be a size of a pl/sql block? Is there any limit?
What is having clause in sql?
In a package if we have 10 procedures or functions,How to know which will execute first?
How do I create a sql script?
Why are aggregate functions called so?
What does the file extension accdb stand for?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)