Is It Null Or Not Null?
select * as wild_pokemons from pokemons where trainer_id is null;select * as captured_pokemons from pokemons where trainer_id is not null;select * as wild_pokemons from pokemons where trainer_id isnull;select * as captured_pokemons from pokemons where trainer_id notnull;Last updated