Create category table in it4bus database. The aim is to
classify the news.
To do this task, I have reviewed knowledge of
- Interacting to MySQL Server via terminal: mysql -u root -p
- Creating a table: CREATE TABLE table_name (id int NOT NULL primary key increment, name varchar(100), slug(150));
- Inserting data into the table: INSERT INTO table_name VALUES(....);
- Adding the foreign key to news: category_id using ALTER TABLE table_name ....
- Updating table: UPDATE table_name SET field1=value1 WHERE....;