SELECT QUERY

From: SELECT QUERY HELP (anonymous_at_discussions.microsoft.com)
Date: 08/30/04


Date: Mon, 30 Aug 2004 13:26:00 -0700

Hi people,
 
Post my question again.
Pls help to select the following data.
The table has subnet, address, serail# and model
columns.
I need to select the data where various addresses belong
to the same subnet. See, a network subnet could be on
the same address. Sometimes, various addresses share the
samesubnet. I would like to see the report where various
addresses share the same subnet, inluding serial and
model fields.
The concern is to show a subnet where address is not the
same. I would say that the query has to return this:
subnet 1 address 1 serial 1 model 1
subnet 1 address 1 serial 2 model 1
subnet 1 address 2 serial 3 model 1
subnet 1 address 4 serial 4 model 1

from the table that contains this:

subnet 1 address 1 serial 1 model 1
subnet 1 address 1 serial 2 model 1
subnet 1 address 2 serial 3 model 1
subnet 1 address 4 serial 4 model 1
subnet 2 address 3 serial 6 model 1
subnet 2 address 3 serial 5 model 1
subnet 2 address 3 serial 7 model 1
 
Thanks a million,
 
Serg



Relevant Pages

  • Select query help!
    ... Tha table has subnet, address, serail# and model columns. ... I need to select the data where various addresses belong ...
    (microsoft.public.access.queries)
  • SELECT query help
    ... Tha table has subnet, address, serail# and model columns. ... I need to select the data where various addresses belong ...
    (microsoft.public.access.queries)
  • Re: IP/Subnet Query Question
    ... If not decrement by 1 until the subnet is found. ... -- assuming @givenIP is a nvarchar representation ... the query has to run FAST. ...
    (microsoft.public.access.queries)
  • Re: Discover of computer by subnet
    ... I have no problem creating collection by subnet but how do i do a query ... based on membership. ... What need to be input to all these to get relevant subnet. ... > 1) Create an empty collection called computers by subnet. ...
    (microsoft.public.sms.admin)
  • question nmbd query_name_response
    ... How do i resolve this conflict? ... responses received for a query on subnet 192.0.0.111 for name ... reporting an IP address of 192.168.1.37. ...
    (freebsd-questions)