Jump to content

Recommended Posts

Posted

[quote author=HAPPYNESS link=topic=201842.msg2463485#msg2463485 date=1307844311]
sCo_^Y sCo_^Y sCo_^Y  we are doing this to extract some missing data in table 1 by matching it with table 2?  sCo_^Y sCo_^Y sCo_^Y 
[/quote]
we r trying to join those two tables using a common column...u can put whatever column names u want after select..

  • Replies 124
  • Created
  • Last Reply

Top Posters In This Topic

  • king420

    33

  • C Nation

    24

  • sombarey

    17

  • stewiegriffin

    12

Top Posters In This Topic

Posted

[quote author=stewiegriffin link=topic=201842.msg2463486#msg2463486 date=1307844517]
we r trying to join those two tables using a common column...u can put whatever column names u want after select..
[/quote]

Table1
ID    name              salary
1    Hangover          1000
2    Psychopk          900
3    Patriot              1100
4    Idli                    4000

Table 2
ID            Name          Salary          hierarchy
1            HangOver    1000              Legend
2            Happyness  100000        SR.Hero
3            Patriot          1100            Legend
4            PsychoPk      900              Legend
5            Katharnak    1500              Legend


ee rendu tables ki Inner join cheste ....out put table emosthundi?? sCo_^Y sCo_^Y sCo_^Y sCo_^Y Outer Join cheste Output table emostundi  sCo_^Y sCo_^Y sCo_^Y

Posted

[quote author=HAPPYNESS link=topic=201842.msg2463256#msg2463256 date=1307839889]
deeni meaning ento koncham explain cheyyi baa ee debba tho Joins neercheskunta..
[/quote] @3$% @3$% @3$%  ^G#W ^G#W  cheppachu kadha pillalaki....

Posted

[quote author=chicago link=topic=201842.msg2463494#msg2463494 date=1307844892]
@3$% @3$% @3$%  ^G#W ^G#W  cheppachu kadha pillalaki....
[/quote] s%H# s%H# s%H# s%H# s%H#

Posted

[quote author=stewiegriffin link=topic=201842.msg2463254#msg2463254 date=1307839828]
do we use 'IN' in joins..??? ON kada
select * from Table1
left join Table2
on Table1 .product=Table2 .product
[/quote]left join on table 2 where some thing undali anukunta

Posted

[quote author=HAPPYNESS link=topic=201842.msg2463496#msg2463496 date=1307844940]
s%H# s%H# s%H# s%H# s%H#
[/quote]

terradata joins dagara unna petayala e thread lo

Posted

[quote author=chicago link=topic=201842.msg2463501#msg2463501 date=1307845040]
terradata joins dagara unna petayala e thread lo
[/quote] naaku queries raayadam raadu  s%H# s%H# s%H#  ETL packages Visio lo ayete develop chesta.... Queries manaki Beebbbeeee  s%H# s%H# sSa_j@il sSa_j@il

Posted

[quote author=HAPPYNESS link=topic=201842.msg2463504#msg2463504 date=1307845145]
naaku queries raayadam raadu  s%H# s%H# s%H#  ETL packages Visio lo ayete develop chesta.... Queries manaki Beebbbeeee  s%H# s%H# sSa_j@il sSa_j@il
[/quote]ehe nenu adhi anatledhu...patriot anadu akadha nerchukundamu evening nai...andhuku joins topics e thread lo vesestha.....

Posted

[quote author=HAPPYNESS link=topic=201842.msg2463493#msg2463493 date=1307844850]
Table1
ID    name              salary
1    Hangover          1000
2    Psychopk          900
3    Patriot              1100
4    Idli                    4000

Table 2
ID            Name          Salary          hierarchy
1            HangOver    1000              Legend
2            Happyness  100000        SR.Hero
3            Patriot          1100            Legend
4            PsychoPk      900              Legend
5            Katharnak    1500              Legend


ee rendu tables ki Inner join cheste ....out put table emosthundi?? sCo_^Y sCo_^Y sCo_^Y sCo_^Y Outer Join cheste Output table emostundi  sCo_^Y sCo_^Y sCo_^Y
[/quote]

inner join results
ID    name              salary              hierarchy
1    Hangover          1000              legend
2    Psychopk          900              legend
3    Patriot              1100              legend


outer join results

ID    name              salary              hierarchy
1    Hangover          1000              legend
2    Psychopk          900              legend
3    Patriot              1100              legend
4    Idli                    4000              NULL

Posted

[quote author=chicago link=topic=201842.msg2463498#msg2463498 date=1307844979]
left join on table 2 where some thing undali anukunta
[/quote]tappu tappu ........u r correst.......... @3$% @3$% @3$% s%H#

Posted

[quote author=chicago link=topic=201842.msg2463498#msg2463498 date=1307844979]
left join on table 2 where some thing undali anukunta
[/quote]left outer join [color=red]ON  [/color]ani rasadu gaaa.

Posted

[quote author=C Nation link=topic=201842.msg2463551#msg2463551 date=1307847044]
left outer join [color=red]ON  [/color]ani rasadu gaaa.
[/quote]my bad....... s%H#

Posted

[quote author=C Nation link=topic=201842.msg2463549#msg2463549 date=1307846993]
inner join results
ID    name              salary              hierarchy
1    Hangover          1000              legend
2    Psychopk          900              legend
3    Patriot              1100              legend


outer join results

ID    name              salary              hierarchy
1    Hangover          1000              legend
2    Psychopk          900              legend
3    Patriot              1100              legend
4    Idli                    4000              NULL
[/quote] thankyou

naaku inko doubnt kuda undi baa... ippudu ee queries raasetappudu

a.table1.productID = b.table2.productID ani istaruuu

aa "a" and "b" enduku???

Posted

[quote author=HAPPYNESS link=topic=201842.msg2463571#msg2463571 date=1307847416]
thankyou

naaku inko doubnt kuda undi baa... ippudu ee queries raasetappudu

a.table1.productID = b.table2.productID ani istaruuu

aa "a" and "b" enduku???
[/quote]
a, b ani asalu ivvaru.
may be select statement across different databases aithe use cheyyochu anukunta.
a represents database1, b represents database2.

×
×
  • Create New...