Assignment 2 Snehal
Assignment 2 Snehal
F
or creating the database use query: create database snehaldb;
For using the database use query: use snehaldb;
For create the table (for ex. Row and column) use query:
MariaDB [snehaldb]> create table book(
-> b_no int(2),
-> b_name varchar(25),
-> b_price int(3),
-> b_author varchar(50));
For insert the data in table use query: insert into book;
MariaDB [snehaldb]> insert into book values
-> (02,'priyanka',700,'priyanka'),
-> (03,'yashye',560,'yashvanti'),
-> (04,'mayuri',236,'mayuri');
For check the table with data use query: select * from book;