0% found this document useful (0 votes)
27 views

IS 1stDATAASIGNMENT

The document discusses how to create a database and table in XAMPP by connecting to MariaDB, displaying existing databases, creating a new database and table, and inserting values into the table. It also defines what a database is as a collection of organized data stored electronically that can be created, read, updated and deleted. Common database types include relational, non-relational, and object-oriented. Finally, it instructs to design an Itahari International College student database by creating a table with fields for student ID, name, DOB, and phone number then inserting at least 5 records.

Uploaded by

Pankaj Khadka
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views

IS 1stDATAASIGNMENT

The document discusses how to create a database and table in XAMPP by connecting to MariaDB, displaying existing databases, creating a new database and table, and inserting values into the table. It also defines what a database is as a collection of organized data stored electronically that can be created, read, updated and deleted. Common database types include relational, non-relational, and object-oriented. Finally, it instructs to design an Itahari International College student database by creating a table with fields for student ID, name, DOB, and phone number then inserting at least 5 records.

Uploaded by

Pankaj Khadka
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Name: Pankaj Khadka (L1C6)

1 How are databases and tables created in XAMPP? Implement with


the properly given scenario and include necessary screenshots
Here is a step-to-step wise way to create a database and table in Xammp:
❖ First connecting with MariaDB (MySQL -u root -h localhost)

➢ Now displaying all our existing databases: (show databases;)

➢ Creating new database and using it:( create database assign; , use assign)
➢ Creating a table first-table

❖ Inserting value in the table:

➢ Displaying table

2 What is a database? Research in detail.


A database is a well-organized collection of all the information
or data, well organized and typically stored in a computer system
electronically. They are designed to store, retrieve, modify, and delete any
necessary data with many more various data-processing operations. There
are some common types of databases:

1. Relational Databases: Relational databases are a system designed


in the 1970s. This database uses Structured Query Language (SQL)
for operations like creating, reading, updating, and deleting data.

2. Non-Relational Databases: Most commonly referred to as NoSQL


databases. These databases' varieties have boomed over the last
decade. Examples include MongoDB and Redis.

3. Object-oriented databases: Object-oriented databases stores and


manage objects on a database server's disk. Object-oriented
databases are unique because associations between objects can
persist. This means that object-oriented programming and the
querying of data across complex relationships are fast and powerful.

3 Design the database of Itahari International College (IIC). Create


table students. The table must have fields i.e., (student_ID,
First_Name, Last_Name, DOB, and Phone_Number) and insert at
least five data.
• Using Database:

• Creating a table:

• Inserting values:

1.
2.

3.

4.

5.

• Displaying:

You might also like