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

  Develop a table that identifies top threats to new customer

Develop a table that identifies the top threats to the new customer rewards program at Kudler Fine Foods in preparation for your final report. Include the likely vulnerabilities each threat might exploit.

  Explain techniques for distributed data placement

Create a diagram using Visio, Microsoft Paint, or other graphical creation utility of your choosing to illustrate the diagrams supporting your conclusion. Note: The graphically depicted solution is not included in the required page length.

  Write a reflective essay regarding the systems development

Write a reflective essay regarding the systems development environment and the sources of software. This assignment covers Course Objective 5.

  Entity relationship in a physical relational database design

How would you represent a one-to-many strong entity relationship in a physical relational database design?

  Database for a library of a university

Each book has different ID (also each book of same name and same author (but number of copies) will have different ID), author name and any additional information you think it is important

  Modify oracle table data using the correct sql statements

modify oracle table data using the correct sql statements. you must create the statements in oracle by using the

  Design class of Student that has given Data members

Design a class of Student that has the attributes:· Data members: name, Mathematics score and Chemistry score - Declare an array of three elements.

  Describes the basics of database planning

The link should be to an informative piece that describes the basics of one of the following: Database Planning, SQL, Access 2010, Queries and Form Design

  Write the vbscript code

Write the VBScript code that initializes all the variables in the numArray(100) to the value numArray(0)=1, numArray(1)=2,&#-123;,numArray(100)=101

  Draw an entity-relationship diagram

Identify the entities, attributes, relationships, and cardinality ratios from the description Draw an entity-relationship diagram (using Sybase Power Designer) showing the items you identified.

  Write methods for outlier detection

Exceptions in credit card transactions can aid us fraudulent use of credit card. Suggest two methods for outlier detection.

  Describe main entities or objects of the business function

Describe the main entities or objects of the business function/operation. Specify the attribute that would be the primary key for each entity.

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