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 9214711
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T02:01:51+00:00 2026-06-18T02:01:51+00:00

Hi i have two tables Agents, Skills and target query as below Agents ————————————-

  • 0

Hi i have two tables Agents, Skills and target query as below

Agents

-------------------------------------
PF       |Name       |HireDate       |
---------|-----------|---------------|
54       |Jack       |01-Jan-2012    |
55       |Aline      |01-Jan-2012    |
-------------------------------------

Skills

-------------------------------------------------------------
PF       |Writing    |Swimming       |KickOff    |Shopping   |
---------|-----------|---------------|-----------------------
54       |Null       |01-Dec-2012    |Null       |Null       |
55       |01-Mar-2012|01-FeB-2012    |Null       |15-Nov-2012|
-------------------------------------------------------------

I want query to select PF, Hiredate from Agents table and avaliable skills from skills table, The date on skills tables means that agents learned this skill on this data, but if there is null value that means agents didn’t have this skill, but i want to replace date with column name The below table explane what is my query

MyQuery

------------------------------------------------------
PF       |HireDate       |Avalivble skills            |
---------|---------------|----------------------------|
54       |01-Jan-2012    |Swimming                    |
55       |01-Jan-2012    |Writing, Swimming, Shopping |
------------------------------------------------------
  • 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-18T02:01:52+00:00Added an answer on June 18, 2026 at 2:01 am
    select  PF
    ,       HireDate
    ,       replace(
                iif(Writing is null;'';'Writing, ') +
                iif(Swimming is null;'';'Swimming, ') +
                iif(KickOff is null;'';'KickOff, ') +
                iif(Shopping is null;'';'Shopping, ') + '$';
                ', $'; '')
    from    Agents a
    join    Skills s
    on      s.PF = a.PF
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two tables: Agents with columns: agentid, name DocumentsRead with columns: agentid, document,
I have two tables one with ID and NAME table 1 ID | NAME
I have two tables user table user_id | name | 1 | peter |
I have two tables that I can perfectly query seperately. table1 stores ranges: SELECT
I have two tables, like this: master --------- empcode INT PRIMARY KEY name VARCHAR
I have two tables that have the same structure, I need a query to
If I have two tables, like this for example: Table 1 (products) id name
I have two tables whose strcuture is as follows Table name = counter ref_id
I have two tables (fruit_cost and fruit_availability) in oracle database, details below: fruit_cost looks
I have two tables images2 and image_data So the goal is to have 1

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.