SQL Dersleri-3

http://www.nanelimon.net/wp-content/plugins/sociofluid/images/digg_32.png http://www.nanelimon.net/wp-content/plugins/sociofluid/images/reddit_32.png http://www.nanelimon.net/wp-content/plugins/sociofluid/images/delicious_32.png http://www.nanelimon.net/wp-content/plugins/sociofluid/images/furl_32.png http://www.nanelimon.net/wp-content/plugins/sociofluid/images/technorati_32.png http://www.nanelimon.net/wp-content/plugins/sociofluid/images/google_32.png http://www.nanelimon.net/wp-content/plugins/sociofluid/images/myspace_32.png http://www.nanelimon.net/wp-content/plugins/sociofluid/images/facebook_32.png http://www.nanelimon.net/wp-content/plugins/sociofluid/images/yahoobuzz_32.png http://www.nanelimon.net/wp-content/plugins/sociofluid/images/twitter_32.png

1)DISTINCT Deyimi

Evet arkadaşlar SQL de listeleme sorgularında yardımcı olacak kodlara devam ediyoruz.

Bu kodumuz şu işi yapıyor elinizde 100 kayıt var ve siz aynı olanları listelemek istemiyorsunuz, işte ilacımız bu kod;

SELECT DISTINCT ad FROM tablo1

Bu tabloda bu kodu çalıştırdığımızda;

AD SOYAD TELEFON
Ali Ercan 1234
Yahya Kaya 432
Ali Sönmez 143
Nuri Er 543

Sonucumuz şöyle olacak yani aynı olan adlardan sadece bir tanesini ve farklı olanları yazacak;

AD
Ali
Yahya
Nuri

Popularity: 8% [?]

Random Posts

This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

Sadece 1 Yorum Yapılmış. »

  1. Çalışmaların gayet başarılı. Sürekli takip etcem :)

Yorum Yap


lida fx15 lida zayıflama hapı fx15