The Queries in this page solved at the library database. It is a sample database generated by randomly records. You can download it from the link. You will see more than 500 examples in the future. You can filter from the search panel above by selecting sql statements. I hope you will like it
Solution 1)
Update ogrenci set puan=100
ETİKETLER
Update -Solution 1)
Update kitap set puan +=5
Solution 2)
Update kitap set puan = puan + 5
ETİKETLER
Update -Solution 1)
Update ogrenci set ad='Veli'
where ad = 'Ali'
ETİKETLER
Update - Where -Solution 1)
Update ogrenci set ad = 'Süleyman' where ogrno = 20
ETİKETLER
Update - Where -Solution 1)
Update ogrenci set sinif = '10C' where ogrno between 20 and 30
ETİKETLER
Update - Where - Between -Solution 1)
Update ogrenci set puan += 5 where sinif = '10E' and cinsiyet = 'E'
ETİKETLER
Update - Where - Multi Condition -Solution 1)
Update ogrenci set ad = 'Arzu', soyad = 'Çelik' where ogrno = 24
ETİKETLER
Update - Where -Solution 1)
Update kitap set puan +=10
where sayfasayisi = (Select MAX(sayfasayisi) from kitap)
ETİKETLER
Update - Where - Sub Query - Aggragate -Solution 1)
Update kitap set puan += 1
where turno = (Select turno from kitap where ad = 'Dram')
Solution 2)
Update kitap set puan += 1
where turno in (Select turno from kitap where ad = 'Dram')
ETİKETLER
Update - Where - Sub Query -