help me in my (select & in) statement


i wanna select inventories inventories table must exist in going_in table

-----------

going_in table


------------------

inventories table 

 

 

 

in example case wanna select inventory (10,2,6) cause exist in going_in table

hi,

select * going_in pk_inventory_id in (select pk_inventory_id inventories)


thanks , regards, rishabh


SQL Server  >  Transact-SQL



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'