Sql Query Help please...   Independent houses near kukatpally | Apartments in Pragathi Nagar | AndhraVaani.com | Log Out | Topics | Search
Register | Edit Profile

Bewarse TalkTechnology - Talk Only Tech � Sql Query Help please... Previous Next

Author Message
Top of pagePrevious messageNext messageBottom of pageLink to this message

Allarodu
Kurra Bewarse
Username: Allarodu

Post Number: 331
Registered: 03-2004
Posted From: 38.118.10.38

Rating:N/A
Votes: 0(Vote!)

Posted on Thursday, May 19, 2005 - 8:48 am:Edit PostDelete PostView Post/Check IP

>> Ya aunu ramu garu ippudu entante aaa col1 lo ABC thoni start ayye anni rows kavali....naku

i think this should work

select * from table_name
where substr(col1,1,3) = col2

may be i am posting late :-)
sorry for that
Top of pagePrevious messageNext messageBottom of pageLink to this message

Bob
Kurra Bewarse
Username: Bob

Post Number: 507
Registered: 03-2005
Posted From: 220.240.44.49

Rating:N/A
Votes: 0(Vote!)

Posted on Wednesday, May 18, 2005 - 11:50 pm:Edit PostDelete PostView Post/Check IP

essavley joku
Top of pagePrevious messageNext messageBottom of pageLink to this message

Deithadi
Celebrity Bewarse
Username: Deithadi

Post Number: 2769
Registered: 03-2004
Posted From: 69.220.132.107

Rating:N/A
Votes: 0(Vote!)

Posted on Wednesday, May 18, 2005 - 11:48 pm:Edit PostDelete PostView Post/Check IP

Deithadi ki saana id lu vuntai,

kani Deithadi mathram okkadei

google sie, sana info theluthadi
Top of pagePrevious messageNext messageBottom of pageLink to this message

Bob
Kurra Bewarse
Username: Bob

Post Number: 505
Registered: 03-2005
Posted From: 220.240.44.49

Rating:N/A
Votes: 0(Vote!)

Posted on Wednesday, May 18, 2005 - 11:36 pm:Edit PostDelete PostView Post/Check IP

deithadi id oludi?
Top of pagePrevious messageNext messageBottom of pageLink to this message

Deithadi
Celebrity Bewarse
Username: Deithadi

Post Number: 2768
Registered: 03-2004
Posted From: 69.220.132.107

Rating:N/A
Votes: 0(Vote!)

Posted on Wednesday, May 18, 2005 - 11:32 pm:Edit PostDelete PostView Post/Check IP

ala anesaava,

inka neeku, repu

calling bob mama thread lu, email id exchangelu, background lo xyz lu start
Top of pagePrevious messageNext messageBottom of pageLink to this message

Bob
Kurra Bewarse
Username: Bob

Post Number: 501
Registered: 03-2005
Posted From: 220.240.44.49

Rating:N/A
Votes: 0(Vote!)

Posted on Wednesday, May 18, 2005 - 11:26 pm:Edit PostDelete PostView Post/Check IP

sinna ga eragasadivethanav ga ,good boy gudiwada simham sinna
Top of pagePrevious messageNext messageBottom of pageLink to this message

Deithadi
Celebrity Bewarse
Username: Deithadi

Post Number: 2765
Registered: 03-2004
Posted From: 69.220.132.107

Rating:N/A
Votes: 0(Vote!)

Posted on Wednesday, May 18, 2005 - 11:21 pm:Edit PostDelete PostView Post/Check IP

TI mama, nee self sattire adhirindhi po
Top of pagePrevious messageNext messageBottom of pageLink to this message

Ramu
Mudiripoyina Bewarse
Username: Ramu

Post Number: 4038
Registered: 03-2004
Posted From: 199.244.214.30

Rating:N/A
Votes: 0(Vote!)

Posted on Wednesday, May 18, 2005 - 4:01 pm:Edit PostDelete PostView Post/Check IP

racchamass sOdarA,

ramu garu ela unnaru

bAgunnAnu. nuvvelA unnAvu? caduvu elA sAgutOndi?
Top of pagePrevious messageNext messageBottom of pageLink to this message

Sinna
Mudiripoyina Bewarse
Username: Sinna

Post Number: 2703
Registered: 04-2005
Posted From: 130.70.130.244

Rating:N/A
Votes: 0(Vote!)

Posted on Wednesday, May 18, 2005 - 3:07 pm:Edit PostDelete PostView Post/Check IP

Thanks TI mama, vallu ichina querys work ayiniyyi....
Top of pagePrevious messageNext messageBottom of pageLink to this message

Jackson
Celebrity Bewarse
Username: Jackson

Post Number: 10785
Registered: 03-2004
Posted From: 204.69.40.13

Rating:N/A
Votes: 0(Vote!)

Posted on Wednesday, May 18, 2005 - 3:07 pm:Edit PostDelete PostView Post/Check IP

Banku mama

EE weekend call chesta mama..
Top of pagePrevious messageNext messageBottom of pageLink to this message

Sinna
Mudiripoyina Bewarse
Username: Sinna

Post Number: 2702
Registered: 04-2005
Posted From: 130.70.130.244

Rating:N/A
Votes: 0(Vote!)

Posted on Wednesday, May 18, 2005 - 3:06 pm:Edit PostDelete PostView Post/Check IP

Thanks Very Much Aw mama and rajamhundry mamalu.,
Iddarivi work chesiniyyi.........
Top of pagePrevious messageNext messageBottom of pageLink to this message

True_indian
Mudiripoyina Bewarse
Username: True_indian

Post Number: 3412
Registered: 03-2004
Posted From: 192.175.182.25

Rating:N/A
Votes: 0(Vote!)

Posted on Wednesday, May 18, 2005 - 3:03 pm:Edit PostDelete PostView Post/Check IP

sinna mama
koddiga detail ga post cheyi
i can think
Top of pagePrevious messageNext messageBottom of pageLink to this message

Rajahmundry
Kurra Bewarse
Username: Rajahmundry

Post Number: 857
Registered: 03-2005
Posted From: 209.172.81.133

Rating:
Votes: 1(Vote!)

Posted on Wednesday, May 18, 2005 - 3:00 pm:Edit PostDelete PostView Post/Check IP

Open challenge to any bewarses.

SQL queries any time any place
Top of pagePrevious messageNext messageBottom of pageLink to this message

Rajahmundry
Kurra Bewarse
Username: Rajahmundry

Post Number: 856
Registered: 03-2005
Posted From: 209.172.81.133

Rating:
Votes: 1(Vote!)

Posted on Wednesday, May 18, 2005 - 2:59 pm:Edit PostDelete PostView Post/Check IP

select * from
table_name
where
col1=substr(col2,1,3)
Top of pagePrevious messageNext messageBottom of pageLink to this message

Andhrawala
Celebrity Bewarse
Username: Andhrawala

Post Number: 6295
Registered: 03-2004
Posted From: 192.58.204.226

Rating:
Votes: 1(Vote!)

Posted on Wednesday, May 18, 2005 - 2:57 pm:Edit PostDelete PostView Post/Check IP

Sinn

do small change

select * from tabname
where col6 like "'" & col3 & "%'"

This should work assuming col6 is like ABCDEF anf col3 is like ABC
Top of pagePrevious messageNext messageBottom of pageLink to this message

Sinna
Mudiripoyina Bewarse
Username: Sinna

Post Number: 2701
Registered: 04-2005
Posted From: 130.70.130.244

Rating:N/A
Votes: 0(Vote!)

Posted on Wednesday, May 18, 2005 - 2:55 pm:Edit PostDelete PostView Post/Check IP

Kani AW mama its giving some error aaa eror kooda ardham katalla TOAD lo isthunnannu nenu aa query...
Top of pagePrevious messageNext messageBottom of pageLink to this message

Andhrawala
Celebrity Bewarse
Username: Andhrawala

Post Number: 6294
Registered: 03-2004
Posted From: 192.58.204.226

Rating:N/A
Votes: 0(Vote!)

Posted on Wednesday, May 18, 2005 - 2:42 pm:Edit PostDelete PostView Post/Check IP

select * from tabname
where col6 like col3 & "%"
Top of pagePrevious messageNext messageBottom of pageLink to this message

Sinna
Mudiripoyina Bewarse
Username: Sinna

Post Number: 2699
Registered: 04-2005
Posted From: 130.70.130.244

Rating:N/A
Votes: 0(Vote!)

Posted on Wednesday, May 18, 2005 - 2:42 pm:Edit PostDelete PostView Post/Check IP

Ya aunu ramu garu ippudu entante aaa col1 lo ABC thoni start ayye anni rows kavali....naku
Top of pagePrevious messageNext messageBottom of pageLink to this message

Racchamass
Mudiripoyina Bewarse
Username: Racchamass

Post Number: 2874
Registered: 01-2005
Posted From: 130.108.129.21

Rating:N/A
Votes: 0(Vote!)

Posted on Wednesday, May 18, 2005 - 2:42 pm:Edit PostDelete PostView Post/Check IP

ramu garu ela unnaru
Top of pagePrevious messageNext messageBottom of pageLink to this message

Ramu
Mudiripoyina Bewarse
Username: Ramu

Post Number: 4035
Registered: 03-2004
Posted From: 199.244.214.30

Rating:N/A
Votes: 0(Vote!)

Posted on Wednesday, May 18, 2005 - 2:41 pm:Edit PostDelete PostView Post/Check IP

sinna sOdarA,

let's say if your columns look like this:
col1 col2
------ ----
ABCDEF ABC
123456 122
APSRTC APS

ippuDu sariggA nIku kAvalasindi EnTo aDugu?
Top of pagePrevious messageNext messageBottom of pageLink to this message

Mayadarimalligadu
Pilla Bewarse
Username: Mayadarimalligadu

Post Number: 35
Registered: 05-2005
Posted From: 130.108.129.21

Rating:N/A
Votes: 0(Vote!)

Posted on Wednesday, May 18, 2005 - 2:40 pm:Edit PostDelete PostView Post/Check IP

mari thread esavugaa nuvvu please anna sare nenu seppa


Top of pagePrevious messageNext messageBottom of pageLink to this message

Sinna
Mudiripoyina Bewarse
Username: Sinna

Post Number: 2698
Registered: 04-2005
Posted From: 130.70.130.244

Rating:N/A
Votes: 0(Vote!)

Posted on Wednesday, May 18, 2005 - 2:39 pm:Edit PostDelete PostView Post/Check IP

Evvaru lera cheppevallu???Urgent ikakda
Top of pagePrevious messageNext messageBottom of pageLink to this message

Sinna
Mudiripoyina Bewarse
Username: Sinna

Post Number: 2695
Registered: 04-2005
Posted From: 130.70.130.244

Rating:N/A
Votes: 0(Vote!)

Posted on Wednesday, May 18, 2005 - 2:37 pm:Edit PostDelete PostView Post/Check IP

ninnevadu adigadu ehe d'i
Top of pagePrevious messageNext messageBottom of pageLink to this message

Mayadarimalligadu
Pilla Bewarse
Username: Mayadarimalligadu

Post Number: 33
Registered: 05-2005
Posted From: 130.108.129.21

Rating:N/A
Votes: 0(Vote!)

Posted on Wednesday, May 18, 2005 - 2:37 pm:Edit PostDelete PostView Post/Check IP

nenu seppa D eyyi
Top of pagePrevious messageNext messageBottom of pageLink to this message

Sinna
Mudiripoyina Bewarse
Username: Sinna

Post Number: 2693
Registered: 04-2005
Posted From: 130.70.130.244

Rating:N/A
Votes: 0(Vote!)

Posted on Wednesday, May 18, 2005 - 2:36 pm:Edit PostDelete PostView Post/Check IP

Condition entante oka column size 6 inkokadanidi 3...
aaa 3 column lo unna values thoni start ayyi aa 6 column lo unna values vasthayyi.....
i want condition 2 check wether the values in column (3) is equal to values in column(6)....ante starting 3 values same unte chalu...
Any bosy..please....