If you were Registered and logged in, you could reply and use other advanced thread options
Using the SQL Select function in MapInfo Professional ... I'm wanting
to display only those rows return from the statement
"Count(*),Unique_ID" ... In the Select Columns: box ... When the
resulting count is greater than 1 ... In the return browser.
Would anyone like to assist in what is required ... I was guessing a
statement in the Where Condiction: box ... Like [Count(*),Unique_ID >
"1"] ... But I getting the syntax error message "Variable or Field
Count not defined".
I'm just starting to learn ... But still need to learn a lot more ...
And self teaching from Google is never the easiest method at the best
of times ... But I=92d like to feel that it's a good place to look for
HELP!
> Using the SQL Select function in MapInfo Professional ... I'm wanting
> to display only those rows return from the statement
> "Count(*),Unique_ID" ... In the Select Columns: box ... When the
> resulting count is greater than 1 ... In the return browser.
> to display only those rows return from the statement
> "Count(*),Unique_ID" ... In the Select Columns: box ... When the
> resulting count is greater than 1 ... In the return browser.
> Would anyone like to assist in what is required ... I was guessing a
> "1"] ... But I getting the syntax error message "Variable or Field
> Count not defined".
> "1"] ... But I getting the syntax error message "Variable or Field
> Count not defined".
You have to do it in 2 steps:
select field,count(*) from table group by field into tmp
select * from tmp where col2>1
> I'm just starting to learn ... But still need to learn a lot more ...
> And self teaching from Google is never the easiest method at the best
> of times ... But I'd like to feel that it's a good place to look for
> HELP!
> And self teaching from Google is never the easiest method at the best
> of times ... But I'd like to feel that it's a good place to look for
> HELP!
Best place to ask:
http://groups.google.com/group/mapinfo-l?hl=en
> > Using the SQL Select function in MapInfo Professional ... I'm wanting
> > to display only those rows return from the statement
> > "Count(*),Unique_ID" ... In the Select Columns: box ... When the
> > resulting count is greater than 1 ... In the return browser.
> > Would anyone like to assist in what is required ... I was guessing a
> > "1"] ... But I getting the syntax error message "Variable or Field
> > Count not defined".
> > to display only those rows return from the statement
> > "Count(*),Unique_ID" ... In the Select Columns: box ... When the
> > resulting count is greater than 1 ... In the return browser.
> > Would anyone like to assist in what is required ... I was guessing a
> > "1"] ... But I getting the syntax error message "Variable or Field
> > Count not defined".
> You have to do it in 2 steps:
> select field,count(*) from table group by field into tmp
> select * from tmp where col2>1
> select field,count(*) from table group by field into tmp
> select * from tmp where col2>1
> > I'm just starting to learn ... But still need to learn a lot more ...
> > And self teaching from Google is never the easiest method at the best
> > of times ... But I'd like to feel that it's a good place to look for
> > HELP!
> > And self teaching from Google is never the easiest method at the best
> > of times ... But I'd like to feel that it's a good place to look for
> > HELP!
> Best place to ask:http://groups.google.com/group/mapinfo-l?hl=3Den
G'Day Uffe,
Thanks for your quick response ... I've tried your suggestion ... LOL
& Behold ... It works ... Again ... Ta.
Just wish it could of been done in one execution.
HooRoo
> Thanks for your quick response ... I've tried your suggestion ... LOL
> & Behold ... It works ... Again ... Ta.
>
> Just wish it could of been done in one execution.
>
> HooRoo
> & Behold ... It works ... Again ... Ta.
>
> Just wish it could of been done in one execution.
>
> HooRoo
Hi,
look as "SQL subquery" in google... you might find interesting info
(though I haven't used MapInfo in a while, though it might be impossible
to apply)
- Garnix translates longitudes greater than 90degrees to 90deg 0min 0.000sec
- Satellite Navigation
- 2007-08-07
- why is the vertical error likely to be greater than the horizontal error?
- Satellite Navigation
- 2007-01-20
- City Select vs. Navigator
- Garmin GPS
- 2005-12-06
- TOMTOM
- Tomtom GPS
- 2011-11-27
- City Select unlock codes
- Garmin GPS
- 2011-11-16
- Garmin Map Update
- Garmin GPS
- 2011-05-29





