C:\Users\Administrator>mysql -uhadoopguide -p
Enter password: ***********
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 14
Server version: 8.0.40 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> use hadoopguide;
Database changed
mysql> create table widgets(id int not null primary key auto_increment,
-> widget_name varchar(64) not null,
-> priice decimal(10,2),
-> design_date Date,
-> version int,
-> design_comment varchar(100));
Query OK, 0 rows affected (0.02 sec)
mysql>