0 like 0 dislike
51 views
asked Dec 13, 2018 in Education & Reference by Neha (610 points) | 51 views
    

1 Answer

0 like 0 dislike
SELECT
        (CASE Table1.product
            WHEN 'column_value'
            THEN Table2.COL
            WHEN 'column_value2'
            THEN Table4.sms_count
            ELSE Table3.plan
        END) as ColumnName1,Table1.*
  FROM Table1
     INNER JOIN Table2
        ON Table2.id = Table1.product_id
    INNER JOIN Table3
        ON Table3.id = Table1.product_id
     INNER JOIN Table4
        ON Table4.id = Table1.product_id;
answered Dec 13, 2018 by Mohit

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
2 like 0 dislike
3 answers
1 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
1 like 0 dislike
1 answer
0 like 0 dislike
1 answer
asked Feb 17, 2014 in Education & Reference by Simmi (510 points) | 57 views

Where your donation goes
Technology: We will utilize your donation for development, server maintenance and bandwidth management, etc for our site.

Employee and Projects: We have only 15 employees. They are involved in a wide sort of project works. Your valuable donation will definitely boost their work efficiency.

How can I earn points?
Awarded a Best Answer 10 points
Answer questions 10 points
Asking Question -20 points

Mathe Forum Schule und Studenten
1,177 questions
1,318 answers
276 comments
1,617 users