Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
147 changes: 88 additions & 59 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Project Name
> Outline a brief description of your project.
> Live demo [_here_](https://www.example.com). <!-- If you have the project hosted somewhere, include the link here. -->
# BUDT 703 DBMS Project - Home Too Realty
> This project focuses on providing Home Too with prospecting and operational business solutions. The new database management system will help customers to save time and find the perfect rental options that fit their requirements. The real estate business involves maintaining a lot of data and involves a lot of information exchange. Out DBMS allows faster search, customer match and deal closure.

## Table of Contents
* [General Info](#general-information)
Expand All @@ -9,32 +8,44 @@
* [Screenshots](#screenshots)
* [Setup](#setup)
* [Usage](#usage)
* [Project Status](#project-status)
* [Room for Improvement](#room-for-improvement)
* [Acknowledgements](#acknowledgements)
* [Contact](#contact)
<!-- * [License](#license) -->
* [References](#references)




## General Information
- Provide general information about your project here.
- What problem does it (intend to) solve?
- What is the purpose of your project?
- Why did you undertake it?
<!-- You don't have to answer all the questions - just the ones relevant to your project. -->
- The purpose of the new DBMS is to help Home Too agency keep track of all the prospects’, customers’, listings’ data and manage the transactions efficiently. This system will help students/users look for properties to rent depending on their needs. This system covers all the functionality related to tenancy management, marketing, managing all the transactional information, legal documents and reports.
- The scope of the project contains following features:
Offered database management system focused on computerizing and automating the business processes of Home Too
It provides a platform for efficient data management, maintenance and access
It is simple to learn and includes user friendly graphical interface
It is a networked DBMS, therefore it allows an access to large amount of data (useful for information sharing between realtors)
Allows search requirements to meet the needs of prospective customers
Allows filtering data and sorting depending on a potential client’s requirements




## Technologies Used
- Tech 1 - version 1.0
- Tech 2 - version 2.0
- Tech 3 - version 3.0
- Microsoft SQL Server Management Studio
- Lucidchart


## Features
List the ready features here:
- Awesome feature 1
- Awesome feature 2
- Awesome feature 3
- The scope of the project contains following features:
- Offered database management system focused on computerizing and automating the business processes of Home Too
- It provides a platform for efficient data management, maintenance and access
- It is simple to learn and includes user friendly graphical interface
- It is a networked DBMS, therefore it allows an access to large amount of data (useful for information sharing between realtors)
- Allows search requirements to meet the needs of prospective customers
- Allows filtering data and sorting depending on a potential client’s requirements
- Business Description:

- The following describes “Home Too” organization:

- The real estate agency lists properties for lease and provides the reviews from the previous tenants. Each property may have several reviews or not have at all (if it was recently listed).
- The reviewers (previous or current customers of Home Too) could leave at least one review per property. Each property includes the property details such as unique property ID, square footage, number of bedrooms, number of bathrooms and the availability of parking options. Each property details should list the accessibility features such as the nearest hospital, restaurant, and the nearest metro station.



## Screenshots
Expand All @@ -43,47 +54,65 @@ List the ready features here:


## Setup
What are the project requirements/dependencies? Where are they listed? A requirements.txt or a Pipfile.lock file perhaps? Where is it located?

Proceed to describe how to install / setup one's local environment / get started with the project.
You'll need Microsoft SQL Server Management Studio to make changes to the data or draw outcomes from the given information. All the sql files, presentation and erd are in the same folder as this file.


## Usage
How does one go about using it?
Provide various use cases and code examples here.

`write-your-code-here`


## Project Status
Project is: _in progress_ / _complete_ / _no longer being worked on_. If you are no longer working on it, provide reasons why.


## Room for Improvement
Include areas you believe need improvement / could be improved. Also add TODOs for future development.

Room for improvement:
- Improvement to be done 1
- Improvement to be done 2

To do:
- Feature to be added 1
- Feature to be added 2


## Acknowledgements
Give credit here.
- This project was inspired by...
- This project was based on [this tutorial](https://www.example.com).
- Many thanks to...


## Contact
Created by [@flynerdpl](https://www.flynerd.pl/) - feel free to contact me!

- I've added a few cases how you can use the data to acquire some particular information.
--What are the cheapest available units in the College Park area?
CREATE VIEW propertyLowestPrice AS(
SELECT propertyId, propertyType, propertyPrice
FROM Property p
WHERE zip IN ('20740')
ORDER BY propertyPrice)

--What are the properties, their zip, review comments, rating and review date
with all the properties more than 3.5 rating. Sort them by date
CREATE VIEW allDetails AS(
SELECT p.propertyId, p. propertyPrice, p.zip, r. reviewComments, r. rating, r.
reviewDate
FROM Property p, Review r
WHERE p. propertyId = r. reviewPropertyId AND r. rating >= 3.5
ORDER BY r. reviewDate)

-- Which properties have 2 bedrooms and a parking space unavailable?
CREATE VIEW specificProperty AS(
SELECT propertyDetailsId, propertyId, noOfbedrooms, parkingSpaceAvailable
FROM propertyDetails
WHERE noOfbedrooms = 2 AND parkingSpaceAvailable = 'Y'
ORDER BY propertyId)

-- What are the properties that can access to a near metro station
CREATE VIEW metroAccessibility AS(
SELECT a.accessibilityId, a.propertyId
FROM Accessibility a
WHERE a.nearestMetroStation is NOT NULL
ORDER BY accessibilityId)

-- What are the maximum and minimum proce of properties in Zip 20740?
CREATE VIEW minMaxPrice AS(
SELECT p. propertyId, p. propertyPrice, p. propertyType, 'Highest Price' AS MonthlyRent
FROM Property p
WHERE zip IN ('20740')
AND p. propertyType = 'townhouse'
AND p.propertyPrice = (
SELECT MIN (p. propertyPrice)
FROM Property p)
ORDER BY 1

UNION
SELECT p. propertyId, p. propertyPrice, p. propertyType, 'Lowest Price'
FROM Property p
WHERE zip IN ('20740')
AND p. propertyType = 'townhouse'
AND p.propertyPrice = (
SELECT MAX(p. propertyPrice)
FROM Property p)
ORDER BY p.propertyPrice ASC)


## References
- https://www.apartments.com/
- https://www.zillow.com/

<!-- Optional -->
<!-- ## License -->
<!-- This project is open source and available under the [... License](). -->

<!-- You don't have to include all sections - just the one's relevant to your project -->