🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #11270

Re: Dos dudas sobre SQL.

#11270
From: kyle
Date: Mon, 03 Dec 2001 19:29
20 lines
1463 bytes
Jes�s Carrete    Monta�a wrote:

> SELECT o.nombre, (e1.nota + e2.nota) AS notatotal FROM opositores o,
> examen1 e1, examen2 e2 WHERE o.dni = e1.dni AND e1.dni = e2.dni;
>         Tarda much�simo, de hecho tarda tanto que no tengo paciencia
> para esperar XD. Seguro que estoy haciendo alguna burrada gord�sima y
> se puede formular de una manera m�s eficiente.
> 


y digo yo... eso no deberia hacerse con inner joins y todas esas cosas?

aish....




--
Si debugear es el arte de quitar bugs, programar debe ser el arte de  
ponerlos. Edsger W. Dijkstra
Technical Details
Message-ID: <9ugjs0$89dga$1@ID-65864.news.dfncis.de>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!193.174.75.178!news-fra1.dfn.de!fu-berlin.de!uni-berlin.de!217-127-78-35.uc.nombres.ttd.ES!not-for-mail
References: <87g06u69nh.fsf@meltdown.ion>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,b998237532da112b
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2001-12-03 11:30:12 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!193.174.75.178!news-fra1.dfn.de!fu-berlin.de!uni-berlin.de!217-127-78-35.uc.nombres.ttd.ES!not-for-mail
From: kyle <kyle@pagina.de>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Dos dudas sobre SQL.
Date: Mon, 3 Dec 2001 20:29:49 +0100
Lines: 20
Message-ID: <9ugjs0$89dga$1@ID-65864.news.dfncis.de>
References: <87g06u69nh.fsf@meltdown.ion>
NNTP-Posting-Host: 217-127-78-35.uc.nombres.ttd.es (217.127.78.35)
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8Bit
X-Trace: fu-berlin.de 1007407808 8697354 217.127.78.35 (16 [65864])
User-Agent: KNode/0.4