Home Database Mysql Tutorial 2011年计算机等考二级Access考前模拟题(30)

2011年计算机等考二级Access考前模拟题(30)

Jun 07, 2016 pm 03:03 PM
access Level 2 Before the exam computer

一、基本操作题 考生文件夹下存在一个数据库文件samp1.mdb,里面已经设计好表对象 tEmployee。试按以下要求,完成表的编辑: (1)根据tEmployee表的结构,判断并设置主键; (2)设置性别字段的有效性规则属性为:只能输入男或女; (3)设置年龄字段的输入掩码为只

 一、基本操作题

  考生文件夹下存在一个数据库文件“samp1.mdb”,里面已经设计好表对象

  “tEmployee”。试按以下要求,完成表的编辑:

  (1)根据“tEmployee”表的结构,判断并设置主键;

  (2)设置“性别”字段的“有效性规则”属性为:只能输入“男”或“女”;

  (3)设置“年龄”字段的输入掩码为只能输入两位数字,并设置其默认值为19;

  (4)删除表结构中的“照片”字段;并删除表中职工编号为“000004”和“000014”的两条记录;

  (5)使用查阅向导建立“职务”字段的数据类型,向该字段键入的值为“职员”、“主管”或“经理”等固定常数;

  (6)在编辑完的表中追加以下一条新记录:

\

  二、简单应用题

  考生文件夹下存在一个数据库文件“samp2.mdb”,里面已经设计好表对象“档案表”和“水费”,试按以下要求完成设计:

  (1)设置“档案表”表中的“性别”字段的有效性规则为其值只能为“男”或“女”,有效性文本为“性别字段只能填写男或女”;

  (2)创建一个查询,查找未婚职工的记录,并显示“姓名”、“出生日期”和“职称”。所建查询名为“qT1”;

  (3)创建一个更新查询,用于计算水费,计算公式:

  水费=3.7*(本月水-上月水)

  所建查询名为“qT2”;

  (4)创建一个查询,查找水费为零的记录,并显示“姓名”,所建查询名为“qT3”。

  三、综合应用题

  考生文件夹下存在一个数据库文件“samp3.mdb”,已建立两个关联表对象(“档案表”和“工资表”)和一个查询对象(“qT”),试按以下要求,完成报表的各种操作。

  (1)创建一个名为“eSalary”的报表,按表格布局显示查询“qT”的所有信息;

  (2)设置报表的标题属性为“工资汇总表”;

  (3)按职称汇总出“基本工资”的平均值和总和。“基本工资”的平均值计算控件名称为“savg”、“总和”计算控件名称为“ssum”;

  注:请在组页脚处添加计算控件。

  (4)在“eSalary”报表的主体节上添加两个计算控件:名为“sSalary”的控件用于计算输出实发工资;名为“ySalary”的控件用于计算输出应发工资;计算公式为:

  应发工资:基本工资+津贴+补贴;

  实发工资:基本工资+津贴+补贴-住房基金-失业保险

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to convert deepseek pdf How to convert deepseek pdf Feb 19, 2025 pm 05:24 PM

DeepSeek cannot convert files directly to PDF. Depending on the file type, you can use different methods: Common documents (Word, Excel, PowerPoint): Use Microsoft Office, LibreOffice and other software to export as PDF. Image: Save as PDF using image viewer or image processing software. Web pages: Use the browser's "Print into PDF" function or the dedicated web page to PDF tool. Uncommon formats: Find the right converter and convert it to PDF. It is crucial to choose the right tools and develop a plan based on the actual situation.

How to solve the problem of third-party interface returning 403 in Node.js environment? How to solve the problem of third-party interface returning 403 in Node.js environment? Mar 31, 2025 pm 11:27 PM

Solve the problem of third-party interface returning 403 in Node.js environment. When we use Node.js to call third-party interfaces, we sometimes encounter an error of 403 from the interface returning 403...

Laravel Redis connection sharing: Why does the select method affect other connections? Laravel Redis connection sharing: Why does the select method affect other connections? Apr 01, 2025 am 07:45 AM

The impact of sharing of Redis connections in Laravel framework and select methods When using Laravel framework and Redis, developers may encounter a problem: through configuration...

What are the benefits of multithreading in c#? What are the benefits of multithreading in c#? Apr 03, 2025 pm 02:51 PM

The advantage of multithreading is that it can improve performance and resource utilization, especially for processing large amounts of data or performing time-consuming operations. It allows multiple tasks to be performed simultaneously, improving efficiency. However, too many threads can lead to performance degradation, so you need to carefully select the number of threads based on the number of CPU cores and task characteristics. In addition, multi-threaded programming involves challenges such as deadlock and race conditions, which need to be solved using synchronization mechanisms, and requires solid knowledge of concurrent programming, weighing the pros and cons and using them with caution.

How to avoid third-party interfaces returning 403 errors in Node environment? How to avoid third-party interfaces returning 403 errors in Node environment? Apr 01, 2025 pm 02:03 PM

How to avoid the third-party interface returning 403 error in the Node environment. When calling the third-party website interface using Node.js, you sometimes encounter the problem of returning 403 error. �...

Unable to log in to mysql as root Unable to log in to mysql as root Apr 08, 2025 pm 04:54 PM

The main reasons why you cannot log in to MySQL as root are permission problems, configuration file errors, password inconsistent, socket file problems, or firewall interception. The solution includes: check whether the bind-address parameter in the configuration file is configured correctly. Check whether the root user permissions have been modified or deleted and reset. Verify that the password is accurate, including case and special characters. Check socket file permission settings and paths. Check that the firewall blocks connections to the MySQL server.

How to use sql if statement How to use sql if statement Apr 09, 2025 pm 06:12 PM

SQL IF statements are used to conditionally execute SQL statements, with the syntax as: IF (condition) THEN {statement} ELSE {statement} END IF;. The condition can be any valid SQL expression, and if the condition is true, execute the THEN clause; if the condition is false, execute the ELSE clause. IF statements can be nested, allowing for more complex conditional checks.

How to efficiently obtain component_verify_ticket in EasyWechat 5.5? How to efficiently obtain component_verify_ticket in EasyWechat 5.5? Apr 01, 2025 pm 12:42 PM

Get ComponentVerify in EasyWechat5.5...

See all articles