首页 > 数据库 >COIS-3380数据库设计

COIS-3380数据库设计

时间:2023-07-02 13:44:20浏览次数:38  
标签:3380 COIS text 数据库 Field only table Validation size


COIS-3380 Database Assignment Soccer League
ost applications that create a product, like a document, allow you to create and work with the item and name it later when you save or exit. Databases must be named and placed in the desired folder when they are first created. The only time you will be prompted to save something is when designing or modifying database objects (e.g., tables, forms, queries, and reports) but NOT when you are adding or changing data or when you exit Access.

Create a new (blank) Microsoft Access database named just “Soccer”. Create the following tables with the exact names and structures shown with the primary keys as first field of each table. Fields with validation rules must also have suitable validation text. Field properties listed below must be set as indicated. To obtain help about a field property, click within the property box and press the F1 key – read the help related to the property and use the examples provided.

Teams table:

Field Name Data Type Field Properties

Team ID Number

Primary key, field size = Integer, no decimal places, required

Validation rule requires it to be >= 0

(Info only: team 0 is for “unassigned” coaches & players later)

Validation text with meaningful message

Team Name Short Text Field size = 15, required, cannot be 0 length

Color Short Text Field size = 15, required, cannot be 0 length

Mascot Short Text Field size = 15, not required

Gender Short Text

Field size = 1, required, cannot be 0 length, force uppercase

Validation rule allows only:

F, M, or C (meaning female-only, male-only, or coed)

Validation text with meaningful message

Age Bracket Number

Field size = Byte, required, no decimal places, default value 0

Validation rule allows only the values 0, 6, 8, 10, 12, 16, 20

Validation text with meaningful message

After creating each of the above three tables, perform the following additional tasks:

Create a default or basic form for each table by selecting the table and using the “Form” button on the Create ribbon. After Access creates the form, save it with the default name, and then open it in design view and make sure labels and text boxes are sized properly. Short fields shouldn’t have large text boxes.
Both labels and textboxes must be large enough to properly display entire contents. The form must have a title at the top. You can receive BONUS points by making the form more appealing or useful.

Use the appropriate form to enter the sample data shown on the next page into the appropriate table.
Note: the primary key ID numbers will be automatically generated except for the Teams table. If you can’t enter the data properly, you may have an error in the validation rule for that field.

Open each table in datasheet view and “best-fit” all columns to fully display data and field names. Save the table layout when closing table.

 

标签:3380,COIS,text,数据库,Field,only,table,Validation,size
From: https://www.cnblogs.com/javanew/p/17520716.html

相关文章

  • 使用LINQ to SQL将数据从一个数据库复制到另一个数据库
    作者:光脚丫思考 有关于数据库访问技术,通常所用到的研习数据库或许更多的要算是Northwind了。呵呵!至少,我自己是经常折腾这样的一个示例数据库。虽然如此,对这个数据库的了解,自我感觉还是相当的肤浅的。或者,只是自己认为没有必要把这个数据库吃的那么透彻。^_^我想恐怕正是因为有了这......
  • 使用LINQ to SQL将数据从一个数据库复制到另一个数据库
    作者:光脚丫思考时间:8/30/20105:04:58PM 有关于数据库访问技术,通常所用到的研习数据库或许更多的要算是Northwind了。呵呵!至少,我自己是经常折腾这样的一个示例数据库。虽然如此,对这个数据库的了解,自我感觉还是相当的肤浅的。或者,只是自己认为没有必要把这个数据库吃的那么透彻。^......
  • PostgreSQL 数据库与模式(二)
    删除数据库如果确定一个库不需要了,可以使用DROPDATABASE语句删除一个数据库(工作中谨慎删库):DROPDATABASE[IFEXISTS]name;如果使用了IFEXISTS,删除一个不存在的数据库时不会产生错误信息。删除数据库会同时删除该数据库中所有的对象,以及文件系统中的数据目录。只有数据库......
  • 提升项目数据查询速度:从pgsql数据库性能到SQL优化的实战经验分享
    最近在项目中遇到这样一个问题,在进行数据查询的时候,特别的慢。项目的基本情况首先描述下项目的使用情况,数据库使用的是postgresql关系型数据库,主要数据存储字段data使用的类型是JSONB。data字段存储数据,这个数据是包含了不少的图元,特别是在性能测试中,加入了特别多的图元信息,最......
  • 向量数据库 及其 应用
    什么是向量数据库向量数据库是一种专门用于存储和处理向量数据的数据库系统。向量数据是指由一组数值或特征组成的数据,可以表示为多维空间中的向量。向量数据库提供了高效的存储和查询机制,以支持对大规模向量数据的快速检索和分析。传统的关系型数据库在处理向量数据时存在一些......
  • Thinkphp6 连接达梦数据库
    Thinkphp6连接达梦数据库这里使用IDEAphpEnv PHP7.3Thinkphp6 桌面操作系统:Windows11虚拟机:VMware服务器操作系统:银河麒麟在虚拟机操作与windows无异参考资料参考资料第一步配置php环境在达梦数据库安装目录下找到pdo73nts_dm.dllphp73nts_dm.dll两个文件......
  • 肖sir___数据库语句优化方法
        1.避免出现SELECT*FROMtable语句,要明确查出的字段。案例:好:sql= "selectpeople_name,pepole_agefrompeople";坏:sql= "select*frompeople";使用select*的话会增加解析的时间,另外会把不需要的数据也给查询出来,数据传输也是耗费时间的,比如text类型......
  • IDEA:用IDEA生成对应数据库表的实体类
    不想从数据库一个个生成实体类。配置好数据库信息后,在项目结构里配置JPA,下载配置persistence.xml文件。 第一次使用需要下载对应jar包,确定即可。之后会在下方出现相应数据库信息,右键数据库 点击通过数据库架构  确定则生成,当新生成表时,可能不显示,退出idea或刷新,再......
  • jmeter接口测试 -- 连接数据库(MySQL)
    三个步骤一、下载MySQL的连接驱动1、先查看MySQL的版本1)服务器上查看:mysql--version 2)在连接工具上查看 2、下载连接驱动,下载地址:https://dev.mysql.com/downloads/connector/j/1)选择系统(windows系统才选择我下图中......
  • sqlserver数据库授权操作
    系统需求简介最近一直在做高校云平台这个项目,我们小组做的是其中的一个子系统是成绩管理系统,不同于之前的开发方式,本次我们采用的是分模块开发也就是将划分的粒度变得更加的小了,这样就有一个好处,就是各自负责各自的便于开发和调试。但是这样也带来一个问题,就是数据库是共同的,我们采......