Solution to Activity 3.1
The solution to this activity is as follows:
- Open a new query tab.
- Enter the following SQL statement into the query tab:
-- ----------------------------------------------------- -- Table 'autoclub'.'eventmemberregistration' -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS 'autoclub'.'eventmemberregistration' ( Â Â 'ID' INT NOT NULL AUTO_INCREMENT, Â Â 'ClubEventID' INT NOT NULL, Â Â 'MemberID' INT NOT NULL, Â Â 'ExpectedGuestCount' INT NOT NULL DEFAULT 0, Â Â 'RegistrationDate' DATE NOT NULL, Â Â 'FeesPaid' BIT NOT NULL DEFAULT 0, Â Â 'TotalFees' DOUBLE NOT NULL DEFAULT 0, Â Â 'MemberAttended' BIT NOT NULL DEFAULT 0, Â Â 'ActualGuestCount' INT NOT NULL DEFAULT 0, Â Â 'Notes' MEDIUMTEXT NULL, Â ...