Differences
This shows you the differences between two versions of the page.
— | devwiki:sql [2021/08/28 07:47] (current) – created ying | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | |||
+ | ====== SQL design tool ====== | ||
+ | |||
+ | * Entity-Relationship diagram maker: | ||
+ | * yed: http:// | ||
+ | * yED graph editor: http:// | ||
+ | * MySQL workbench: http:// | ||
+ | |||
+ | * sqlite tool in firefox | ||
+ | * https:// | ||
+ | |||
+ | * sqlite desktop tool | ||
+ | * DB Browser for SQLite: https:// | ||
+ | ====== database algebra ====== | ||
+ | |||
+ | * symbols: http:// | ||
+ | |||
+ | ====== Field Type ====== | ||
+ | |||
+ | * int: integer; length: how many digits. | ||
+ | * AI: auto incremental | ||
+ | * varchar: characters; length: how many characters to enter (128) | ||
+ | * date: enter it yourself or current timestamp | ||
+ | * float(n,d): n for length, and d for decimal point from right | ||
+ | |||
+ | Prime vs Unique: | ||
+ | * Prime for data linking | ||
+ | * Unique for indexing and searching | ||
+ | |||
+ | * BLOB type: a binary data type, " | ||
+ | * read and write photo file in DB: http:// | ||