SQL DATAGRID HELP - Sajha Mobile
SAJHA MOBILE
SQL DATAGRID HELP
Posts 3 · Viewed 5554 · Go to Last Post
stolen_thoughts
· Snapshot
Like · Likedby · 0
how can i merge values from two different tables in a single data grid?

For E.g I have
tbl1
contry{cid, name},

and tbl2
country_deatil{cid, location, address}

I need to print {cid, name, location, address} in a single data grid.

Please HELP ME OUT.
JayNir
· Snapshot
Like · Liked by · 0

 

Last edited: 15-Jan-09 08:45 AM
Pretty
· Snapshot
Like · Liked by · 0

Just do


select * from contry a, country_detail b where a.cid=b.cid

Please log in to reply to this post

You can also log in using your Facebook
View in Desktop
What people are reading
You might like these other discussions...
· Posts 2 · Viewed 266
· Posts 12 · Viewed 1751
· Posts 1 · Viewed 105
· Posts 1 · Viewed 86
· Posts 1 · Viewed 255
· Posts 2 · Viewed 431
· Posts 5 · Viewed 1369
· Posts 1 · Viewed 478
· Posts 1 · Viewed 147
· Posts 1 · Viewed 126



Your Banner Here
Travel Partners
Travel House Nepal