![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hey all, I'm having a problem with what should be a simple query. I don't know if my brain is fried today or what, but hopefully the following simple example will explain what I'm trying to do: -- Does NOT work select col_name, col_count from ( select column1 "col_name", count(column1) "col_count" from table_name group by column1 ) where col_count > 1; When I try to run this, I get dinged with a 904 error, invalid identifier. My question is this: How can I select the name and count of something where the count is greater than one? |
#3
| |||
| |||
|
|
Hey all, I'm having a problem with what should be a simple query. I don't know if my brain is fried today or what, but hopefully the following simple example will explain what I'm trying to do: -- Does NOT work select col_name, col_count from ( select column1 "col_name", count(column1) "col_count" from table_name group by column1 ) where col_count > 1; When I try to run this, I get dinged with a 904 error, invalid identifier. My question is this: How can I select the name and count of something where the count is greater than one? |
#4
| |||
| |||
|
|
Hey all, I'm having a problem with what should be a simple query. I don't know if my brain is fried today or what, but hopefully the following simple example will explain what I'm trying to do: -- Does NOT work select col_name, col_count from ( select column1 "col_name", count(column1) "col_count" from table_name group by column1 ) where col_count > 1; When I try to run this, I get dinged with a 904 error, invalid identifier. My question is this: How can I select the name and count of something where the count is greater than one? |
#5
| |||
| |||
|
|
Hey all, I'm having a problem with what should be a simple query. I don't know if my brain is fried today or what, but hopefully the following simple example will explain what I'm trying to do: -- Does NOT work select col_name, col_count from ( select column1 "col_name", count(column1) "col_count" from table_name group by column1 ) where col_count > 1; When I try to run this, I get dinged with a 904 error, invalid identifier. My question is this: How can I select the name and count of something where the count is greater than one? |
#6
| |||
| |||
|
|
Hey all, I'm having a problem with what should be a simple query. *I don't know if my brain is fried today or what, but hopefully the following simple example will explain what I'm trying to do: -- Does NOT work select col_name, col_count from ( * select column1 "col_name", count(column1) "col_count" * from table_name * group by column1 ) where col_count > 1; When I try to run this, I get dinged with a 904 error, invalid identifier. My question is this: *How can I select the name and count of something where the count is greater than one? |
#7
| |||
| |||
|
|
Hey all, I'm having a problem with what should be a simple query. *I don't know if my brain is fried today or what, but hopefully the following simple example will explain what I'm trying to do: -- Does NOT work select col_name, col_count from ( * select column1 "col_name", count(column1) "col_count" * from table_name * group by column1 ) where col_count > 1; When I try to run this, I get dinged with a 904 error, invalid identifier. My question is this: *How can I select the name and count of something where the count is greater than one? |
#8
| |||
| |||
|
|
Hey all, I'm having a problem with what should be a simple query. *I don't know if my brain is fried today or what, but hopefully the following simple example will explain what I'm trying to do: -- Does NOT work select col_name, col_count from ( * select column1 "col_name", count(column1) "col_count" * from table_name * group by column1 ) where col_count > 1; When I try to run this, I get dinged with a 904 error, invalid identifier. My question is this: *How can I select the name and count of something where the count is greater than one? |
#9
| |||
| |||
|
|
Hey all, I'm having a problem with what should be a simple query. *I don't know if my brain is fried today or what, but hopefully the following simple example will explain what I'm trying to do: -- Does NOT work select col_name, col_count from ( * select column1 "col_name", count(column1) "col_count" * from table_name * group by column1 ) where col_count > 1; When I try to run this, I get dinged with a 904 error, invalid identifier. My question is this: *How can I select the name and count of something where the count is greater than one? |
#10
| |||
| |||
|
|
Hey all, I'm having a problem with what should be a simple query. I don't know if my brain is fried today or what, but hopefully the following simple example will explain what I'm trying to do: -- Does NOT work select col_name, col_count from ( select column1 "col_name", count(column1) "col_count" from table_name group by column1 ) where col_count > 1; When I try to run this, I get dinged with a 904 error, invalid identifier. My question is this: How can I select the name and count of something where the count is greater than one? |
![]() |
| Thread Tools | |
| Display Modes | |
| |