Online hotel reservation platforms have completely transformed the travel business by offering a quick and easy way to book lodging. Forecasts reveal a notable upward trend for the worldwide online hotel reservation industry, highlighting the noteworthy economic impact of these platforms. One of the leaders in this field, Airbnb, provides a variety of unusual lodging options, including houseboats, historic homes, and treehouses. Personalized interactions and recommendations are fostered by facilitating direct connection between hosts and visitors. Streamlining data analysis and reporting using a data mart will improve strategic planning and decision-making in the online hotel booking industry. The goal of this project is to create a data mart that draws inspiration from the unique features and design concepts of Airbnb.
The following tables have been revised in the finalization phase to reflect the database current state. You can also find the Excel file in the documents folder. The script airbnb_data_dictionary.xlsx can be run in a query to output the table.
A. Requirement:
This database requires MySQL Workbench to be set up. From the official page that corresponds to your operating system, download and install it: https://dev.mysql.com/downloads/workbench/
B. Getting Your Database Connected:
- Locate the Connections area of MySQL Workbench, which is normally located on the left side of the interface.
- Press the button with the addition sign (+) to establish a new connection.
- Enter the hostname, username, and password for your connection.
- Give your connection a catchy name
- Make sure the data is correct by choosing "Test Connection." After the validation is complete, click "OK" to save the configuration.Installing and setting up the project:
c. Installing and setting up the project:
- Go to https://github.com/CRMawande/airbnb_datamart_iubh.git to access the project's GitHub repository.
- To obtain the project files in ZIP format, go to the "Code" section and choose "Download ZIP."
- Extract the ZIP file after downloading, then go to the Finalization directory.
- Look for the airbnb_schema.sql file. Run this file in your MySQL environment to create the Airbnb database schema. (Execution instructions may differ based on how your MySQL Workbench is configured.)
- Now you can interact with the 'airbnb' and see the tables/views under airbnb > Schemas > Tables and/or Views.
- E.g. see the View of PropertyPerformanceView under Views.sql
The SQL Datamart Airbnb project has been an invaluable learning experience. Through this project, I have gained a solid understanding of how to effectively JOIN tables using primary and foreign keys, design many-to-many tables for lookups, and utilize SELECT, GROUP BY, and other SQL statements. This hands-on experience has provided me with the skills necessary to construct a robust, real-world database using advanced database systems.