行,记录和元组之间有什么区别? [英] What is the difference between a row, record and tuple?

查看:800
本文介绍了行,记录和元组之间有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此刻我正在数据库开发课程中学习,我很难理解!



我的课程笔记将元组描述为:
元组是关系的一行



根据我自使用MySQL以来的了解,您正在搜索行。或者,当浏览数据库时,您正在浏览表中的行。



据我所知,记录是一行中的信息。



这三个之间是否有明显区别?



我知道有人发布了类似的内容,但我无法真正理解他的回答。 / p>

感谢大家的帮助!



Peter

解决方案

在您的上下文中,它们是不同的词,表示完全相同的事物。



元组通常表示有序包含可能重复元素的列表(与集合相反,该集合具有所有唯一元素并且没有排序)


I am studying in a database development course at the moment and I am having trouble getting my head this!

My course notes describe a tuple as: A tuple is a row of a relation

From what I have understood since working with MySQL you search for row(s). Or when browsing through a database you are looking through rows in a table.

And from what I understood a record is information within a row.

Is there any distinct differences between the three?

I know someone has posted something similar but I couldn't really understand his answer.

Thanks for all help in advnce!

Peter

解决方案

In your context they are different words to mean exactly the same thing.

A tuple, in general, means an ordered list with possibly repeated elements (as contrasted to a set, which has all unique elements and is not ordered)

这篇关于行,记录和元组之间有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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