what is primary key,unique key, foreign key? can u teach me
in simple language?
Answer Posted / kavita ahuja
primary key is an attribute or set of attribute of a table
that uniquely identified each record whereas foreign key is
the attribute that is used to create relation between two
tables.and the values for foreign key must match with the
values of primary key to which it refers.
| Is This Answer Correct ? | 21 Yes | 12 No |
Post New Answer View All Answers
aht is the difference b/w network & hierarchial & relational dbms????
What does currency type mean in database?
What are different types of data models available? Explain with example?
WHAT IS THE PURPOSE OF TESTING INTEGRITY OF THE UNIVERSE?
Write a query to retrieve for many to many relationships?
What is a database lookup?
I have single column in a file. Input 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 my output is file 1 have 1,2,3,10,11,12 file 2 have 4,5,6,13,14,15 and file 3 have 7,8,9 how is it possible in datastage
london school of science and technology has a software development unit,known as lsst solutions,which is responsible for developing and implementing software throughout the collegejames tristan keeps a record of all student details in the college including student id,name,and start date and phone number.There are many courses offered by LSST. For example MBA, MSc, BSc, BABS, DF, English etc. Each course id identified by course id, description, duration. Each course has many semesters. Each semester takes place during a particular term. Semester details and term details are required to be stored in the database. Each course has many subjects and same subject may be offered in many courses. For each subject many details such as Subject code, name, result and attendance are required to be stored. Every subject has mainly two assessments; one assignment and one exam. Assignment is worth of 30% and exam 70% respectively. You have been appointed as a database designer. Your job is to provide ERD with all possible entities and relationships. Note: Feel free to make necessary assumptions 3: Assignment Tasks. 1. Create an ERD for the above problem 2. Translate the ERD to Relational Data model (RDM) 3. Implement the RDM by creating the tables 4. Populate the database with your own data. 5. SQL Queries for the following tasks a. List all student details in each course along with course details b. Count and display number of students in each course. c. List student name, course name, assessment description, marks for all students.
What is a reference table in database?
If the master device is full, how do I make the master database bigger?
Explain entity set?
Why merge statement is used inside the database?
How is image stored in database?
What are database connection details?
What is odm database?