Question: how to use this use asg2; CREATE TABLE work_log( -> id INT NOT NULL AUTO_INCREMENT, -> person VARCHAR(100) NOT NULL, -> hours INT, -> PRIMARY
how to use this
use asg2; CREATE TABLE work_log( -> id INT NOT NULL AUTO_INCREMENT, -> person VARCHAR(100) NOT NULL, -> hours INT, -> PRIMARY KEY ( id )); INSERT INTO work_log(person, hours) values('yournamehere', 4); /* Insert at least two more rows with different values */ SELECT * FROM work_log;
in mariadb
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
