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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T04:21:41+00:00 2026-05-31T04:21:41+00:00

table 1: emp_id course_id ______ _________ 12345 4 23455 5 67890 6 table 2:

  • 0

table 1:

emp_id  course_id
 ______  _________
12345      4
23455      5
67890      6

table 2:

course_id  course_name
_________  ___________
   1        English
   2        Mathematics
   3        Science
   4        G.K.
   5        c++
   6        JSP
   7        ASP

REQUIRED TABLE
table 3:

course_id  course_name
_________  ___________
   1        English
   2        Mathematics
   3        Science
   7        ASP

how to print table 3 in MySQL while considering difference of course_id from table 1 and table 2. (table2.course_id – table1.course_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-05-31T04:21:43+00:00Added an answer on May 31, 2026 at 4:21 am
    select course_id, course_name
    from table2
    where course_id not in (select course_id from table1)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two tables TABLE : EMPLOYEE EMP_ID EMP_NAME EMP_TYPE 1 Shwetha 1 2
I have a employee table with columns like emp_id, firstname, lastname, month and year.
Suppose i am having a table employee with 2 columns emp_ID and e_name and
I want to create group query where Table values are like this below: EMP_ID
I have a table emp_skills which has emp_id and skill_id as two columns. Now,
Table: Relatives emp_id dep_id (composite primary key) We have to restrict one employee to
I have a EMPLOYEE table with EMP_ID,EMP_NAME,EMP_ADDRESS. EMP_ID should have the following format. EMP001
I want to insert data into a table like the following: emp_id emp_data ----------------------------
I have a table called employee_salary , having two columns(emp_id, emp_salary) in it. I
Parent Table ID EMP_ID EMP_NAME 1 emp01 Sam 2 emp02 Jam 3 emp03 Mam

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.