5. Table Concepts and Terms -2 Table: PhoneBook Columns or Fields: Company, Address, City, State, Zip, Phone
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30. Common MySQL Commands -3 alter table [table name] drop index [colmn name]; Delete unique from table. alter table [table name] modify [column name] VARCHAR(3); Make a column bigger. alter table [table name] add unique ([column name]); Make a unique column so you get no dupes. alter table [table name] change [old column name] [new column name] varchar (50); Change column name. alter table [table name] add column [new column name] varchar (20); Add a new column to db. alter table [table name] drop column [column name]; Delete a column.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
51.
52.
53.
54.
55.
56.
57.
58.
59.
60.
61.
62. MySQL Exercise -2 REGISTRATION ---------------------- REGISTRATION_ID (PK) STUDENT_ID COURSE_ID STUDENT_ID and COURSE_ID should be foreign keys