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. Web Development
  3. how to use join query to merge order,customer,category and product table?

how to use join query to merge order,customer,category and product table?

Scheduled Pinned Locked Moved Web Development
databasesalestutorialquestion
4 Posts 2 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.
  • Z Offline
    Z Offline
    zunisheikh
    wrote on last edited by
    #1

    SELECT ord.orderid,cus.custid,cus.custname,cat.catid,cat.catname,pro.proid,pro.proname from 'order' as ord inner join 'customer' as cus on cus.custid=ord.custid inner join 'category' as cat on cat.catid=ord.catid inner join 'product' as pro on pro.proid=ord.proid kindly reply where i am wrong:(

    T 1 Reply Last reply
    0
    • Z zunisheikh

      SELECT ord.orderid,cus.custid,cus.custname,cat.catid,cat.catname,pro.proid,pro.proname from 'order' as ord inner join 'customer' as cus on cus.custid=ord.custid inner join 'category' as cat on cat.catid=ord.catid inner join 'product' as pro on pro.proid=ord.proid kindly reply where i am wrong:(

      T Offline
      T Offline
      thatraja
      wrote on last edited by
      #2

      Don't repost questions. Don't bump questions frequently, that's annoying. Wait for the answers.

      thatraja

      Code converters | Education Needed No thanks, I am all stocked up. - Luc Pattyn When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is - Henry Minute

      Z 1 Reply Last reply
      0
      • T thatraja

        Don't repost questions. Don't bump questions frequently, that's annoying. Wait for the answers.

        thatraja

        Code converters | Education Needed No thanks, I am all stocked up. - Luc Pattyn When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is - Henry Minute

        Z Offline
        Z Offline
        zunisheikh
        wrote on last edited by
        #3

        ok actually its my first time to use sch type of site.Its really a good site.Nd actually I was in trouble thats why i asked question.But Sorry if you fell annoyed .Next time I will avoid it.

        T 1 Reply Last reply
        0
        • Z zunisheikh

          ok actually its my first time to use sch type of site.Its really a good site.Nd actually I was in trouble thats why i asked question.But Sorry if you fell annoyed .Next time I will avoid it.

          T Offline
          T Offline
          thatraja
          wrote on last edited by
          #4

          zunisheikh wrote:

          ok actually its my first time to use sch type of site.

          But your profile page says 1 year old member. Anyway hereafter avoid reposts. I think we have answered all of your questions.

          thatraja

          Code converters | Education Needed No thanks, I am all stocked up. - Luc Pattyn When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is - Henry Minute

          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