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

DBMS

The document discusses installing SQLite and SQLiteBrowser on a laptop. It then describes exploring features of SQLiteBrowser like creating and modifying databases and tables. It provides a sample database schema and populating tables with sample data. It concludes with writing SQL statements to query the populated database.

Uploaded by

VIPIN MISHRA
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views

DBMS

The document discusses installing SQLite and SQLiteBrowser on a laptop. It then describes exploring features of SQLiteBrowser like creating and modifying databases and tables. It provides a sample database schema and populating tables with sample data. It concludes with writing SQL statements to query the populated database.

Uploaded by

VIPIN MISHRA
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

1.

Install SQLite & SQLiteBrowser on your laptop (free database)

SQLite is a relational database management system contained in a C library. In contrast to many other database
management systems, SQLite is not a client–server database engine. Rather, it is embedded into the end
program. SQLite generally follows PostgreSQL syntax. 

Steps to Install the SQLite Browser


1) Download the SQLiteBrowser from the below link https://sqlitebrowser.org/
2) Follow the instructions presented in the installtion window
3) Shortcut for opening the SQLite browser gets created and we can access it from there.

2. Explore the features of SQLiteBrowser


Features of the SQLiteBrowser
 Create and compact database files
 Create, define, modify and delete tables
 Create, define and delete indexes
 Browse, edit, add, search and delete records
 Import and export records as text
 Import and export tables from/to CSV files
 Issue SQL queries and inspect the results
 Examine log of all the SQL commands issued by the application

3. Create a database with the schema given at the end of this document
Created the Database with the name Project.db with the following tables
1) Employee
2) Department
3) Dependent
4) Dept_Locations
5) Project
6) Works_On


4. Populate these tables of this schema with sample data

Data Updated on the Employee Table: -

Data Updated on the Department Table: -


Data Updated on the Dependent Table: -

5. Write & execute SQL statements to obtain the following information from the database

Section 4
1. Increase salary of employees working in ‘HR’ department by 10%
2. Delete project whose project number = 12345
Database schema

You might also like