<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Caro João o raciocinio é bom mas está a devolver-me o seguinte erro:<br>
<br>
<b>ERROR: more than one row returned by a subquery used as an
expression</b><br>
<br>
<br>
<br>
On 19-08-2011 14:19, João Carvalho wrote:
<blockquote
cite="mid:CAFaYEV0DHJELjgjc1qrEZ5ZJRLVyawCLxpzd2DHXSXBcSoOghQ@mail.gmail.com"
type="cite">SELECT FID<br>
FROM rua<br>
WHERE (<br>
SELECT count(*)<br>
FROM passeio<br>
WHERE rua.FID=passeio.id_rua<br>
GROUP BY <a moz-do-not-send="true" href="http://passeio.id">passeio.id</a><br>
)>2</blockquote>
<br>
</body>
</html>