Q2 Database Theory
b) SQL [9 Marks]
Now that you have finished the basics for which SQL is built upon, time to do the real thing. In psql, you have been provided a dataset for a set of banknotes that have the potental to be fake. The following schema applies:
CourseNana.COM
Table: Banknotes
Name | Description |
---|
Variance | Variance of Wavelet Transformed Image (continous value) |
Skewness | Skewness of Wavelet Transformed Image (continous value) |
Curtosis | Curtosis of Wavelet Transformed image (continous value) |
Entropy | Entropy of Image (continous value) |
Class | Classification (Binary value) |
For each of the following questions, provide the SQL query you used to get the answer, and the answer you received.
CourseNana.COM