Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. database query

database query

Scheduled Pinned Locked Moved Database
databasequestionlearning
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Ali_100
    wrote on last edited by
    #1

    hi i am new in this world ,, well the question is that .i have 3 tables 1)student 2)course 3)studentcourse I want to retrieve the result all students name who enrolled in english & french but not in both.

    W B 2 Replies Last reply
    0
    • A Ali_100

      hi i am new in this world ,, well the question is that .i have 3 tables 1)student 2)course 3)studentcourse I want to retrieve the result all students name who enrolled in english & french but not in both.

      W Offline
      W Offline
      Wendelius
      wrote on last edited by
      #2

      This obviously is a homework... So what have you tried? If you have encountered a problem, post the statement and describe the problem, then I believe that people are willing to guide you into the right direction, but no-one will do your homework for you.

      The need to optimize rises from a bad design.My articles[^]

      1 Reply Last reply
      0
      • A Ali_100

        hi i am new in this world ,, well the question is that .i have 3 tables 1)student 2)course 3)studentcourse I want to retrieve the result all students name who enrolled in english & french but not in both.

        B Offline
        B Offline
        Blue_Boy
        wrote on last edited by
        #3

        Take a look this http://www.w3schools.com/sql/sql_join.asp[^]


        I Love T-SQL "Don't torture yourself,let the life to do it for you." If my post helps you kindly save my time by voting my post.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups