bugl
bugl
HomeLearnPatternsSearch
HomeLearnPatternsSearch

Loading lesson path

Learn/SQL

SQL

SQL Database

SQL Database focused on SQL CREATE DATABASE Statement and related concepts.

Lesson 1

SQL CREATE DATABASE Statement

SQL CREATE DATABASE Statement

2 min
Read lesson →
Lesson 2

SQL DROP DATABASE Statement

SQL DROP DATABASE Statement

2 min
Read lesson →
Lesson 3

SQL BACKUP DATABASE Statement

SQL BACKUP DATABASE Statement

2 min
Read lesson →
Lesson 4visual

SQL CREATE TABLE Statement

SQL CREATE TABLE Statement

2 min
Read lesson →
Lesson 5visual

SQL DROP TABLE Statement

The SQL DROP TABLE Statement The DROP TABLE statement is used to permanently delete an existing table in a database. Note: Be careful before dropping a table! Dropping a table deletes the entire tabl…

2 min
Read lesson →
Lesson 6visual

SQL ALTER TABLE Statement

SQL ALTER TABLE Statement The ALTER TABLE statement is used to add, delete, or modify columns in an existing table. The ALTER TABLE statement is also used to add and drop various constraints on an ex…

4 min
Read lesson →
Lesson 7

SQL Constraints

SQL Constraints SQL constraints are rules for data in a table. Constraints are used to prevent insertion of invalid data in a table, and ensures the accuracy and reliability of the data in the table.…

2 min
Read lesson →
Lesson 8

SQL NOT NULL Constraint

SQL NOT NULL Constraint The NOT NULL constraint enforces a column to NOT accept NULL values. This enforces a field to always contain a value, which means that you cannot insert a new record, or updat…

2 min
Read lesson →
Lesson 9

SQL UNIQUE Constraint

SQL UNIQUE Constraint The UNIQUE constraint ensures that all values in a column are unique. Both the UNIQUE and PRIMARY KEY constraints provide a guarantee for uniqueness for a column or set of colum…

2 min
Read lesson →
Lesson 10

SQL PRIMARY KEY Constraint

SQL PRIMARY KEY Constraint

2 min
Read lesson →
Lesson 11visual

SQL FOREIGN KEY Constraint

SQL FOREIGN KEY Constraint The FOREIGN KEY constraint establishes a link between two tables, and prevents action that will destroy the link between them. A FOREIGN KEY is a column in a table that ref…

2 min
Read lesson →
Lesson 12

SQL CHECK Constraint

SQL CHECK Constraint The CHECK constraint is used to ensure that the values in a column satisfies a specific condition. The CHECK constraint evaluates the data to TRUE or FALSE. If the data evaluates…

2 min
Read lesson →
Lesson 13

SQL DEFAULT Constraint

SQL DEFAULT Constraint The DEFAULT constraint is used to automatically insert a default value for a column, if no value is specified. The default value will be added to all new records (if no other v…

2 min
Read lesson →
Lesson 14

SQL CREATE INDEX Statement

SQL CREATE INDEX Statement The CREATE INDEX statement is used to create indexes on tables in databases, to speed up data retrieval. The users cannot see the indexes, they are just used to speed up se…

2 min
Read lesson →
Lesson 15

SQL AUTO INCREMENT Field

SQL AUTO INCREMENT Field

4 min
Read lesson →
Lesson 16

SQL Working With Dates

SQL Working With Dates

2 min
Read lesson →
Lesson 17

SQL Views

SQL CREATE VIEW Statement An SQL view is a virtual table based on the result-set of an SQL statement. An SQL view contains rows and columns, just like a real table. The fields in the view are fields…

2 min
Read lesson →
Lesson 18

SQL Injection

SQL Injection SQL injection is a code injection technique that can destroy your database. SQL injections are a common web hacking technique. SQL injections are when attackers insert malicious SQL cod…

3 min
Read lesson →
Lesson 19visual

SQL Parameters

SQL Parameters - Prevent SQL Injection SQL parameters (Parameterized Queries) can be used to protect a web site from SQL injections. A parameterized query is a SQL statement that uses placeholders in…

2 min
Read lesson →
Lesson 20

SQL Prepared Statements

SQL Prepared Statements - Prevent SQL Injection SQL prepared statements can be used to protect a web site from SQL injections. Prepared statements seperates the query structure (the SQL) from the act…

3 min
Read lesson →
Lesson 21

SQL Hosting

SQL Hosting

2 min
Read lesson →