select orders.orderid,temporder.pname,temporder.price,temporder.pid from orders inner join temporder on orders.ipaddress=temporder.ipaddress
ipaddress datatype is nvarchar
on orders.ipaddress=temporder.ipaddress this condition is not working means
temporder.ipaddress is not coming