So say code=
select toy category, count(customerstate) from toyinventory ti INNER JOIN toyorders to ON ti.orderid = to.orderid where ti.plantid = 31-12-2020 and ti.category = 'dolls' group by customerstate'
ok so filtering date and category which are columns in toyinventory but how to filter something from toyorders like say to.dolltype <> 'barbie' ? THX
getting cannot be bound error when i tried this as another and getting bad data when i tried this as and after ON
2.1m questions
2.1m answers
60 comments
57.0k users