Drop files here

SQL upload ( 0 ) x -

Page-related settings Click on the bar to scroll to top of page
Press Ctrl+Enter to execute query Press Enter to execute query
ascending
descending
Order:
Debug SQL
Count
Execution order
Time taken
Order by:
Group queries
Ungroup queries
Collapse Expand Show trace Hide trace Count : Time taken :
Bookmarks
Refresh
Add
No bookmarks
Add bookmark
Options
Set default





Collapse Expand Requery Edit Explain Profiling Bookmark Query failed Database : Queried time :
Untitled *
v Show/Hide tables list View in fullscreen Add tables from other databases New page Open page Save page Save page as Delete pages Create table Create relationship Choose column to display Reload Help Angular links / Direct links Snap to grid v Small/Big All Toggle small/big Toggle relationship lines Export schema > Move Menu > Pin text
Number of tables: 0
v cooperative administrator
* position : enum('Treasurer','Asst. Treasurer')
* cycle_id : year(4)
* user_id : int(10) unsigned
v cooperative closing
* closing_id : year(4)
* closing_date : date
* interest : decimal(50,2)
* processing_fee : decimal(30,2)
v cooperative cycle
* cycle_id : year(4)
* membership_fee : smallint(6)
* interest_rate : decimal(3,2)
* min_processing_fee : smallint(6)
v cooperative data_subject
* data_subject_id : int(10) unsigned
* fname : varchar(50)
* mname : varchar(50)
* lname : varchar(50)
* contact_no : char(11)
* bday : date
* phase_block_lot : varchar(20)
v cooperative fund
* closing_id : year(4)
* amount : decimal(50,2)
* claimed_by : int(10) unsigned
* date_time_claimed : datetime
* proof : char(15)
* purpose : varchar(2000)
v cooperative guarantor
* guarantor_id : int(10) unsigned
v cooperative guarantor_cycle_map
* guarantor_id : int(10) unsigned
* cycle_id : year(4)
* number_of_share : tinyint(4)
v cooperative interest
* interest_id : int(10) unsigned
* interest_date : date
* amount : decimal(9,2)
* status : enum('Paid','Pending','Overdue','Late')
* loan_id : int(10) unsigned
v cooperative interest_payment
* interest_payment_id : int(10) unsigned
* amount : decimal(9,2)
* date_time_paid : datetime
* interest_id : int(10) unsigned
v cooperative loan
* loan_id : int(10) unsigned
* borrower_id : int(10) unsigned
* guarantor_id : int(10) unsigned
* loan_date_time : datetime
* principal : decimal(10,2)
* status : enum('Active','Closed')
* proof : char(10)
* collateral : char(10)
* cycle_id : year(4)
v cooperative penalty
* penalty_id : int(10) unsigned
* penalty_date : date
* amount : decimal(9,2)
* status : enum('Paid','Pending')
* interest_id : int(10) unsigned
* loan_id : int(10) unsigned
v cooperative penalty_payment
* penalty_payment_id : int(10) unsigned
* amount : decimal(9,2)
* date_time_paid : datetime
* penalty_id : int(10) unsigned
v cooperative principal_payment
* principal_payment_id : int(10) unsigned
* amount : decimal(10,2)
* date_time_paid : datetime
* loan_id : int(10) unsigned
v cooperative processing_fee
* processing_fee_id : int(10) unsigned
* processing_fee_date : date
* amount : decimal(8,2)
* status : enum('Paid','Pending')
* loan_id : int(10) unsigned
v cooperative processing_fee_payment
* processing_fee_payment_id : int(10) unsigned
* amount : decimal(8,2)
* date_time_paid : datetime
* processing_fee_id : int(10) unsigned
v cooperative roi
* amount : decimal(50,2)
* status : enum('Pending','Claimed')
* date_time_claimed : datetime
* proof : char(10)
* guarantor_id : int(10) unsigned
* closing_id : year(4)
v cooperative salary
* amount : decimal(50,2)
* status : enum('Pending','Claimed')
* date_time_claimed : datetime
* proof : char(10)
* guarantor_id : int(10) unsigned
* closing_id : year(4)
v cooperative user
* user_id : int(10) unsigned
* email : varchar(100)
* password : varchar(255)
* username : char(8)
* profile_picture : char(12)
Create relationship
FOREIGN KEY
on delete
on update
Delete relationship