Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8988875
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T22:07:00+00:00 2026-06-15T22:07:00+00:00

I am trying to create a variable that can help me locating a checkpoint

  • 0

I am trying to create a variable that can help me locating a checkpoint row, and then query the rows after that checkpoint.

At first, I was thinking of using ROWID but as the form of ROWID is non-Integer. It seem a bit inappropriate.

Regardless, one required process is to create a Rows offset which is not supported conveniently in Oracle:

I keep getting

ORA-00904: “ITEM”.”ID”: invalid identifier

That variable is the Item_ID which is ID column from table ITEM.

select ITEM.ID,ITEM.CREATEDDATE,ITEM.TYPEID,
        CAT_DIC_AUTHOR.DISPLAYENTRY,
        CAT_DIC_PUBLISHER.DISPLAYENTRY,
        CAT_DIC_KEYWORD.ACCESSENTRY,CAT_DIC_KEYWORD.DISPLAYENTRY,
        CAT_DIC_LANGUAGE.DISPLAYENTRY,CAT_DIC_LANGUAGE.NAMEVIET,
        CAT_DIC_SH.DISPLAYENTRY,
        CAT_DIC_ITEM_TYPE.ACCESSENTRY,CAT_DIC_ITEM_TYPE.TYPENAME 
from ( select rownum r,ITEM.ID from ITEM) 

LEFT JOIN ITEM_AUTHOR 
    ON ITEM.ID=ITEM_AUTHOR.ITEMID 
LEFT JOIN CAT_DIC_AUTHOR 
    ON ITEM_AUTHOR.AUTHORID=CAT_DIC_AUTHOR.ID 
LEFT JOIN ITEM_PUBLISHER 
    ON ITEM.ID=ITEM_PUBLISHER.ITEMID 
LEFT JOIN CAT_DIC_PUBLISHER 
    ON ITEM_PUBLISHER.PUBLISHERID=CAT_DIC_PUBLISHER.ID 
LEFT JOIN ITEM_KEYWORD 
    ON ITEM.ID=ITEM_KEYWORD.ITEMID 
LEFT JOIN CAT_DIC_KEYWORD 
    ON ITEM_KEYWORD.KEYWORDID=CAT_DIC_KEYWORD.ID 
LEFT JOIN ITEM_LANGUAGE 
    ON ITEM.ID=ITEM_LANGUAGE.ITEMID 
LEFT JOIN CAT_DIC_LANGUAGE 
    ON ITEM_LANGUAGE.LANGUAGEID=CAT_DIC_LANGUAGE.ID 
LEFT JOIN ITEM_SH 
    ON ITEM.ID=ITEM_SH.ITEMID 
LEFT JOIN CAT_DIC_SH 
    ON ITEM_SH.SHID=CAT_DIC_SH.ID 
LEFT JOIN CAT_DIC_ITEM_TYPE 
    ON ITEM.TYPEID=CAT_DIC_ITEM_TYPE.ID 

where r>100 and r<=200
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T22:07:02+00:00Added an answer on June 15, 2026 at 10:07 pm

    Try to add ITEM word after subquery as below:

    select ITEM.ID,ITEM.CREATEDDATE,ITEM.TYPEID,
            CAT_DIC_AUTHOR.DISPLAYENTRY,
            CAT_DIC_PUBLISHER.DISPLAYENTRY,
            CAT_DIC_KEYWORD.ACCESSENTRY,CAT_DIC_KEYWORD.DISPLAYENTRY,
            CAT_DIC_LANGUAGE.DISPLAYENTRY,CAT_DIC_LANGUAGE.NAMEVIET,
            CAT_DIC_SH.DISPLAYENTRY,
            CAT_DIC_ITEM_TYPE.ACCESSENTRY,CAT_DIC_ITEM_TYPE.TYPENAME 
    from ( select rownum r,ITEM.ID,ITEM.TYPEID, ITEM.CREATEDDATE from ITEM)  ITEM
    
    LEFT JOIN ITEM_AUTHOR 
        ON ITEM.ID=ITEM_AUTHOR.ITEMID 
    LEFT JOIN CAT_DIC_AUTHOR 
        ON ITEM_AUTHOR.AUTHORID=CAT_DIC_AUTHOR.ID 
    LEFT JOIN ITEM_PUBLISHER 
        ON ITEM.ID=ITEM_PUBLISHER.ITEMID 
    LEFT JOIN CAT_DIC_PUBLISHER 
        ON ITEM_PUBLISHER.PUBLISHERID=CAT_DIC_PUBLISHER.ID 
    LEFT JOIN ITEM_KEYWORD 
        ON ITEM.ID=ITEM_KEYWORD.ITEMID 
    LEFT JOIN CAT_DIC_KEYWORD 
        ON ITEM_KEYWORD.KEYWORDID=CAT_DIC_KEYWORD.ID 
    LEFT JOIN ITEM_LANGUAGE 
        ON ITEM.ID=ITEM_LANGUAGE.ITEMID 
    LEFT JOIN CAT_DIC_LANGUAGE 
        ON ITEM_LANGUAGE.LANGUAGEID=CAT_DIC_LANGUAGE.ID 
    LEFT JOIN ITEM_SH 
        ON ITEM.ID=ITEM_SH.ITEMID 
    LEFT JOIN CAT_DIC_SH 
        ON ITEM_SH.SHID=CAT_DIC_SH.ID 
    LEFT JOIN CAT_DIC_ITEM_TYPE 
        ON ITEM.TYPEID=CAT_DIC_ITEM_TYPE.ID 
    where r>100 and r<=200
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to find a good example that can help me to understand
I'm trying to create a dynamic row filter based on a variable. I have
Hi I am trying to create a variable today that is the current date
I'm trying to create passwords that are sha256 hashed with a $salt variable to
I am trying to create a dynamic accordion. My problem is that I can
Hi I am trying to create a variable in jquery that contains a table
I'm trying to create a calculator that takes a string that can be in
I am trying to create a structure that has several different variable of different
Can you please help me with C#. I am trying to create a function
I am trying to create a variable that gets the current date and time

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.