Apuntes
SQL
Contenido del apunte (3)
Página 1
Queries
SELECT - gets data from a database
INSERT - add a record to a table
UPDATE - change existing data
DELETE - remove records
SELECT
SELECT <fields>
FROM <table>
WHERE <condition>
ORDER BY <fields>
DELETE
DELETE
FROM <table>
WHERE <condition>
Página 2
UPDATE
UPDATE <table>
SET <field>=<value>[,<f2>=<v2>…]
WHERE <condition>
INSERT
INSERT
INTO <table> [(<f1>,<f2>…)]
VALUES (<v1>[,<v2>,<v3>…])
CREATE TABLE
CREATE TABLE tbl_Customers
(
cust_id int Primary Key,
name varchar(30),
age int,
Address varchar(100)
)
Página 3
Información
- Descripción
- A level (4.10 Databases) Computing Apunte sobre SQL, creado por Rose Wakeford el 23/02/2026.
- Creado por
- Rose Wakeford
- Visitas
- 0
- Valoración