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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T17:12:12+00:00 2026-05-25T17:12:12+00:00

I am having one situation, i.e. in one table i am having Course, Semester

  • 0

I am having one situation, i.e. in one table i am having Course, Semester and University Columns, in another table i am having Book Number, Author, Booktitle, Publication and Year. For each course, each semester and each university the book differs(i.e., Book Number, Author, Booktitle, Publication), what i am have to do is based on the course, semester and university i have to retrieve the values of Book Number, Author, Booktitle and Publication. i.e. i am doing B.E. Mech, 2nd year means, the retrieving values of Book Number, Author, Booktitle and Publication should be corresponding to B.E. Mechanical, 2nd year books.

  • 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-25T17:12:13+00:00Added an answer on May 25, 2026 at 5:12 pm

    From what I understand, there may be more than one Course / Semester / University combination for one book and probably more than one book per Course / Semester / University? This is a many-to-many relation and can only be solved by a third table:

    CsuToBooks
    ----------
    CsuID
    BookID
    

    When this table is filled, use two ‘LEFT JOIN’ relations in your Queries:

    SELECT Course, Semester, University, BookNumber
    FROM csu
    LEFT JOIN CsuToBooks ON (csu.ID = CsuToBooks.csuID)
    LEFT JOIN Books ON (CsuToBooks.BookID = Books.ID)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am having many submit buttons one for each row in a table. Whenever
How would one go about handling a situation like this? Having more than one
I'm having trouble coming up with a working query for this situation... Table: [
I'm having a dead-end situation with one of the clients using my software. Out
I am having one requirement for locking the entire dataset. Is it possible to
I am having one heck of a hard time trying to figure this out.
I am having one problem with the PHP json_encode function. It encodes numbers as
I am having one Gtk+ and C application in which i want to set
I'm having one hell of a time trying to get my databinding to work
I'm having one doubt about the VIM ENCRYPTION key . I having a text

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.