Gambar 1. Menambah dan Mengurangi Nilai Sebelumnya |
source code:
UPDATE tabel1 SET stok = stok+30 WHERE buah='anggur'; UPDATE tabel1 SET stok = stok-20 WHERE buah='melon'; UPDATE tabel1 SET stok = stok WHERE buah='apel'; UPDATE tabel1 SET stok = stok+100 WHERE buah='jeruk'; UPDATE tabel1 SET stok = stok WHERE buah='semangka';
terimakasih sudah share
ReplyDeletesolder uap
kalo yg insert pake POST method caranya gimana ya ?
ReplyDeletedi sini ada https://www.w3schools.com/tags/ref_httpmethods.asp
Delete