) Construct an appropriate SQL query (Create Table) for the following i. Member ii. Make ) Use the same tables to present any ONE (1) example of how database integrity can be shown. O Construct a proper SQL query for the following questions. i. Display the names, age, date of booking of the member who have made booking and their status shows paid. ii. Find the information about the member's name, country as well as the room's number who has made the booking on 4th April 2022. iii. How many female members over the age of 26, particularly
) Construct an appropriate SQL query (Create Table) for the following i. Member ii. Make ) Use the same tables to present any ONE (1) example of how database integrity can be shown. O Construct a proper SQL query for the following questions. i. Display the names, age, date of booking of the member who have made booking and their status shows paid. ii. Find the information about the member's name, country as well as the room's number who has made the booking on 4th April 2022. iii. How many female members over the age of 26, particularly
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
I need C please

Transcribed Image Text:1) Construct an appropriate SQL query (Create Table) for the following
i. Member
ii. Make
) Use the same tables to present any ONE (1) example of how
database integrity can be shown.
) Construct a proper SQL query for the following questions.
i. Display the names, age, date of booking of the member
who have made booking and their status shows paid.
ii. Find the information about the member's name, country
as well as the room's number who has made the booking
on 4th April 2022.
iii. How many female members over the age of 26, particularly
from China as well as France, are there?

Transcribed Image Text:Take a look at these member, booking, make tables.
Table 1: Member
Last Name Gender Age
Female 25
Male
36
Female 25
Female 25
Female 36
Male
37
Male
26
Female 37
Male 24
Male
23
Member ID
1582
2587
3549
9536
2567
2154
3265
8765
3259
6540
3
4
Booking ID
1
2
5
6
First Name
Mara
Philip
Kathleen
7
8
Sau
Shanice
Chase
Tommie
Dorcas
Angel
Weston
Room
Hashimoto
Gent
Hanner
Pfau
Mccrystal
Karner
Jia
Room 15
Room 25
Room 1
Room 15
Room 5
Room 21
Room 3
Room 8
Darity
Sanor
Martina
Date
29-Dec-2020
9-Dec-2021
3-Mar-2019
4-Sep-2021
13-Feb-2021
6-May-2021
10-Nov-2020
4-Apr-2022
Table 2: Booking
Days
2
4
6
5
10
6
5
4
Table 3: Make
MemberID
3549
9536
6540
2154
2567
2154
3265
1582
Country
Uganda
France
United States
United States
China
Australia
5
6
7
8
United States
United States
France
China
Cost per day
$200.00
$80.00
$80.00
$150.00
$150.00
$80.00
$120.00
$300.00
BookingID
1
2
3
4
Joined Date
16-Aug-2020
21-May-2015
12-Dec-2017
16-Aug-2019
16-Aug-2020
1-Jan-2021
29-Dec-2018
21-May-2019
4-Mar-2019
1-Feb-2022
Status
Paid
Paid
Pending
Paid
Pending
Paid
Pending
Pending
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education