Database Exercise: Primary KEY Field Name Data Type
Database Exercise: Primary KEY Field Name Data Type
**If data type is Number, change field size to Double, format to Fixed, decimal places to
two (2).
3. Input a field validation rule for the following fields in the Collar table
a. y – between 872,500 to 873,300
b. x – between 493,600 to 494,600
c. z – between 300 to 700
d. max_depth – greater than zero (0)
4. Edit the Survey table with the following fields and corresponding data type
5. Input a field validation rule for the following fields in the Survey table
a. depth – greater than or equal to zero
b. azimuth – between 0 and 360
c. dip – between -90 and 90
6. Edit the Assay table with the following fields and corresponding data type
10. Input a field validation rule for the following fields in the Assay table
a. depth_from – greater than or equal to zero (0)
b. depth_to – greater than zero (0)
11. Input a table validation rule for Lithology table: depth_to > depth_from
12. Edit the tempResult table with the following fields and corresponding data type
PRIMARY FIELD NAME DATA
EXPRESSION
KEY TYPE
No samp_id Short Text
No Au_ppm Number
No Ag_ppm Number
13. Copy the data from the following Excel files into the corresponding table
14. Update the Au_ppm & Ag_ppm values of the samples within the Assay table
using the values in tempResults using an Update Query. Save the Update
Query.
15. Create a Select Query showing the hole ids, y, x, z, average azimuth, average
dip, average Au_ppm, and average Ag_ppm for holes drilled between January 1,
2018 to April 25, 2018. Save the Select Query.