ciao Raga,
butto la spugna;
WHERE type != 5 AND type != 6
( ma canno da qualche parte perché tira su anche type = 5 e type 6
ecco a voi la query comleta
grazie
Gio
--
SELECT DATA.ID AS DATA_ID,
DATA.CATALOG AS DATA_CATALOG,
DATA.TRACK AS DATA_TRACK,
DATA.cn AS DATA_cn,
DATA.prod AS DATA_prod,
DATA.yy AS DATA_yy,
DATA.isrc AS DATA_isrc
FROM data_keep_calm_records.DATA JOIN data_keep_calm_records.data ON DATA.ID = data.id
WHERE type != 5 AND type != 6 AND
genre = "House" OR genre = "Tech House"
ORDER BY RAND() LIMIT 1
butto la spugna;
WHERE type != 5 AND type != 6
( ma canno da qualche parte perché tira su anche type = 5 e type 6
ecco a voi la query comleta
grazie
Gio
--
SELECT DATA.ID AS DATA_ID,
DATA.CATALOG AS DATA_CATALOG,
DATA.TRACK AS DATA_TRACK,
DATA.cn AS DATA_cn,
DATA.prod AS DATA_prod,
DATA.yy AS DATA_yy,
DATA.isrc AS DATA_isrc
FROM data_keep_calm_records.DATA JOIN data_keep_calm_records.data ON DATA.ID = data.id
WHERE type != 5 AND type != 6 AND
genre = "House" OR genre = "Tech House"
ORDER BY RAND() LIMIT 1