Warning: Missing argument 1 for wp_get_related_posts(), called in /mounted-storage/home88a/sub005/sc46281-LYTF/nanelimon.net/wp-content/plugins/wp_related_posts.php on line 268 and defined in /mounted-storage/home88a/sub005/sc46281-LYTF/nanelimon.net/wp-content/plugins/wp_related_posts.php on line 41
Warning: Missing argument 2 for wp_get_related_posts(), called in /mounted-storage/home88a/sub005/sc46281-LYTF/nanelimon.net/wp-content/plugins/wp_related_posts.php on line 268 and defined in /mounted-storage/home88a/sub005/sc46281-LYTF/nanelimon.net/wp-content/plugins/wp_related_posts.php on line 41
Warning: Missing argument 3 for wp_get_related_posts(), called in /mounted-storage/home88a/sub005/sc46281-LYTF/nanelimon.net/wp-content/plugins/wp_related_posts.php on line 268 and defined in /mounted-storage/home88a/sub005/sc46281-LYTF/nanelimon.net/wp-content/plugins/wp_related_posts.php on line 41
Warning: Missing argument 4 for wp_get_related_posts(), called in /mounted-storage/home88a/sub005/sc46281-LYTF/nanelimon.net/wp-content/plugins/wp_related_posts.php on line 268 and defined in /mounted-storage/home88a/sub005/sc46281-LYTF/nanelimon.net/wp-content/plugins/wp_related_posts.php on line 41
Warning: Missing argument 5 for wp_get_related_posts(), called in /mounted-storage/home88a/sub005/sc46281-LYTF/nanelimon.net/wp-content/plugins/wp_related_posts.php on line 268 and defined in /mounted-storage/home88a/sub005/sc46281-LYTF/nanelimon.net/wp-content/plugins/wp_related_posts.php on line 41
Warning: Missing argument 6 for wp_get_related_posts(), called in /mounted-storage/home88a/sub005/sc46281-LYTF/nanelimon.net/wp-content/plugins/wp_related_posts.php on line 268 and defined in /mounted-storage/home88a/sub005/sc46281-LYTF/nanelimon.net/wp-content/plugins/wp_related_posts.php on line 41
Warning: Missing argument 7 for wp_get_related_posts(), called in /mounted-storage/home88a/sub005/sc46281-LYTF/nanelimon.net/wp-content/plugins/wp_related_posts.php on line 268 and defined in /mounted-storage/home88a/sub005/sc46281-LYTF/nanelimon.net/wp-content/plugins/wp_related_posts.php on line 41
Warning: Missing argument 8 for wp_get_related_posts(), called in /mounted-storage/home88a/sub005/sc46281-LYTF/nanelimon.net/wp-content/plugins/wp_related_posts.php on line 268 and defined in /mounted-storage/home88a/sub005/sc46281-LYTF/nanelimon.net/wp-content/plugins/wp_related_posts.php on line 41
Warning: Missing argument 9 for wp_get_related_posts(), called in /mounted-storage/home88a/sub005/sc46281-LYTF/nanelimon.net/wp-content/plugins/wp_related_posts.php on line 268 and defined in /mounted-storage/home88a/sub005/sc46281-LYTF/nanelimon.net/wp-content/plugins/wp_related_posts.php on line 41
1) SELECT Deyimi
SELECT deyimi veritabanınızdaki herhangi bir tablodan istediğiniz verileri size listeleyen komuttur.
Select komutu sadece alanlara göre filtreleme yapar,örneğin “adı” bir alan(kolon,sütun)dır.
Kullanımı;
SELECT [Alan adı1],[Alan adı2]… FROM [Tablo Adı]
Örneğin şöyle bir tablomuz olsun;

Bu tablodaki alanlar resimde görüldüğü gibi “Adı”,”Soyadı” ve “Tel” dir.
Biz eğer bu tablodaki kayıtların sadece “Adı” ve “Soyadı” alanlarını listeleyelim komut satırımız şu şekilde olacaktır;
SELECT adı,soyadı FROM tablo1
Bütün kayıtları listelemek isterseniz
SELECT adı,soyadı,tel FROM tablo1
şeklinde yazarız ama sizin tablonuzda 3 değilde 100 alan olursa mantıken bu aptalca olur değil mi? işte bunun çözümü de şöyledir;
SELECT * FROM tablo1
Gördüğünüz gibi “*” tümü anlamını taşımaktadır.
Bu SQL satırını çalıştırdığımız zaman sonuç aşağıdaki gibi olacaktır;




Yorum yapılmammış.