what is primary key,unique key, foreign key? can u teach me
in simple language?
Answer Posted / mohamed ibrahim
Primary Key :- Is a unique identify a table data,it is avoid null and duplicate value.In a table we can assign single primary key.
Unique Key :- Is same as primary key but it allow single null value and avoid duplicate value.In a table we can assign more than one no of unique key.
Foreign Key :- Is a connect two table from a single column name.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
How default key is different from primary key?
What is the function of cluster index?
How to do Stored procedure testing? Who does this testing (Developer or tester)?
Is data lake a database?
What is difference between clustered, non-clustered and unique index?
Source File: Target EMPNO, SAL Empno, Format 101, 1000 101, 1000 101, 1100 101, 1000, 1100 101, 1000 101, 1000, 1100, 1000 101, 10000 101, 1000, 1100, 1000, 10000 102, 1100 102, 1100 102, 1300 102, 1100, 1300 102, 1200 102, 1100, 1300, 1200 102, 1500 102, 1100, 1300, 1200, 1500 How can i get that output using datastage(ETL) tool
can we delete autodiff back up that we have set through sql server agent.
What is odm in database?
What are different types of joins used in?
WHAT IS NEED BY METION DATFMT AND TIMFMT IN H-SEPICITION IN RPGLE?
Explain storage manager?
What is a super key?
Given a table of Player which contains Sno and player name, write a query which finds all possible Table Tennis doubles pairings.
List various types of log-based recovery in DBMS.
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.