01 / 05
Reading is not enough
So far you have practised reading data with SELECT. But an app also adds new rows, fixes values and gets rid of rows it no longer wants.
This chapter teaches the three statements that change data. You will use a tools table of the kit in a school sports store.
id… the numbername… what the thing isplace… where it is keptmemo… anything noticed (sometimes empty)stock… how many there are
SELECT * FROM tools ORDER BY id;Result
1 | skipping rope | shelf | the cord is worn | 12 2 | ball | basket | | 8 3 | race numbers | locker | | 20 4 | timer | shelf | change the battery | 3 5 | marker cone | store | | 15 6 | whistle | locker | used often | 4