-
Select All Document IDs in a DataBase
Hi all!
I am new here. I am also new to SQL. Here's what I am trying to accomplish:
Select all (unique) document IDs in a given database. I'd like to have them display. Here is one of the queries for what I've done thus far:
SELECT docid
FROM data_base
WHERE docid > '0';
Which returns only the column "docid". I was hoping for the actual numbers, not merely the column.
What am I doing wrong?
Thank you in advance!
keega
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|