While SQL adheres to the ANSI/ISO standard, various versions of the language exist. Nonetheless, to ensure compliance with the ANSI standard, all versions typically support the fundamental commands (like SELECT, UPDATE, DELETE, INSERT, WHERE) in a consistent manner.
Note: Most of the SQL database programs also have their own proprietary extensions in addition to the SQL standard! |
To construct a website displaying data from a database, you’ll require the following:
RDBMS stands for Relational Database Management System, serving as the foundation for SQL and all contemporary database systems like MS SQL Server, IBM DB2, Oracle, MySQL, and Microsoft Access.
Data within an RDBMS is organized into database objects known as tables. Each table represents a collection of related data entries, structured into columns and rows.
Consider the “Customers” table:
SELECT * FROM Customers; |
Each table is divided into smaller components known as fields. Within the Customers table, the fields encompass CustomerID, CustomerName, ContactName, Address, City, PostalCode, and Country. A field, serving as a column in a table, is intended to retain specific details about each record within the table.
A record, often referred to as a row, represents each individual entry within a table. For instance, the Customers table mentioned above consists of 91 records. A record can be seen as a horizontal entity within a table.
On the other hand, a column is a vertical entity within a table that encompasses all the information related to a specific field within that table.