Professional Documents
Culture Documents
Mis-406 Assignment
Mis-406 Assignment
2134]
(c) Microsoft Corporation. All rights reserved.
C:\Users\HP>cd c:\xampp\mysql\bin
c:\xampp\mysql\bin>mysql -u root
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 8
Server version: 10.4.28-MariaDB mariadb.org binary distribution
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [mis4o6]>
MariaDB [mis4o6]> INSERT INTO students (student_name, dob, doa, bangla_score,
math_score, english_score, email)
-> VALUES
-> ('Rahim', '2010-08-15', 90, 85, 92, 'Sachin@gmail.com'),
-> ('Karim', '2011-09-20', 88, 92, 86, 'Virat@hotmail.com'),
-> ('Jashim', '2012-06-25', 92, 94, 90, 'Rahul@yahoo.com');
ERROR 1136 (21S01): Column count doesn't match value count at row 1
MariaDB [mis4o6]> INSERT INTO students (student_name, doa, bangla_score,
math_score, english_score, email)
-> VALUES
-> ('Rahim', '2010-08-15', 90, 85, 92, 'Sachin@gmail.com'),
-> ('Karim', '2011-09-20', 88, 92, 86, 'Virat@hotmail.com'),
-> ('Jashim', '2012-06-25', 92, 94, 90, 'Rahul@yahoo.com');
Query OK, 3 rows affected (0.004 sec)
Records: 3 Duplicates: 0 Warnings: 0
c:\xampp\mysql\bin>show tables;
'show' is not recognized as an internal or external command,
operable program or batch file.
c:\xampp\mysql\bin>use mis4o6;
'use' is not recognized as an internal or external command,
operable program or batch file.
c:\xampp\mysql\bin>cd c:\xampp\mysql\bin
c:\xampp\mysql\bin>mysql -u root
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 9
Server version: 10.4.28-MariaDB mariadb.org binary distribution
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.