Jump to content

Sql Query Suggestions


Recommended Posts

Posted

State deductible new column
FL. 0. FULL
FL. 300. 300
FL. 0. FULL
FL. 0. FULL
AL. 0. 0
AL. 0. 0
AL. 0. 0
GA. 200. 200
GA. 200. 200
GA. 0. 0


Requirement
Needs to create new column and populate FULL for zeros for Florida state ..(only for Florida state ) ..




Help help help


dhanush-lungidance-3.gif

  • Replies 40
  • Created
  • Last Reply

Top Posters In This Topic

  • BeerBond007

    11

  • loveindia

    6

  • creativity

    5

  • k2s

    3

Top Posters In This Topic

Posted

Update tablename set columnname=full where state=fl and deductible=0...gallery_8818_6_385253.gif?1367349476

Posted

Update tablename set columnname=full where state=fl and deductible=0...gallery_8818_6_385253.gif?1367349476


Update aaa luv da na ....

Case statement seppu ra ayya
Posted

Update tablename set columnname=full where state=fl and deductible=0...gallery_8818_6_385253.gif?1367349476


Straight and out straight kaadu ra ayya .... I have some 6 tables to join to get this data ... Select statement lo oka column ki case raayali aka cepou ... Naku vachindi kuda donbettu unav ga nee creativity tho

dhanush-lungidance-3.gif
Posted

State deductible new column
FL. 0. FULL
FL. 300. 300
FL. 0. FULL
FL. 0. FULL
AL. 0. 0
AL. 0. 0
AL. 0. 0
GA. 200. 200
GA. 200. 200
GA. 0. 0


Requirement
Needs to create new column and populate FULL for zeros for Florida state ..(only for Florida state ) ..




Help help help


dhanush-lungidance-3.gif


Already full ani undi kada Florida state ki zero deductible unna place lo

Nuvvu vesina table data after the update or is it thats tge way the data is and u need to do the same for remaining Florida state rows

Nee req ardamkale ... Ela undi data ela kavali ani clear ga veyyi
Posted

Update aaa luv da na ....

Case statement seppu ra ayya


Select state,deductible,case when state =fl and deductible =0 then 'full' else 'loveda' end as newcolumn from tablename...gallery_8818_6_385253.gif?1367349476
Posted

Already full ani undi kada Florida state ki zero deductible unna place lo

Nuvvu vesina table data after the update or is it thats tge way the data is and u need to do the same for remaining Florida state rows

Nee req ardamkale ... Ela undi data ela kavali ani clear ga veyyi


Full ani Nen raasa bro ... Paina new column ani andke petta ga... Adi.. New column lo data naa requirement ...
Posted

Select state,deductible,case when state =fl and deductible =0 then 'full' else 'loveda' end as newcolumn from tablename...gallery_8818_6_385253.gif?1367349476



Ninu thittalani undi bro baaga ... Amma na bhoothulu... Nee pellani ni ... Ani thittalani undi ...forget it ... Thanks
Posted

Ninu thittalani undi bro baaga ... Amma na bhoothulu... Nee pellani ni ... Ani thittalani undi ...forget it ... Thanks


gallery_8818_6_385253.gif?1367349476
Posted

Full ani Nen raasa bro ... Paina new column ani andke petta ga... Adi.. New column lo data naa requirement ...


Mari inkenti meeda creativity cheppina update statement work avthadi kada.... Aa uodate query new column ni full ga set chestundi ekkadite state Florida and deductible zero undo...

Neeku ala kakunda inka vere rakangha kavala query.??
Posted

State deductible new column
FL. 0. FULL
FL. 300. 300
FL. 0. FULL
FL. 0. FULL
AL. 0. 0
AL. 0. 0
AL. 0. 0
GA. 200. 200
GA. 200. 200
GA. 0. 0


Requirement
Needs to create new column and populate FULL for zeros for Florida state ..(only for Florida state ) ..




Help help help


dhanush-lungidance-3.gif

 

First column create cheyyi ,tarvatha aan 6 tables or entha unteanni kalipi  cursor raayi , loop tippu update kottu

Posted

First column create cheyyi ,tarvatha aan 6 tables or entha unteanni kalipi cursor raayi , loop tippu update kottu


Forget it bro ... Question sariga explain cheila.... It doesn't look that simple the way you guys are telling.. I will try myself .. Again thanks
×
×
  • Create New...