Based on this implemented physical schema diagram create database. Also, use Data Manipulation Language (DML) to add
Fantastic news! We've Found the answer you've been seeking!
Question:
Based on this implemented physical schema diagram create database. Also, use Data Manipulation Language (DML) to add (insert), delete, and modify (update) data.
--Selecting the database
Use EZRentalDB
Testing Tables.
--Tables used and order to test
This table are parent #1
1. DriverLicense
2. CustomerUserAccount
3. CreditCardMerchant
4. Company
5. Discount
6. EzPlus
tables with associate child table or supertype paren table
7. Customer
8. CreditCard
9. CorporateCustomer
10. RetailCustomer
11. Customer_CreditCard
Please help me create all this 11database
Transcribed Image Text:
Credit Card Merchant * 8 Column Name Data Type Allow Nulls MerchantCode tinyint MerchantName varchar(50) ko Credit Card * 8 Column Name Credit CardNumber CreditOwnerName Credit CardIssuing Company MerchantCode ExpDate AddressLine1 AddressLine2 City StateCode ZipCode Country Credit Card Limit Credit CardBalance Activation Status Data Type varchar(16) varchar(50) varchar(50) Email tinyint date varchar(50) varchar(50) varchar(30) char(2) varchar(10) varchar(50) decimal(8, 2) decimal(8, 2) bit Allow Nulls CustomerUser Account Column Name UserAccountID Username UserPassword ✓ Data Type uniqueidentifi... varchar(20) varchar(20) varchar(100) O Allow Nulls Customer Credit Card * Column Name Data Type Credit CardNumb.... varchar(16) CustomerlD DriverLicense * 8 Column Name Data Type DriverLicenseNumber varchar(25) DriverLicenseExpDa... date char(2) DriverLicense State Discount int Column Name DiscountID Discount Code Discount CodeDe.... Allow Nulls Data Type int Allow Nulls varchar(10) varchar(150) O Customer * RetailCustomer * Column Name CustomerlD DiscountID EZPlusID Allow Nulls Column Name CustomerlD FirstName LastName BirthDate AddressLine1 AddressLine2 City StateCode ZipCode Country Phone Email DriverLicenseNumber CustomerUser AccountID CustomerType Data Type int int int EZPlus * 8 Allow Nulls ✓ Column Name int Data Type varchar(50) varchar(50) date varchar(50) varchar(50) varchar(30) char(2) varchar(10) varchar(50) varchar(20) varchar(100) varchar(25) uniqueidentifi... bit loo oo 8 Data Type int EZPlusID EZPlusRewards Code EZPlusRewards EarnedPoi.... bigint varchar(13) Allow Nulls ✓ ✓ Allow Nulls ✓ to USState 8 Column Name StatelD StateCode StateName Company Data Type tinyint char(2) varchar(30) Column Name Company D CompanyName AddressLine1 AddressLine2 City StateCode ZipCode Country Data Type smallint varchar(50) varchar(50) varchar(50) varchar(30) char(2) varchar(10) varchar(50) varchar(50) varchar(10) varchar(100) CorporateDiscountPercentageR... decimal(3, 2) Allow Nulls CompanyRepName ContactPhone ContactEmail Country Column Name Data Type tinyint Country D CountryCode2Ch... char(2) CountryCode3Ch... char(3) CountryName varchar(100) Allow Nulls ✓ to Allow Nullst CorporateCustomer * Column Name CustomerlD Company D Data Type Allow Nulls. int smallint Credit Card Merchant * 8 Column Name Data Type Allow Nulls MerchantCode tinyint MerchantName varchar(50) ko Credit Card * 8 Column Name Credit CardNumber CreditOwnerName Credit CardIssuing Company MerchantCode ExpDate AddressLine1 AddressLine2 City StateCode ZipCode Country Credit Card Limit Credit CardBalance Activation Status Data Type varchar(16) varchar(50) varchar(50) Email tinyint date varchar(50) varchar(50) varchar(30) char(2) varchar(10) varchar(50) decimal(8, 2) decimal(8, 2) bit Allow Nulls CustomerUser Account Column Name UserAccountID Username UserPassword ✓ Data Type uniqueidentifi... varchar(20) varchar(20) varchar(100) O Allow Nulls Customer Credit Card * Column Name Data Type Credit CardNumb.... varchar(16) CustomerlD DriverLicense * 8 Column Name Data Type DriverLicenseNumber varchar(25) DriverLicenseExpDa... date char(2) DriverLicense State Discount int Column Name DiscountID Discount Code Discount CodeDe.... Allow Nulls Data Type int Allow Nulls varchar(10) varchar(150) O Customer * RetailCustomer * Column Name CustomerlD DiscountID EZPlusID Allow Nulls Column Name CustomerlD FirstName LastName BirthDate AddressLine1 AddressLine2 City StateCode ZipCode Country Phone Email DriverLicenseNumber CustomerUser AccountID CustomerType Data Type int int int EZPlus * 8 Allow Nulls ✓ Column Name int Data Type varchar(50) varchar(50) date varchar(50) varchar(50) varchar(30) char(2) varchar(10) varchar(50) varchar(20) varchar(100) varchar(25) uniqueidentifi... bit loo oo 8 Data Type int EZPlusID EZPlusRewards Code EZPlusRewards EarnedPoi.... bigint varchar(13) Allow Nulls ✓ ✓ Allow Nulls ✓ to USState 8 Column Name StatelD StateCode StateName Company Data Type tinyint char(2) varchar(30) Column Name Company D CompanyName AddressLine1 AddressLine2 City StateCode ZipCode Country Data Type smallint varchar(50) varchar(50) varchar(50) varchar(30) char(2) varchar(10) varchar(50) varchar(50) varchar(10) varchar(100) CorporateDiscountPercentageR... decimal(3, 2) Allow Nulls CompanyRepName ContactPhone ContactEmail Country Column Name Data Type tinyint Country D CountryCode2Ch... char(2) CountryCode3Ch... char(3) CountryName varchar(100) Allow Nulls ✓ to Allow Nullst CorporateCustomer * Column Name CustomerlD Company D Data Type Allow Nulls. int smallint
Expert Answer:
Answer rating: 100% (QA)
This step creates DriverLicense Table Explanation for step 1 Use db command is to enter the database you want to use For creating a database use Creat... View the full answer
Related Book For
Systems analysis and design
ISBN: 978-0136089162
8th Edition
Authors: kenneth e. kendall, julie e. kendall
Posted Date:
Students also viewed these databases questions
-
Liquidity Analysis The following selected information is taken from the financial statements of Arnn Company for its most recent year of operations: Beginning balances: Inventory $200,000 Accounts...
-
The following additional information is available for the Dr. Ivan and Irene Incisor family from Chapters 1-5. Ivan's grandfather died and left a portfolio of municipal bonds. In 2012, they pay Ivan...
-
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...
-
A block of ice with mass 2.00 kg slides 0.750 m down an inclined plane that slopes downward at an angle of 36.9 below the horizontal. If the block of ice starts from rest, what is its final speed?...
-
The current in a 100-mH inductor is i(t)=2sin(377t)A. Find (a) the voltage across the inductor and (b) the expression for the energy stored in the element
-
Refer to the bond details in Problem 14-4B. Required 1. Compute the total bond interest expense over the bonds' life. 2. Prepare an effective interest amortization table like the one in Exhibit 14B.2...
-
True or False: Broken rotor bars are just as easily identified at rest as during full-load operation of the motor.
-
Par Corporation acquired an 80 percent interest in Sin Corporation on January 1, 2011, for $108,000 cash, when Sin's capital stock was $100,000 and retained earnings were $10,000. The difference...
-
The tape in a videotape cassette has a total length 278 m and can play for 2.1 h. As the tape starts to play, the full reel has an outer radius of 48 mm and an inner radius of 12 mm. At some point...
-
The G. Saussy Manufacturing company is putting out four new electronic components. Each of Saussy's four plants has the capacity to add one more product to its current line of electronic parts. The...
-
On April 1, 2013, Smithers Sales Inc., a Canadian company, issued a purchase order to Portland Suppliers Limited, an American company, for the purchase of some merchandise. The merchandise was to be...
-
This is a role play activity to be conducted in groups of three to four, with all participants playing the role of the relevant stakeholders. Lead a meeting with relevant stakeholders to gain their...
-
1. A piece of machinery depreciates by $144,000 per year. In 2020, the equipment is worth $400,000. (a) (3 pts) Assuming the depreciation is linear, write a linear equation in point - slope form that...
-
The company is contemplating a new investment in a ski resort. The initial capital investment will be $330,000, with additional investments of $20,000 in year 1, $20,000 in year 2, $60,000 in year 3,...
-
You're prepared to make monthly payments of $320, beginning at the end of this month, into an account that pays 9 percent interest compounded monthly. How many payments will you have made when your...
-
Gator Shoes, Incorporated, manufactures a line of stylish waterproof footwear. The following transactions relate to investments in common stock during 2024. March 1 Purchases 2,200 shares (10%) of...
-
Question 1 Question 2 Question 3 Propose a synthesis of meta-bromofluorobenzene starting with benzene. Br F Propose OscerSyn Synthesis 1 Propose a curved arrow mechanism for the following retro aldol...
-
Vince, Inc. has developed and patented a new laser disc reading device that will be marketed internationally. Which of the following factors should Vince consider in pricing the device? I. Quality of...
-
Examine the interview structure presented in the sequencing of the following questions: 1. How long have you been in this position? 2. What are your key responsibilities? 3. What reports do you...
-
List three ways to use completed data flow diagrams.
-
The following are part numbers: 238902, 238933, 239402, 235693, 235405, 239204, 240965. Develop a check digit for them using 1-3-1-3-1 multipliers and modulus 11. Use the method presented in this...
-
The balance sheet of Dot Co. for the year ended 31 December 20X2, together with comparative figures for the previous year, is shown in Figure 13.7 (all figures :000). You are informed that there were...
-
Under IFRS, a group is a set of entities that the parent: A. Significantly influences. B. Owns a majority of the voting power in. C. Jointly controls. D. Controls.
-
Under IFRS 10, control over an entity means: A. Power to govern its financial and operating policies. B. The right to appoint the majority of its Board members. C. Power to affect the variable...
Study smarter with the SolutionInn App