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

  • Home
  • SEARCH
  • 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 8982809
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T20:40:19+00:00 2026-06-15T20:40:19+00:00

my senior tech prepared a view. viewing the source script, i have trouble understanding

  • 0

my senior tech prepared a view. viewing the source script, i have trouble understanding where the column label exists as neither tables contain that column. Is it a column that exists as part of a view – on the fly?

select label labelName
, e.name
, e.country 
from entity e

source script:

SELECT e.entity_id
, se.screen_id
, s.country_code
,desc_trans translatedValue
, et.language_code
, cp.NAME name
FROM entity e 
LEFT OUTER JOIN CONTROL_PREFIX cp 
    ON e.CONTROL_PREFIX_CODE = cp.CONTROL_PREFIX_CODE
, entity_trans et
, screen s
, screen_entity se
WHERE e.entity_id = et.entity_id 
AND e.entity_id = se.entity_id 
AND se.screen_id = s.screen_id 
AND e.entity_type_code = 'LB'

UNION

SELECT e.entity_id
, se.screen_id
, s.country_code
, field_name labelName
, label labelText
, NULL translatedValue
, l.language_code
, cp.NAME name
FROM entity e 
LEFT OUTER JOIN CONTROL_PREFIX cp 
    ON e.CONTROL_PREFIX_CODE = cp.CONTROL_PREFIX_CODE
, language l
, screen s
, screen_entity se
WHERE l.language_code NOT IN
(
    SELECT et1.language_code
    FROM entity e1
    , entity_trans et1
    WHERE e1.entity_id = et1.entity_id 
    AND e1.entity_id = e.entity_id 
    AND e1.entity_type_code = 'LB'
) 
AND e.entity_type_code = 'LB' 
AND s.screen_id = se.screen_id 
AND e.entity_id = se.entity_id;
  • 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-15T20:40:20+00:00Added an answer on June 15, 2026 at 8:40 pm

    Assuming the SQL you posted is the SQL used to generate the view and is complete

    i.e.

    create view myView as
    select label labelName
    , e.name
    , e.country 
    from entity e
    

    Column Label is on table Entity but appears in the view myView as LabelName.

    If entity is the name of the view, you’ll need to provide the source behind that view.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a coding style question which probably should be asked of a senior
I am not a senior programmer but I have been deploying applications for a
I starting out in assembla and have a code from my senior that I
I am working on my senior project at university and I have a question.
today, my senior told me to use jquery template. but i don't have any
Now, I'm trying to think about my topic for senior project. I have an
I have the dataframe test <- structure(list( y2002 = c(freshman,freshman,freshman,sophomore,sophomore,senior), y2003 = c(freshman,junior,junior,sophomore,sophomore,senior), y2004
I have the dataframe test <- structure(list( y2002 = c(freshman,freshman,freshman,sophomore,sophomore,senior), y2003 = c(freshman,junior,junior,sophomore,sophomore,senior), y2004
Hey all, I have a Java problem. For my senior research class, I'm pretty
I am working on a group senior project for my university and I have

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.