Skip to content
Advertisement

Combine / Join SQL queries

I have a query which gets data from a JSON document, checks which values have been returned and then returns that count.

As part of this query, I’d like to also return cat_name, dog_name and add a WHERE pet_store = 'london'

I’m not sure exactly where I’m suppose to add the other parameters or if I should join the subquery?

Advertisement

Answer

Advertisement