摘要
很多数据库的实际应用问题需要使用存在量词才能解决,而带存在量词的SQL语句是学生掌握的难点。文章系统讨论了存在量词常见的应用,通过实例指出带存在量词的SQL语句的正确书写方法,以及如何通过谓词演算将全称和蕴含量词转换为存在量词来解决实际查询问题。同时详细分析了存在量词的SQL语句的执行过程,以方便更全面地掌握其应用。
Many practical application problems of database need to be solved by using existential quantifier, with which the SQL statement is difficult to be mastered. The paper systematically discusses common application of existential quanti- fier and points out the correct writing method of SQL statement with existential quantifier by some examples. Besides, it also demonstrates how to transform universal quantifier and implication quantifier to existential quantifier by using predi- cate calculus in order to solve real problems of query. A detailed analysis of the implementation process of the SQL state- ment with the existential quantifier is finally conducted for a more comprehensive grasp of its application.
出处
《廊坊师范学院学报(自然科学版)》
2016年第3期25-29,共5页
Journal of Langfang Normal University(Natural Science Edition)
基金
安徽省重大教学改革研究项目(2013zdjy082)
安徽省质量工程项目(2013sxzx012
2013sjjd008
2014zy028
2015jyxm136
2015ckjh015)
安徽高校自然科学研究重点项目(KJ2016A208)资助课题
关键词
SQL
存在量词
全称量词
蕴含量词
执行过程
Structured Query Language
existential quantifier
universal quantifier
implication quantifier
implemen- tation process