Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 1 out of 2 pages
Lecture notes

SQL computer science AQA

Document preview thumbnail
Preview 1 out of 2 pages

SQL computer science GCSE All syntax and notes provided notes created by a grammar school student

Content preview

No.



Date 23 07 25
SQL syntax


Select
query
SELECT tbl(Name):
FROM (feldName
tol(Name)
weRE (inktables toaethe with ID,add const(ant)
SELEC T *
outputs all fields
Select from
multiple tables
SELECT
FROM
tbl
(Name ).
(feldName) listeverythingyoU want to select
tbl(Name) tb1(Name2)
wHERE tal(Name).ID - bl(Name2).
AND
TD IDS MUST be Some
)j
(constraint

Sorting data
ORDER BY fieldName)AsC DESC

Insert data
INSERT INTO 451 (Name) 1, -
(fieid field2) qenuinl brackets,list
feld
namer
VALUES (y) values fiurespective to fheld ames

Updating data
UPDATE tbl(Name)
SET (feldName)= "New Data
WHERE (Name)id = IDNUM) Some number tablerID (eg3)
data
Delehng
HERE
DELETE FROM +bl(Name)
(constraint ),

Document information

Study
School year
200
Uploaded on
August 16, 2026
Number of pages
2
Written in
2026/2027
Type
Lecture notes
Professor(s)
.
Contains
All classes
$4.90

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
0
Followers
0
Items
12
Last sold
-



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions