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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:35:37+00:00 2026-05-28T03:35:37+00:00

Having this problem, I don `t know how to pull data from multiple tables.

  • 0

Having this problem, I don `t know how to pull data from multiple tables. I tried to use INNER JOIN and UNION.
Here is what I came so far:

select `name_ganre` from `teleprogram`.`ganres`
where `idganre`=any(select `idganre` from `teleprogram`.`ganre-transfer` 
where `idtransfer`=any(select `idtransfer` from `teleprogram`.`broadcasting`));

select `name_channel` from `teleprogram`.`channel` 
where `idchannel`= any(select `idchannel` from `teleprogram`.`broadcasting`);

I need to bring in one column name of the channel. And another name for the genre.

broadcasting 
rows: idtransfer, idchannel

transfer
rows: idtransfer, name_transfer

ganre-transfer
rows: idganre, idtransfer

ganre
rows: idganre, name_ganre

channels
rows: idchannel, name_channel

I’m trying to get the data through broadcasting. May be simplified?
After the query: name_channel, name_ganre

Thank you!

  • 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-05-28T03:35:37+00:00Added an answer on May 28, 2026 at 3:35 am

    The query that you need is this:

    select c.name_channel, g.name_ganre
    from channels c
    inner join broadcasting b on b.idchannel = c.idchannel
    inner join ganre-transfer gt on gt.idtransfer = b.idtransfer
    inner join ganre g on g.idganre = gt.idganre
    

    You can see how INNER JOIN works HERE!

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

Sidebar

Related Questions

I have this problem and really don't know how to solve this. I'm having
So I'm having this problem, it should be pretty simple, but I don't know
I'm having this same problem with PullRefreshTableViewController. Basically, I don't know how to correctly
So i'm having this problem. I have two tables (Oracle), one is called Destination
Ok, so this problem recently arose and I don't know why it is happening;
I don't know why I'm having this error. Here is the code where i
This problem might be a common one, but since I don't know the terms
I'm having a design problem which I don't know how to overcome in java.
Hey guys. I'm having this problem for 2 days now and I really don't
I'm having this problem, same as ever, but never try to find the right

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.