CC105 Laboratory Exercise #1 - Creating Database and Tables
CC105 Laboratory Exercise #1 - Creating Database and Tables
16. If you made a mistake and wants to delete a column, right-click on a column and select Delete
Selected.
17. When you’ve finished adding all columns, click Apply.
18. You will be asked for confirmation. Click Apply once more.
19. If all is well, a success message will be displayed. Click Finish.
20. If you expand Tables under sampledb, you should now see the members table.
21. If you’ve made a mistake or want to add columns to an existing table, right-click on the table
name then, select Alter Table. Don’t forget to click the Apply button after you make your
changes.
22. Add the following columns to the members table.
Column Name Data Type Checkboxes Default
reg_date DATETIME NN CURRENT_TIMESTAMP
member_level TINYINT(2) NN
23. Add a new table named forum with the following columns: