This project is a project from the "Databases" course, designed to learn basic functions of database management system, on design of relational databases and querying them in SQL, on transactional processing, data security nad related problems
The police keep records of crimes. Includes: crimes, offenders, (if detected), police officers.
The database is to contain information about crimes,criminals,police officers and data about them, which are needed for the daily maintenance of the database.
The customer requires that the database contains such data:
- Information about the crime
- Type of crime (e.g. theft, robbery, murder, etc.)
- Date and time of the crime (if known)
- Place of the crime (address) -Description of the crime
- Information about suspects
- Personal information of the suspects (name,surname,date of birth,photo,PESEL,fingerprints)
- Description of appearance(height,weight,eye color,tattoos,piercings,hair color(if any))
- Contact information( address,phone number,email address)
- Information about the victims
- Personal information( name,surname,date of birth,photo,PESEL,fingerprints)
- Contact information( address, phone number, email address)
- Evidence and material evidence
- Protected evidence (e.g., objects, DNA samples, weapons, etc.).
- Witness accounts and testimonies
- Video or audio recordings of links to the crime
- Information about detainees and arrests
- Date and location of suspect's arrest
- Reason for arrest
- Information about the legal status of the suspect
- Information about police officers, conducted arrest
- Personal information (name,surname,date of birth,photo,PESEL,title)
- Procedural information
- Criminal case number
- Names and contact information of officers in charge of the investigation
- Information about court proceedings, including court dates and sentences
- Information on previous crimes and criminal record of suspects.
- Information on the relationship between different crimes and suspects (crime pattern analysis).
- Crime statistics that can help analyze trends and allocate police resources.
- Information on searches for people who are suspected of committing crimes or violating the law.
- Information on confiscated property or assets related to the crime.
SELECT.sql - a file that contains example queries for the database and the solutions for these queries
Feel free to contribute to the project by submitting issues or pull requests. Your input is highly appreciated.
This project is licensed under the MIT License - see the LICENSE file for details.