Solution to Activity 3.2
The solution for the activity is as follows:
- Open a SQL tab and run the following command to fetch the ID of the new member:
SELECT ID FROM members where 'Surname' = "Pettit"
- Execute the SQL statement by clicking the lightning bolt icon:
You should get the following output:
- Download the image from GitHub and add it to the
Members/Photos
folder. Add your member ID to the name of the image. The folder should look like the following:
- Create a script in a new SQL tab to update your record with the image and path:
UPDATE 'members' SET PhotoPath = "Members\\Photos\\MemberPhoto_2.jpg" WHERE 'ID'=2;
- Execute the SQL...