Generate the tables attach the primary key and foreign key

Assignment Help Computer Engineering
Reference no: EM132903

Question

Customer
ID (Number) Name (Varchar)
10001 Akash Kumar
10002 Vijay Chopra
10003 Rahul Mishra

Transactions

ID (Number) CUST_ID(Number) STOCK_SYM(varchar) TYPE(varchar) QTY(Number)
1 10001 UNITECH BUY 100
2 10003 UNITECH SELL 200
3 10001 DLF BUY 500
4 10001 DELTA BUY 450
5 10002 DLF BUY 110


1. Generate the tables exposed above and use the data types mentioned in the column headers. The underlined columns in every table are the primary keys for that table. CUST_ID in transactions table is foreign key and references ID in Customer table. Please attach the primary key and foreign key constraints as well.

2. Populate table with the data shown above.

3. Show all the stocks, their quantity and the quantity invested in those stocks for ‘Akash Kumar' (You don't know his customer ID)

 

Reference no: EM132903

Questions Cloud

Generate a work breakdown structure code : Generate a Work Breakdown Structure Code
Generate a class name that starts with string variable : Generate a class Name that starts with string variable
Create a shadow on phrase html5 canvas : Create a shadow on phrase "HTML5 Canvas"
Accessing and reading a mouse : Accessing and reading a mouse
Generate the tables attach the primary key and foreign key : Generate the tables attach the primary key and foreign key
List the steps involved for conducting a job analysis : List the steps involved for conducting a Job Analysis Define Job Analysis and describe the uses of Job Analysis in a HRM context
Program of five to ten lines in assembly language : Program of five to ten lines in assembly language
Program for dissimilar values for real numbers : Program for dissimilar values for real numbers
Identify and discuss four characteristics of events : Identify and discuss four characteristics of events Using as example an event of your choice, elaborate on the benefits the event brings, in social and economic terms

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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