Gracias por responder. De momento solo quiero unir las 3 tablas, luego ya mostrare los datos que quiero.
He hecho esto
Código SQL:
Ver originalSELECT a.*, b.*, c.*, FROM UNION a INNER JOIN ciudades b ON a.idciudad = b.id INNER JOIN usuarios c ON c.id = a.idusuarios
pero me da el diguiente error: #1064 - 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 'FROM union a INNER JOIN ciudades b ON a.idciudad = b.id INNER JOIN usuarios c ON c' at line 1