By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,384 Members | 671 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,384 IT Pros & Developers. It's quick & easy.

urgent help!!

P: 38
Hi All there..... i m stuck at a point... and want a tip to solve the problem.

i have one table steets which has two columns........ id as Pkey and names.
i have another table city_route which has two columns...id and route...
id: serial and Pkey
route: [] array which contains streets id from street table....

i want to write a query and use it in python. i want that my query return me strings of result of each street and respective streets id. my Query is.......

mystreet = db.query("select city_route.route, city_route.id from city_route order by city_route.id where city_route.id = " + str(travel_route.id)).getresult()

thnx to all
Dec 13 '06 #1
Share this Question
Share on Google+
1 Reply


P: 38
Hi All there..... i m stuck at a point... and want a tip to solve the problem.

i have one table steets which has two columns........ id as Pkey and names.
i have another table city_route which has two columns...id and route...
id: serial and Pkey
route: [] array which contains streets id from street table....

i want to write a query and use it in python. i want that my query return me strings of result of each street and respective streets id. my Query is.......

mystreet = db.query("select city_route.route, city_route.id from city_route order by city_route.id where city_route.id = " + str(travel_route.id)).getresult()

thnx to all



Hi all.....

my problem is solved....... but if someone has nice suggestion .... it will be beneficial to all of us.
regards
@rtist
Dec 13 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.