Adnan
banner
admztech.bsky.social
Adnan
@admztech.bsky.social
Web .dev
NOT NULL : The NOT NULL constraint ensures that a column in a record cannot have a null value.
March 12, 2025 at 7:34 PM
UNIQUE constraint ensures that all values in a column are distinct across all rows.
March 12, 2025 at 7:34 PM
Primary Key Constraint: A primary key is used to ensure that the value in a column is unique for each row and cannot be null. We can use only one primary key in a table. The primary key is applied to a column that uniquely identifies each record in the table.
March 12, 2025 at 7:34 PM
Constrains are the rule we create on database table that enforce rule that insure the data accuracy and reliability.
March 12, 2025 at 7:34 PM
March 12, 2025 at 7:34 PM
4. TEXT: Text string stored.

5. BLOB: Short for Binary Large Objects and typically used for images, audio and other types of multimedia.

6. BOOLEAN: Boolean values are written in SQLite as True or False, but are recorded as 1 and 0.

0 = false
1 = true
March 12, 2025 at 6:41 PM
1. NULL: Used to represent the unknown value.

2. INTEGER: A signed integer stored.

3. REAL: Floating value stored.
March 12, 2025 at 6:41 PM
SQL support different data types to sorted different types of data in database . The datatype availability to you depend on which database management system using . for example SQLite, MySQL or PostgreSQL.

SQLite only supports the most basic types, and I'm currently learning and using SQLite:1
March 12, 2025 at 6:41 PM
Retrieves all columns using simple asterisk symbol (*) in SQL is commonly called a "wildcard" or "star" character.
March 12, 2025 at 7:46 AM
For multiple columns, you simply separate them with commas:
March 12, 2025 at 7:46 AM
#SELECT_command
The SELECT command retrieves data from databases.
Basic syntax is that SELECT command then Column-name then write FROM keyword and at last we mention from which table by writing Table-name.

We are saying give all id from user Table.
March 12, 2025 at 7:46 AM
The ALTER command helps us to:
1. Add a new column to the table.
2. Delete (drop) a column from the table (not supported in SQLite directly).
3.Modify (update) an existing column, such as changing its data type.
4.Rename a column in the table.
5.Rename the table itself.
March 12, 2025 at 7:46 AM
#ALTER_TABLE
When we need to modify a table's structure or schema, instead of deleting the old table and creating a new one (which would cause data loss), we use the ALTER command. It allows us to modify the table without losing existing data.
March 12, 2025 at 7:43 AM
#NoSql_Databases
1. NoSQL databases do not use SQL to manipulate the data.

2. The data was not stored in relational (table ) form. It was used in different forms, such as Document-based, Key-value Stores, Graph databases, and Wide columns.
3. Different queries methods use
4 .Scheme is dynamic.
March 12, 2025 at 7:41 AM
SQL_database
1.SQL databases store data in a table or relational Form.

2. SQL databases use the SQL language to perform queries.

3. A scheme must be defined before storing data.
March 12, 2025 at 7:41 AM
what is the Database?
A database is an organized collection of the data that allow for easy to storage, retrial and management of information.
March 12, 2025 at 7:39 AM
SQL, is the primary programming language used to manage and interact with the Relation Database. Using the SQL language we can perform the various operation like, updating, reading, creating and delete the records within a database.
March 12, 2025 at 7:39 AM
We can retrieves all columns using simple asterisk symbol (*) in SQL is commonly called a "wildcard" or "star" character.
March 7, 2025 at 3:37 PM
For multiple columns, you simply separate them with commas:
March 7, 2025 at 3:37 PM
SELECT_command
The SELECT command retrieves data from databases.
Basic syntax is that SELECT command then Column-name then write FROM keyword and at last we mention from which table by writing Table-name.

We are saying give all id from user Table.
March 7, 2025 at 3:37 PM
The ALTER command helps us to:

1. Add a new column to the table.
2. Delete (drop) a column from the table (not supported in SQLite directly).
3.Modify (update) an existing column, such as changing its data type.
4.Rename a column in the table.
5.Rename the table itself.
March 5, 2025 at 1:07 PM
#ALTER_TABLE
When we need to modify a table's structure or schema, instead of deleting the old table and creating a new one (which would cause data loss), we use the ALTER command. It allows us to modify the table without losing existing data.
March 5, 2025 at 1:07 PM
#NoSql_Databases

1. NoSQL databases do not use SQL to manipulate the data.

2. The data was not stored in relational (table ) form, such as Document-based, Key-value Stores, Graph databases, and Wide columns.

3. Use different query methods.

4 .Scheme is dynamic and flexible.
March 4, 2025 at 6:05 PM
#Sql_database.
1.SQL databases store data in a table or relational Form.

2. SQL databases use the SQL language to perform queries.

3. A scheme must be defined before storing data.
March 4, 2025 at 6:02 PM