当前位置:网站首页>A brief introduction to the database of tyut Taiyuan University of technology in previous years
A brief introduction to the database of tyut Taiyuan University of technology in previous years
2022-07-06 13:12:00 【Lala Lulu^_^】
The brief questions of previous years do not apply to this year , You should also recite the short answer questions in the two question banks in Baidu online disk that I share ( Link to the first blog in the database )
Chapter one
1. What is the definition of a database ?
The database is stored in the computer for a long time 、 organized 、 A collection of large amounts of data that can be shared .
2. What are the main functions of database management system
(1) Data definition function ,
(2) Organization of data 、 Storage and management ,
(3) Data manipulation function ,
(4) Transaction management and operation management of database ,
(5) The establishment and maintenance of database ,
(6) Other features .
3. What are the three elements of the data model ?
data structure 、 Data operation and data integrity constraints constitute the three elements of the data model .
4. What are the data operations in the database ?
Data operations in the database include inserting 、 modify 、 Delete and query .
5. What are the three types of connections between entities ?
The connection between entities includes one-to-one connection 、 There are three types of one to many connections and many to many connections .
6. What are the commonly used logical data models in the field of database ?
The logical data model commonly used in the field of database is hierarchical model 、 Mesh model 、 relational model 、 Object oriented model, etc .
7. What are the components of the database system ?
A database system consists of a database 、 Database management system 、 Application system and database administrator .
8. Three level structure of database system ?
The three-level schema structure of database system refers to the external schema 、 Pattern 、 Internal mode
9. Database management system
Database management system (Database Management System,DBMS) It is a layer of data management software between the user and the operating system , Provide users or applications with access to the database , Including the establishment of database 、 Inquire about 、 Update and various data control .DBMS Always based on some kind of data , It can be divided into hierarchical models 、 Mesh model 、 relational model 、 Object oriented model, etc DBMS
10. Data independence refers to the mutual independence between applications and data , Unaffected . Data independence is divided into physical data independence and logical data independence .(1) Logical independence : When the pattern changes , The database administrator modifies the external schema / Pattern mapping , Keep the outer mode unchanged , So the application doesn't have to be modified , Ensure the logical independence of data and program , The logical independence of data .(2) Physical independence : When the storage structure of the database changes , The database administrator modifies the schema / Inner pattern mapping , Leave the mode unchanged , Application is not affected . Ensure the physical independence of data and program , Physical independence of data
Chapter two
1. What are the three components of the relational model ?
The relational model consists of relational data structure 、 Relationship operation and relationship integrity constraints consist of three parts .
2. The integrity of relational models can be roughly divided into three categories ?
Constraints on the integrity of relationships include primary key constraints 、 Foreign key constraints and user-defined integrity constraints .
3. Which relational query operations are provided in relational algebra ?
Queries in relational algebra include the union of Relations 、 hand over 、 Bad 、 Cartesian product 、 choice 、 Projection 、 Operations such as connection and division .
The third chapter
1.SQL What are the commonly used sentences in language ?
SQL Language set data definitions 、 Data query 、 Data manipulation and data control functions are integrated , Its main operation statements include CREATE、ALTER、DROP、INSERT、UPDATE、DELETE、SELECT、GRANT、REVOKE etc. .
2.SQL Which common aggregation functions are provided in ? How they are used ?
SQL Some aggregate functions are provided in , Except for statistical database data , Include COUNT、AVG、SUM、 MAX、MIN etc. , COUNT(*) Beyond usage , Null values are ignored in Statistics , Use DISTINCT Options can be ignored Statistics of duplicate data . Aggregate functions can only be used for SELECT Clause and HAVING Clause .
3. What is a join query ? How connection queries specify connection conditions ?
If a query involves two tables at the same time , It is called join query . The connection conditions of connection query can be found in WHERE Clause is specified by a comparison operation , Or in the FROM Clause specifies both the connection method and the connection condition .
4. What is subquery ? Use in WHERE There are several ways to call subqueries in Clause ?
Subquery is also called nested query , Is nested in SELECT、INSERT、UPDATE、DELETE And so on Of SELECT Query statement . Use it more often WHERE clause , Use the results of subqueries as search criteria . stay Where There are several ways to use subqueries in Clauses : from IN Export sub query 、 The subquery is derived from the comparison operator 、 from EXISTS Export sub query .
The fifth chapter
1. What is database integrity ? What are the types of relational database integrity ?
Data integrity refers to the logical consistency and correctness of the data in the database .
The integrity of relational database includes entity integrity 、 Reference integrity and user-defined integrity .
2. The five common constraints are : Primary key constraint , Foreign key constraints , Non empty constraint , Unique constraint , Check constraint !
Chapter vii.
1. What aspects of technology and knowledge are involved in database design ?
Database design involves many aspects of technology and knowledge , Including the basic knowledge of computer 、 Programming methods and skills 、 Principles and methods of software engineering 、 Basic knowledge of databases 、 Knowledge of database design technology and application fields .
2. What are the stages of database design ?
Database design includes requirements analysis 、 Conceptual structural design 、 Logical structure design 、 Physical structure design 、 There are six stages of database implementation and database operation and maintenance .
3. establish E-R Which steps does the diagram include ?
establish E-R The process of drawing includes :(1) First, determine the body shape ,(2) Determine the type of contact ,(3) Put the solid body Combined with connection E-R chart ,(4) Determine the attributes of entity type and connection
Fill in the blanks in previous years
- The database is stored in the computer for a long time , organized , A collection of large amounts of data that can be shared .
- The functions of the database system include : Definition of database , Organization, storage and management of database , Database manipulation , Database management and operation management , The establishment and maintenance of database
- Database manipulation includes inserting , Delete , Modification and query
- data structure , Data manipulation and integrity constraints constitute the three elements of the data model
- The practice between entities includes one-on-one contact , One to many connection , Many to many contact
- The logical data models commonly used in database systems are hierarchical models , Mesh model , relational model , Object oriented model, etc
- A database system consists of a database 、 Database management system 、 Application system and database administrator .
- The three-level schema structure of database system refers to schema 、 Inside mode and outside mode .
- Database management system (Database Management System,DBMS) It is located between the user and the operating system
A layer of data management software , Provide users or applications with access to the database , Including the establishment of database 、
Inquire about 、 Update and various data control .DBMS Always based on some kind of data , It can be divided into hierarchical models 、 Mesh model 、 relational model 、 Object oriented model, etc DBMS.
10. Data independence refers to the mutual independence between applications and data , Unaffected . Data independence is divided into physical data independence And logical data independence .
(1) Logical independence : When the pattern changes , The database administrator modifies the external schema / Pattern mapping , Make external mode remain unchanged , So the application doesn't have to be modified , Ensure the logical independence of data and program , Abbreviation: Logic of data independence .
(2) Physical independence : When the storage structure of the database changes , The database administrator modifies the schema / Inner pattern mapping , Make the mode secure Stay the same , Application is not affected . Ensure the physical independence of data and program , Physical independence of data .
11. The relational model consists of relational data structure 、 Relationship operation and relationship integrity constraints consist of three parts .
12. Relationship integrity constraints include primary key constraints 、 Foreign key constraints and user-defined integrity constraints .
13. Queries in relational algebra include the union of Relations 、 hand over 、 Bad 、 Cartesian product 、 choice 、 Projection 、 Operations such as connection and division
14. SQL Language set data query 、 Data manipulation 、 Data definition and data control functions are integrated , Its main operating language
Sentence includes CREATE、ALTER、DROP、INSERT、UPDATE、DELETE、SELECT、GRANT、
REVOKE etc. .
15. SQL Some aggregate functions are provided in , Used for statistical database data , Include COUNT、AVG、SUM、MAX、 MIN etc. , except COUNT(*) Beyond usage , Null values are ignored in Statistics , Use DISTINCT Options can be ignored
Statistics of duplicate data . The number of aggregated rows can only be used for SELECT Clause and HAVING Clause .
16. If a query involves two tables at the same time , It is called join query . The connection conditions of connection query can be found in WHERE clause Specify by a comparison operation , Or in the FROM Clause specifies both the connection method and the connection condition .
17. Subquery is also called nested query , Is nested in SELECT、INSERT、UPDATE、DELETE Wait for SELECT Query statement . Use it more often WHERE clause , Use the results of subqueries as search criteria . stay Where
There are several ways to use subqueries in Clauses : from IN Export sub query 、 The subquery is derived from the comparison operator 、 from EXISTS Export sub query .
18. The security of database means to protect database , Prevent data leakage caused by users' illegal use of the database 、 To alter or destroy .
The commonly used security control methods in database systems include technology, including user identification and authentication 、 Access control 、 Define views 、 Audit 、 Count According to encryption .
19. Data integrity refers to the logical consistency and accuracy of the data in the database .
The integrity of relational database includes entity integrity 、 Reference integrity and user-defined integrity .
20. trigger (Trigger) It is a kind of special event driven stored procedure defined by the user on the relational table . Trigger
The device consists of inserting the table 、 Modify and delete event activation .
21. Database design includes requirements analysis 、 Conceptual structural design 、 Logical structure design 、 Physical structure design 、 database
Implementation and database operation and maintenance in six stages .
22. establish E-R The process of drawing includes :(1) First, determine the body shape ,(2) Determine the type of contact ,(3) Put the solid body
Combined with connection E-R chart ,(4) Determine the attributes of entity type and connection
边栏推荐
- Common method signatures and meanings of Iterable, collection and list
- Record: solution of 404 error of servlet accessing database in dynamic web project
- 基本Dos命令
- Realization of the code for calculating the mean square error of GPS Height Fitting
- 平衡二叉树详解 通俗易懂
- isEmpty 和 isBlank 的用法区别
- 121道分布式面试题和答案
- Employment of cashier [differential constraint]
- [Yu Yue education] guide business reference materials of Wuxi Vocational and Technical College of Commerce
- TYUT太原理工大学2022数据库大题之数据库操作
猜你喜欢
[算法] 剑指offer2 golang 面试题1:整数除法
国企秋招经验总结
3月15号 Go 1.18 正式版发布 了解最新特色以及使用方法
MYSQL索引钟B-TREE ,B+TREE ,HASH索引之间的区别和应用场景
Fairygui bar subfamily (scroll bar, slider, progress bar)
121 distributed interview questions and answers
Iterable、Collection、List 的常见方法签名以及含义
Music playback (toggle & playerprefs)
Role movement in the first person perspective
Interview Essentials: talk about the various implementations of distributed locks!
随机推荐
Alibaba cloud side: underlying details in concurrent scenarios - pseudo sharing
Experience summary of autumn recruitment of state-owned enterprises
[算法] 剑指offer2 golang 面试题12:左右两边子数组的和相等
Branch and loop statements
Shortest Hamilton path (pressure DP)
[算法] 剑指offer2 golang 面试题9:乘积小于k的子数组
10 minutes pour maîtriser complètement la rupture du cache, la pénétration du cache, l'avalanche du cache
闇の連鎖(LCA+树上差分)
Role movement in the first person perspective
Fairygui bar subfamily (scroll bar, slider, progress bar)
162. Find peak - binary search
阿里云一面:并发场景下的底层细节 - 伪共享问题
The port is occupied because the service is not shut down normally
Pride-pppar source code analysis
TYUT太原理工大学往年数据库简述题
Exception: ioexception:stream closed
Alibaba cloud microservices (I) service registry Nacos, rest template and feign client
Tyut Taiyuan University of technology 2022 introduction to software engineering
染色法判定二分图
[Chongqing Guangdong education] Shandong University College Physics reference materials