Create a view my view from equivi join of all 4 tables (School, Stu_info, Department and...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Create a view my view from equivi join of all 4 tables (School, Stu_info, Department and stu_dep) Retrieve all data from my_view Create index on student table using student name and show index detail Department - Notepad File Edit Format View Help OP_ID,SH_ID D001,SH001 D002,SH002 D003,SH001 D004,SH003 Dees,SH004 Stepl: Each table has primary key Step2: See the data properly and decide primary key and foreign key of those tables Step3; Create these tables in the sql using primary and foreign key (Use above hint to create more than one foreign key in your table) Now answer following question How many departments are there in each school How many school are there in Newark How many students are there in RBHs How many males/females are there in each school Create a view my view from equivi join of all 4 tables (School, Stu_info, Department and stu_dep) Retrieve all data from my_view Create index on student table using student name and show index detail Department - Notepad File Edit Format View Help OP_ID,SH_ID D001,SH001 D002,SH002 D003,SH001 D004,SH003 Dees,SH004 Stepl: Each table has primary key Step2: See the data properly and decide primary key and foreign key of those tables Step3; Create these tables in the sql using primary and foreign key (Use above hint to create more than one foreign key in your table) Now answer following question How many departments are there in each school How many school are there in Newark How many students are there in RBHs How many males/females are there in each school
Expert Answer:
Answer rating: 100% (QA)
It appears that youre asking for help with a SQLrelated assignment that involves several steps Lets break down the task into these main steps 1 Create ... View the full answer
Related Book For
Concepts of Database Management
ISBN: 978-1285427102
8th edition
Authors: Philip J. Pratt, Mary Z. Last
Posted Date:
Students also viewed these databases questions
-
1. How much should you deposit into an account that pays 3.6% compounded monthly if you want to have $15,000 ten years from now? Round your answer to the nearest cent. 2. An investment of $4,500 was...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Consider the following information about a university database: Each project is managed by one professor. And each project is worked on by one or more professors. but professors can manage and/or...
-
Carrie Carson: Carrie is a 60-year-old tai chi instructor living in Santa Fe, New Mexico. For many years, she practiced in Hollywood, and because of an acting background, she developed a clientele...
-
Take the drive of Prob. 175 and double the belt width. Compare Fc, Fi , F1a, F2, Ha, nf s , and dip.
-
Presented below are the computed amounts of ratios for the Village of Riverside example appearing in the chapter. * Population and property values are disclosed in the statistical section of the...
-
Brighten BBQs Pty Ltd makes large barbecues and sells them through specialist barbecue stores and outdoor furniture stores. Brighten BBQs Pty Ltd has been approached by a national department store,...
-
Peter is a professor of mathematics at State University. His lifetime avocation has been sailing, and he owns an oceangoing sailing vessel. He plans to retire in five years and spend the remainder of...
-
A diver of mass 63.3 kg stands on one end of a diving board of mass 35.9 kg, as shown in the diagram. Everything is in equilibrium (since nothing is moving). What is the magnitude of the support...
-
Pratt Corp. started the Year 2 accounting period with total assets of $30,000 cash, $12,000 of liabilities, and $5,000 of retained earnings. During the Year 2 accounting period, the Retained Earnings...
-
An automatic car wash consists of 3 processes: washing, rinsing, and drying. The first two processes are composed of 1 machine for each process, while for the drying are 3 people who do this work. On...
-
Write a computer program to calculate the chemical potential for n noninteracting electrons per unit volume at temperature, T. (b) Calculate the value of the chemical potential for the case when...
-
Discuss and evaluate Costco's mode of entry for the various markets in which it is operating. What ideal mode of entry would you recommend for new markets?
-
The following summary transactions occurred during the year for Petunia. Cash received from: Collections from customers $384,000 Interest on notes receivable 8,000 Collection of notes receivable...
-
Steven has an RRSP contribution limit of $17,120 in 2022. In February he contributes $10,000 and another $10,000 in April (30th). How much tax liability will he be subject to as a result of this...
-
What would be your chief concerns if you were a worker in a pure capitalist economy in which the government only provided the following public goods: the right of individuals to be legally free; the...
-
Give multiple ways in which Arid lands can be made more productive in any given country.
-
Assume today is the 21st of February. Using the information below, FT Extract, answer the following questions (parts i and ii). You work for a US company that is due to receive 250 million in June...
-
What is a visibility symbol in UML?
-
How do you create a computed field in an Access query?
-
Write the SQL command to revoke user Stetsons privilege.
-
Analyze the transient problem with the Dirichlet condition for a long cylinder and for a sphere. Derive expressions for the eigenfunctions, eigenconditions, and eigenvalues. Find the series...
-
Consider the problem of transient heat transfer with a constant heat source in a slab. Show that the governing equation in dimensionless form is \[\begin{equation*}\frac{\partial \theta}{\partial...
-
Eigenvalues without pain: CHEBFUN code. Eigenfunctions can be derived using the CHEBFUN with MATLAB since it has an overloaded eig function. The following code solves for the eigenfunctions of the...
Study smarter with the SolutionInn App