腋臭是什么原因引起的| 梦见很多坟墓是什么意思| 仰卧起坐是什么现象| 桥本甲状腺炎挂什么科| 淋巴细胞数偏高是什么意思| 叶酸基因检测是什么| 半边脸疼是什么原因引起的| 什么人群不适合吃阿胶糕| 山竹有什么好处| 孩子发烧是什么原因引起的| 来月经腰疼的厉害是什么原因| 积滞是什么意思| 肚脐眼痒是什么原因| 吃什么补气血效果最好| ou是什么意思| 肉桂茶是什么茶| 体检挂什么科| 贷款是什么意思| 乳痈是什么病| 连坐是什么意思| 做胃肠镜挂什么科| 十一月十九是什么星座| 眼睛散光和近视有什么区别| snidel是什么牌子| 放疗后吃什么恢复的快| 胃炎吃什么食物好得快| 内裤发黄是什么原因呢| 奶奶和孙女是什么关系| 亏空是什么意思| 什么是拉拉| 龙头凤尾是什么生肖| 老公护着家人说明什么| 投影仪什么牌子好| 哥们是什么意思| 什么是皮质醇| 什么是善| 718是什么星座| 牙齿上白色斑块是什么| 易激惹是什么意思| 胃肠功能紊乱吃什么药| 早博是什么意思| 阳虚吃什么中药| 什么是自闭症| 心电图j点抬高什么意思| 黄芪味道是什么味道| 什么旺土| 陈赫什么星座| 市政协主席是什么级别| 考试为什么要用2b铅笔| 油嘴滑舌是什么意思| 血小板压积偏低是什么意思| 吃什么补脾| 月季花是什么颜色| 血压高什么症状| 燕子每年从什么方飞往什么方过冬| 高压150低压100吃什么药| 孕吐反应什么时候开始| 种马文是什么意思| 巨细胞病毒igm阳性是什么意思| 肠道消炎用什么药最好| 怕吹空调是什么原因| 妇科湿疹用什么药膏最有效| cpa是什么| 吃鱼油有什么好处| 什么时候测血压最准确| 经常饿肚子会导致什么后果| ga是什么意思| 淋巴细胞绝对值偏高是什么意思| 血压高看什么科| 情何以堪是什么意思| 心脏跳的慢吃什么好| 雀的偏旁是什么| 女性私处痒是什么原因引起的| 肚子上长毛是什么原因| 毓婷和金毓婷有什么区别| 开塞露有什么功效| 绿茶有什么好处| 血小板偏低有什么危害| 户口所在地是什么意思| 长脸适合什么发型男| 中国一词最早出现在什么时候| 狐臭是什么原因| 做梦相亲是什么意思| 芹菜榨汁有什么功效| 病理报告是什么意思| crocodile是什么牌子| 什么金属最硬| no是什么气体| 巨蟹座与什么星座最配| 中年人喝什么奶粉好| 寻常疣是什么原因造成的| 属羊的本命佛是什么佛| 梦见发大水是什么预兆| 胃不消化吃什么药| 茯苓有什么功效| 6.25是什么星座| 老婆子是什么意思| 后生可畏是什么意思| 右眉上方有痣代表什么| 派出所什么时候上班| 月经崩漏吃什么止血| 8月10号是什么星座| 面肌痉挛是什么原因引起的| 小个子适合什么发型| 神经疼吃什么药| 胃酸烧心吃什么药可以根治| 甲氰咪胍又叫什么| 易举易泄是什么原因| ms是什么单位| 碱性磷酸酶偏低是什么意思| 身体游走性疼痛什么病| 籍贯指的是什么| 错综复杂是什么意思| hennessy是什么酒价格多少| 唐僧真名叫什么| 脚痛是什么原因| 怀孕一个月内有什么反应| 右腹疼是什么原因| 额头和下巴长痘痘是什么原因| 9点是什么时辰| 昆仑玉是什么玉| 什么样的毛刺是良性的| 肝内钙化灶是什么意思| 胃幽门螺旋杆菌吃什么药| 精子对女性有什么好处| 什么叫认知能力| lancome是什么牌子的| 球菌阳性是什么意思| 唐宝是什么意思| 易建联为什么不打nba| 什么是耳石症| 早上8点是什么时辰| 子宫内膜不均匀是什么意思| 淋巴吃什么药好| 喝酒前喝什么不容易醉又不伤胃| 巧克力囊肿是什么| 脸书是什么意思| 荔枝什么时候成熟季节| 粘鞋子用什么胶水最好| 阿姨的老公叫什么| iwc是什么牌子手表| 马赫是什么意思| 万年青是什么菜| 梦见老公回来了是什么征兆| 木吉他什么牌子比较好| 细菌性结膜炎用什么眼药水| 物尽其用什么意思| 正品行货是什么意思| 幼犬吃什么| 醉氧是什么意思| 青梅煮酒什么意思| 怀孕不到一个月有什么症状| 黄精药材有什么功效| jackjones是什么品牌| 西南属什么五行| 血压低什么症状| 疝气是什么病| 丙氨酸氨基转移酶高吃什么药| 嘴唇周围长痘痘是什么原因| 素女是什么意思| 枸橼酸西地那非片是什么药| 肾阳虚是什么原因引起的| 空调嗡嗡响是什么原因| 吃什么安神有助于睡眠| 教导是什么意思| 攻击是什么意思| 什么药可以延长射精| 1.19是什么星座| 什么是坏血病| 金舆是什么意思| 音调是由什么决定的| 五谷丰登指什么生肖| 充气娃娃是什么| 肛门痒擦什么药| 超声科是什么科室| 数字化摄影dr是检查什么| 辐射对人体有什么伤害| 痉挛是什么意思啊| 赵雅芝是什么脸型| 虎毒不食子什么意思| 老年人吃什么钙片好| 四肢百骸是什么意思| 蒟蒻是什么东西| 榛子是什么树的果实| 嗯是什么意思| se什么意思| 小黄人是什么意思| 哔哩哔哩是什么网站| 天朝是什么意思| 半夜尿多是什么原因| 霉菌性阴道炎用什么洗液好| 999.9是什么金| 人工念什么字| 移民瑞士需要什么条件| 脑血管堵塞吃什么药好| 尿酸检查什么项目| 读什么| 温水煮青蛙什么意思| 肺部钙化是什么意思啊| 高血压检查什么项目| 小孩上火吃什么药| 巴结是什么意思| 巳火是什么火| 地高辛是什么药| 什么大专好就业| 脚后跟麻木是什么原因| 梦见自己吃肉是什么预兆| 冰点是什么意思| 安阳车牌号是豫什么| 意字五行属什么| 蓝眼泪是什么意思| 嘴角上方有痣代表什么| 食用棕榈油是什么油| 真菌感染用什么药| 大排畸主要检查什么| 吾矛之利的利什么意思| 劲酒有什么功效| 小心眼是什么意思| 为什么会得肾结石| 眼底出血用什么眼药水最好| 三七粉什么颜色| eb是什么| 老鼠人是什么意思| 全血粘度低切偏高是什么意思| 囊变是什么意思| 女性肾虚吃什么补最好最快| 秋葵不能和什么一起吃| 去皱纹用什么方法最好和最快| 芍药花什么时候开花| 孔子孟子什么关系| 年轻人手抖是什么原因| 晚上八点半是什么时辰| tgi是什么意思| 张属于五行属什么| 什么钱最值钱| 金牛男最烦什么女孩| 珍珠是用什么做的| 什么什么的落叶| 喜欢白色的人是什么性格| 末梢神经炎是什么症状| 绿色代表什么| 希思黎属于什么档次| 什么叫免疫力| 夜夜笙歌什么意思| 神经痛什么原因引起的| 肝囊肿是什么病| 心衰竭是什么症状| 头痛眼睛痛什么原因引起的| 人次是什么意思| 什么体质容易高原反应| 龟代表什么生肖| 手机壳为什么会发黄| chloe是什么牌子| 小孩黑眼圈很重是什么原因| 党群是什么意思| 鞑靼是什么意思| paba是什么药| 树欲静而风不止是什么意思| 什么东西天气越热它爬得越高| 遗憾是什么| 蛞蝓是什么| 日本有什么好玩的| 低压高吃什么药最有效| 老过敏是缺什么维生素| 百度Jump to content

- 光明大陆盗匪营地全解析 小编带你过副本

From Wikipedia, the free encyclopedia
Example of QBE query with joins, designed in Borland's Paradox database
百度   刘雅鸣强调,各级气象部门党组(党委)和党员领导干部要以目标和问题为导向,强化工作落实。

Query by Example (QBE) is a database query language for relational databases.

History

[edit]

Query by Example was devised by Moshé M. Zloof at IBM Research during the mid-1970s, in parallel to the development of SQL,[1] and influenced by the work on relational databases of Edgar Codd.[2] It is the first graphical query language, using visual tables where the user would enter commands, example elements and conditions. Many graphical front-ends for databases use the ideas from QBE today. Originally limited only for the purpose of retrieving data, QBE was later extended to allow other operations, such as inserts, deletes and updates, as well as creation of temporary tables.

The motivation behind QBE is that a parser can convert the user's actions into statements expressed in a database manipulation language, such as SQL. Behind the scenes, it is this statement that is actually executed. A suitably comprehensive front-end can minimize the burden on the user to remember the finer details of SQL, and it is easier and more productive for end-users (and even programmers) to select tables and columns by selecting them rather than typing in their names.

In the context of information retrieval, QBE has a somewhat different meaning. The user can submit a document, or several documents, and ask for "similar" documents to be retrieved from a document database [see search by multiple examples[3]]. Similarity search is based comparing document vectors (see Vector Space Model).

QBE represents seminal work in end-user development, frequently cited in research papers as an early example of this topic.

Currently, QBE is supported in several relational database front ends, notably Microsoft Access, which implements "Visual Query by Example", as well as Microsoft SQL Server Enterprise Manager. It is also implemented in several object-oriented databases (e.g. in db4o[4]).

QBE is based on the logical formalism called tableau query, although QBE adds some extensions to that, much like SQL is based on the relational algebra.

Example

[edit]

An example using the Suppliers and Parts database is given here to illustrate how QBE works.

Simple QBE example
S S# SNAME OWNER SCITY
P.SX J. DOE ROME

As a general technique

[edit]

The term also refers to a general technique influenced by Zloof's work whereby only items with search values are used to "filter" the results. It provides a way for a software user to perform queries without having to know a query language (such as SQL). The software can automatically generate the queries for the user (usually behind the scenes). Here are two examples based on a Contacts table with the following text (character) columns: Name, Address, City, State, and Zipcode:

Contacts Query Form - Example A:
.....Name: Bob
..Address:
.....City:
....State: TX
..Zipcode:

Resulting SQL:

SELECT * FROM Contacts WHERE Name='Bob' AND State='TX';

Note how blank items do not generate SQL terms. Since "Address" is blank, there is no clause generated for it.

Contacts Query Form - Example B:
.....Name: 
..Address:
.....City: Sampleton
....State: 
..Zipcode: 12345

Resulting SQL:

SELECT * FROM Contacts WHERE City='Sampleton' AND Zipcode='12345';

More advanced versions of QBE have other comparison operator options, often via a pull-down menu, such as "Contains", "Not Contains", "Starts With", "Greater-Than", and so forth.

Another approach to text comparisons is to allow one or more wildcard character characters. For example, if an asterisk is designated as a wildcard character in a particular system, then searching for last names using "Rob*" would return (match) last names such as "Rob", "Robert", "Robertson", "Roberto", etc.

Contacts Query Form - Example C:
.....Name: Rob*
..Address:
.....City: 
....State: 
..Zipcode:

Resulting SQL:

SELECT * FROM Contacts WHERE Name LIKE 'Rob%'

In standard SQL, the percent sign functions like a wildcard in a LIKE clause. In this case, the query-by-examplme form processing software would translate the asterisk to a percent sign. (An asterisk is a more common wildcard convention outside of SQL, so here the form is attempting to be more user friendly.)

WARNING: Query-by-example software should be careful to avoid SQL injection. Otherwise, devious users may penetrate further into the database than intended by builders of the query forms.

See also

[edit]

References

[edit]
  1. ^ Zloof, M.M. (1977). "Query-by-Example: A data base language". IBM Systems Journal. 16 (4): 324–343. CiteSeerX 10.1.1.86.3485. doi:10.1147/sj.164.0324.
  2. ^ "RDBMS Plenary 1: Early Years" (PDF) (Interview). Interviewed by Burton Grad. Computer History Museum. 2025-08-06. pp. 23–24. Retrieved 2025-08-06.
  3. ^ Zhu, Mingzhu; Wu, Yi-Fang Brook (2025-08-06). "Search by multiple examples". Proceedings of the 7th ACM international conference on Web search and data mining. ACM. pp. 667–672. doi:10.1145/2556195.2556206. ISBN 9781450323512. S2CID 8397529.
  4. ^ "QBE", db4o, Developer works Java library, IBM, 27 March 2007

Sources

[edit]
[edit]
光纤和宽带有什么区别 腿上出汗是什么原因 一穷二白什么意思 双子座是什么象 幼儿腹泻吃什么食物
流量mb是什么意思 qt是什么 亵玩是什么意思 华西医院院长什么级别 吃什么能让胸变大
zara是什么品牌 丝丝入扣是什么意思 性冷淡什么意思 jf是什么警察 经期吃什么水果
八月二十是什么星座 僵尸肉吃了有什么危害 女性尿路感染什么原因引起的 六月初十是什么日子 一月18号是什么星座
为什么小腹总是胀痛hcv9jop6ns8r.cn 眩晕症有什么症状hcv7jop5ns4r.cn 憋尿憋不住是什么原因hcv8jop8ns5r.cn 学前班是什么意思hlguo.com 什么叫211大学travellingsim.com
pro是什么的缩写hcv8jop0ns6r.cn 补气补血吃什么好hcv9jop1ns6r.cn 2月6号是什么星座hcv8jop1ns9r.cn 防晒衣什么材质最防晒hcv9jop5ns4r.cn 花都有什么花mmeoe.com
心率慢是什么原因hkuteam.com 千呼万唤是什么生肖hcv8jop7ns7r.cn 耐力是什么意思hcv9jop8ns3r.cn 什么是精神分裂症onlinewuye.com 牛肉炖什么hcv8jop8ns0r.cn
候车是什么意思hcv9jop3ns5r.cn 慢热型是什么意思onlinewuye.com 腹泻是什么原因引起的hcv8jop2ns9r.cn 头晕脑胀是什么原因hcv9jop2ns6r.cn 急性腹泻拉水吃什么药hcv8jop7ns8r.cn
百度