<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Sommare due tabelle count]]></title><description><![CDATA[<p dir="auto">Salve a tutti,<br />
ho due tabelle mysql, e dovrei sommare il totale di ciascuna tabella in un unica tabella, in pratica in access, questa query funziona:</p>
<pre><code>
conn.execute ("Select sum(tot) as recTot from (SELECT count(*) as tot from persone UNION select count(*) as tot from eventi)")

</code></pre>
<p dir="auto">mentre con mysql, mi restituisce questo errore:</p>
<pre><code>
Every derived table must have its own alias

</code></pre>
<p dir="auto">come dovrei fare?</p>
<p dir="auto">Grazie, ciao.</p>
]]></description><link>https://connect.gt/topic/112899/sommare-due-tabelle-count</link><generator>RSS for Node</generator><lastBuildDate>Sat, 04 Apr 2026 13:01:34 GMT</lastBuildDate><atom:link href="https://connect.gt/topic/112899.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 18 Oct 2009 15:41:46 GMT</pubDate><ttl>60</ttl></channel></rss>