Online Bookstore Buyer Database

Source: Internet
Author: User

Buyer's Form

Property

Field name

Type

Key value

is empty

User ID

Userid

CHAR (5)

Primary key

User name

UserName

nvarchar (50)

User password

Userpwd

nvarchar (50)

User's real name

Userrealname

nvarchar (50)

User Address

UserAddress

nvarchar (100)

User Phone

Userphone

CHAR (11)

Shopping Cart Table

Property

Field name

Type

Key value

is empty

Shopping Cart ID

Cartid

CHAR (5)

Primary key

Number of books

Booknum

Int (5)

Date Created

CreateDate

Datetime

User ID

Userid

CHAR (5)

FOREIGN key

Order Form

Property

Field name

Type

Key value

is empty

Order number

OrderId

CHAR (15)

Primary key

User ID

Userid

CHAR (5)

FOREIGN key

Shopping Cart ID

Cartid

CHAR (5)

FOREIGN key

Order Status

Status

nvarchar (50)

Order Date

OrderDate

Datetime

Consignee Address

Recaddress

nvarchar (50)

Name of consignee

Recname

nvarchar (50)

Include table

Property

Field name

Type

Key value

is empty

Shopping Cart ID

Cartid

CHAR (5)

Primary key attribute/foreign key

Book ID

BookID

CHAR (5)

Primary key attribute/foreign key

Online Bookstore Buyer Database

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.