Using any dialect of SQL, please complete the following SEVEN (7) parts: i) ii) iii) iv)...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Using any dialect of SQL, please complete the following SEVEN (7) parts: i) ii) iii) iv) v) vi) vii) Draw an entity-relationship diagram of the identified tables (3NF) in Question 2. Using the CREATE TABLE in any dialect of SQL, create the corresponding SQL tables. Indicate the primary key, foreign keys, column names, constraints etc. (5 marks) Insert (at least) 10 sample rows for each identified table. (5 marks) List the names and phone numbers of all clients who have a credit limit > $1,000 in alphabetical order. (5 marks) Find the total price (before tax) for all the treatments for a particular client. (5 marks) List the cheapest treatment price for a particular client. List the clients and their pet(s) sorted by client's gender. (5 marks) (5 marks) (5 marks) Using any dialect of SQL, please complete the following SEVEN (7) parts: i) ii) iii) iv) v) vi) vii) Draw an entity-relationship diagram of the identified tables (3NF) in Question 2. Using the CREATE TABLE in any dialect of SQL, create the corresponding SQL tables. Indicate the primary key, foreign keys, column names, constraints etc. (5 marks) Insert (at least) 10 sample rows for each identified table. (5 marks) List the names and phone numbers of all clients who have a credit limit > $1,000 in alphabetical order. (5 marks) Find the total price (before tax) for all the treatments for a particular client. (5 marks) List the cheapest treatment price for a particular client. List the clients and their pet(s) sorted by client's gender. (5 marks) (5 marks) (5 marks)
Expert Answer:
Related Book For
Modern Systems Analysis And Design
ISBN: 9780134204925
8th Edition
Authors: Joseph Valacich, Joey George
Posted Date:
Students also viewed these programming questions
-
what opportunities for skills development exist in care services? What should you do to develop your skills?
-
Narbona, CPA, is reviewing controls over cash received through a bank night depository. which controls would she find most important? a. Responsibility is rotated for processing night depository...
-
Scott incorporates his sole proprietorship as Superior Corporation and transfers its assets to Superior in exchange for all 100 shares of Superior stock and four $7,500 interest-bearing notes. The...
-
Supercavitation is a propulsion technology for undersea vehicles that can greatly increase their speed. It occurs above approximately 50 meters per second, when pressure drops sufficiently to allow...
-
The treasurer of Westmark Industrial, Inc., a wholesale distributor of household appliances, wants to estimate his companys cash balances for the first three months of 2015. Using the information...
-
Abbott Industries is a well-known supplier of pharmaceuticals worldwide. Founded by Dr. Wallace Abbott, the company was incorporated in 1900 after he had been developing and making pharmaceuticals...
-
The following are situations that may violate the Code of Professional Conduct. Assume, in each case, that the CPA is a partner. 1. Contel, CPA, advertises in the local paper that his firm does the...
-
A certain substance has a mass per mole of 53 g/mol. When 312 J is added as heat to a 26.0 g sample, the sample's temperature rises from 21.0C to 45.0C. What are the (a) specific heat and (b) molar...
-
Jiminys Cricket Farm issued a 30-year, 4.5 percent semiannual bond three years ago. The bond currently sells for 104 percent of its face value. The companys tax rate is 22 percent. a. What is the...
-
Chandrima was thinking of a way out desperately. At least she needs a break! For the last two weeks, she has been working hard to settle some office issues and worked up to ten-eleven hours a day in...
-
The table below shows recent worldwide market shares of producers of inkjet? printers: Firm Share of Worldwide Market Sales Brother 44?% Canon 1616 Dell 66 Epson 1818 ?Hewlett-Packard 4141 Lexmark...
-
How do individuals gain social capital through networks (see Gaining Power Through Social Networks); how do these translate into power and influence? Explain the dependence model. Describe the five...
-
How do you believe Tony Hsieh's life experiences and employment history influence his philosophies surrounding work environments? How would you describe the culture first created at Zappos? According...
-
A professor is expected to cover 16 chapters in an operations management text each semester. The class is scheduled to meet for one hour on Mondays, Wednesdays, and Fridays for 15 weeks. Because of...
-
What is demand forecasting? What are the importance and benefits of forecasting customer demand? Provide an overview of how a bank and a furniture manufacturer would forecast demand? In your response...
-
Leader Inc. has the following foreign financing: The company borrowed US$350,000, for five years, when US$1.00 = Cdn$1.02. The exchange rate at the end of the first year is US$1.00 = Cdn$1.03, and at...
-
1. Which of the four major types of information systems do you think is the most valuable to an organization? 2. How do you critically associate the ideas of business agility and business efficiency...
-
Talk with people you know who use computers in their work. Ask them to get copies of the user documentation they rely on for the systems they use at work. Analyze the documentation. Would you...
-
An auto rental company wants to develop an automated system that can handle car reservations, customer billing, and car auctions. Usually a customer reserves a car, picks it up, and then returns it...
-
You have been a user of many information systems including, possibly, a class registration system at your school, a bank account system, a word-processing system, and an airline reservation system....
-
Martinez Company incurred the following costs during 2015 in connection with its research and development activities. Instructions Compute the amount to be reported as research and development...
-
For each of the following studies, identify the type of graph (histogram, time series graph, or scatter diagram) that would be the most appropriate. (You can use more than one graph of each type, for...
-
Explain the difference between artistic-related intangible assets and contract-related intangible assets.
Study smarter with the SolutionInn App