This post has been edited 1 times, last edit by "-=)GWC(RaMsEs" (Jan 23rd 2007, 11:21am)
This post has been edited 2 times, last edit by "CULT_Bastrup" (Jan 23rd 2007, 11:47am)
This post has been edited 1 times, last edit by "-=)GWC(RaMsEs" (Jan 23rd 2007, 4:58pm)
Quoted
Original von CULT_Bastrup
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 'SELECT id,time,status FROM DB1 UNION SELE
Quoted
SELECT a.* FROM
(
SELECT tabelle1.id, tabelle1.time, tabelle1.status FROM tabelle1
UNION
SELECT tabelle2.id, tabelle2.time, tabelle2.status FROM tabelle2
)
AS a ORDER BY a.time;
This post has been edited 1 times, last edit by "patrik" (Jan 23rd 2007, 11:52pm)
Quoted
Original von CULT_Bastrup
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 'SELECT id,time,status FROM DB1 UNION SELE
This post has been edited 3 times, last edit by "patrik" (Jan 24th 2007, 12:00am)