You are on page 1of 22

CREATE table "USER_LOGIN" (

"USER_NAME" VARCHAR2(4000),
"PASSWORD" VARCHAR2(4000),
constraint "USER_LOGIN_PK" primary key ("USER_NAME")
)
/
Popat bana diya 420 tera
3ry4thui45w 3ycufvy3fy5c2gyfuchby843wuy
CREATE table "NEW_REGISTRATION" (
"NAME"
VARCHAR2(4000) NOT NULL,
"USER_NAME"
VARCHAR2(4000),
"PASSWORD"
VARCHAR2(4000) NOT NULL,
"SECRET_QUESTION" VARCHAR2(4000) NOT NULL,
"ANSWER"
VARCHAR2(4000) NOT NULL,
"ADDRESS"
VARCHAR2(4000) NOT NULL,
"PIN_CODE"
VARCHAR2(4000) NOT NULL,
"CONTACT_NO." VARCHAR2(4000) NOT NULL,
"E-MAIL_ID"
VARCHAR2(4000),
"VILLAGE"
VARCHAR2(4000),
"TALUK"
VARCHAR2(4000),
"DISTRICT"
VARCHAR2(4000) NOT NULL,
"STATE"
VARCHAR2(4000) NOT NULL,
"GENDER"
VARCHAR2(4000) NOT NULL,
constraint "NEW_REGISTRATION_PK" primary key ("USER_NAME")
)
/

CREATE table "CRIME_REPORT" (


"CRIME_NO."
VARCHAR2(4000) NOT NULL,
"USER_ID"
VARCHAR2(4000),
"NAME_OF_INFORMATION" VARCHAR2(4000) NOT NULL,
"DETAILS_OF_SUSPECT" VARCHAR2(4000) NOT NULL,
"DISCRIPTION"
VARCHAR2(4000) NOT NULL,
"DATED"
DATE,
constraint "CRIME_REPORT_PK" primary key ("USER_ID")
)

CREATE table "COMPLAINT_REGISTER" (


"COMPLAINT_NO."
VARCHAR2(4000) NOT NULL,
"USER_ID"
VARCHAR2(4000),
"DETAILS_OF_SUSPECT" VARCHAR2(4000) NOT NULL,
"DESCRIPTION"
VARCHAR2(4000) NOT NULL,
"DATE_OF_CRIME"
DATE NOT NULL,
"TYPES_OF_CRIME" VARCHAR2(4000) NOT NULL,
"OTHERS"
VARCHAR2(4000),
constraint "COMPLAINT_REGISTER_PK" primary key ("USER_ID")
)
/

CREATE table "PRISONERS_REGISTER" (


"PRISONER_NO."
VARCHAR2(4000) NOT NULL,
"CHARGE_SHEET_NO." VARCHAR2(4000),
"NICKNAME"
VARCHAR2(4000) NOT NULL,
"TYPE_OF_CRIME"
VARCHAR2(4000) NOT NULL,
"CIVIL"
VARCHAR2(4000) NOT NULL,
"FAMILY_MEMBERS"
VARCHAR2(4000) NOT NULL,
"IDENTIFICATION_MARKS" VARCHAR2(4000) NOT NULL,
"HEIGHT"
VARCHAR2(4000) NOT NULL,
"WEIGHT"
VARCHAR2(4000) NOT NULL,
"COLOUR"
VARCHAR2(4000) NOT NULL,
constraint "PRISONERS_REGISTER_PK" primary key ("CHARGE_SHEET_NO.")
)
/

CREATE table "CRIMINAL_REGISTER" (


"CRIMINAL_NO." VARCHAR2(4000),
"NAME"
VARCHAR2(4000) NOT NULL,
"NICKNAME" VARCHAR2(4000) NOT NULL,
"AGE"
VARCHAR2(4000) NOT NULL,
"OCCUPATION" VARCHAR2(4000) NOT NULL,
"CRIME_TYPE" VARCHAR2(4000) NOT NULL,
"ADDRESS"
VARCHAR2(4000) NOT NULL,
"MOST_YES" VARCHAR2(4000),
"MOST_NO"
VARCHAR2(4000),
constraint "CRIMINAL_REGISTER_PK" primary key ("CRIMINAL_NO.")
)
/

CREATE table "HISTORY_SHEET" (


"PRISONER"
VARCHAR2(4000) NOT NULL,
"CRIME_NO."
VARCHAR2(4000),
"TYPE_OF_CRIME"
VARCHAR2(4000) NOT NULL,
"DATE_OF_OCCURRENCE" DATE NOT NULL,
"PLACE_OF_OCCURRENCE" VARCHAR2(4000) NOT NULL,
"BRIEF_OF_CASE"
VARCHAR2(4000) NOT NULL,
constraint "HISTORY_SHEET_PK" primary key ("CRIME_NO.")
)
/

CREATE table "FEEDBACK" (

"NAME"
VARCHAR2(4000) NOT NULL,
"EMAIL"
VARCHAR2(4000),
"MESSAGE" VARCHAR2(4000) NOT NULL,
constraint "FEEDBACK_PK" primary key ("EMAIL")
)
/

CREATE table "CRIME_STATUS" (


"CRIME_NO." VARCHAR2(4000),
"VIEW_STATUS" VARCHAR2(4000) NOT NULL,
constraint "CRIME_STATUS_PK" primary key ("CRIME_NO.")
)
/

CREATE table "COMPLAINT_STATUS" (


"COMPLAINT_NO." VARCHAR2(4000),
"VIEW_STATUS" VARCHAR2(4000) NOT NULL,
constraint "COMPLAINT_STATUS_PK" primary key ("COMPLAINT_NO.")
)
/

CREATE table "FIR" (


"DISTRICT"
VARCHAR2(4000) NOT NULL,
"DATE_OF_CRIME"
DATE NOT NULL,
"TIME"
TIMESTAMP NOT NULL,
"TYPE_OF_INFORMATION"
VARCHAR2(4000) NOT NULL,
"PLACE_OF_OCCURENCE"
VARCHAR2(4000) NOT NULL,

"FOREIGN/LOCAL"
VARCHAR2(4000) NOT NULL,
"ACT"
VARCHAR2(4000) NOT NULL,
"FIR_NO."
VARCHAR2(4000),
"SECTION"
VARCHAR2(4000) NOT NULL,
"DIARY_REF._NO"
VARCHAR2(4000) NOT NULL,
"INFORMANT_ADDRESS"
VARCHAR2(4000) NOT NULL,
"PASSPORT_NO."
VARCHAR2(4000),
"COMPLAINT_NO."
VARCHAR2(4000) NOT NULL,
"POLICE"
VARCHAR2(4000) NOT NULL,
"RECEIVED_TIME"
TIMESTAMP NOT NULL,
"INFORMATION_RECEIVED" VARCHAR2(4000) NOT NULL,
"DISTANCE_FROM_POLICE_ST." VARCHAR2(4000) NOT NULL,
constraint "FIR_PK" primary key ("FIR_NO.")
)
/

CREATE table "MOST_WANTED" (


"NAME"
VARCHAR2(4000) NOT NULL,
"AGE"
VARCHAR2(4000) NOT NULL,
"ADDRESS"
VARCHAR2(4000) NOT NULL,
"TYPE_OF_CRIME" VARCHAR2(4000) NOT NULL,
"COMPLEXION"
VARCHAR2(4000) NOT NULL,
"HAIR"
VARCHAR2(4000) NOT NULL,
"BUILT"
VARCHAR2(4000) NOT NULL,
"PASSPORT_NO." VARCHAR2(4000),
"CASE_DESCRIPTION" VARCHAR2(4000) NOT NULL
)
/

CREATE table "MISSING_PERSON" (

"FIR_NO."
VARCHAR2(4000),
"DISTRICT"
VARCHAR2(4000) NOT NULL,
"NAME_OF_POLICE_STATION" VARCHAR2(4000) NOT NULL,
"DATE_OF_MISSING"
DATE NOT NULL,
"DATE_OF_REPORT"
DATE NOT NULL,
"SEX"
VARCHAR2(4000) NOT NULL,
"AGE"
VARCHAR2(4000) NOT NULL,
"COMPLEX"
VARCHAR2(4000) NOT NULL,
"HEIGHT"
VARCHAR2(4000) NOT NULL,
"ID_MARK"
VARCHAR2(4000) NOT NULL,
"APPARELS"
VARCHAR2(4000) NOT NULL,
"NAME_ADDRESS"
VARCHAR2(4000) NOT NULL,
constraint "MISSING_PERSON_PK" primary key ("FIR_NO.")
)
/
CREATE table "USER_LOGIN" (
"USER_NAME" VARCHAR2(4000),
"PASSWORD" VARCHAR2(4000),
constraint "USER_LOGIN_PK" primary key ("USER_NAME")
)
/

CREATE table "NEW_REGISTRATION" (


"NAME"
VARCHAR2(4000) NOT NULL,
"USER_NAME"
VARCHAR2(4000),
"PASSWORD"
VARCHAR2(4000) NOT NULL,
"SECRET_QUESTION" VARCHAR2(4000) NOT NULL,
"ANSWER"
VARCHAR2(4000) NOT NULL,
"ADDRESS"
VARCHAR2(4000) NOT NULL,
"PIN_CODE"
VARCHAR2(4000) NOT NULL,
"CONTACT_NO." VARCHAR2(4000) NOT NULL,
"E-MAIL_ID"
VARCHAR2(4000),
"VILLAGE"
VARCHAR2(4000),
"TALUK"
VARCHAR2(4000),
"DISTRICT"
VARCHAR2(4000) NOT NULL,
"STATE"
VARCHAR2(4000) NOT NULL,
"GENDER"
VARCHAR2(4000) NOT NULL,
constraint "NEW_REGISTRATION_PK" primary key ("USER_NAME")
)

CREATE table "CRIME_REPORT" (


"CRIME_NO."
VARCHAR2(4000) NOT NULL,
"USER_ID"
VARCHAR2(4000),
"NAME_OF_INFORMATION" VARCHAR2(4000) NOT NULL,
"DETAILS_OF_SUSPECT" VARCHAR2(4000) NOT NULL,
"DISCRIPTION"
VARCHAR2(4000) NOT NULL,
"DATED"
DATE,
constraint "CRIME_REPORT_PK" primary key ("USER_ID")
)
/

CREATE table "COMPLAINT_REGISTER" (


"COMPLAINT_NO."
VARCHAR2(4000) NOT NULL,
"USER_ID"
VARCHAR2(4000),
"DETAILS_OF_SUSPECT" VARCHAR2(4000) NOT NULL,
"DESCRIPTION"
VARCHAR2(4000) NOT NULL,
"DATE_OF_CRIME"
DATE NOT NULL,
"TYPES_OF_CRIME" VARCHAR2(4000) NOT NULL,
"OTHERS"
VARCHAR2(4000),
constraint "COMPLAINT_REGISTER_PK" primary key ("USER_ID")
)
/

CREATE table "PRISONERS_REGISTER" (


"PRISONER_NO."
VARCHAR2(4000) NOT NULL,
"CHARGE_SHEET_NO." VARCHAR2(4000),
"NICKNAME"
VARCHAR2(4000) NOT NULL,
"TYPE_OF_CRIME"
VARCHAR2(4000) NOT NULL,
"CIVIL"
VARCHAR2(4000) NOT NULL,
"FAMILY_MEMBERS"
VARCHAR2(4000) NOT NULL,
"IDENTIFICATION_MARKS" VARCHAR2(4000) NOT NULL,
"HEIGHT"
VARCHAR2(4000) NOT NULL,
"WEIGHT"
VARCHAR2(4000) NOT NULL,
"COLOUR"
VARCHAR2(4000) NOT NULL,
constraint "PRISONERS_REGISTER_PK" primary key ("CHARGE_SHEET_NO.")
)
/

CREATE table "CRIMINAL_REGISTER" (


"CRIMINAL_NO." VARCHAR2(4000),
"NAME"
VARCHAR2(4000) NOT NULL,
"NICKNAME" VARCHAR2(4000) NOT NULL,
"AGE"
VARCHAR2(4000) NOT NULL,
"OCCUPATION" VARCHAR2(4000) NOT NULL,
"CRIME_TYPE" VARCHAR2(4000) NOT NULL,
"ADDRESS"
VARCHAR2(4000) NOT NULL,
"MOST_YES" VARCHAR2(4000),
"MOST_NO"
VARCHAR2(4000),
constraint "CRIMINAL_REGISTER_PK" primary key ("CRIMINAL_NO.")
)
/

CREATE table "HISTORY_SHEET" (


"PRISONER"
VARCHAR2(4000) NOT NULL,
"CRIME_NO."
VARCHAR2(4000),
"TYPE_OF_CRIME"
VARCHAR2(4000) NOT NULL,
"DATE_OF_OCCURRENCE" DATE NOT NULL,
"PLACE_OF_OCCURRENCE" VARCHAR2(4000) NOT NULL,

"BRIEF_OF_CASE"
VARCHAR2(4000) NOT NULL,
constraint "HISTORY_SHEET_PK" primary key ("CRIME_NO.")
)
/

CREATE table "FEEDBACK" (


"NAME"
VARCHAR2(4000) NOT NULL,
"EMAIL"
VARCHAR2(4000),
"MESSAGE" VARCHAR2(4000) NOT NULL,
constraint "FEEDBACK_PK" primary key ("EMAIL")
)
/

CREATE table "CRIME_STATUS" (


"CRIME_NO." VARCHAR2(4000),
"VIEW_STATUS" VARCHAR2(4000) NOT NULL,
constraint "CRIME_STATUS_PK" primary key ("CRIME_NO.")
)
/

CREATE table "COMPLAINT_STATUS" (


"COMPLAINT_NO." VARCHAR2(4000),
"VIEW_STATUS" VARCHAR2(4000) NOT NULL,

constraint "COMPLAINT_STATUS_PK" primary key ("COMPLAINT_NO.")


)
/

CREATE table "FIR" (


"DISTRICT"
VARCHAR2(4000) NOT NULL,
"DATE_OF_CRIME"
DATE NOT NULL,
"TIME"
TIMESTAMP NOT NULL,
"TYPE_OF_INFORMATION"
VARCHAR2(4000) NOT NULL,
"PLACE_OF_OCCURENCE"
VARCHAR2(4000) NOT NULL,
"FOREIGN/LOCAL"
VARCHAR2(4000) NOT NULL,
"ACT"
VARCHAR2(4000) NOT NULL,
"FIR_NO."
VARCHAR2(4000),
"SECTION"
VARCHAR2(4000) NOT NULL,
"DIARY_REF._NO"
VARCHAR2(4000) NOT NULL,
"INFORMANT_ADDRESS"
VARCHAR2(4000) NOT NULL,
"PASSPORT_NO."
VARCHAR2(4000),
"COMPLAINT_NO."
VARCHAR2(4000) NOT NULL,
"POLICE"
VARCHAR2(4000) NOT NULL,
"RECEIVED_TIME"
TIMESTAMP NOT NULL,
"INFORMATION_RECEIVED" VARCHAR2(4000) NOT NULL,
"DISTANCE_FROM_POLICE_ST." VARCHAR2(4000) NOT NULL,
constraint "FIR_PK" primary key ("FIR_NO.")
)
/

CREATE table "MOST_WANTED" (


"NAME"
VARCHAR2(4000) NOT NULL,
"AGE"
VARCHAR2(4000) NOT NULL,
"ADDRESS"
VARCHAR2(4000) NOT NULL,
"TYPE_OF_CRIME" VARCHAR2(4000) NOT NULL,
"COMPLEXION"
VARCHAR2(4000) NOT NULL,

"HAIR"
VARCHAR2(4000) NOT NULL,
"BUILT"
VARCHAR2(4000) NOT NULL,
"PASSPORT_NO." VARCHAR2(4000),
"CASE_DESCRIPTION" VARCHAR2(4000) NOT NULL
)
/

CREATE table "MISSING_PERSON" (


"FIR_NO."
VARCHAR2(4000),
"DISTRICT"
VARCHAR2(4000) NOT NULL,
"NAME_OF_POLICE_STATION" VARCHAR2(4000) NOT NULL,
"DATE_OF_MISSING"
DATE NOT NULL,
"DATE_OF_REPORT"
DATE NOT NULL,
"SEX"
VARCHAR2(4000) NOT NULL,
"AGE"
VARCHAR2(4000) NOT NULL,
"COMPLEX"
VARCHAR2(4000) NOT NULL,
"HEIGHT"
VARCHAR2(4000) NOT NULL,
"ID_MARK"
VARCHAR2(4000) NOT NULL,
"APPARELS"
VARCHAR2(4000) NOT NULL,
"NAME_ADDRESS"
VARCHAR2(4000) NOT NULL,
constraint "MISSING_PERSON_PK" primary key ("FIR_NO.")
)
/
CREATE table "USER_LOGIN" (
"USER_NAME" VARCHAR2(4000),
"PASSWORD" VARCHAR2(4000),
constraint "USER_LOGIN_PK" primary key ("USER_NAME")
)
/

CREATE table "NEW_REGISTRATION" (

"NAME"
VARCHAR2(4000) NOT NULL,
"USER_NAME"
VARCHAR2(4000),
"PASSWORD"
VARCHAR2(4000) NOT NULL,
"SECRET_QUESTION" VARCHAR2(4000) NOT NULL,
"ANSWER"
VARCHAR2(4000) NOT NULL,
"ADDRESS"
VARCHAR2(4000) NOT NULL,
"PIN_CODE"
VARCHAR2(4000) NOT NULL,
"CONTACT_NO." VARCHAR2(4000) NOT NULL,
"E-MAIL_ID"
VARCHAR2(4000),
"VILLAGE"
VARCHAR2(4000),
"TALUK"
VARCHAR2(4000),
"DISTRICT"
VARCHAR2(4000) NOT NULL,
"STATE"
VARCHAR2(4000) NOT NULL,
"GENDER"
VARCHAR2(4000) NOT NULL,
constraint "NEW_REGISTRATION_PK" primary key ("USER_NAME")
)
/

CREATE table "CRIME_REPORT" (


"CRIME_NO."
VARCHAR2(4000) NOT NULL,
"USER_ID"
VARCHAR2(4000),
"NAME_OF_INFORMATION" VARCHAR2(4000) NOT NULL,
"DETAILS_OF_SUSPECT" VARCHAR2(4000) NOT NULL,
"DISCRIPTION"
VARCHAR2(4000) NOT NULL,
"DATED"
DATE,
constraint "CRIME_REPORT_PK" primary key ("USER_ID")
)
/

CREATE table "COMPLAINT_REGISTER" (


"COMPLAINT_NO."
VARCHAR2(4000) NOT NULL,
"USER_ID"
VARCHAR2(4000),
"DETAILS_OF_SUSPECT" VARCHAR2(4000) NOT NULL,
"DESCRIPTION"
VARCHAR2(4000) NOT NULL,
"DATE_OF_CRIME"
DATE NOT NULL,

"TYPES_OF_CRIME" VARCHAR2(4000) NOT NULL,


"OTHERS"
VARCHAR2(4000),
constraint "COMPLAINT_REGISTER_PK" primary key ("USER_ID")
)
/

CREATE table "PRISONERS_REGISTER" (


"PRISONER_NO."
VARCHAR2(4000) NOT NULL,
"CHARGE_SHEET_NO." VARCHAR2(4000),
"NICKNAME"
VARCHAR2(4000) NOT NULL,
"TYPE_OF_CRIME"
VARCHAR2(4000) NOT NULL,
"CIVIL"
VARCHAR2(4000) NOT NULL,
"FAMILY_MEMBERS"
VARCHAR2(4000) NOT NULL,
"IDENTIFICATION_MARKS" VARCHAR2(4000) NOT NULL,
"HEIGHT"
VARCHAR2(4000) NOT NULL,
"WEIGHT"
VARCHAR2(4000) NOT NULL,
"COLOUR"
VARCHAR2(4000) NOT NULL,
constraint "PRISONERS_REGISTER_PK" primary key ("CHARGE_SHEET_NO.")
)
/

CREATE table "CRIMINAL_REGISTER" (


"CRIMINAL_NO." VARCHAR2(4000),
"NAME"
VARCHAR2(4000) NOT NULL,
"NICKNAME" VARCHAR2(4000) NOT NULL,
"AGE"
VARCHAR2(4000) NOT NULL,
"OCCUPATION" VARCHAR2(4000) NOT NULL,
"CRIME_TYPE" VARCHAR2(4000) NOT NULL,
"ADDRESS"
VARCHAR2(4000) NOT NULL,
"MOST_YES" VARCHAR2(4000),
"MOST_NO"
VARCHAR2(4000),

constraint "CRIMINAL_REGISTER_PK" primary key ("CRIMINAL_NO.")


)
/

CREATE table "HISTORY_SHEET" (


"PRISONER"
VARCHAR2(4000) NOT NULL,
"CRIME_NO."
VARCHAR2(4000),
"TYPE_OF_CRIME"
VARCHAR2(4000) NOT NULL,
"DATE_OF_OCCURRENCE" DATE NOT NULL,
"PLACE_OF_OCCURRENCE" VARCHAR2(4000) NOT NULL,
"BRIEF_OF_CASE"
VARCHAR2(4000) NOT NULL,
constraint "HISTORY_SHEET_PK" primary key ("CRIME_NO.")
)
/

CREATE table "FEEDBACK" (


"NAME"
VARCHAR2(4000) NOT NULL,
"EMAIL"
VARCHAR2(4000),
"MESSAGE" VARCHAR2(4000) NOT NULL,
constraint "FEEDBACK_PK" primary key ("EMAIL")
)
/

CREATE table "CRIME_STATUS" (


"CRIME_NO." VARCHAR2(4000),
"VIEW_STATUS" VARCHAR2(4000) NOT NULL,
constraint "CRIME_STATUS_PK" primary key ("CRIME_NO.")
)
/

CREATE table "COMPLAINT_STATUS" (


"COMPLAINT_NO." VARCHAR2(4000),
"VIEW_STATUS" VARCHAR2(4000) NOT NULL,
constraint "COMPLAINT_STATUS_PK" primary key ("COMPLAINT_NO.")
)
/

CREATE table "FIR" (


"DISTRICT"
VARCHAR2(4000) NOT NULL,
"DATE_OF_CRIME"
DATE NOT NULL,
"TIME"
TIMESTAMP NOT NULL,
"TYPE_OF_INFORMATION"
VARCHAR2(4000) NOT NULL,
"PLACE_OF_OCCURENCE"
VARCHAR2(4000) NOT NULL,
"FOREIGN/LOCAL"
VARCHAR2(4000) NOT NULL,
"ACT"
VARCHAR2(4000) NOT NULL,
"FIR_NO."
VARCHAR2(4000),
"SECTION"
VARCHAR2(4000) NOT NULL,
"DIARY_REF._NO"
VARCHAR2(4000) NOT NULL,
"INFORMANT_ADDRESS"
VARCHAR2(4000) NOT NULL,
"PASSPORT_NO."
VARCHAR2(4000),
"COMPLAINT_NO."
VARCHAR2(4000) NOT NULL,
"POLICE"
VARCHAR2(4000) NOT NULL,
"RECEIVED_TIME"
TIMESTAMP NOT NULL,
"INFORMATION_RECEIVED" VARCHAR2(4000) NOT NULL,
"DISTANCE_FROM_POLICE_ST." VARCHAR2(4000) NOT NULL,
constraint "FIR_PK" primary key ("FIR_NO.")
)

CREATE table "MOST_WANTED" (


"NAME"
VARCHAR2(4000) NOT NULL,
"AGE"
VARCHAR2(4000) NOT NULL,
"ADDRESS"
VARCHAR2(4000) NOT NULL,
"TYPE_OF_CRIME" VARCHAR2(4000) NOT NULL,
"COMPLEXION"
VARCHAR2(4000) NOT NULL,
"HAIR"
VARCHAR2(4000) NOT NULL,
"BUILT"
VARCHAR2(4000) NOT NULL,
"PASSPORT_NO." VARCHAR2(4000),
"CASE_DESCRIPTION" VARCHAR2(4000) NOT NULL
)
/

CREATE table "MISSING_PERSON" (


"FIR_NO."
VARCHAR2(4000),
"DISTRICT"
VARCHAR2(4000) NOT NULL,
"NAME_OF_POLICE_STATION" VARCHAR2(4000) NOT NULL,
"DATE_OF_MISSING"
DATE NOT NULL,
"DATE_OF_REPORT"
DATE NOT NULL,
"SEX"
VARCHAR2(4000) NOT NULL,
"AGE"
VARCHAR2(4000) NOT NULL,
"COMPLEX"
VARCHAR2(4000) NOT NULL,
"HEIGHT"
VARCHAR2(4000) NOT NULL,
"ID_MARK"
VARCHAR2(4000) NOT NULL,
"APPARELS"
VARCHAR2(4000) NOT NULL,
"NAME_ADDRESS"
VARCHAR2(4000) NOT NULL,
constraint "MISSING_PERSON_PK" primary key ("FIR_NO.")
)

/
CREATE table "USER_LOGIN" (
"USER_NAME" VARCHAR2(4000),
"PASSWORD" VARCHAR2(4000),
constraint "USER_LOGIN_PK" primary key ("USER_NAME")
)
/

CREATE table "NEW_REGISTRATION" (


"NAME"
VARCHAR2(4000) NOT NULL,
"USER_NAME"
VARCHAR2(4000),
"PASSWORD"
VARCHAR2(4000) NOT NULL,
"SECRET_QUESTION" VARCHAR2(4000) NOT NULL,
"ANSWER"
VARCHAR2(4000) NOT NULL,
"ADDRESS"
VARCHAR2(4000) NOT NULL,
"PIN_CODE"
VARCHAR2(4000) NOT NULL,
"CONTACT_NO." VARCHAR2(4000) NOT NULL,
"E-MAIL_ID"
VARCHAR2(4000),
"VILLAGE"
VARCHAR2(4000),
"TALUK"
VARCHAR2(4000),
"DISTRICT"
VARCHAR2(4000) NOT NULL,
"STATE"
VARCHAR2(4000) NOT NULL,
"GENDER"
VARCHAR2(4000) NOT NULL,
constraint "NEW_REGISTRATION_PK" primary key ("USER_NAME")
)
/

CREATE table "CRIME_REPORT" (


"CRIME_NO."
VARCHAR2(4000) NOT NULL,
"USER_ID"
VARCHAR2(4000),
"NAME_OF_INFORMATION" VARCHAR2(4000) NOT NULL,
"DETAILS_OF_SUSPECT" VARCHAR2(4000) NOT NULL,
"DISCRIPTION"
VARCHAR2(4000) NOT NULL,
"DATED"
DATE,

constraint "CRIME_REPORT_PK" primary key ("USER_ID")


)
/

CREATE table "COMPLAINT_REGISTER" (


"COMPLAINT_NO."
VARCHAR2(4000) NOT NULL,
"USER_ID"
VARCHAR2(4000),
"DETAILS_OF_SUSPECT" VARCHAR2(4000) NOT NULL,
"DESCRIPTION"
VARCHAR2(4000) NOT NULL,
"DATE_OF_CRIME"
DATE NOT NULL,
"TYPES_OF_CRIME" VARCHAR2(4000) NOT NULL,
"OTHERS"
VARCHAR2(4000),
constraint "COMPLAINT_REGISTER_PK" primary key ("USER_ID")
)
/

CREATE table "PRISONERS_REGISTER" (


"PRISONER_NO."
VARCHAR2(4000) NOT NULL,
"CHARGE_SHEET_NO." VARCHAR2(4000),
"NICKNAME"
VARCHAR2(4000) NOT NULL,
"TYPE_OF_CRIME"
VARCHAR2(4000) NOT NULL,
"CIVIL"
VARCHAR2(4000) NOT NULL,
"FAMILY_MEMBERS"
VARCHAR2(4000) NOT NULL,
"IDENTIFICATION_MARKS" VARCHAR2(4000) NOT NULL,
"HEIGHT"
VARCHAR2(4000) NOT NULL,
"WEIGHT"
VARCHAR2(4000) NOT NULL,
"COLOUR"
VARCHAR2(4000) NOT NULL,
constraint "PRISONERS_REGISTER_PK" primary key ("CHARGE_SHEET_NO.")
)
/

CREATE table "CRIMINAL_REGISTER" (


"CRIMINAL_NO." VARCHAR2(4000),
"NAME"
VARCHAR2(4000) NOT NULL,
"NICKNAME" VARCHAR2(4000) NOT NULL,
"AGE"
VARCHAR2(4000) NOT NULL,
"OCCUPATION" VARCHAR2(4000) NOT NULL,
"CRIME_TYPE" VARCHAR2(4000) NOT NULL,
"ADDRESS"
VARCHAR2(4000) NOT NULL,
"MOST_YES" VARCHAR2(4000),
"MOST_NO"
VARCHAR2(4000),
constraint "CRIMINAL_REGISTER_PK" primary key ("CRIMINAL_NO.")
)
/

CREATE table "HISTORY_SHEET" (


"PRISONER"
VARCHAR2(4000) NOT NULL,
"CRIME_NO."
VARCHAR2(4000),
"TYPE_OF_CRIME"
VARCHAR2(4000) NOT NULL,
"DATE_OF_OCCURRENCE" DATE NOT NULL,
"PLACE_OF_OCCURRENCE" VARCHAR2(4000) NOT NULL,
"BRIEF_OF_CASE"
VARCHAR2(4000) NOT NULL,
constraint "HISTORY_SHEET_PK" primary key ("CRIME_NO.")
)
/

CREATE table "FEEDBACK" (


"NAME"
VARCHAR2(4000) NOT NULL,
"EMAIL"
VARCHAR2(4000),
"MESSAGE" VARCHAR2(4000) NOT NULL,
constraint "FEEDBACK_PK" primary key ("EMAIL")
)
/

CREATE table "CRIME_STATUS" (


"CRIME_NO." VARCHAR2(4000),
"VIEW_STATUS" VARCHAR2(4000) NOT NULL,
constraint "CRIME_STATUS_PK" primary key ("CRIME_NO.")
)
/

CREATE table "COMPLAINT_STATUS" (


"COMPLAINT_NO." VARCHAR2(4000),
"VIEW_STATUS" VARCHAR2(4000) NOT NULL,
constraint "COMPLAINT_STATUS_PK" primary key ("COMPLAINT_NO.")
)
/

CREATE table "FIR" (


"DISTRICT"
VARCHAR2(4000) NOT NULL,
"DATE_OF_CRIME"
DATE NOT NULL,
"TIME"
TIMESTAMP NOT NULL,

"TYPE_OF_INFORMATION"
VARCHAR2(4000) NOT NULL,
"PLACE_OF_OCCURENCE"
VARCHAR2(4000) NOT NULL,
"FOREIGN/LOCAL"
VARCHAR2(4000) NOT NULL,
"ACT"
VARCHAR2(4000) NOT NULL,
"FIR_NO."
VARCHAR2(4000),
"SECTION"
VARCHAR2(4000) NOT NULL,
"DIARY_REF._NO"
VARCHAR2(4000) NOT NULL,
"INFORMANT_ADDRESS"
VARCHAR2(4000) NOT NULL,
"PASSPORT_NO."
VARCHAR2(4000),
"COMPLAINT_NO."
VARCHAR2(4000) NOT NULL,
"POLICE"
VARCHAR2(4000) NOT NULL,
"RECEIVED_TIME"
TIMESTAMP NOT NULL,
"INFORMATION_RECEIVED" VARCHAR2(4000) NOT NULL,
"DISTANCE_FROM_POLICE_ST." VARCHAR2(4000) NOT NULL,
constraint "FIR_PK" primary key ("FIR_NO.")
)
/

CREATE table "MOST_WANTED" (


"NAME"
VARCHAR2(4000) NOT NULL,
"AGE"
VARCHAR2(4000) NOT NULL,
"ADDRESS"
VARCHAR2(4000) NOT NULL,
"TYPE_OF_CRIME" VARCHAR2(4000) NOT NULL,
"COMPLEXION"
VARCHAR2(4000) NOT NULL,
"HAIR"
VARCHAR2(4000) NOT NULL,
"BUILT"
VARCHAR2(4000) NOT NULL,
"PASSPORT_NO." VARCHAR2(4000),
"CASE_DESCRIPTION" VARCHAR2(4000) NOT NULL
)
/

CREATE table "MISSING_PERSON" (


"FIR_NO."
VARCHAR2(4000),
"DISTRICT"
VARCHAR2(4000) NOT NULL,
"NAME_OF_POLICE_STATION" VARCHAR2(4000) NOT NULL,
"DATE_OF_MISSING"
DATE NOT NULL,
"DATE_OF_REPORT"
DATE NOT NULL,
"SEX"
VARCHAR2(4000) NOT NULL,
"AGE"
VARCHAR2(4000) NOT NULL,
"COMPLEX"
VARCHAR2(4000) NOT NULL,
"HEIGHT"
VARCHAR2(4000) NOT NULL,
"ID_MARK"
VARCHAR2(4000) NOT NULL,
"APPARELS"
VARCHAR2(4000) NOT NULL,
"NAME_ADDRESS"
VARCHAR2(4000) NOT NULL,
constraint "MISSING_PERSON_PK" primary key ("FIR_NO.")
)
/