When I run the following mysql statement, I get 127 rows returned:
SELECT t.strat_id, t.candle_id, t.spot_entry, t.spot_close, t.f,t.fa,t.b,t.we,t.direct,t.date_created,t.date_closed,t.notes,t.results FROM cp_user_trades AS t INNER JOIN candles2 AS c ON t.candle_id = c.id WHERE t.user_login = "user" AND t.active=0 AND t.deleted=0 ORDER BY t.date_closed DESC When I remove the INNER JOIN I get 131 rows returned:
SELECT t.strat_id, t.candle_id, t.spot_entry, t.spot_close, t.f,t.fa,t.b,t.we,t.direct,t.date_created,t.date_closed,t.notes,t.results FROM cp_user_trades AS t WHERE t.user_login = "user" AND t.active=0 AND t.deleted=0 ORDER BY t.date_closed DESC How can I SELECT the 4 rows that are not being returned in the first statement?
Thank you!