第一范文网 - 专业文章范例文档资料分享平台

房地产销售管理系统

来源:用户分享 时间:2025/8/23 13:19:33 本文由loading 分享 下载这篇文档手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:xxxxxxx或QQ:xxxxxx 处理(尽可能给您提供完整文档),感谢您的支持与谅解。

order_id char(6) not null,

foreign key (remand_id) references remand_customer(remand_id), foreign key (order_id) references order_customer(order_id) )

4.1.6预订客户表:

create table order_customer (

order_id char(6) not null primary key, order_name int not null, order _sex char(2) not null, order _age int not null,

order _job char(10) not null, order _ident char(18) not null, order_phone char(12) not null, order_addr char(25) not null, order_pay char(10) not null )

4.1.7预订房屋表:

create table order_room (

contract_id char(6) not null primary key, build_id int not null, unit_id int not null, room_id char(4) not null,

room_type char(10) not null, area float not null, price float not null,

total_price float not null, order_date date not null, yifu_money float,

weifu_money float not null )

4.1.8预订表:

create table oder (

contract_id char(6) not null, order_id char(6) not null,

foreign key (contract_id) references order_room(contract_id), foreign key (order_id) references order_customer(order_id) )

4.1.9需求客户表:

create table remand_customer (

remand_id char(6) not null primary key, remand_name char(15) not null, remand_sex char(2), remand_ident char(18),

remand_phone char(12), remand_addr char(25) )

4.1.10需求房屋表:

create table remand_build (

remand_buildid char(6) not null primary key, build_id int not null, unit_id int not null, room_id char(4) not null, room_type char(10) not null, area float not null, price float not null,

total_price float not null )

4.1.11购买需求表:

create table remand_buy (

remand_id char(6) not null,

remand_buildid char(6) not null,

foreign key (remand_id) references remand_customer(remand_id),

foreign key (remand_buildid) references remand_build(remand_buildid) )

4.1.12收款表:

create table collection (

contract_id char(6) not null, order_id char(6) not null,

foreign key (contract_id) references order_room(contract_id), foreign key (order_id) references order_customer(order_id) )

4.2 序列的设计

4.2.1创建一个名为“build_seq”的序列,用于产生楼房编号,起始值为1,步长为1,不

缓存,不循环。

4.2.2创建一个名为“unit_seq”的序列,用于产生单元编号,起始值为1,步长为1,最

大值为9999,不缓存,不循环。

搜索更多关于: 房地产销售管理系统 的文档
房地产销售管理系统.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.diyifanwen.net/c4ipzv5phmb03gjy5z8az_5.html(转载请注明文章来源)
热门推荐
Copyright © 2012-2023 第一范文网 版权所有 免责声明 | 联系我们
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:xxxxxx 邮箱:xxxxxx@qq.com
渝ICP备2023013149号
Top