Create a table with foreign key

Assignment Help Database Management System
Reference no: EM131658873

QUESTIONS

Q1. What is Tables?

Q2. What is Primary Key?

Q3. What is Foreign Key?

Q4. Create a Table with foreign key
Table Artist
The Artist have fields has ArtistID and ArtistName. Here the ArtistID is the Primary Key.
Table Tracks
The Track have attribute as TrackID, Title, ArtistID. Here, TrackID is the Primary Key and we are taking ArtistID as a Foreign key from the Artist Table.

Q5. Insert the data into the tables Artists and Tracks.

Tutorial Question

Create a Database called UNIVERSITY. Inside that make a Table called Student and Course
1. Create a Table STUDENT with fields StudentID, Name, Address, Birthdate, Phone Number.
2. Create a Table COURSE with fields CourseNo, CourseName, CourseLevel.

Add an appropriate Primary Key and Foreign Key.
After you have created both the table insert 5 values in each of the table.

Verified Expert

This task is based on the database management system. The task is supplied with the table definition for the University database. The database contains two tables Student and Course. Both tables are provided with the definition STUDENT table contains following fields StudentID, Name, Address, Birthdate, Phone Number. COURSE table contains fields CourseNo, CourseName, CourseLevel. A create table query is constructed with appropriate primary and foreign keys. The query is executed and the output is documented.

Reference no: EM131658873

Questions Cloud

Normal distributions for the hdl cholesterol levels : Probability Distributions for HDL Cholesterol Levels Studies have shown that vigorous exercise may increase HDL cholesterol levels in blood
Develop a community-oriented policing policy : Create a narrated PowerPoint presentation that contains at least 10 slides of content.
List five issues you would make as a result of the tragedy : Assume you have been assigned the task of investigating this incident. List at least five issues or recommendations you would make as a result of this tragedy.
Describe conidiospores and sporangiospores : Describe conidiospores and sporangiospores. Describe what type of growth you observed in each of your substrates
Create a table with foreign key : IT DA 1001 - Create a Table with foreign key and What is Tables and What is Foreign Key? Create a Database called UNIVERSITY
What steps mathis take before entering into an agreement : When Peter Mathis learned that a former employee had filed a complaint alleging that Ready Delivery, his Albuquerque-based freight hauling business.
Cumulative distribution to calculate the probability : Use the cumulative distribution to calculate the probability that more than 1 but less than 5 patients were seen in fewer than 15 mins, P(1
What bacterial structures make it possible to package : What bacterial structures make it possible to package and sell these bacteria? For what purpose is each product used
Write a short document on ion exchange technology : Write a short document on ion exchange technology. What is it? How does it work? What is it used for? Why is it used?

Reviews

inf1658873

12/28/2017 3:50:48 AM

Am grateful for ExpertsMind, they are doing a great work, helping students to tackle some difficult questions. They should continue their Good work but not only in bringing solutions questions but also to Carry students along that is in area of tutorial. Thanks a lot.

Write a Review

Database Management System Questions & Answers

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd