Drop files here

SQL upload ( 0 ) x -

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:
Options
Restore default values
Collapse Expand Requery Edit Explain Profiling 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 mybookstore author
* pNo : char(6)
* name : varchar(8)
v mybookstore browse
* mId : char(8)
* pNo : char(6)
* browseTime : timestamp
v mybookstore cart
* mId : char(8)
* cartTime : timestamp
* tNo : char(5)
v mybookstore members
* mId : char(8)
* pId : char(10)
* name : varchar(8)
* birthday : date
* phone : varchar(10)
* address : varchar(40)
* email : varchar(20)
* introducer : char(10)
v mybookstore order
* pNo : char(6)
* mId : char(8)
* cartTime : timestamp
* amount : int(11)
v mybookstore product
* pNo : char(6)
* pName : varchar(30)
* unitPrice : decimal(10,2)
* catalog : varchar(20)
v mybookstore record
* tNo : char(5)
* pNo : char(6)
* salePrice : decimal(10,2)
* amount : int(11)
v mybookstore transaction
* tNo : char(5)
* transMid : char(8)
* transTime : timestamp
* method : varchar(5)
* bankId : varchar(14)
* bankName : varchar(20)
* cardType : varchar(10)
* cardId : varchar(10)
* dueDate : date
Create relationship
FOREIGN KEY
on delete
on update
Delete relationship