SQLite Syntax

SQLite Syntax Rules for using SQLite Commands: Some SQLite commands are case sensitive. Comments in SQLite cannot be nested. Comments can be represented with two consecutive “-” characters or appears with “/*” and “*/” character pair.   SQLite Statements: All the SQLite statement ends with a semicolon (;). Below is a list of the SQLite … Read more

Commands in SQLite

SQLite Commands SQLite commands can be either of the three types:   1. Data Definition Language (DDL): It includes three commands: CREATE: To create a table, a view of a table or other object in the database. ALTER: To modify an existing database object like a table. DROP: To delete an entire table, a view … Read more

Install SQLite

SQLite Installation To install SQLite on Windows: Method 1: To create, attach and detach database permanently. Step 1: Download precompiled binaries for Windows from the official SQLite website link. http://www.sqlite.org/download.html Step 2: Download the sqlite-dll and sqlite-shell zip file. Or Download the sqlite-tools-win32-x86-3170000.zip file. Step 3: Create a folder in C directory and name it … Read more

Advantages of SQLite

SQLite Advantages Being a very lightweight database management system, SQLite is very popular. No administration was required for operating a program in SQLite. However, it can only handle low to medium traffic HTTP requests. Also, the size of the database is usually restricted to 2GB. Even with these limitations, the SQLite advantages have gained more … Read more

Features of SQLite

SQLite Features SQLite popularity is because of the unique features that it offers, which includes: Free to use. Open-source. No license required to work with SQLite. Doesn’t require a different server process or system to operate and is thus Serverless. Very flexible. Facilitates work on multiple databases on the same session at the same time. … Read more

Difference between SQL and SQLite

SQL vs SQLite Below is a brief comparison between SQL and SQLite.   SQLite SQL Written in ANSI-C. Written in C language. Embeddable Relational Database Management System. Structured Query Language used to query a Relational Database System. File-based. Does not have a separate server process. Standard. Specifies how a relational schema is created and many … Read more

B+ Tree

B+ Tree A B+ tree is a type of balanced binary seek tree. It chases a multi-degree index layout. Inside of the B+ tree, leaf nodes represent the actual information recommendations. B+ tree guarantees that everyone leaf nodes remain at the same top. In the B+ tree, the leaf nodes have associated with the usage … Read more

Hashing in DBMS

Hashing In a large structure of database, it is exceptionally wasteful to look at all the file numbers and reach out to the specified information. Hashing procedure is utilized to count the coordinate area of an information present on the disk by not using record structure. In the strategy, information is put away at the … Read more

5NF Fifth normal form

Fifth normal form (5NF) A relation in the DBMS is in the Fifth Normal Form if it is in the Fourth Normal Form and does not consist of any join dependency. The joining must also be lossless for this. Fifth Normal Form is satisfied when all the tables present in the DBMS are broken down … Read more

Testing of Serializability in DBMS

Testing of Serializability The Serializability of a schedule is tested using a Serialization graph. Assume a schedule S1. For S1, a graph called Precedence Graph is constructed. This graph consists of a pair G = (V, E), where E is a set of the edges, and V is a set of all vertices. All the … Read more