(c) 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?
(c) 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?
Chapter7: Developing An Excel Application
Section: Chapter Questions
Problem 3RA
Related questions
Question
![(c) 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?](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F4388e03b-31e0-4260-b705-87b40f1922f6%2F1771171b-e961-4c89-a23a-5b87d0401ab2%2F4e7rx2i_processed.png&w=3840&q=75)
Transcribed Image Text:(c) 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?
![Member ID
1582
2587
3549
9536
2567
2154
3265
8765
3259
6540
First Name
Mara
Philip
Kathleen
Sau
Shanice
Chase
Tommie
Dorcas
Angel
Weston
BookingID
1
2
3
4
5
6
7
8
Table 1: Member
Last Name Gender Age
Female 25
Male 36
Female 25
United States
Female 25 United States
Hashimoto
Gent
Hanner
Pfau
Mccrystal
Karner
Jia
Darity
Sanor
Martina
Room
Room 15
Room 25
Room 1
Room 15
Room 5
Room 21
Room 3
Room 8
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
Female
36
Male 37
Male 26
Female
37
Male
24
Male
23
4
Table 3: Make
MemberID
3549
9536
6540
2154
2567
2154
3265
1582
$150.00
$80.00
$120.00
$300.00
Country
Uganda
France
3
4
China
Australia
United States
United States
Cost per day
$200.00
$80.00
$80.00
$150.00
5
6
7
8
France
China
BookingID
1
2
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](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F4388e03b-31e0-4260-b705-87b40f1922f6%2F1771171b-e961-4c89-a23a-5b87d0401ab2%2Fjavj8qd_processed.png&w=3840&q=75)
Transcribed Image Text:Member ID
1582
2587
3549
9536
2567
2154
3265
8765
3259
6540
First Name
Mara
Philip
Kathleen
Sau
Shanice
Chase
Tommie
Dorcas
Angel
Weston
BookingID
1
2
3
4
5
6
7
8
Table 1: Member
Last Name Gender Age
Female 25
Male 36
Female 25
United States
Female 25 United States
Hashimoto
Gent
Hanner
Pfau
Mccrystal
Karner
Jia
Darity
Sanor
Martina
Room
Room 15
Room 25
Room 1
Room 15
Room 5
Room 21
Room 3
Room 8
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
Female
36
Male 37
Male 26
Female
37
Male
24
Male
23
4
Table 3: Make
MemberID
3549
9536
6540
2154
2567
2154
3265
1582
$150.00
$80.00
$120.00
$300.00
Country
Uganda
France
3
4
China
Australia
United States
United States
Cost per day
$200.00
$80.00
$80.00
$150.00
5
6
7
8
France
China
BookingID
1
2
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
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 7 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
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
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
![Principles of Information Systems (MindTap Course…](https://www.bartleby.com/isbn_cover_images/9781285867168/9781285867168_smallCoverImage.gif)
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781285867168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
![Principles of Information Systems (MindTap Course…](https://www.bartleby.com/isbn_cover_images/9781285867168/9781285867168_smallCoverImage.gif)
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781285867168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage