tengo problema con esta consulta SQL:"no se puede utilizar en la cláusula orden global" con MySQL ordenar
(SELECT tb1.id,tb1.bdate,tb1.jumpCard,tb1.publicImage,tb1.lastlogin
FROM users AS tb1, online AS tb2
WHERE tb1.valid='1' AND tb1.sex='female' AND tb1.looking_for='male' AND tb1.id = tb2.member_id
ORDER BY tb1.publicImage) ORDER BY tb1.id DESC
por alguna razón estoy recibiendo:
Table 'tb1' from one of the SELECTs cannot be used in global ORDER clause
algún consejo?
Gracias
Tienes que salvar mi vida –