Question: Write out the SQL query: 1. Table: airbnb_guests, airbnb_hosts a) Match hosts and guests such that they are both of same gender and same nationality

Write out the SQL query:

1. Table: airbnb_guests, airbnb_hosts

a) Match hosts and guests such that they are both of same gender and same nationality

Write out the SQL query: 1. Table: airbnb_guests,

Write out the SQL query: 1. Table: airbnb_guests,

airbnb guest guest_id nationality gender age 0 Mali M 21 1 China F 23 2 Mali 27 24 3 Australia F 4 Luxembourg M 19 5 USA F 33 6 Brazil M . 32 7 China M . 27 8 Australia M 37 9 USA M 29 10 Luxembourg F 28 11 Brazil 24 airbnb host host_id nationality gender age 0 USA M 28 1 USA F 29 2 China 31 3 China M 24 4 Mali M 30 5 Mali F 30 6 Luxembourg M 25 7 Luxembourg F 25 8 Australia F 33 9 Australia M 35 10 Brazil M 39 11 Brazil F 42

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related General Management Questions!