SORU
14 EKİM 2009, ÇARŞAMBA


Nasıl MySQL iki değer max almak için?

Denedim ama başarısız oldu:

mysql> select max(1,0);
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual 
that corresponds to your MySQL server version for the right syntax to use 
near '0)' at line 1

CEVAP
14 EKİM 2009, ÇARŞAMBA


GREATEST() kullanın

E. g.:

SELECT GREATEST(2,1);

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • Autodesk 3ds Max Learning Channel

    Autodesk 3ds

    23 HAZİRAN 2010
  • LardTardProductions's channel

    LardTardProd

    10 NİSAN 2009
  • Shanice Caruthers

    Shanice Caru

    27 EKİM 2011