+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_landi_grocery_item:/tablelist/okayapi_landi_grocery_item.html


-- MySQL Table okayapi_landi_grocery_item
-- From: OkayAPI.com
CREATE TABLE `okayapi_landi_grocery_item` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `okayapi_landi_grocery_item_name` varchar(64) NULL COMMENT '',
    `okayapi_landi_grocery_item_type` varchar(64) NULL COMMENT '',
    `cat` varchar(64) NULL COMMENT '',
    `total` int(11) NULL DEFAULT '0' COMMENT '',
    `total_loss` int(11) NULL DEFAULT '0' COMMENT '',
    `total_sold` int(11) NULL DEFAULT '0' COMMENT '',
    `total_benifit` double NULL DEFAULT '0' COMMENT '',
    `avaliable` int(11) NULL DEFAULT '0' COMMENT '',
    `buy_money` double NULL COMMENT '',
    `sell_money` double NULL COMMENT '',
    KEY `okayapi_landi_grocery_item_name` (`okayapi_landi_grocery_item_name`),
    KEY `okayapi_landi_grocery_item_type` (`okayapi_landi_grocery_item_type`),
    KEY `cat` (`cat`),
    KEY `total` (`total`),
    KEY `total_loss` (`total_loss`),
    KEY `total_sold` (`total_sold`),
    KEY `total_benifit` (`total_benifit`),
    KEY `avaliable` (`avaliable`),
    KEY `buy_money` (`buy_money`),
    KEY `sell_money` (`sell_money`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'LD酒店租房管理-饮料';

After replication, you can go to the database to create the database table.


MySQL database table structure design

Displaying 1-10 of 10 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
okayapi_landi_grocery_item_namevarchar(64)Unique Index
okayapi_landi_grocery_item_typevarchar(64)
catvarchar(64)
totalint(11)00
total_lossint(11)00
total_soldint(11)00
total_benifitdouble00
avaliableint(11)00
buy_moneydouble
sell_moneydouble

Guess You Like

MySQL Table Design okayapi_landi_agent_purchase

MySQL Table Design okayapi_landi_contract_income

MySQL Table Design okayapi_landi_cost_le

MySQL Table Design okayapi_landi_daily_service

MySQL Table Design okayapi_landi_diary_reminder

MySQL Table Design okayapi_landi_drinking_water

MySQL Table Design okayapi_landi_emergency_problem

MySQL Table Design okayapi_landi_fac_sta

MySQL Table Design okayapi_landi_flight_picking

MySQL Table Design okayapi_landi_grocery_running

MySQL Table Design okayapi_landi_guest

MySQL Table Design okayapi_landi_guest_balance

MySQL Table Design okayapi_landi_guest_service

MySQL Table Design okayapi_landi_host

MySQL Table Design okayapi_landi_income

MySQL Table Design okayapi_landi_intern

MySQL Table Design okayapi_landi_invoice

MySQL Table Design okayapi_landi_invoice_detail

MySQL Table Design okayapi_landi_laundry

MySQL Table Design okayapi_landi_mail_reminder

TOP ↑