5. Use XAMPP Control Panel (My SQL) to answer the following questions. Write SQL queries statement and also provide the output of each query to answer the following questions. (Screenshot the interface in MySQL that show SQL statement and output for each question). Table 1: PROPERTY pid 1 2 3 4 5000000 price 100000 3400000 1200000 owner Alia Bob Bob Marsha srqFeet 560 2000 1200 800 Table 2: MAINTENANCE mid company Name M1 Super Plumbing M2 Super Plumbing M3 South Carpeting Kim empName George Dave managed By Property Pete Park Property Property Pete Fancy Property date 2020-12-12 2020-11-11 2021-01-01 location Lake View Serene Serene Lake View type Sink Toilet Pid 1 1 Painting 4 a) Create the above two table. Use any suitable data type and assign a primary key and foreign key.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
5. Use XAMPP Control Panel (My SQL) to answer the following questions. Write SQL
queries statement and also provide the output of each query to answer the following
questions. (Screenshot the interface in MySQL that show SQL statement and output for
each question).
Table 1: PROPERTY
pid
1
2
3
4
price
100000
3400000
1200000
5000000
owner
Alia
Bob
Bob
Marsha
Table 2: MAINTENANCE
mid company Name
M1 Super Plumbing
M2 Super Plumbing
M3 South Carpeting Kim
srqFeet
560
2000
1200
800
empName
George
Dave
I
managed By
Property Pete
Park Property
Property Pete
Fancy Property
location
Lake View
Serene
Serene
Lake View
date
Pid
2020-12-12
1
2020-11-11
1
2021-01-01 Painting 4
type
Sink
Toilet
a) Create the above two table. Use any suitable data type and assign a primary key and
foreign key.
Transcribed Image Text:5. Use XAMPP Control Panel (My SQL) to answer the following questions. Write SQL queries statement and also provide the output of each query to answer the following questions. (Screenshot the interface in MySQL that show SQL statement and output for each question). Table 1: PROPERTY pid 1 2 3 4 price 100000 3400000 1200000 5000000 owner Alia Bob Bob Marsha Table 2: MAINTENANCE mid company Name M1 Super Plumbing M2 Super Plumbing M3 South Carpeting Kim srqFeet 560 2000 1200 800 empName George Dave I managed By Property Pete Park Property Property Pete Fancy Property location Lake View Serene Serene Lake View date Pid 2020-12-12 1 2020-11-11 1 2021-01-01 Painting 4 type Sink Toilet a) Create the above two table. Use any suitable data type and assign a primary key and foreign key.
Expert Solution
steps

Step by step

Solved in 2 steps with 4 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY