Cohorts
  • Discover
  • About Us
  • Blog
  • Patika.dev
  • Web3

SQL

Giriş
Veri ve Veritabanı
Veritabanı Yönetim Sistemi
SQL Nedir?
PostgreSQL Kurulumu

SELECT
WHERE ve Karşılaştırma Operatörleri
WHERE ve Mantıksal Operatörler
Ödev 1
BETWEEN ve IN
Ödev 2
LIKE ve ILIKE
Ödev 3
DISTINCT ve COUNT
Ödev 4
PSQL ve Uygulama I

ORDER BY
LIMIT ve OFFSET
Ödev 5
Aggregate Fonksiyonlar
Ödev 6
GROUP BY
HAVING
Ödev 7
ALIAS

Tablo Oluşturmak - Silmek
Verileri Güncellemek - Silmek
Ödev 8
PRIMARY KEY - FOREIGN KEY
Veri Tipleri I
Veri Tipleri II
NOT NULL ve ALTER
UNIQUE
CHECK
PSQL ve Uygulama II

INNER JOIN
Ödev 9
LEFT JOIN
RIGHT JOIN
FULL JOIN
Ödev 10
UNION
INTERSECT ve EXCEPT
Ödev 11

Alt Sorgu Nedir?
Any ve All Operatörleri
Ödev 12
Alt sorgular ve JOIN Yapısı
Genel Tekrar

Tablo Verilerini Güncellemek (UPDATE - DELETE)

Bir tabloda bulunan verileri güncellemek veya silmek için öncelikle örnek bir tablo oluşturup içine 5 date veri yerleştireceğim.

Bunun için Mockaroo benzeri servisleri kullanabiliriz. Aşağıdaki örnek tablo oluşturma ve veri girme komutlarını bulabilirsiniz.

CREATE TABLE my_apps (
	id INT,
	name VARCHAR(50),
	price VARCHAR(50)
);
INSERT INTO my_apps (id, name, price) values (1, 'Ronstring', '$0.96');
INSERT INTO my_apps (id, name, price) values (2, 'Duobam', '$3.44');
INSERT INTO my_apps (id, name, price) values (3, 'Tresom', '$2.21');
INSERT INTO my_apps (id, name, price) values (4, 'Redhold', '$2.52');
INSERT INTO my_apps (id, name, price) values (5, 'Y-find', '$9.14');

UPDATE

UPDATE anahtar kelimesi sayesinde tablomuzda bulunan verileri güncelleyebiliriz.

UPDATE Söz Dizimi

UPDATE <tablo_adı>
SET <sütun_adı> = değer, 
    <sütun_adı> = değer,
    ----
WHERE <koşul_adı>;

UPDATE Örnek Kullanım

my_apps tablosunda bulunan ve id 2' ye eşit olan verimizin name sütunundaki degerini 'Mayak' price sütunundaki değerini '$5.22' ile değiştirelim.

UPDATE my_apps
SET name = 'Mayak',
	price = '$5.22'
WHERE id = 2;

DELETE

DELETE anahtar kelimesi sayesinde tablomuzda bulunan verileri silebiliriz.

DELETE Söz Dizimi

DELETE FROM <tablo_adı>
WHERE <koşul_adı>;

DELETE Örnek Kullanım

my_apps tablosunda bulunan name sütunundaki verisi 'Tresom' olan satırı silelim.

DELETE FROM my_apps
WHERE name = 'Tresom';


Daha Fazlası İçin

  • W3Schools SQL UPDATE
  • W3Schools SQL DELETE
  • PostgreSQL Tutorial SQL UPDATE
  • PostgreSQL Tutorial SQL DELETE
Previous
Next

Lesson discussion

Swap insights and ask questions about “SQL”.

Enroll to participate
Start the course to unlock the discussion. Enrolling helps us keep conversations relevant to learners.
Cohorts
WebsiteDiscoverBlogPatika.devRise In
CoursesCircleRustSoliditySolanaWeb3 FundamentalsBlockchain Basics
CompanyAbout UsTerms of UsePrivacy PolicyGDPR NoticeCookies
Don't miss any update!

Disclaimer: The information, programs, and events provided on https://cohorts.patika.dev is strictly for upskilling and networking purposes related to the technical infrastructure of blockchain platforms. We do not provide financial or investment advice, nor do we make any representations regarding the value, profitability, or future price of any blockchain or cryptocurrency. Users are encouraged to conduct their own research and consult with licensed financial professionals before engaging in any investment activities. https://cohorts.patika.dev disclaims any responsibility for financial decisions made by users based on the information provided here.

© 2026 Cohorts, All rights reserved