如何为朋友列表创建表格 [英] how to create tables for friend list

查看:78
本文介绍了如何为朋友列表创建表格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想发送朋友请求并建立类似Facebook的朋友列表.如何在sql server 2005中为此创建表.此文本框的答案!笑:

您需要查看需要存储哪些数据,如何处理它们以及它们之间的相互关系.
尝试在纸上工作-写下几个人,然后查看需要存储哪些信息才能处理您打算使用的事件.然后再试一次,以不同的方式组织它.很快就很明显,您需要拥有包含一组数据和关系的"n"个表.


i want to send friend request and make friend list like facebook. how to create tables for this in sql server 2005.

解决方案

We can''t answer that - it''s too general a question, and far too big an answer for this text box! laugh:

You need to look at what data you need to store, and how you need to process it, and what the interrelations between it are.
Try working it out on sheets of paper - write down a couple of people, and see what info you need to store in order to handle teh event you propose to use. Then try again, organising it differently. It should soon become obvious that you need to have "n" tables, containing a set of data and relationships.


这篇关于如何为朋友列表创建表格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆