Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please help me solve question 1 to 4 using Microsoft SQL Server Management studi

ID: 3909131 • Letter: P

Question

Please help me solve question 1 to 4 using Microsoft SQL Server Management studio, kindly run the query so l can see the output. Thank you

Column Type Length DecimaullsDescription placesa allowed? DECIMAL4 DECIMAL 2 CHAR Condo ID (primary key) Location number Unit number in condo 0 CONDO ID LOCATION NUM UNIT NUM SQR FT building DECIMAL Size of condo unit in square feet BDRMS DECIMAL2 Number of bedrooms in condo BATHS DECIMAL2 0 Number of bathrooms in condo Monthly condo fee Number of condo owner CONDO FEE DECIMAL6 OWNER NUM CHAR FIGURE 3-40 Table layouts for the Solmaris Condominium Group database Creating Tables Solmaris Condominium Group Use SOL to complete the following exercises. a table named VACATION UNIT. The table has the same structure as the ? Create CONDO UNIT table shown in Figure 3-40 except the CONDO ID, LOCATION NUM, and CONDO FEE columns should use the NUMBER data type. Execute the command to describe the layout and characteristics of the VACATION UNIT table 2. Add the following record to the VACATION UNIT table: condo ID: 20: location number: 2 unit number: A04; square feet: 1680; bedrooms: 3: bathrooms: 3: condo fee: 775, and owner number: BL720. Display the contents of the VACATION UNIT table, 3. Delete the VACATION UNIT table. Run the script file for the Solmaris Condominium Group database to create the five tables and add records to the tables, Be sure to select the script file for the particular DBMS that you are using (Oracle, SQL Server, or Access). (Note: If you do not have the script files for this text, ask your instructor for assistance.) Confirm that you have created the tables correctly by describing each table and compar- ing the results to Figure 3-40 5. 5. Confim that you have added all data corecty by viewing the data in each table and comparing the results to Figures 1-9 through 1-13 in Chapter 1

Explanation / Answer

Answers)

Q 1,2,3)

create table VACATION_UNIT(
CONDO_ID NUMBER(4) PRIMARY KEY,
LOCATION_NUM NUMBER(2),
UNIT_NUM CHAR (3),
SQR_FT DECIMAL(5),
BDRMS DECIMAL(2),
BATHS DECIMAL(2),
CONDO_FEE NUMBER(6,2),
OWNER_NUM CHAR(5)
);

INSERT INTO VACATION_UNIT VALUES(20,2,'A04',1680,3,3,775,'BL720');

SELECT * FROM VACATION_UNIT;

Output:
20|2|A04|1680|3|3|775|BL720

DROP TABLE VACATION_UNIT;

Q 4,5,6 ) There is no data regarding these questions. Script is missing.