We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 5
Microsoft Windows [Version 10.0.22000.
2538] (c) Microsoft Corporation. All rights reserved.
C:\Users\students>cd | The syntax of the command is incorrect.
C:\Users\students>cd \
C:\>cd "program files"
C:\Program Files>cd MySQL
C:\Program Files\MySQL>cd "MySQL Server 8.0"
C:\Program Files\MySQL\MySQL Server 8.0>cd bin
C:\Program Files\MySQL\MySQL Server 8.0\bin>mysql -u 1si22ad044 -p
Enter password: ********** Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 14 Server version: 8.0.39 MySQL Community Server - GPL
Copyright (c) 2000, 2024, Oracle and/or its affiliates.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> insert into STUDENT values("SHUBHA",1SI22AD044,5,"SIT extension 11th
cross","shubha@gmail.com","AI and DS",7204743192,2004,99,98,100); ERROR 1054 (42S22): Unknown column '1SI22AD044' in 'field list' mysql> insert into STUDENT values("SHUBHA","1si22ad044",5,"SIT extension 11th cross","shubha@gmail.com","AI and DS",7204743192,2004,99,98,100); ERROR 1264 (22003): Out of range value for column 'phoneno' at row 1 mysql> insert into STUDENT values("SHUBHA","1si22ad044",5,"SIT extension 11th cross","shubha@gmail.com","AI and DS",108,98,99,100); ERROR 1136 (21S01): Column count doesn't match value count at row 1 mysql> insert into STUDENT values("SHUBHA","1si22ad044",5,"SIT extension 11th cross","shubha@gmail.com","AI and DS",7204743192,2004,99,98,100); ERROR 1264 (22003): Out of range value for column 'phoneno' at row 1 mysql> insert into STUDENT values("SHUBHA","1si22ad044",5,"SIT extension 11th cross","shubha@gmail.com","AI and DS",108,2004,98,99,100); Query OK, 1 row affected (0.07 sec)
mysql> select * from STUDENT;
+--------+------------+------+--------------------------+------------------ +-----------+---------+------+------+------+------+ | Name | USN | Sem | Adrress | Email | Branch | phoneno | DOB | m1 | m2 | m3 | +--------+------------+------+--------------------------+------------------ +-----------+---------+------+------+------+------+ | SHUBHA | 1si22ad044 | 5 | SIT extension 11th cross | shubha@gmail.com | AI and DS | 108 | 2004 | 98 | 99 | 100 | +--------+------------+------+--------------------------+------------------ +-----------+---------+------+------+------+------+ 1 row in set (0.00 sec)
mysql> insert into STUDEN
values("SADHANA","1si22ad039",5,"jaynagar","sadhana@gmail.com","AI and DS",985662231,280304,98,75,84); ERROR 1146 (42S02): Table 'database1.studen' doesn't exist mysql> insert into STUDENT values("SADHANA","1si22ad039",5,"jaynagar","sadhana@gmail.com","AI and DS",985662231,280304,98,75,84); Query OK, 1 row affected (0.12 sec)
mysql> insert into STUDENT values("ANANYA","1SI22AD002",5,"RR
Nagar","Ananya@gmail.com","AI and DS",8755625664,071004,84,56,25); ERROR 1264 (22003): Out of range value for column 'phoneno' at row 1 mysql> insert into STUDENT values("ANANYA","1SI22AD002",5,"RR Nagar","Ananya@gmail.com","AI and DS",87556255,071004,84,54,65); Query OK, 1 row affected (0.04 sec)
mysql> select * from STUDENT;
+---------+------------+------+--------------------------+------------------- +-----------+-----------+--------+------+------+------+ | Name | USN | Sem | Adrress | Email | Branch | phoneno | DOB | m1 | m2 | m3 | +---------+------------+------+--------------------------+------------------- +-----------+-----------+--------+------+------+------+ | SHUBHA | 1si22ad044 | 5 | SIT extension 11th cross | shubha@gmail.com | AI and DS | 108 | 2004 | 98 | 99 | 100 | | SADHANA | 1si22ad039 | 5 | jaynagar | sadhana@gmail.com | AI and DS | 985662231 | 280304 | 98 | 75 | 84 | | ANANYA | 1SI22AD002 | 5 | RR Nagar | Ananya@gmail.com | AI and DS | 87556255 | 71004 | 84 | 54 | 65 | +---------+------------+------+--------------------------+------------------- +-----------+-----------+--------+------+------+------+ 3 rows in set (0.00 sec)
mysql> insert into STUDENT
values("PRAGA","1si22ad015",5,"Newyork","praga@gmail.com","AI and DS",745336263,130204,74,56,48); Query OK, 1 row affected (0.06 sec)
mysql> insert into STUDENT
values("POOJA","1si22ad016",5,"Mumbai","pooja@gmail.com","AI and DS",8463213333,190604,47,85,92); ERROR 1264 (22003): Out of range value for column 'phoneno' at row 1 mysql> insert into STUDENT values("POOJA","1si22ad016",5,"Mumbai","pooja@gmail.com","AI and DS",84632133,190604,47,85,92); Query OK, 1 row affected (0.04 sec)