Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: MySQL update


  • Subject: Re: lug-bg: MySQL update
  • From: Kamen Tomov <kamen@xxxxxxxxxxx>
  • Date: Fri, 19 Sep 2003 16:35:11 +0300


On Fri, Sep 19, 2003 at 05:28:43AM -0700, martin petkov wrote:
> ----------------
> |user_id|credit|
> ----------------
> |1      |10    |
> |2      |10    |
> |3      |10    |
> |4      |10    |
> |5      |20    |
> |6      |20    |
> |7      |10    |
> |8      |10    |
> ----------------
> 
> t.e. kak da se update-nat stoinostite na credit (s 5
> naprimer), koito sa s user_id ot 1-4 i 7-8 .

UPDATE t1 SET t1.credit=5
WHERE t1.user_id BETWEEN 1 AND 4
OR t1.user_id BETWEEN 7 AND 8
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================


  • Относно:

 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.